@abtnode/schema 1.8.42 → 1.8.44

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/index.js +873 -894
  2. package/lib/schema.graphqls +1018 -1039
  3. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -12,1598 +12,1576 @@ scalar Int64
12
12
  scalar Uint32
13
13
 
14
14
  input BlockletControllerInput {
15
- id: String
16
- nftId: String
17
- nftOwner: String
18
- expireDate: Uint32
15
+ id: String
16
+ nftId: String
17
+ nftOwner: String
18
+ expireDate: Uint32
19
19
  }
20
20
 
21
21
  input BlockletQueryInput {
22
- controller: BlockletControllerInput
23
- }
24
-
25
- input BlockletServiceInput {
26
- name: String
27
- description: String
28
- version: String
29
- config: String
30
- schema: String
22
+ controller: BlockletControllerInput
31
23
  }
32
24
 
33
25
  input BlockletStoreInput {
34
- name: String
35
- description: String
36
- url: String
37
- logoUrl: String
38
- maintainer: String
39
- cdnUrl: String
40
- protected: Boolean
41
- id: String
26
+ name: String
27
+ description: String
28
+ url: String
29
+ logoUrl: String
30
+ maintainer: String
31
+ cdnUrl: String
32
+ protected: Boolean
33
+ id: String
42
34
  }
43
35
 
44
36
  input ConfigEntryInput {
45
- key: String
46
- value: String
47
- required: Boolean
48
- description: String
49
- validation: String
50
- secure: Boolean
51
- custom: Boolean
52
- shared: Boolean
37
+ key: String
38
+ value: String
39
+ required: Boolean
40
+ description: String
41
+ validation: String
42
+ secure: Boolean
43
+ custom: Boolean
44
+ shared: Boolean
53
45
  }
54
46
 
55
47
  input ConfigNavigationInput {
56
- id: String
57
- title: String
58
- link: String
59
- icon: String
60
- section: String
61
- component: String
62
- parent: String
63
- role: String
64
- visible: Boolean
65
- from: String
48
+ id: String
49
+ title: String
50
+ link: String
51
+ icon: String
52
+ section: String
53
+ component: String
54
+ parent: String
55
+ role: String
56
+ visible: Boolean
57
+ from: String
66
58
  }
67
59
 
68
60
  input HashFileInput {
69
- file: String
70
- hash: String
61
+ file: String
62
+ hash: String
71
63
  }
72
64
 
73
65
  input IssuerInput {
74
- id: String
75
- name: String
76
- pk: String
66
+ id: String
67
+ name: String
68
+ pk: String
77
69
  }
78
70
 
79
71
  input NodeInfoInput {
80
- name: String
81
- description: String
82
- autoUpgrade: Boolean
83
- enableWelcomePage: Boolean
84
- registerUrl: String
85
- webWalletUrl: String
86
- blockletRegistryList: [BlockletStoreInput!]
87
- diskAlertThreshold: Uint32
72
+ name: String
73
+ description: String
74
+ autoUpgrade: Boolean
75
+ enableWelcomePage: Boolean
76
+ registerUrl: String
77
+ webWalletUrl: String
78
+ blockletRegistryList: [BlockletStoreInput!]
79
+ diskAlertThreshold: Uint32
88
80
  }
89
81
 
90
82
  input PagingInput {
91
- total: Uint32
92
- pageSize: Uint32
93
- pageCount: Uint32
94
- page: Uint32
83
+ total: Uint32
84
+ pageSize: Uint32
85
+ pageCount: Uint32
86
+ page: Uint32
95
87
  }
96
88
 
97
89
  input PassportInput {
98
- id: String
99
- name: String
100
- title: String
101
- issuer: IssuerInput
102
- type: [String!]
103
- issuanceDate: String
104
- expirationDate: String
105
- status: String
106
- role: String
90
+ id: String
91
+ name: String
92
+ title: String
93
+ issuer: IssuerInput
94
+ type: [String!]
95
+ issuanceDate: String
96
+ expirationDate: String
97
+ status: String
98
+ role: String
107
99
  }
108
100
 
109
101
  input PermissionInput {
110
- name: String
111
- description: String
112
- isProtected: Boolean
102
+ name: String
103
+ description: String
104
+ isProtected: Boolean
113
105
  }
114
106
 
115
107
  input RequestAddDomainAliasInput {
116
- id: String
117
- domainAlias: String
118
- force: Boolean
119
- teamDid: String
108
+ id: String
109
+ domainAlias: String
110
+ force: Boolean
111
+ teamDid: String
120
112
  }
121
113
 
122
114
  input RequestAddLetsEncryptCertInput {
123
- domain: String
115
+ domain: String
124
116
  }
125
117
 
126
118
  input RequestAddNginxHttpsCertInput {
127
- name: String
128
- privateKey: String
129
- certificate: String
119
+ name: String
120
+ privateKey: String
121
+ certificate: String
130
122
  }
131
123
 
132
124
  input RequestAddRoutingRuleInput {
133
- id: String
134
- rule: RoutingRuleInput
135
- teamDid: String
125
+ id: String
126
+ rule: RoutingRuleInput
127
+ teamDid: String
136
128
  }
137
129
 
138
130
  input RequestAddRoutingSiteInput {
139
- domain: String
140
- type: String
141
- rules: [RoutingRuleInput!]
131
+ domain: String
132
+ type: String
133
+ rules: [RoutingRuleInput!]
142
134
  }
143
135
 
144
136
  input RequestBlockletInput {
145
- did: String
146
- storeUrl: String
147
- attachRuntimeInfo: Boolean
137
+ did: String
138
+ storeUrl: String
139
+ attachRuntimeInfo: Boolean
148
140
  }
149
141
 
150
142
  input RequestBlockletBundleInput {
151
- did: String
152
- name: String
153
- serverlessNftId: String
143
+ did: String
144
+ name: String
145
+ serverlessNftId: String
154
146
  }
155
147
 
156
148
  input RequestBlockletDiffInput {
157
- did: String
158
- hashFiles: [HashFileInput!]
159
- rootDid: String
149
+ did: String
150
+ hashFiles: [HashFileInput!]
151
+ rootDid: String
160
152
  }
161
153
 
162
154
  input RequestBlockletMetaFromUrlInput {
163
- url: String
164
- checkPrice: Boolean
155
+ url: String
156
+ checkPrice: Boolean
165
157
  }
166
158
 
167
159
  input RequestChangeBlockletStoreInput {
168
- teamDid: String
169
- url: String
160
+ teamDid: String
161
+ url: String
170
162
  }
171
163
 
172
164
  input RequestCheckDomainsInput {
173
- domains: [String!]
174
- did: String
165
+ domains: [String!]
166
+ did: String
175
167
  }
176
168
 
177
169
  input RequestConfigBlockletInput {
178
- did: [String!]
179
- configs: [ConfigEntryInput!]
170
+ did: [String!]
171
+ configs: [ConfigEntryInput!]
180
172
  }
181
173
 
182
174
  input RequestConfigNavigationsInput {
183
- did: String
184
- navigations: [ConfigNavigationInput!]
175
+ did: String
176
+ navigations: [ConfigNavigationInput!]
185
177
  }
186
178
 
187
179
  input RequestConfigPassportIssuanceInput {
188
- teamDid: String
189
- enable: Boolean
180
+ teamDid: String
181
+ enable: Boolean
190
182
  }
191
183
 
192
184
  input RequestConfigPublicToStoreInput {
193
- did: String
194
- publicToStore: Boolean
185
+ did: String
186
+ publicToStore: Boolean
195
187
  }
196
188
 
197
189
  input RequestConfigTrustedPassportsInput {
198
- teamDid: String
199
- trustedPassports: [TrustedPassportInput!]
190
+ teamDid: String
191
+ trustedPassports: [TrustedPassportInput!]
200
192
  }
201
193
 
202
194
  input RequestCreateAccessKeyInput {
203
- remark: String
204
- passport: String
195
+ remark: String
196
+ passport: String
205
197
  }
206
198
 
207
199
  input RequestCreateInvitationInput {
208
- teamDid: String
209
- role: String
210
- remark: String
200
+ teamDid: String
201
+ role: String
202
+ remark: String
211
203
  }
212
204
 
213
205
  input RequestCreatePassportIssuanceInput {
214
- teamDid: String
215
- ownerDid: String
216
- name: String
206
+ teamDid: String
207
+ ownerDid: String
208
+ name: String
217
209
  }
218
210
 
219
211
  input RequestCreatePermissionInput {
220
- teamDid: String
221
- name: String
222
- description: String
212
+ teamDid: String
213
+ name: String
214
+ description: String
223
215
  }
224
216
 
225
217
  input RequestCreateRoleInput {
226
- teamDid: String
227
- name: String
228
- title: String
229
- description: String
230
- childName: String
231
- permissions: [String!]
218
+ teamDid: String
219
+ name: String
220
+ title: String
221
+ description: String
222
+ childName: String
223
+ permissions: [String!]
232
224
  }
233
225
 
234
226
  input RequestCreateTransferNodeInvitationInput {
235
- teamDid: String
236
- remark: String
227
+ teamDid: String
228
+ remark: String
237
229
  }
238
230
 
239
231
  input RequestCreateWebHookInput {
240
- type: SenderType
241
- title: String
242
- description: String
243
- params: [WebHookParamInput!]
232
+ type: SenderType
233
+ title: String
234
+ description: String
235
+ params: [WebHookParamInput!]
244
236
  }
245
237
 
246
238
  input RequestDeleteAccessKeyInput {
247
- accessKeyId: String
239
+ accessKeyId: String
248
240
  }
249
241
 
250
242
  input RequestDeleteBlockletInput {
251
- did: String
252
- keepData: Boolean
243
+ did: String
244
+ keepData: Boolean
253
245
  }
254
246
 
255
247
  input RequestDeleteComponentInput {
256
- did: String
257
- rootDid: String
258
- keepData: Boolean
248
+ did: String
249
+ rootDid: String
250
+ keepData: Boolean
259
251
  }
260
252
 
261
253
  input RequestDeleteDomainAliasInput {
262
- id: String
263
- domainAlias: String
264
- teamDid: String
254
+ id: String
255
+ domainAlias: String
256
+ teamDid: String
265
257
  }
266
258
 
267
259
  input RequestDeleteNginxHttpsCertInput {
268
- id: String
260
+ id: String
269
261
  }
270
262
 
271
263
  input RequestDeletePermissionInput {
272
- teamDid: String
273
- name: String
264
+ teamDid: String
265
+ name: String
274
266
  }
275
267
 
276
268
  input RequestDeleteRoleInput {
277
- teamDid: String
278
- name: String
269
+ teamDid: String
270
+ name: String
279
271
  }
280
272
 
281
273
  input RequestDeleteRoutingRuleInput {
282
- id: String
283
- ruleId: String
284
- teamDid: String
274
+ id: String
275
+ ruleId: String
276
+ teamDid: String
285
277
  }
286
278
 
287
279
  input RequestDeleteRoutingSiteInput {
288
- id: String
280
+ id: String
289
281
  }
290
282
 
291
283
  input RequestDeleteTeamSessionInput {
292
- teamDid: String
293
- sessionId: String
284
+ teamDid: String
285
+ sessionId: String
294
286
  }
295
287
 
296
288
  input RequestDeleteWebHookInput {
297
- id: String
289
+ id: String
298
290
  }
299
291
 
300
292
  input RequestEndSessionInput {
301
- id: String
293
+ id: String
302
294
  }
303
295
 
304
296
  input RequestFindCertificateByDomainInput {
305
- domain: String
297
+ domain: String
306
298
  }
307
299
 
308
300
  input RequestGatewayInput {
309
- requestLimit: RequestLimitInput
301
+ requestLimit: RequestLimitInput
310
302
  }
311
303
 
312
304
  input RequestGetAuditLogsInput {
313
- paging: PagingInput
314
- scope: String
315
- category: String
305
+ paging: PagingInput
306
+ scope: String
307
+ category: String
316
308
  }
317
309
 
318
310
  input RequestGetBlockletsInput {
319
- useCache: Boolean
320
- query: BlockletQueryInput
311
+ useCache: Boolean
312
+ query: BlockletQueryInput
321
313
  }
322
314
 
323
315
  input RequestGetNotificationsInput {
324
- receiver: String
325
- sender: String
326
- read: Boolean
327
- paging: PagingInput
316
+ receiver: String
317
+ sender: String
318
+ read: Boolean
319
+ paging: PagingInput
328
320
  }
329
321
 
330
322
  input RequestGetPassportIssuancesInput {
331
- teamDid: String
332
- ownerDid: String
323
+ teamDid: String
324
+ ownerDid: String
333
325
  }
334
326
 
335
327
  input RequestGetRoutingSitesInput {
336
- snapshotHash: String
328
+ snapshotHash: String
337
329
  }
338
330
 
339
331
  input RequestGetRoutingSnapshotsInput {
340
- limit: Int32
332
+ limit: Int32
341
333
  }
342
334
 
343
335
  input RequestGetSessionInput {
344
- id: String
336
+ id: String
345
337
  }
346
338
 
347
339
  input RequestGetSnapshotSitesInput {
348
- hash: String
340
+ hash: String
349
341
  }
350
342
 
351
343
  input RequestGrantPermissionForRoleInput {
352
- teamDid: String
353
- roleName: String
354
- grantName: String
344
+ teamDid: String
345
+ roleName: String
346
+ grantName: String
355
347
  }
356
348
 
357
349
  input RequestHasPermissionInput {
358
- teamDid: String
359
- role: String
360
- permission: String
350
+ teamDid: String
351
+ role: String
352
+ permission: String
361
353
  }
362
354
 
363
355
  input RequestInstallComponentInput {
364
- rootDid: String
365
- mountPoint: String
366
- url: String
367
- file: Upload
368
- did: String
369
- diffVersion: String
370
- deleteSet: [String!]
371
- name: String
372
- title: String
373
- configs: [ConfigEntryInput!]
374
- downloadTokenList: [DownloadTokenInput!]
375
- skipNavigation: Boolean
356
+ rootDid: String
357
+ mountPoint: String
358
+ url: String
359
+ file: Upload
360
+ did: String
361
+ diffVersion: String
362
+ deleteSet: [String!]
363
+ name: String
364
+ title: String
365
+ configs: [ConfigEntryInput!]
366
+ downloadTokenList: [DownloadTokenInput!]
367
+ skipNavigation: Boolean
376
368
  }
377
369
 
378
370
  input RequestInstallFromVcInput {
379
- challenge: String
380
- vcPresentation: Any
371
+ challenge: String
372
+ vcPresentation: Any
381
373
  }
382
374
 
383
375
  input RequestIssuePassportToUserInput {
384
- teamDid: String
385
- userDid: String
386
- role: String
376
+ teamDid: String
377
+ userDid: String
378
+ role: String
387
379
  }
388
380
 
389
381
  input RequestLatestBlockletVersionInput {
390
- did: String
391
- version: String
382
+ did: String
383
+ version: String
392
384
  }
393
385
 
394
386
  input RequestLimitInput {
395
- enabled: Boolean
396
- rate: Uint32
397
- ipHeader: String
387
+ enabled: Boolean
388
+ rate: Uint32
389
+ ipHeader: String
398
390
  }
399
391
 
400
392
  input RequestNodeRoutingInput {
401
- provider: String
402
- snapshotHash: String
403
- forceRepopulate: Boolean
393
+ provider: String
394
+ snapshotHash: String
395
+ forceRepopulate: Boolean
404
396
  }
405
397
 
406
398
  input RequestReadNotificationsInput {
407
- id: String
399
+ id: String
408
400
  }
409
401
 
410
402
  input RequestResetNodeInput {
411
- owner: Boolean
412
- blocklets: Boolean
413
- webhooks: Boolean
414
- certificates: Boolean
415
- accessKeys: Boolean
416
- blockletExtras: Boolean
417
- routingRules: Boolean
418
- users: Boolean
419
- invitations: Boolean
403
+ owner: Boolean
404
+ blocklets: Boolean
405
+ webhooks: Boolean
406
+ certificates: Boolean
407
+ accessKeys: Boolean
408
+ blockletExtras: Boolean
409
+ routingRules: Boolean
410
+ users: Boolean
411
+ invitations: Boolean
420
412
  }
421
413
 
422
414
  input RequestRevokePermissionFromRoleInput {
423
- teamDid: String
424
- roleName: String
425
- grantName: String
415
+ teamDid: String
416
+ roleName: String
417
+ grantName: String
426
418
  }
427
419
 
428
420
  input RequestRevokeUserPassportInput {
429
- teamDid: String
430
- userDid: String
431
- passportId: String
421
+ teamDid: String
422
+ userDid: String
423
+ passportId: String
432
424
  }
433
425
 
434
426
  input RequestSendMsgInput {
435
- webhookId: String
436
- message: String
427
+ webhookId: String
428
+ message: String
437
429
  }
438
430
 
439
431
  input RequestStartSessionInput {
440
- data: String
432
+ data: String
441
433
  }
442
434
 
443
435
  input RequestTakeRoutingSnapshotInput {
444
- dryRun: Boolean
445
- message: String
436
+ dryRun: Boolean
437
+ message: String
446
438
  }
447
439
 
448
440
  input RequestTeamPermissionInput {
449
- teamDid: String
450
- permission: PermissionInput
441
+ teamDid: String
442
+ permission: PermissionInput
451
443
  }
452
444
 
453
445
  input RequestTeamRoleInput {
454
- teamDid: String
455
- role: RoleInput
446
+ teamDid: String
447
+ role: RoleInput
456
448
  }
457
449
 
458
450
  input RequestTeamUserInput {
459
- teamDid: String
460
- user: UserInfoInput
451
+ teamDid: String
452
+ user: UserInfoInput
461
453
  }
462
454
 
463
455
  input RequestUpdateAccessKeyInput {
464
- accessKeyId: String
465
- remark: String
466
- passport: String
456
+ accessKeyId: String
457
+ remark: String
458
+ passport: String
467
459
  }
468
460
 
469
461
  input RequestUpdateComponentMountPointInput {
470
- did: String
471
- rootDid: String
472
- mountPoint: String
462
+ did: String
463
+ rootDid: String
464
+ mountPoint: String
473
465
  }
474
466
 
475
467
  input RequestUpdateComponentTitleInput {
476
- did: String
477
- rootDid: String
478
- title: String
468
+ did: String
469
+ rootDid: String
470
+ title: String
479
471
  }
480
472
 
481
473
  input RequestUpdateComponentsInput {
482
- updateId: String
483
- rootDid: String
474
+ updateId: String
475
+ rootDid: String
484
476
  }
485
477
 
486
478
  input RequestUpdateNginxHttpsCertInput {
487
- id: String
488
- name: String
479
+ id: String
480
+ name: String
489
481
  }
490
482
 
491
483
  input RequestUpdatePermissionsForRoleInput {
492
- teamDid: String
493
- roleName: String
494
- grantNames: [String!]
484
+ teamDid: String
485
+ roleName: String
486
+ grantNames: [String!]
495
487
  }
496
488
 
497
489
  input RequestUpdateRoutingRuleInput {
498
- id: String
499
- rule: RoutingRuleInput
500
- teamDid: String
490
+ id: String
491
+ rule: RoutingRuleInput
492
+ teamDid: String
501
493
  }
502
494
 
503
495
  input RequestUpdateRoutingSiteInput {
504
- id: String
505
- corsAllowedOrigins: [String!]
506
- domain: String
507
- teamDid: String
496
+ id: String
497
+ corsAllowedOrigins: [String!]
498
+ domain: String
499
+ teamDid: String
508
500
  }
509
501
 
510
502
  input RequestUpdateSessionInput {
511
- id: String
512
- data: String
503
+ id: String
504
+ data: String
513
505
  }
514
506
 
515
507
  input RequestUpdateWhoCanAccessInput {
516
- did: [String !]
517
- whoCanAccess: String
508
+ did: [String!]
509
+ whoCanAccess: String
518
510
  }
519
511
 
520
512
  input RequestUpgradeBlockletInput {
521
- did: String
522
- storeUrl: String
513
+ did: String
514
+ storeUrl: String
523
515
  }
524
516
 
525
517
  input RequestUsersInput {
526
- teamDid: String
527
- query: UserQueryInput
528
- sort: UserSortInput
529
- paging: PagingInput
530
- dids: [String!]
518
+ teamDid: String
519
+ query: UserQueryInput
520
+ sort: UserSortInput
521
+ paging: PagingInput
522
+ dids: [String!]
531
523
  }
532
524
 
533
525
  input RequestVersionedBlockletInput {
534
- did: String
535
- storeUrl: String
536
- url: String
537
- file: Upload
538
- diffVersion: String
539
- deleteSet: [String!]
540
- title: String
541
- description: String
542
- startImmediately: Boolean
543
- downloadTokenList: [DownloadTokenInput!]
526
+ did: String
527
+ storeUrl: String
528
+ url: String
529
+ file: Upload
530
+ diffVersion: String
531
+ deleteSet: [String!]
532
+ title: String
533
+ description: String
534
+ startImmediately: Boolean
535
+ downloadTokenList: [DownloadTokenInput!]
544
536
  }
545
537
 
546
538
  input RequsetDeleteInvitationInput {
547
- teamDid: String
548
- inviteId: String
539
+ teamDid: String
540
+ inviteId: String
549
541
  }
550
542
 
551
543
  input RoleInput {
552
- name: String
553
- description: String
554
- grants: [String!]
555
- title: String
556
- isProtected: Boolean
544
+ name: String
545
+ description: String
546
+ grants: [String!]
547
+ title: String
548
+ isProtected: Boolean
557
549
  }
558
550
 
559
551
  input RoutingRuleInput {
560
- id: String
561
- from: RoutingRuleFromInput
562
- to: RoutingRuleToInput
563
- isProtected: Boolean
564
- services: [BlockletServiceInput!]
552
+ id: String
553
+ from: RoutingRuleFromInput
554
+ to: RoutingRuleToInput
555
+ isProtected: Boolean
565
556
  }
566
557
 
567
558
  input RoutingRuleFromInput {
568
- pathPrefix: String
569
- header: [RoutingRuleHeaderInput!]
559
+ pathPrefix: String
560
+ header: [RoutingRuleHeaderInput!]
570
561
  }
571
562
 
572
563
  input RoutingRuleHeaderInput {
573
- key: String
574
- value: String
575
- type: HeaderMatchType
564
+ key: String
565
+ value: String
566
+ type: HeaderMatchType
576
567
  }
577
568
 
578
569
  input RoutingRuleToInput {
579
- port: Uint32
580
- type: BackendServiceType
581
- did: String
582
- url: String
583
- redirectCode: Int32
584
- interfaceName: String
585
- componentId: String
570
+ port: Uint32
571
+ type: BackendServiceType
572
+ did: String
573
+ url: String
574
+ redirectCode: Int32
575
+ interfaceName: String
576
+ componentId: String
586
577
  }
587
578
 
588
579
  input TeamInput {
589
- teamDid: String
580
+ teamDid: String
590
581
  }
591
582
 
592
583
  input TrustedPassportInput {
593
- issuerDid: String
594
- remark: String
595
- mappings: [TrustedPassportMappingInput!]
584
+ issuerDid: String
585
+ remark: String
586
+ mappings: [TrustedPassportMappingInput!]
596
587
  }
597
588
 
598
589
  input TrustedPassportMappingInput {
599
- from: TrustedPassportMappingFromInput
600
- to: TrustedPassportMappingToInput
590
+ from: TrustedPassportMappingFromInput
591
+ to: TrustedPassportMappingToInput
601
592
  }
602
593
 
603
594
  input TrustedPassportMappingFromInput {
604
- passport: String
595
+ passport: String
605
596
  }
606
597
 
607
598
  input TrustedPassportMappingToInput {
608
- role: String
599
+ role: String
609
600
  }
610
601
 
611
602
  input UserInfoInput {
612
- did: String
613
- pk: String
614
- role: String
615
- avatar: String
616
- fullName: String
617
- email: String
618
- approved: Boolean
619
- createdAt: String
620
- updatedAt: String
621
- locale: String
622
- passports: [PassportInput!]
623
- firstLoginAt: String
624
- lastLoginAt: String
625
- remark: String
603
+ did: String
604
+ pk: String
605
+ role: String
606
+ avatar: String
607
+ fullName: String
608
+ email: String
609
+ approved: Boolean
610
+ createdAt: String
611
+ updatedAt: String
612
+ locale: String
613
+ passports: [PassportInput!]
614
+ firstLoginAt: String
615
+ lastLoginAt: String
616
+ remark: String
626
617
  }
627
618
 
628
619
  input UserQueryInput {
629
- role: String
630
- approved: Boolean
631
- search: String
620
+ role: String
621
+ approved: Boolean
622
+ search: String
632
623
  }
633
624
 
634
625
  input UserSortInput {
635
- updatedAt: Int32
636
- createdAt: Int32
637
- lastLoginAt: Int32
626
+ updatedAt: Int32
627
+ createdAt: Int32
628
+ lastLoginAt: Int32
638
629
  }
639
630
 
640
631
  input WebHookParamInput {
641
- name: String
642
- description: String
643
- required: Boolean
644
- defaultValue: String
645
- value: String
646
- type: String
632
+ name: String
633
+ description: String
634
+ required: Boolean
635
+ defaultValue: String
636
+ value: String
637
+ type: String
647
638
  }
648
639
 
649
640
  input DownloadTokenInput {
650
- did: String
651
- token: String
641
+ did: String
642
+ token: String
652
643
  }
653
644
 
654
645
  type AccessKey {
655
- accessKeyId: String
656
- remark: String
657
- passport: String
658
- createdAt: String
659
- lastUsedAt: String
660
- createdBy: String
661
- updatedBy: String
646
+ accessKeyId: String
647
+ remark: String
648
+ passport: String
649
+ createdAt: String
650
+ lastUsedAt: String
651
+ createdBy: String
652
+ updatedBy: String
662
653
  }
663
654
 
664
655
  type AuditLog {
665
- id: String
666
- scope: String
667
- category: String
668
- action: String
669
- content: String
670
- actor: AuditLogActor
671
- env: AuditLogEnv
672
- createdAt: String
673
- ip: String
656
+ id: String
657
+ scope: String
658
+ category: String
659
+ action: String
660
+ content: String
661
+ actor: AuditLogActor
662
+ env: AuditLogEnv
663
+ createdAt: String
664
+ ip: String
674
665
  }
675
666
 
676
667
  type AuditLogActor {
677
- did: String
678
- role: String
679
- fullName: String
668
+ did: String
669
+ role: String
670
+ fullName: String
680
671
  }
681
672
 
682
673
  type AuditLogEnv {
683
- browser: AuditLogEnvItem
684
- os: AuditLogEnvItem
674
+ browser: AuditLogEnvItem
675
+ os: AuditLogEnvItem
685
676
  }
686
677
 
687
678
  type AuditLogEnvItem {
688
- name: String
689
- version: String
679
+ name: String
680
+ version: String
690
681
  }
691
682
 
692
683
  type BlockletCapabilities {
693
- clusterMode: Boolean
694
- component: Boolean
695
- navigation: Boolean
684
+ clusterMode: Boolean
685
+ component: Boolean
686
+ navigation: Boolean
696
687
  }
697
688
 
698
689
  type BlockletController {
699
- id: String
700
- nftId: String
701
- nftOwner: String
702
- expireDate: Uint32
690
+ id: String
691
+ nftId: String
692
+ nftOwner: String
693
+ expireDate: Uint32
703
694
  }
704
695
 
705
696
  type BlockletDiff {
706
- hasBlocklet: Boolean
707
- version: String
708
- addSet: [String!]
709
- changeSet: [String!]
710
- deleteSet: [String!]
697
+ hasBlocklet: Boolean
698
+ version: String
699
+ addSet: [String!]
700
+ changeSet: [String!]
701
+ deleteSet: [String!]
711
702
  }
712
703
 
713
704
  type BlockletDist {
714
- tarball: String
715
- integrity: String
705
+ tarball: String
706
+ integrity: String
716
707
  }
717
708
 
718
709
  type BlockletEngine {
719
- name: String
720
- displayName: String
721
- description: String
722
- version: String
723
- available: Boolean
724
- visible: Boolean
710
+ name: String
711
+ displayName: String
712
+ description: String
713
+ version: String
714
+ available: Boolean
715
+ visible: Boolean
725
716
  }
726
717
 
727
718
  type BlockletMeta {
728
- did: String
729
- name: String
730
- version: String
731
- description: String
732
- interfaces: [BlockletMetaInterface!]
733
- author: BlockletMetaPerson
734
- main: String
735
- stats: BlockletStats
736
- homepage: String
737
- price: Float32
738
- path: String
739
- community: String
740
- documentation: String
741
- support: String
742
- screenshots: [String!]
743
- keywords: [String!]
744
- group: String
745
- logo: String
746
- title: String
747
- dist: BlockletDist
748
- maintainers: [BlockletMetaPerson!]
749
- contributors: [BlockletMetaPerson!]
750
- repository: BlockletRepository
751
- payment: BlockletPayment
752
- nftFactory: String
753
- lastPublishedAt: String
754
- capabilities: BlockletCapabilities
755
- components: [ChildConfig!]
756
- environments: [Environment!]
757
- requirements: Requirement
758
- bundleDid: String
759
- bundleName: String
760
- navigation: [Any!]
719
+ did: String
720
+ name: String
721
+ version: String
722
+ description: String
723
+ interfaces: [BlockletMetaInterface!]
724
+ author: BlockletMetaPerson
725
+ main: String
726
+ stats: BlockletStats
727
+ homepage: String
728
+ price: Float32
729
+ path: String
730
+ community: String
731
+ documentation: String
732
+ support: String
733
+ screenshots: [String!]
734
+ keywords: [String!]
735
+ group: String
736
+ logo: String
737
+ title: String
738
+ dist: BlockletDist
739
+ maintainers: [BlockletMetaPerson!]
740
+ contributors: [BlockletMetaPerson!]
741
+ repository: BlockletRepository
742
+ payment: BlockletPayment
743
+ nftFactory: String
744
+ lastPublishedAt: String
745
+ capabilities: BlockletCapabilities
746
+ components: [ChildConfig!]
747
+ environments: [Environment!]
748
+ requirements: Requirement
749
+ bundleDid: String
750
+ bundleName: String
751
+ navigation: [Any!]
761
752
  }
762
753
 
763
754
  type BlockletMetaInterface {
764
- type: String
765
- name: String
766
- path: String
767
- prefix: String
768
- protocol: String
769
- port: Any
770
- services: [BlockletMetaService!]
755
+ type: String
756
+ name: String
757
+ path: String
758
+ prefix: String
759
+ protocol: String
760
+ port: Any
761
+ services: [BlockletMetaService!]
771
762
  }
772
763
 
773
764
  type BlockletMetaPerson {
774
- name: String
775
- email: String
776
- url: String
765
+ name: String
766
+ email: String
767
+ url: String
777
768
  }
778
769
 
779
770
  type BlockletMetaService {
780
- name: String
781
- config: Any
771
+ name: String
772
+ config: Any
782
773
  }
783
774
 
784
775
  type BlockletPayment {
785
- price: [BlockletPaymentPrice!]
786
- share: [BlockletPaymentShare!]
776
+ price: [BlockletPaymentPrice!]
777
+ share: [BlockletPaymentShare!]
787
778
  }
788
779
 
789
780
  type BlockletPaymentPrice {
790
- address: String
791
- value: String
792
- symbol: String
781
+ address: String
782
+ value: String
783
+ symbol: String
793
784
  }
794
785
 
795
786
  type BlockletPaymentShare {
796
- address: String
797
- name: String
798
- value: String
787
+ address: String
788
+ name: String
789
+ value: String
799
790
  }
800
791
 
801
792
  type BlockletPreUpdateInfo {
802
- updateId: String
803
- updateList: [UpdateList!]
793
+ updateId: String
794
+ updateList: [UpdateList!]
804
795
  }
805
796
 
806
797
  type BlockletRepository {
807
- type: String
808
- url: String
809
- }
810
-
811
- type BlockletService {
812
- name: String
813
- description: String
814
- version: String
815
- config: String
816
- schema: String
798
+ type: String
799
+ url: String
817
800
  }
818
801
 
819
802
  type BlockletSettings {
820
- initialized: Boolean
821
- enablePassportIssuance: Boolean
822
- trustedPassports: [TrustedPassport!]
823
- whoCanAccess: String
824
- owner: WalletInfo
825
- children: [DeletedBlockletState!]
826
- publicToStore: Boolean
827
- storeList: [BlockletStore!]
828
- navigations: [ConfigNavigation!]
803
+ initialized: Boolean
804
+ enablePassportIssuance: Boolean
805
+ trustedPassports: [TrustedPassport!]
806
+ whoCanAccess: String
807
+ owner: WalletInfo
808
+ children: [DeletedBlockletState!]
809
+ publicToStore: Boolean
810
+ storeList: [BlockletStore!]
811
+ navigations: [ConfigNavigation!]
829
812
  }
830
813
 
831
814
  type BlockletState {
832
- meta: BlockletMeta
833
- status: BlockletStatus
834
- createdAt: String
835
- installedAt: String
836
- startedAt: String
837
- pausedAt: String
838
- stoppedAt: String
839
- environments: [ConfigEntry!]
840
- configs: [ConfigEntry!]
841
- diskInfo: DiskInfo
842
- runtimeInfo: RuntimeInfo
843
- source: BlockletSource
844
- deployedFrom: String
845
- bundleSource: Any
846
- port: Float32
847
- engine: BlockletEngine
848
- mode: String
849
- ports: Any
850
- children: [ComponentState!]
851
- trustedPassports: [TrustedPassport!]
852
- enablePassportIssuance: Boolean
853
- dynamic: Boolean
854
- mountPoint: String
855
- settings: BlockletSettings
856
- appDid: String
857
- site: RoutingSite
858
- controller: BlockletController
815
+ meta: BlockletMeta
816
+ status: BlockletStatus
817
+ createdAt: String
818
+ installedAt: String
819
+ startedAt: String
820
+ pausedAt: String
821
+ stoppedAt: String
822
+ environments: [ConfigEntry!]
823
+ configs: [ConfigEntry!]
824
+ diskInfo: DiskInfo
825
+ runtimeInfo: RuntimeInfo
826
+ source: BlockletSource
827
+ deployedFrom: String
828
+ bundleSource: Any
829
+ port: Float32
830
+ engine: BlockletEngine
831
+ mode: String
832
+ ports: Any
833
+ children: [ComponentState!]
834
+ trustedPassports: [TrustedPassport!]
835
+ enablePassportIssuance: Boolean
836
+ dynamic: Boolean
837
+ mountPoint: String
838
+ settings: BlockletSettings
839
+ appDid: String
840
+ site: RoutingSite
841
+ controller: BlockletController
859
842
  }
860
843
 
861
844
  type BlockletStats {
862
- downloads: Float32
863
- star: Float32
864
- purchases: Float32
845
+ downloads: Float32
846
+ star: Float32
847
+ purchases: Float32
865
848
  }
866
849
 
867
850
  type BlockletStore {
868
- name: String
869
- description: String
870
- url: String
871
- logoUrl: String
872
- maintainer: String
873
- cdnUrl: String
874
- protected: Boolean
875
- id: String
851
+ name: String
852
+ description: String
853
+ url: String
854
+ logoUrl: String
855
+ maintainer: String
856
+ cdnUrl: String
857
+ protected: Boolean
858
+ id: String
876
859
  }
877
860
 
878
861
  type BooleanResponse {
879
- code: StatusCode
880
- result: Boolean
862
+ code: StatusCode
863
+ result: Boolean
881
864
  }
882
865
 
883
866
  type Certificate {
884
- name: String
885
- domain: String
886
- id: String
887
- meta: CertificateMeta
888
- matchedSites: [MatchedSites!]
889
- createdAt: String
890
- updatedAt: String
891
- isProtected: Boolean
892
- source: String
893
- status: String
867
+ name: String
868
+ domain: String
869
+ id: String
870
+ meta: CertificateMeta
871
+ matchedSites: [MatchedSites!]
872
+ createdAt: String
873
+ updatedAt: String
874
+ isProtected: Boolean
875
+ source: String
876
+ status: String
894
877
  }
895
878
 
896
879
  type CertificateIssuer {
897
- countryName: String
898
- organizationName: String
899
- commonName: String
880
+ countryName: String
881
+ organizationName: String
882
+ commonName: String
900
883
  }
901
884
 
902
885
  type CertificateMeta {
903
- issuer: CertificateIssuer
904
- sans: [String!]
905
- validFrom: Int64
906
- validTo: Int64
907
- fingerprintAlg: String
908
- fingerprint: String
909
- validityPeriod: Int64
886
+ issuer: CertificateIssuer
887
+ sans: [String!]
888
+ validFrom: Int64
889
+ validTo: Int64
890
+ fingerprintAlg: String
891
+ fingerprint: String
892
+ validityPeriod: Int64
910
893
  }
911
894
 
912
895
  type ChildConfig {
913
- name: String
914
- mountPoint: String
896
+ name: String
897
+ mountPoint: String
915
898
  }
916
899
 
917
900
  type ComponentState {
918
- meta: BlockletMeta
919
- status: BlockletStatus
920
- createdAt: String
921
- installedAt: String
922
- startedAt: String
923
- pausedAt: String
924
- stoppedAt: String
925
- environments: [ConfigEntry!]
926
- configs: [ConfigEntry!]
927
- diskInfo: DiskInfo
928
- runtimeInfo: RuntimeInfo
929
- source: BlockletSource
930
- deployedFrom: String
931
- bundleSource: Any
932
- port: Float32
933
- engine: BlockletEngine
934
- mode: String
935
- ports: Any
936
- children: [ComponentState!]
937
- dynamic: Boolean
938
- mountPoint: String
901
+ meta: BlockletMeta
902
+ status: BlockletStatus
903
+ createdAt: String
904
+ installedAt: String
905
+ startedAt: String
906
+ pausedAt: String
907
+ stoppedAt: String
908
+ environments: [ConfigEntry!]
909
+ configs: [ConfigEntry!]
910
+ diskInfo: DiskInfo
911
+ runtimeInfo: RuntimeInfo
912
+ source: BlockletSource
913
+ deployedFrom: String
914
+ bundleSource: Any
915
+ port: Float32
916
+ engine: BlockletEngine
917
+ mode: String
918
+ ports: Any
919
+ children: [ComponentState!]
920
+ dynamic: Boolean
921
+ mountPoint: String
939
922
  }
940
923
 
941
924
  type ConfigEntry {
942
- key: String
943
- value: String
944
- required: Boolean
945
- description: String
946
- validation: String
947
- secure: Boolean
948
- custom: Boolean
949
- shared: Boolean
925
+ key: String
926
+ value: String
927
+ required: Boolean
928
+ description: String
929
+ validation: String
930
+ secure: Boolean
931
+ custom: Boolean
932
+ shared: Boolean
950
933
  }
951
934
 
952
935
  type ConfigNavigation {
953
- id: String
954
- title: String
955
- link: String
956
- icon: String
957
- section: String
958
- component: String
959
- parent: String
960
- role: String
961
- visible: Boolean
962
- from: String
936
+ id: String
937
+ title: String
938
+ link: String
939
+ icon: String
940
+ section: String
941
+ component: String
942
+ parent: String
943
+ role: String
944
+ visible: Boolean
945
+ from: String
963
946
  }
964
947
 
965
948
  type CreateAccessKey {
966
- accessKeyId: String
967
- accessKeySecret: String
968
- remark: String
969
- passport: String
970
- createdAt: String
971
- lastUsedAt: String
949
+ accessKeyId: String
950
+ accessKeySecret: String
951
+ remark: String
952
+ passport: String
953
+ createdAt: String
954
+ lastUsedAt: String
972
955
  }
973
956
 
974
957
  type DelegationState {
975
- delegated: Boolean
958
+ delegated: Boolean
976
959
  }
977
960
 
978
961
  type DeletedBlockletMeta {
979
- did: String
980
- name: String
981
- version: String
982
- description: String
983
- title: String
984
- bundleDid: String
985
- bundleName: String
962
+ did: String
963
+ name: String
964
+ version: String
965
+ description: String
966
+ title: String
967
+ bundleDid: String
968
+ bundleName: String
986
969
  }
987
970
 
988
971
  type DeletedBlockletState {
989
- meta: DeletedBlockletMeta
990
- status: BlockletStatus
991
- deployedFrom: String
992
- mountPoint: String
993
- deletedAt: String
972
+ meta: DeletedBlockletMeta
973
+ status: BlockletStatus
974
+ deployedFrom: String
975
+ mountPoint: String
976
+ deletedAt: String
994
977
  }
995
978
 
996
979
  type DiskInfo {
997
- app: Float32
998
- data: Float32
999
- log: Float32
1000
- cache: Float32
1001
- blocklets: Float32
980
+ app: Float32
981
+ data: Float32
982
+ log: Float32
983
+ cache: Float32
984
+ blocklets: Float32
1002
985
  }
1003
986
 
1004
987
  type Environment {
1005
- name: String
1006
- description: String
1007
- default: String
1008
- required: Boolean
1009
- secure: Boolean
1010
- validation: String
1011
- shared: Boolean
988
+ name: String
989
+ description: String
990
+ default: String
991
+ required: Boolean
992
+ secure: Boolean
993
+ validation: String
994
+ shared: Boolean
1012
995
  }
1013
996
 
1014
997
  type Fuel {
1015
- endpoint: String
1016
- address: String
1017
- value: String
1018
- reason: String
998
+ endpoint: String
999
+ address: String
1000
+ value: String
1001
+ reason: String
1019
1002
  }
1020
1003
 
1021
1004
  type Gateway {
1022
- requestLimit: RequestLimit
1005
+ requestLimit: RequestLimit
1023
1006
  }
1024
1007
 
1025
1008
  type GeneralResponse {
1026
- code: StatusCode
1009
+ code: StatusCode
1027
1010
  }
1028
1011
 
1029
1012
  type IPInfo {
1030
- internalV4: String
1031
- externalV4: String
1032
- internalV6: String
1033
- externalV6: String
1013
+ internalV4: String
1014
+ externalV4: String
1015
+ internalV6: String
1016
+ externalV6: String
1034
1017
  }
1035
1018
 
1036
1019
  type InviteInfo {
1037
- inviteId: String
1038
- role: String
1039
- remark: String
1040
- expireDate: String
1041
- inviter: UserInfo
1042
- teamDid: String
1043
- interfaceName: String
1020
+ inviteId: String
1021
+ role: String
1022
+ remark: String
1023
+ expireDate: String
1024
+ inviter: UserInfo
1025
+ teamDid: String
1026
+ interfaceName: String
1044
1027
  }
1045
1028
 
1046
1029
  type Issuer {
1047
- id: String
1048
- name: String
1049
- pk: String
1030
+ id: String
1031
+ name: String
1032
+ pk: String
1050
1033
  }
1051
1034
 
1052
1035
  type KeyValue {
1053
- key: String
1054
- value: Any
1036
+ key: String
1037
+ value: Any
1055
1038
  }
1056
1039
 
1057
1040
  type LatestBlockletVersion {
1058
- did: String
1059
- version: String
1060
- registryUrl: String
1041
+ did: String
1042
+ version: String
1043
+ registryUrl: String
1061
1044
  }
1062
1045
 
1063
1046
  type LauncherInfo {
1064
- did: String
1065
- type: String
1066
- provider: String
1067
- url: String
1068
- tag: String
1069
- chainHost: String
1047
+ did: String
1048
+ type: String
1049
+ provider: String
1050
+ url: String
1051
+ tag: String
1052
+ chainHost: String
1070
1053
  }
1071
1054
 
1072
1055
  type MatchedSites {
1073
- id: String
1074
- domain: String
1056
+ id: String
1057
+ domain: String
1075
1058
  }
1076
1059
 
1077
1060
  type NodeEnvInfo {
1078
- ip: IPInfo
1079
- os: String
1080
- location: String
1081
- docker: Boolean
1082
- image: Boolean
1083
- blockletEngines: [BlockletEngine!]
1084
- gitpod: Boolean
1085
- disk: DiskInfo
1061
+ ip: IPInfo
1062
+ os: String
1063
+ location: String
1064
+ docker: Boolean
1065
+ image: Boolean
1066
+ blockletEngines: [BlockletEngine!]
1067
+ gitpod: Boolean
1068
+ disk: DiskInfo
1086
1069
  }
1087
1070
 
1088
1071
  type NodeRouting {
1089
- provider: String
1090
- snapshotHash: String
1091
- adminPath: String
1092
- requestLimit: RequestLimit
1072
+ provider: String
1073
+ snapshotHash: String
1074
+ adminPath: String
1075
+ requestLimit: RequestLimit
1093
1076
  }
1094
1077
 
1095
1078
  type NodeState {
1096
- did: String
1097
- pk: String
1098
- version: String
1099
- name: String
1100
- description: String
1101
- port: String
1102
- initialized: Boolean
1103
- nodeOwner: WalletInfo
1104
- createdAt: String
1105
- startedAt: String
1106
- initializedAt: String
1107
- mode: String
1108
- routing: NodeRouting
1109
- environments: [ConfigEntry!]
1110
- uptime: Float32
1111
- autoUpgrade: Boolean
1112
- nextVersion: String
1113
- upgradeSessionId: String
1114
- registerUrl: String
1115
- enableWelcomePage: Boolean
1116
- webWalletUrl: String
1117
- blockletRegistryList: [BlockletStore!]
1118
- ownerNft: OwnerNft
1119
- diskAlertThreshold: Uint32
1120
- trustedPassports: [TrustedPassport!]
1121
- launcher: LauncherInfo
1122
- enablePassportIssuance: Boolean
1123
- didRegistry: String
1124
- didDomain: String
1079
+ did: String
1080
+ pk: String
1081
+ version: String
1082
+ name: String
1083
+ description: String
1084
+ port: String
1085
+ initialized: Boolean
1086
+ nodeOwner: WalletInfo
1087
+ createdAt: String
1088
+ startedAt: String
1089
+ initializedAt: String
1090
+ mode: String
1091
+ routing: NodeRouting
1092
+ environments: [ConfigEntry!]
1093
+ uptime: Float32
1094
+ autoUpgrade: Boolean
1095
+ nextVersion: String
1096
+ upgradeSessionId: String
1097
+ registerUrl: String
1098
+ enableWelcomePage: Boolean
1099
+ webWalletUrl: String
1100
+ blockletRegistryList: [BlockletStore!]
1101
+ ownerNft: OwnerNft
1102
+ diskAlertThreshold: Uint32
1103
+ trustedPassports: [TrustedPassport!]
1104
+ launcher: LauncherInfo
1105
+ enablePassportIssuance: Boolean
1106
+ didRegistry: String
1107
+ didDomain: String
1108
+ status: Uint32
1125
1109
  }
1126
1110
 
1127
1111
  type Notification {
1128
- sender: String
1129
- receiver: String
1130
- title: String
1131
- description: String
1132
- action: String
1133
- entityType: String
1134
- entityId: String
1135
- read: Boolean
1136
- createdAt: String
1137
- updatedAt: String
1138
- id: String
1139
- severity: String
1112
+ sender: String
1113
+ receiver: String
1114
+ title: String
1115
+ description: String
1116
+ action: String
1117
+ entityType: String
1118
+ entityId: String
1119
+ read: Boolean
1120
+ createdAt: String
1121
+ updatedAt: String
1122
+ id: String
1123
+ severity: String
1140
1124
  }
1141
1125
 
1142
1126
  type OwnerNft {
1143
- did: String
1144
- holder: String
1145
- issuer: String
1127
+ did: String
1128
+ holder: String
1129
+ issuer: String
1146
1130
  }
1147
1131
 
1148
1132
  type Paging {
1149
- total: Uint32
1150
- pageSize: Uint32
1151
- pageCount: Uint32
1152
- page: Uint32
1133
+ total: Uint32
1134
+ pageSize: Uint32
1135
+ pageCount: Uint32
1136
+ page: Uint32
1153
1137
  }
1154
1138
 
1155
1139
  type Passport {
1156
- id: String
1157
- name: String
1158
- title: String
1159
- issuer: Issuer
1160
- type: [String!]
1161
- issuanceDate: String
1162
- expirationDate: String
1163
- status: String
1164
- role: String
1140
+ id: String
1141
+ name: String
1142
+ title: String
1143
+ issuer: Issuer
1144
+ type: [String!]
1145
+ issuanceDate: String
1146
+ expirationDate: String
1147
+ status: String
1148
+ role: String
1165
1149
  }
1166
1150
 
1167
1151
  type PassportIssuanceInfo {
1168
- id: String
1169
- name: String
1170
- title: String
1171
- expireDate: String
1172
- teamDid: String
1173
- ownerDid: String
1152
+ id: String
1153
+ name: String
1154
+ title: String
1155
+ expireDate: String
1156
+ teamDid: String
1157
+ ownerDid: String
1174
1158
  }
1175
1159
 
1176
1160
  type Permission {
1177
- name: String
1178
- description: String
1179
- isProtected: Boolean
1161
+ name: String
1162
+ description: String
1163
+ isProtected: Boolean
1180
1164
  }
1181
1165
 
1182
1166
  type RequestLimit {
1183
- enabled: Boolean
1184
- rate: Uint32
1185
- ipHeader: String
1167
+ enabled: Boolean
1168
+ rate: Uint32
1169
+ ipHeader: String
1186
1170
  }
1187
1171
 
1188
1172
  type Requirement {
1189
- server: String
1190
- os: Any
1191
- cpu: Any
1192
- fuels: [Fuel!]
1173
+ server: String
1174
+ os: Any
1175
+ cpu: Any
1176
+ fuels: [Fuel!]
1193
1177
  }
1194
1178
 
1195
1179
  type ResponseAccessKeys {
1196
- code: StatusCode
1197
- list: [AccessKey!]
1180
+ code: StatusCode
1181
+ list: [AccessKey!]
1198
1182
  }
1199
1183
 
1200
1184
  type ResponseAddLetsEncryptCert {
1201
- code: StatusCode
1185
+ code: StatusCode
1202
1186
  }
1203
1187
 
1204
1188
  type ResponseAddNginxHttpsCert {
1205
- code: StatusCode
1189
+ code: StatusCode
1206
1190
  }
1207
1191
 
1208
1192
  type ResponseBlocklet {
1209
- code: StatusCode
1210
- blocklet: BlockletState
1193
+ code: StatusCode
1194
+ blocklet: BlockletState
1211
1195
  }
1212
1196
 
1213
1197
  type ResponseBlockletDiff {
1214
- code: StatusCode
1215
- blockletDiff: BlockletDiff
1198
+ code: StatusCode
1199
+ blockletDiff: BlockletDiff
1216
1200
  }
1217
1201
 
1218
1202
  type ResponseBlockletInfo {
1219
- code: StatusCode
1220
- blockletDid: String
1221
- isExternal: Boolean
1222
- isInstalled: Boolean
1223
- isRunning: Boolean
1203
+ code: StatusCode
1204
+ blockletDid: String
1205
+ isExternal: Boolean
1206
+ isInstalled: Boolean
1207
+ isRunning: Boolean
1224
1208
  }
1225
1209
 
1226
1210
  type ResponseBlockletMeta {
1227
- code: StatusCode
1228
- meta: Any
1211
+ code: StatusCode
1212
+ meta: Any
1229
1213
  }
1230
1214
 
1231
1215
  type ResponseBlockletMetaFromUrl {
1232
- code: StatusCode
1233
- meta: BlockletMeta
1234
- isFree: Boolean
1235
- inStore: Boolean
1236
- registryUrl: String
1216
+ code: StatusCode
1217
+ meta: BlockletMeta
1218
+ isFree: Boolean
1219
+ inStore: Boolean
1220
+ registryUrl: String
1237
1221
  }
1238
1222
 
1239
1223
  type ResponseCheckComponentsForUpdates {
1240
- code: StatusCode
1241
- preUpdateInfo: BlockletPreUpdateInfo
1224
+ code: StatusCode
1225
+ preUpdateInfo: BlockletPreUpdateInfo
1242
1226
  }
1243
1227
 
1244
1228
  type ResponseCheckDomains {
1245
- code: StatusCode
1229
+ code: StatusCode
1246
1230
  }
1247
1231
 
1248
1232
  type ResponseCheckNodeVersion {
1249
- code: StatusCode
1250
- version: String
1233
+ code: StatusCode
1234
+ version: String
1251
1235
  }
1252
1236
 
1253
1237
  type ResponseCreateAccessKey {
1254
- code: StatusCode
1255
- data: CreateAccessKey
1238
+ code: StatusCode
1239
+ data: CreateAccessKey
1256
1240
  }
1257
1241
 
1258
1242
  type ResponseCreateInvitation {
1259
- code: StatusCode
1260
- inviteInfo: InviteInfo
1243
+ code: StatusCode
1244
+ inviteInfo: InviteInfo
1261
1245
  }
1262
1246
 
1263
1247
  type ResponseCreatePassportIssuance {
1264
- code: StatusCode
1265
- info: PassportIssuanceInfo
1248
+ code: StatusCode
1249
+ info: PassportIssuanceInfo
1266
1250
  }
1267
1251
 
1268
1252
  type ResponseCreateTransferNodeInvitation {
1269
- code: StatusCode
1270
- inviteInfo: InviteInfo
1253
+ code: StatusCode
1254
+ inviteInfo: InviteInfo
1271
1255
  }
1272
1256
 
1273
1257
  type ResponseCreateWebHook {
1274
- code: StatusCode
1275
- webhook: WebHookSender
1258
+ code: StatusCode
1259
+ webhook: WebHookSender
1276
1260
  }
1277
1261
 
1278
1262
  type ResponseDelegationState {
1279
- code: StatusCode
1280
- state: DelegationState
1263
+ code: StatusCode
1264
+ state: DelegationState
1281
1265
  }
1282
1266
 
1283
1267
  type ResponseDeleteAccessKey {
1284
- code: StatusCode
1268
+ code: StatusCode
1285
1269
  }
1286
1270
 
1287
1271
  type ResponseDeleteNginxHttpsCert {
1288
- code: StatusCode
1272
+ code: StatusCode
1289
1273
  }
1290
1274
 
1291
1275
  type ResponseDeleteWebHook {
1292
- code: StatusCode
1276
+ code: StatusCode
1293
1277
  }
1294
1278
 
1295
1279
  type ResponseFindCertificateByDomain {
1296
- code: StatusCode
1297
- cert: Certificate
1280
+ code: StatusCode
1281
+ cert: Certificate
1298
1282
  }
1299
1283
 
1300
1284
  type ResponseGateway {
1301
- code: StatusCode
1302
- gateway: Gateway
1285
+ code: StatusCode
1286
+ gateway: Gateway
1303
1287
  }
1304
1288
 
1305
1289
  type ResponseGetAuditLogs {
1306
- code: StatusCode
1307
- list: [AuditLog!]
1308
- paging: Paging
1290
+ code: StatusCode
1291
+ list: [AuditLog!]
1292
+ paging: Paging
1309
1293
  }
1310
1294
 
1311
1295
  type ResponseGetBlocklets {
1312
- code: StatusCode
1313
- blocklets: [BlockletState!]
1296
+ code: StatusCode
1297
+ blocklets: [BlockletState!]
1314
1298
  }
1315
1299
 
1316
1300
  type ResponseGetCertificates {
1317
- code: StatusCode
1318
- certificates: [Certificate!]
1301
+ code: StatusCode
1302
+ certificates: [Certificate!]
1319
1303
  }
1320
1304
 
1321
1305
  type ResponseGetInvitations {
1322
- code: StatusCode
1323
- invitations: [InviteInfo!]
1306
+ code: StatusCode
1307
+ invitations: [InviteInfo!]
1324
1308
  }
1325
1309
 
1326
1310
  type ResponseGetNodeEnv {
1327
- code: StatusCode
1328
- info: NodeEnvInfo
1311
+ code: StatusCode
1312
+ info: NodeEnvInfo
1329
1313
  }
1330
1314
 
1331
1315
  type ResponseGetNodeInfo {
1332
- code: StatusCode
1333
- info: NodeState
1316
+ code: StatusCode
1317
+ info: NodeState
1334
1318
  }
1335
1319
 
1336
1320
  type ResponseGetNotifications {
1337
- code: StatusCode
1338
- list: [Notification!]
1339
- paging: Paging
1321
+ code: StatusCode
1322
+ list: [Notification!]
1323
+ paging: Paging
1340
1324
  }
1341
1325
 
1342
1326
  type ResponseGetPassportIssuances {
1343
- code: StatusCode
1344
- list: [PassportIssuanceInfo!]
1327
+ code: StatusCode
1328
+ list: [PassportIssuanceInfo!]
1345
1329
  }
1346
1330
 
1347
1331
  type ResponseGetRoutingProviders {
1348
- code: StatusCode
1349
- providers: [RoutingProvider!]
1332
+ code: StatusCode
1333
+ providers: [RoutingProvider!]
1350
1334
  }
1351
1335
 
1352
1336
  type ResponseGetRoutingSites {
1353
- code: StatusCode
1354
- sites: [RoutingSite!]
1337
+ code: StatusCode
1338
+ sites: [RoutingSite!]
1355
1339
  }
1356
1340
 
1357
1341
  type ResponseGetRoutingSnapshots {
1358
- code: StatusCode
1359
- snapshots: [RoutingSnapshot!]
1360
- }
1361
-
1362
- type ResponseGetServices {
1363
- code: StatusCode
1364
- services: [BlockletService!]
1342
+ code: StatusCode
1343
+ snapshots: [RoutingSnapshot!]
1365
1344
  }
1366
1345
 
1367
1346
  type ResponseGetSession {
1368
- code: StatusCode
1369
- session: Any
1347
+ code: StatusCode
1348
+ session: Any
1370
1349
  }
1371
1350
 
1372
1351
  type ResponseGetSnapshotSites {
1373
- code: StatusCode
1374
- sites: [RoutingSite!]
1352
+ code: StatusCode
1353
+ sites: [RoutingSite!]
1375
1354
  }
1376
1355
 
1377
1356
  type ResponseGetUsersCountPerRole {
1378
- code: StatusCode
1379
- counts: [KeyValue!]
1357
+ code: StatusCode
1358
+ counts: [KeyValue!]
1380
1359
  }
1381
1360
 
1382
1361
  type ResponseInstallFromVc {
1383
- code: StatusCode
1384
- blocklet: BlockletState
1362
+ code: StatusCode
1363
+ blocklet: BlockletState
1385
1364
  }
1386
1365
 
1387
1366
  type ResponseLatestBlockletVersion {
1388
- code: StatusCode
1389
- data: LatestBlockletVersion
1367
+ code: StatusCode
1368
+ data: LatestBlockletVersion
1390
1369
  }
1391
1370
 
1392
1371
  type ResponsePermission {
1393
- code: StatusCode
1394
- permission: Permission
1372
+ code: StatusCode
1373
+ permission: Permission
1395
1374
  }
1396
1375
 
1397
1376
  type ResponsePermissions {
1398
- code: StatusCode
1399
- permissions: [Permission!]
1377
+ code: StatusCode
1378
+ permissions: [Permission!]
1400
1379
  }
1401
1380
 
1402
1381
  type ResponseReadNotifications {
1403
- code: StatusCode
1404
- numAffected: Int32
1382
+ code: StatusCode
1383
+ numAffected: Int32
1405
1384
  }
1406
1385
 
1407
1386
  type ResponseResetNode {
1408
- code: StatusCode
1387
+ code: StatusCode
1409
1388
  }
1410
1389
 
1411
1390
  type ResponseRole {
1412
- code: StatusCode
1413
- role: Role
1391
+ code: StatusCode
1392
+ role: Role
1414
1393
  }
1415
1394
 
1416
1395
  type ResponseRoles {
1417
- code: StatusCode
1418
- roles: [Role!]
1396
+ code: StatusCode
1397
+ roles: [Role!]
1419
1398
  }
1420
1399
 
1421
1400
  type ResponseRoutingSite {
1422
- code: StatusCode
1423
- site: RoutingSite
1401
+ code: StatusCode
1402
+ site: RoutingSite
1424
1403
  }
1425
1404
 
1426
1405
  type ResponseSendMsg {
1427
- code: StatusCode
1406
+ code: StatusCode
1428
1407
  }
1429
1408
 
1430
1409
  type ResponseSenderList {
1431
- code: StatusCode
1432
- senders: [WebHookSender!]
1410
+ code: StatusCode
1411
+ senders: [WebHookSender!]
1433
1412
  }
1434
1413
 
1435
1414
  type ResponseTakeRoutingSnapshot {
1436
- code: StatusCode
1437
- hash: String
1415
+ code: StatusCode
1416
+ hash: String
1438
1417
  }
1439
1418
 
1440
1419
  type ResponseUpdateAccessKey {
1441
- code: StatusCode
1442
- data: AccessKey
1420
+ code: StatusCode
1421
+ data: AccessKey
1443
1422
  }
1444
1423
 
1445
1424
  type ResponseUpdateNginxHttpsCert {
1446
- code: StatusCode
1425
+ code: StatusCode
1447
1426
  }
1448
1427
 
1449
1428
  type ResponseUpgradeNodeVersion {
1450
- code: StatusCode
1451
- sessionId: String
1429
+ code: StatusCode
1430
+ sessionId: String
1452
1431
  }
1453
1432
 
1454
1433
  type ResponseUser {
1455
- code: StatusCode
1456
- user: UserInfo
1434
+ code: StatusCode
1435
+ user: UserInfo
1457
1436
  }
1458
1437
 
1459
1438
  type ResponseUsers {
1460
- code: StatusCode
1461
- users: [UserInfo!]
1462
- paging: Paging
1439
+ code: StatusCode
1440
+ users: [UserInfo!]
1441
+ paging: Paging
1463
1442
  }
1464
1443
 
1465
1444
  type ResponseWebHooks {
1466
- code: StatusCode
1467
- webhooks: [WebHookRecord!]
1445
+ code: StatusCode
1446
+ webhooks: [WebHookRecord!]
1468
1447
  }
1469
1448
 
1470
1449
  type Role {
1471
- name: String
1472
- description: String
1473
- grants: [String!]
1474
- title: String
1475
- isProtected: Boolean
1450
+ name: String
1451
+ description: String
1452
+ grants: [String!]
1453
+ title: String
1454
+ isProtected: Boolean
1476
1455
  }
1477
1456
 
1478
1457
  type RoutingProvider {
1479
- name: String
1480
- description: String
1481
- running: Boolean
1482
- available: Boolean
1483
- error: String
1458
+ name: String
1459
+ description: String
1460
+ running: Boolean
1461
+ available: Boolean
1462
+ error: String
1484
1463
  }
1485
1464
 
1486
1465
  type RoutingRule {
1487
- id: String
1488
- from: RoutingRuleFrom
1489
- to: RoutingRuleTo
1490
- isProtected: Boolean
1491
- services: [BlockletService!]
1466
+ id: String
1467
+ from: RoutingRuleFrom
1468
+ to: RoutingRuleTo
1469
+ isProtected: Boolean
1492
1470
  }
1493
1471
 
1494
1472
  type RoutingRuleFrom {
1495
- pathPrefix: String
1496
- header: [RoutingRuleHeader!]
1473
+ pathPrefix: String
1474
+ header: [RoutingRuleHeader!]
1497
1475
  }
1498
1476
 
1499
1477
  type RoutingRuleHeader {
1500
- key: String
1501
- value: String
1502
- type: HeaderMatchType
1478
+ key: String
1479
+ value: String
1480
+ type: HeaderMatchType
1503
1481
  }
1504
1482
 
1505
1483
  type RoutingRuleTo {
1506
- port: Uint32
1507
- type: BackendServiceType
1508
- did: String
1509
- url: String
1510
- redirectCode: Int32
1511
- interfaceName: String
1512
- componentId: String
1484
+ port: Uint32
1485
+ type: BackendServiceType
1486
+ did: String
1487
+ url: String
1488
+ redirectCode: Int32
1489
+ interfaceName: String
1490
+ componentId: String
1513
1491
  }
1514
1492
 
1515
1493
  type RoutingSite {
1516
- id: String
1517
- domain: String
1518
- domainAliases: [Any!]
1519
- rules: [RoutingRule!]
1520
- isProtected: Boolean
1521
- corsAllowedOrigins: [String!]
1494
+ id: String
1495
+ domain: String
1496
+ domainAliases: [Any!]
1497
+ rules: [RoutingRule!]
1498
+ isProtected: Boolean
1499
+ corsAllowedOrigins: [String!]
1522
1500
  }
1523
1501
 
1524
1502
  type RoutingSnapshot {
1525
- hash: String
1526
- tree: String
1527
- message: String
1528
- author: String
1529
- createdAt: String
1503
+ hash: String
1504
+ tree: String
1505
+ message: String
1506
+ author: String
1507
+ createdAt: String
1530
1508
  }
1531
1509
 
1532
1510
  type RuntimeInfo {
1533
- pid: String
1534
- port: String
1535
- uptime: String
1536
- memoryUsage: Float32
1537
- cpuUsage: Float32
1511
+ pid: String
1512
+ port: String
1513
+ uptime: String
1514
+ memoryUsage: Float32
1515
+ cpuUsage: Float32
1538
1516
  }
1539
1517
 
1540
1518
  type TrustedPassport {
1541
- issuerDid: String
1542
- remark: String
1543
- mappings: [TrustedPassportMapping!]
1519
+ issuerDid: String
1520
+ remark: String
1521
+ mappings: [TrustedPassportMapping!]
1544
1522
  }
1545
1523
 
1546
1524
  type TrustedPassportMapping {
1547
- from: TrustedPassportMappingFrom
1548
- to: TrustedPassportMappingTo
1525
+ from: TrustedPassportMappingFrom
1526
+ to: TrustedPassportMappingTo
1549
1527
  }
1550
1528
 
1551
1529
  type TrustedPassportMappingFrom {
1552
- passport: String
1530
+ passport: String
1553
1531
  }
1554
1532
 
1555
1533
  type TrustedPassportMappingTo {
1556
- role: String
1534
+ role: String
1557
1535
  }
1558
1536
 
1559
1537
  type UpdateList {
1560
- id: String
1561
- meta: BlockletMeta
1538
+ id: String
1539
+ meta: BlockletMeta
1562
1540
  }
1563
1541
 
1564
1542
  type UserInfo {
1565
- did: String
1566
- pk: String
1567
- role: String
1568
- avatar: String
1569
- fullName: String
1570
- email: String
1571
- approved: Boolean
1572
- createdAt: String
1573
- updatedAt: String
1574
- locale: String
1575
- passports: [Passport!]
1576
- firstLoginAt: String
1577
- lastLoginAt: String
1578
- remark: String
1543
+ did: String
1544
+ pk: String
1545
+ role: String
1546
+ avatar: String
1547
+ fullName: String
1548
+ email: String
1549
+ approved: Boolean
1550
+ createdAt: String
1551
+ updatedAt: String
1552
+ locale: String
1553
+ passports: [Passport!]
1554
+ firstLoginAt: String
1555
+ lastLoginAt: String
1556
+ remark: String
1579
1557
  }
1580
1558
 
1581
1559
  type WalletInfo {
1582
- did: String
1583
- pk: String
1560
+ did: String
1561
+ pk: String
1584
1562
  }
1585
1563
 
1586
1564
  type WebHookParam {
1587
- name: String
1588
- description: String
1589
- required: Boolean
1590
- defaultValue: String
1591
- value: String
1592
- type: String
1565
+ name: String
1566
+ description: String
1567
+ required: Boolean
1568
+ defaultValue: String
1569
+ value: String
1570
+ type: String
1593
1571
  }
1594
1572
 
1595
1573
  type WebHookRecord {
1596
- type: SenderType
1597
- id: String
1598
- params: [WebHookParam!]
1599
- createdAt: String
1574
+ type: SenderType
1575
+ id: String
1576
+ params: [WebHookParam!]
1577
+ createdAt: String
1600
1578
  }
1601
1579
 
1602
1580
  type WebHookSender {
1603
- type: SenderType
1604
- title: String
1605
- description: String
1606
- params: [WebHookParam!]
1581
+ type: SenderType
1582
+ title: String
1583
+ description: String
1584
+ params: [WebHookParam!]
1607
1585
  }
1608
1586
 
1609
1587
  enum BackendServiceType {
@@ -1747,6 +1725,7 @@ type Query {
1747
1725
  getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1748
1726
  getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
1749
1727
  getNodeInfo: ResponseGetNodeInfo
1728
+ resetNodeStatus: ResponseGetNodeInfo
1750
1729
  getNodeEnv: ResponseGetNodeEnv
1751
1730
  checkNodeVersion: ResponseCheckNodeVersion
1752
1731
  getDelegationState: ResponseDelegationState
@@ -1774,4 +1753,4 @@ type Query {
1774
1753
  getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
1775
1754
  getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
1776
1755
  getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
1777
- }`;
1756
+ }`;