@abtnode/schema 1.6.3 → 1.6.7

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.
@@ -12,1406 +12,1414 @@ scalar Int64
12
12
  scalar Uint32
13
13
 
14
14
  input BlockletRegistryInput {
15
- name: String
16
- description: String
17
- url: String
18
- logoUrl: String
19
- maintainer: String
20
- cdnUrl: String
21
- selected: Boolean
22
- protected: Boolean
23
- id: String
15
+ name: String
16
+ description: String
17
+ url: String
18
+ logoUrl: String
19
+ maintainer: String
20
+ cdnUrl: String
21
+ selected: Boolean
22
+ protected: Boolean
23
+ id: String
24
24
  }
25
25
 
26
26
  input BlockletServiceInput {
27
- name: String
28
- description: String
29
- version: String
30
- config: String
31
- schema: String
27
+ name: String
28
+ description: String
29
+ version: String
30
+ config: String
31
+ schema: String
32
32
  }
33
33
 
34
34
  input BlockletStateInterfaceInput {
35
- ruleId: String
36
- type: String
37
- name: String
38
- url: String
39
- authConfig: Any
35
+ ruleId: String
36
+ type: String
37
+ name: String
38
+ url: String
39
+ authConfig: Any
40
40
  }
41
41
 
42
42
  input ConfigEntryInput {
43
- key: String
44
- value: String
45
- required: Boolean
46
- description: String
47
- validation: String
48
- secure: Boolean
49
- custom: Boolean
43
+ key: String
44
+ value: String
45
+ required: Boolean
46
+ description: String
47
+ validation: String
48
+ secure: Boolean
49
+ custom: Boolean
50
50
  }
51
51
 
52
52
  input HashFileInput {
53
- file: String
54
- hash: String
53
+ file: String
54
+ hash: String
55
55
  }
56
56
 
57
57
  input IssuerInput {
58
- id: String
59
- name: String
60
- pk: String
58
+ id: String
59
+ name: String
60
+ pk: String
61
61
  }
62
62
 
63
63
  input MemberInfoInput {
64
- did: String
65
- pk: String
66
- role: String
67
- avatar: String
68
- fullName: String
69
- email: String
70
- approved: Boolean
71
- createdAt: String
72
- updatedAt: String
73
- locale: String
74
- passports: [PassportInput!]
75
- firstLoginAt: String
76
- lastLoginAt: String
77
- remark: String
64
+ did: String
65
+ pk: String
66
+ role: String
67
+ avatar: String
68
+ fullName: String
69
+ email: String
70
+ approved: Boolean
71
+ createdAt: String
72
+ updatedAt: String
73
+ locale: String
74
+ passports: [PassportInput!]
75
+ firstLoginAt: String
76
+ lastLoginAt: String
77
+ remark: String
78
78
  }
79
79
 
80
80
  input NodeInfoInput {
81
- name: String
82
- description: String
83
- autoUpgrade: Boolean
84
- enableWelcomePage: Boolean
85
- registerUrl: String
86
- webWalletUrl: String
87
- blockletRegistryList: [BlockletRegistryInput!]
88
- diskAlertThreshold: Uint32
81
+ name: String
82
+ description: String
83
+ autoUpgrade: Boolean
84
+ enableWelcomePage: Boolean
85
+ registerUrl: String
86
+ webWalletUrl: String
87
+ blockletRegistryList: [BlockletRegistryInput!]
88
+ diskAlertThreshold: Uint32
89
89
  }
90
90
 
91
91
  input PagingInput {
92
- total: Uint32
93
- pageSize: Uint32
94
- pageCount: Uint32
95
- page: Uint32
92
+ total: Uint32
93
+ pageSize: Uint32
94
+ pageCount: Uint32
95
+ page: Uint32
96
96
  }
97
97
 
98
98
  input PassportInput {
99
- id: String
100
- name: String
101
- title: String
102
- issuer: IssuerInput
103
- type: [String!]
104
- issuanceDate: String
105
- expirationDate: String
106
- status: String
107
- role: String
99
+ id: String
100
+ name: String
101
+ title: String
102
+ issuer: IssuerInput
103
+ type: [String!]
104
+ issuanceDate: String
105
+ expirationDate: String
106
+ status: String
107
+ role: String
108
108
  }
109
109
 
110
110
  input PermissionInput {
111
- name: String
112
- description: String
113
- isProtected: Boolean
111
+ name: String
112
+ description: String
113
+ isProtected: Boolean
114
114
  }
115
115
 
116
116
  input RequestAddDomainAliasInput {
117
- id: String
118
- domainAlias: String
117
+ id: String
118
+ domainAlias: String
119
+ }
120
+
121
+ input RequestAddLetsEcryptCertInput {
122
+ domain: String
119
123
  }
120
124
 
121
125
  input RequestAddNginxHttpsCertInput {
122
- name: String
123
- privateKey: String
124
- certificate: String
125
- public: Boolean
126
+ name: String
127
+ privateKey: String
128
+ certificate: String
129
+ public: Boolean
126
130
  }
127
131
 
128
132
  input RequestAddRoutingRuleInput {
129
- id: String
130
- rule: RoutingRuleInput
133
+ id: String
134
+ rule: RoutingRuleInput
131
135
  }
132
136
 
133
137
  input RequestAddRoutingSiteInput {
134
- domain: String
135
- type: String
136
- rules: [RoutingRuleInput!]
138
+ domain: String
139
+ type: String
140
+ rules: [RoutingRuleInput!]
137
141
  }
138
142
 
139
143
  input RequestBlockletInput {
140
- did: String
141
- registryUrl: String
142
- attachRuntimeInfo: Boolean
144
+ did: String
145
+ registryUrl: String
146
+ attachRuntimeInfo: Boolean
143
147
  }
144
148
 
145
149
  input RequestBlockletDiffInput {
146
- did: String
147
- hashFiles: [HashFileInput!]
150
+ did: String
151
+ hashFiles: [HashFileInput!]
148
152
  }
149
153
 
150
154
  input RequestBlockletMetaFromUrlInput {
151
- url: String
152
- checkPrice: Boolean
155
+ url: String
156
+ checkPrice: Boolean
153
157
  }
154
158
 
155
159
  input RequestChangeBlockletRegistryInput {
156
- url: String
160
+ url: String
157
161
  }
158
162
 
159
163
  input RequestCheckDomainsInput {
160
- domains: [String!]
164
+ domains: [String!]
161
165
  }
162
166
 
163
167
  input RequestConfigBlockletInput {
164
- did: String
165
- childDid: String
166
- configs: [ConfigEntryInput!]
168
+ did: String
169
+ childDid: String
170
+ configs: [ConfigEntryInput!]
167
171
  }
168
172
 
169
173
  input RequestConfigPassportIssuanceInput {
170
- teamDid: String
171
- enable: Boolean
174
+ teamDid: String
175
+ enable: Boolean
172
176
  }
173
177
 
174
178
  input RequestConfigTrustedPassportsInput {
175
- teamDid: String
176
- trustedPassports: [TrustedPassportInput!]
179
+ teamDid: String
180
+ trustedPassports: [TrustedPassportInput!]
177
181
  }
178
182
 
179
183
  input RequestCreateAccessKeyInput {
180
- remark: String
181
- passport: String
184
+ remark: String
185
+ passport: String
182
186
  }
183
187
 
184
188
  input RequestCreatePassportIssuanceInput {
185
- teamDid: String
186
- ownerDid: String
187
- name: String
189
+ teamDid: String
190
+ ownerDid: String
191
+ name: String
188
192
  }
189
193
 
190
194
  input RequestCreatePermissionInput {
191
- teamDid: String
192
- name: String
193
- description: String
195
+ teamDid: String
196
+ name: String
197
+ description: String
194
198
  }
195
199
 
196
200
  input RequestCreateRoleInput {
197
- teamDid: String
198
- name: String
199
- title: String
200
- description: String
201
- childName: String
202
- permissions: [String!]
201
+ teamDid: String
202
+ name: String
203
+ title: String
204
+ description: String
205
+ childName: String
206
+ permissions: [String!]
203
207
  }
204
208
 
205
209
  input RequestCreateWebHookInput {
206
- type: SenderType
207
- title: String
208
- description: String
209
- params: [WebHookParamInput!]
210
+ type: SenderType
211
+ title: String
212
+ description: String
213
+ params: [WebHookParamInput!]
210
214
  }
211
215
 
212
216
  input RequestDeleteAccessKeyInput {
213
- accessKeyId: String
217
+ accessKeyId: String
214
218
  }
215
219
 
216
220
  input RequestDeleteBlockletInput {
217
- did: String
218
- keepData: Boolean
221
+ did: String
222
+ keepData: Boolean
219
223
  }
220
224
 
221
225
  input RequestDeleteDomainAliasInput {
222
- id: String
223
- domainAlias: String
226
+ id: String
227
+ domainAlias: String
224
228
  }
225
229
 
226
230
  input RequestDeleteNginxHttpsCertInput {
227
- id: String
231
+ id: String
228
232
  }
229
233
 
230
234
  input RequestDeletePermissionInput {
231
- teamDid: String
232
- name: String
235
+ teamDid: String
236
+ name: String
233
237
  }
234
238
 
235
239
  input RequestDeleteRoleInput {
236
- teamDid: String
237
- name: String
240
+ teamDid: String
241
+ name: String
238
242
  }
239
243
 
240
244
  input RequestDeleteRoutingRuleInput {
241
- id: String
242
- ruleId: String
245
+ id: String
246
+ ruleId: String
243
247
  }
244
248
 
245
249
  input RequestDeleteRoutingSiteInput {
246
- id: String
250
+ id: String
247
251
  }
248
252
 
249
253
  input RequestDeleteTeamSessionInput {
250
- teamDid: String
251
- sessionId: String
254
+ teamDid: String
255
+ sessionId: String
252
256
  }
253
257
 
254
258
  input RequestDeleteWebHookInput {
255
- id: String
259
+ id: String
256
260
  }
257
261
 
258
262
  input RequestEndSessionInput {
259
- id: String
263
+ id: String
260
264
  }
261
265
 
262
266
  input RequestGetBlockletsInput {
263
- useCache: Boolean
267
+ useCache: Boolean
264
268
  }
265
269
 
266
270
  input RequestGetNotificationsInput {
267
- receiver: String
268
- sender: String
269
- read: Boolean
270
- paging: PagingInput
271
+ receiver: String
272
+ sender: String
273
+ read: Boolean
274
+ paging: PagingInput
271
275
  }
272
276
 
273
277
  input RequestGetPassportIssuancesInput {
274
- teamDid: String
275
- ownerDid: String
278
+ teamDid: String
279
+ ownerDid: String
276
280
  }
277
281
 
278
282
  input RequestGetRoutingSitesInput {
279
- snapshotHash: String
283
+ snapshotHash: String
280
284
  }
281
285
 
282
286
  input RequestGetRoutingSnapshotsInput {
283
- limit: Int32
287
+ limit: Int32
284
288
  }
285
289
 
286
290
  input RequestGetSessionInput {
287
- id: String
291
+ id: String
288
292
  }
289
293
 
290
294
  input RequestGetSnapshotSitesInput {
291
- hash: String
295
+ hash: String
292
296
  }
293
297
 
294
298
  input RequestGrantPermissionForRoleInput {
295
- teamDid: String
296
- roleName: String
297
- grantName: String
299
+ teamDid: String
300
+ roleName: String
301
+ grantName: String
298
302
  }
299
303
 
300
304
  input RequestHasPermissionInput {
301
- teamDid: String
302
- role: String
303
- permission: String
305
+ teamDid: String
306
+ role: String
307
+ permission: String
304
308
  }
305
309
 
306
310
  input RequestInstallFromVcInput {
307
- challenge: String
308
- vcPresentation: Any
311
+ challenge: String
312
+ vcPresentation: Any
309
313
  }
310
314
 
311
315
  input RequestLatestBlockletVersionInput {
312
- did: String
313
- version: String
316
+ did: String
317
+ version: String
314
318
  }
315
319
 
316
320
  input RequestListBlockletsInput {
317
- registryUrl: String
321
+ registryUrl: String
318
322
  }
319
323
 
320
324
  input RequestNodeRoutingInput {
321
- provider: String
322
- snapshotHash: String
323
- forceRepopulate: Boolean
325
+ provider: String
326
+ snapshotHash: String
327
+ forceRepopulate: Boolean
324
328
  }
325
329
 
326
330
  input RequestReadNotificationsInput {
327
- id: String
331
+ id: String
328
332
  }
329
333
 
330
334
  input RequestResetNodeInput {
331
- owner: Boolean
332
- blocklets: Boolean
333
- webhooks: Boolean
334
- certificates: Boolean
335
- accessKeys: Boolean
336
- blockletExtras: Boolean
337
- routingRules: Boolean
338
- users: Boolean
339
- invitations: Boolean
335
+ owner: Boolean
336
+ blocklets: Boolean
337
+ webhooks: Boolean
338
+ certificates: Boolean
339
+ accessKeys: Boolean
340
+ blockletExtras: Boolean
341
+ routingRules: Boolean
342
+ users: Boolean
343
+ invitations: Boolean
340
344
  }
341
345
 
342
346
  input RequestRevokePermissionFromRoleInput {
343
- teamDid: String
344
- roleName: String
345
- grantName: String
347
+ teamDid: String
348
+ roleName: String
349
+ grantName: String
346
350
  }
347
351
 
348
352
  input RequestRevokeUserPassportInput {
349
- teamDid: String
350
- userDid: String
351
- passportId: String
353
+ teamDid: String
354
+ userDid: String
355
+ passportId: String
352
356
  }
353
357
 
354
358
  input RequestSendMsgInput {
355
- webhookId: String
356
- message: String
359
+ webhookId: String
360
+ message: String
357
361
  }
358
362
 
359
363
  input RequestStartSessionInput {
360
- data: String
364
+ data: String
361
365
  }
362
366
 
363
367
  input RequestTakeRoutingSnapshotInput {
364
- dryRun: Boolean
365
- message: String
368
+ dryRun: Boolean
369
+ message: String
366
370
  }
367
371
 
368
372
  input RequestTeamPermissionInput {
369
- teamDid: String
370
- permission: PermissionInput
373
+ teamDid: String
374
+ permission: PermissionInput
371
375
  }
372
376
 
373
377
  input RequestTeamRoleInput {
374
- teamDid: String
375
- role: RoleInput
378
+ teamDid: String
379
+ role: RoleInput
376
380
  }
377
381
 
378
382
  input RequestTeamUserInput {
379
- teamDid: String
380
- user: MemberInfoInput
383
+ teamDid: String
384
+ user: MemberInfoInput
381
385
  }
382
386
 
383
387
  input RequestUpdateAccessKeyInput {
384
- accessKeyId: String
385
- remark: String
386
- passport: String
388
+ accessKeyId: String
389
+ remark: String
390
+ passport: String
387
391
  }
388
392
 
389
393
  input RequestUpdateChildBlockletsInput {
390
- updateId: String
394
+ updateId: String
391
395
  }
392
396
 
393
397
  input RequestUpdateNginxHttpsCertInput {
394
- name: String
395
- domain: String
396
- privateKey: String
397
- certificate: String
398
- public: Boolean
398
+ id: String
399
+ name: String
400
+ public: Boolean
399
401
  }
400
402
 
401
403
  input RequestUpdatePermissionsForRoleInput {
402
- teamDid: String
403
- roleName: String
404
- grantNames: [String!]
404
+ teamDid: String
405
+ roleName: String
406
+ grantNames: [String!]
405
407
  }
406
408
 
407
409
  input RequestUpdateRoutingRuleInput {
408
- id: String
409
- rule: RoutingRuleInput
410
+ id: String
411
+ rule: RoutingRuleInput
410
412
  }
411
413
 
412
414
  input RequestUpdateRoutingSiteInput {
413
- id: String
414
- corsAllowedOrigins: [String!]
415
- domain: String
415
+ id: String
416
+ corsAllowedOrigins: [String!]
417
+ domain: String
416
418
  }
417
419
 
418
420
  input RequestUpdateSessionInput {
419
- id: String
420
- data: String
421
+ id: String
422
+ data: String
421
423
  }
422
424
 
423
425
  input RequestUpgradeBlockletInput {
424
- did: String
425
- registryUrl: String
426
+ did: String
427
+ registryUrl: String
426
428
  }
427
429
 
428
430
  input RequestVersionedBlockletInput {
429
- did: String
430
- url: String
431
- file: Upload
432
- diffVersion: String
433
- deleteSet: [String!]
431
+ did: String
432
+ url: String
433
+ file: Upload
434
+ diffVersion: String
435
+ deleteSet: [String!]
434
436
  }
435
437
 
436
438
  input RequsetCreateInvitationInput {
437
- teamDid: String
438
- role: String
439
- remark: String
440
- interfaceName: String
439
+ teamDid: String
440
+ role: String
441
+ remark: String
442
+ interfaceName: String
441
443
  }
442
444
 
443
445
  input RequsetDeleteInvitationInput {
444
- teamDid: String
445
- inviteId: String
446
+ teamDid: String
447
+ inviteId: String
446
448
  }
447
449
 
448
450
  input RoleInput {
449
- name: String
450
- description: String
451
- grants: [String!]
452
- title: String
453
- isProtected: Boolean
451
+ name: String
452
+ description: String
453
+ grants: [String!]
454
+ title: String
455
+ isProtected: Boolean
454
456
  }
455
457
 
456
458
  input RoutingRuleInput {
457
- id: String
458
- from: RoutingRuleFromInput
459
- to: RoutingRuleToInput
460
- isProtected: Boolean
461
- interfaces: [BlockletStateInterfaceInput!]
462
- services: [BlockletServiceInput!]
459
+ id: String
460
+ from: RoutingRuleFromInput
461
+ to: RoutingRuleToInput
462
+ isProtected: Boolean
463
+ interfaces: [BlockletStateInterfaceInput!]
464
+ services: [BlockletServiceInput!]
463
465
  }
464
466
 
465
467
  input RoutingRuleFromInput {
466
- pathPrefix: String
467
- header: [RoutingRuleHeaderInput!]
468
+ pathPrefix: String
469
+ header: [RoutingRuleHeaderInput!]
468
470
  }
469
471
 
470
472
  input RoutingRuleHeaderInput {
471
- key: String
472
- value: String
473
- type: HeaderMatchType
473
+ key: String
474
+ value: String
475
+ type: HeaderMatchType
474
476
  }
475
477
 
476
478
  input RoutingRuleToInput {
477
- port: Uint32
478
- type: BackendServiceType
479
- did: String
480
- url: String
481
- redirectCode: Int32
482
- interfaceName: String
483
- realDid: String
479
+ port: Uint32
480
+ type: BackendServiceType
481
+ did: String
482
+ url: String
483
+ redirectCode: Int32
484
+ interfaceName: String
485
+ realDid: String
484
486
  }
485
487
 
486
488
  input TeamInput {
487
- teamDid: String
489
+ teamDid: String
488
490
  }
489
491
 
490
492
  input TrustedPassportInput {
491
- issuerDid: String
492
- mappings: [TrustedPassportMappingInput!]
493
+ issuerDid: String
494
+ mappings: [TrustedPassportMappingInput!]
493
495
  }
494
496
 
495
497
  input TrustedPassportMappingInput {
496
- from: TrustedPassportMappingFromInput
497
- to: TrustedPassportMappingToInput
498
+ from: TrustedPassportMappingFromInput
499
+ to: TrustedPassportMappingToInput
498
500
  }
499
501
 
500
502
  input TrustedPassportMappingFromInput {
501
- passport: String
503
+ passport: String
502
504
  }
503
505
 
504
506
  input TrustedPassportMappingToInput {
505
- role: String
507
+ role: String
506
508
  }
507
509
 
508
510
  input WebHookParamInput {
509
- name: String
510
- description: String
511
- required: Boolean
512
- defaultValue: String
513
- value: String
514
- type: String
511
+ name: String
512
+ description: String
513
+ required: Boolean
514
+ defaultValue: String
515
+ value: String
516
+ type: String
515
517
  }
516
518
 
517
519
  type AccessKey {
518
- accessKeyId: String
519
- remark: String
520
- passport: String
521
- createdAt: String
522
- lastUsedAt: String
520
+ accessKeyId: String
521
+ remark: String
522
+ passport: String
523
+ createdAt: String
524
+ lastUsedAt: String
523
525
  }
524
526
 
525
527
  type BlockletCapabilities {
526
- clusterMode: Boolean
528
+ clusterMode: Boolean
527
529
  }
528
530
 
529
531
  type BlockletDiff {
530
- hasBlocklet: Boolean
531
- version: String
532
- addSet: [String!]
533
- changeSet: [String!]
534
- deleteSet: [String!]
532
+ hasBlocklet: Boolean
533
+ version: String
534
+ addSet: [String!]
535
+ changeSet: [String!]
536
+ deleteSet: [String!]
535
537
  }
536
538
 
537
539
  type BlockletDist {
538
- tarball: String
539
- integrity: String
540
+ tarball: String
541
+ integrity: String
540
542
  }
541
543
 
542
544
  type BlockletEngine {
543
- name: String
544
- displayName: String
545
- description: String
546
- version: String
547
- available: Boolean
548
- visible: Boolean
545
+ name: String
546
+ displayName: String
547
+ description: String
548
+ version: String
549
+ available: Boolean
550
+ visible: Boolean
549
551
  }
550
552
 
551
553
  type BlockletMeta {
552
- did: String
553
- name: String
554
- version: String
555
- description: String
556
- interfaces: [BlockletMetaInterface!]
557
- author: BlockletMetaPerson
558
- main: String
559
- stats: BlockletStats
560
- homepage: String
561
- price: Float32
562
- path: String
563
- community: String
564
- documentation: String
565
- support: String
566
- screenshots: [String!]
567
- keywords: [String!]
568
- group: String
569
- logo: String
570
- title: String
571
- dist: BlockletDist
572
- maintainers: [BlockletMetaPerson!]
573
- contributors: [BlockletMetaPerson!]
574
- repository: BlockletRepository
575
- payment: BlockletPayment
576
- nftFactory: String
577
- lastPublishedAt: String
578
- capabilities: BlockletCapabilities
579
- isFree: Boolean
554
+ did: String
555
+ name: String
556
+ version: String
557
+ description: String
558
+ interfaces: [BlockletMetaInterface!]
559
+ author: BlockletMetaPerson
560
+ main: String
561
+ stats: BlockletStats
562
+ homepage: String
563
+ price: Float32
564
+ path: String
565
+ community: String
566
+ documentation: String
567
+ support: String
568
+ screenshots: [String!]
569
+ keywords: [String!]
570
+ group: String
571
+ logo: String
572
+ title: String
573
+ dist: BlockletDist
574
+ maintainers: [BlockletMetaPerson!]
575
+ contributors: [BlockletMetaPerson!]
576
+ repository: BlockletRepository
577
+ payment: BlockletPayment
578
+ nftFactory: String
579
+ lastPublishedAt: String
580
+ capabilities: BlockletCapabilities
581
+ isFree: Boolean
580
582
  }
581
583
 
582
584
  type BlockletMetaInterface {
583
- type: String
584
- name: String
585
- path: String
586
- prefix: String
587
- protocol: String
588
- port: Any
589
- services: [BlockletMetaService!]
585
+ type: String
586
+ name: String
587
+ path: String
588
+ prefix: String
589
+ protocol: String
590
+ port: Any
591
+ services: [BlockletMetaService!]
590
592
  }
591
593
 
592
594
  type BlockletMetaPerson {
593
- name: String
594
- email: String
595
- url: String
595
+ name: String
596
+ email: String
597
+ url: String
596
598
  }
597
599
 
598
600
  type BlockletMetaService {
599
- name: String
600
- config: Any
601
+ name: String
602
+ config: Any
601
603
  }
602
604
 
603
605
  type BlockletPayment {
604
- price: [BlockletPaymentPrice!]
605
- share: [BlockletPaymentShare!]
606
+ price: [BlockletPaymentPrice!]
607
+ share: [BlockletPaymentShare!]
606
608
  }
607
609
 
608
610
  type BlockletPaymentPrice {
609
- address: String
610
- value: String
611
- symbol: String
611
+ address: String
612
+ value: String
613
+ symbol: String
612
614
  }
613
615
 
614
616
  type BlockletPaymentShare {
615
- address: String
616
- name: String
617
- value: String
617
+ address: String
618
+ name: String
619
+ value: String
618
620
  }
619
621
 
620
622
  type BlockletPreUpdateInfo {
621
- updateId: String
622
- updateList: [BlockletMeta!]
623
+ updateId: String
624
+ updateList: [BlockletMeta!]
623
625
  }
624
626
 
625
627
  type BlockletRegistry {
626
- name: String
627
- description: String
628
- url: String
629
- logoUrl: String
630
- maintainer: String
631
- cdnUrl: String
632
- selected: Boolean
633
- protected: Boolean
634
- id: String
628
+ name: String
629
+ description: String
630
+ url: String
631
+ logoUrl: String
632
+ maintainer: String
633
+ cdnUrl: String
634
+ selected: Boolean
635
+ protected: Boolean
636
+ id: String
635
637
  }
636
638
 
637
639
  type BlockletRepository {
638
- type: String
639
- url: String
640
+ type: String
641
+ url: String
640
642
  }
641
643
 
642
644
  type BlockletService {
643
- name: String
644
- description: String
645
- version: String
646
- config: String
647
- schema: String
645
+ name: String
646
+ description: String
647
+ version: String
648
+ config: String
649
+ schema: String
648
650
  }
649
651
 
650
652
  type BlockletState {
651
- meta: BlockletMeta
652
- status: BlockletStatus
653
- createdAt: String
654
- installedAt: String
655
- startedAt: String
656
- pausedAt: String
657
- stoppedAt: String
658
- environments: [ConfigEntry!]
659
- configs: [ConfigEntry!]
660
- diskInfo: DiskInfo
661
- runtimeInfo: RuntimeInfo
662
- source: BlockletSource
663
- deployedFrom: String
664
- port: Float32
665
- interfaces: [BlockletStateInterface!]
666
- engine: BlockletEngine
667
- mode: String
668
- ports: Any
669
- children: [BlockletState!]
670
- trustedPassports: [TrustedPassport!]
671
- enablePassportIssuance: Boolean
653
+ meta: BlockletMeta
654
+ status: BlockletStatus
655
+ createdAt: String
656
+ installedAt: String
657
+ startedAt: String
658
+ pausedAt: String
659
+ stoppedAt: String
660
+ environments: [ConfigEntry!]
661
+ configs: [ConfigEntry!]
662
+ diskInfo: DiskInfo
663
+ runtimeInfo: RuntimeInfo
664
+ source: BlockletSource
665
+ deployedFrom: String
666
+ port: Float32
667
+ interfaces: [BlockletStateInterface!]
668
+ engine: BlockletEngine
669
+ mode: String
670
+ ports: Any
671
+ children: [BlockletState!]
672
+ trustedPassports: [TrustedPassport!]
673
+ enablePassportIssuance: Boolean
672
674
  }
673
675
 
674
676
  type BlockletStateInterface {
675
- ruleId: String
676
- type: String
677
- name: String
678
- url: String
679
- authConfig: Any
677
+ ruleId: String
678
+ type: String
679
+ name: String
680
+ url: String
681
+ authConfig: Any
680
682
  }
681
683
 
682
684
  type BlockletStats {
683
- downloads: Float32
684
- star: Float32
685
- purchases: Float32
685
+ downloads: Float32
686
+ star: Float32
687
+ purchases: Float32
686
688
  }
687
689
 
688
690
  type BooleanResponse {
689
- code: StatusCode
690
- result: Boolean
691
+ code: StatusCode
692
+ result: Boolean
691
693
  }
692
694
 
693
695
  type Certificate {
694
- name: String
695
- domain: String
696
- validFrom: Int64
697
- validTo: Int64
698
- issuer: CertificateIssuer
699
- sans: [String!]
700
- id: String
701
- fingerprintAlg: String
702
- fingerprint: String
703
- validityPeriod: Int64
704
- matchedSites: [MatchedSites!]
705
- createdAt: String
706
- updatedAt: String
707
- public: Boolean
708
- isProtected: Boolean
696
+ name: String
697
+ domain: String
698
+ validFrom: Int64
699
+ validTo: Int64
700
+ issuer: CertificateIssuer
701
+ sans: [String!]
702
+ id: String
703
+ fingerprintAlg: String
704
+ fingerprint: String
705
+ validityPeriod: Int64
706
+ matchedSites: [MatchedSites!]
707
+ createdAt: String
708
+ updatedAt: String
709
+ public: Boolean
710
+ isProtected: Boolean
711
+ source: String
712
+ status: String
709
713
  }
710
714
 
711
715
  type CertificateIssuer {
712
- countryName: String
713
- organizationName: String
714
- commonName: String
716
+ countryName: String
717
+ organizationName: String
718
+ commonName: String
715
719
  }
716
720
 
717
721
  type ConfigEntry {
718
- key: String
719
- value: String
720
- required: Boolean
721
- description: String
722
- validation: String
723
- secure: Boolean
724
- custom: Boolean
722
+ key: String
723
+ value: String
724
+ required: Boolean
725
+ description: String
726
+ validation: String
727
+ secure: Boolean
728
+ custom: Boolean
725
729
  }
726
730
 
727
731
  type CreateAccessKey {
728
- accessKeyId: String
729
- accessKeySecret: String
730
- remark: String
731
- passport: String
732
- createdAt: String
733
- lastUsedAt: String
732
+ accessKeyId: String
733
+ accessKeySecret: String
734
+ remark: String
735
+ passport: String
736
+ createdAt: String
737
+ lastUsedAt: String
734
738
  }
735
739
 
736
740
  type DiskInfo {
737
- app: Float32
738
- data: Float32
739
- log: Float32
740
- cache: Float32
741
- blocklets: Float32
741
+ app: Float32
742
+ data: Float32
743
+ log: Float32
744
+ cache: Float32
745
+ blocklets: Float32
742
746
  }
743
747
 
744
748
  type GeneralResponse {
745
- code: StatusCode
749
+ code: StatusCode
746
750
  }
747
751
 
748
752
  type IPInfo {
749
- internalV4: String
750
- externalV4: String
751
- internalV6: String
752
- externalV6: String
753
+ internalV4: String
754
+ externalV4: String
755
+ internalV6: String
756
+ externalV6: String
753
757
  }
754
758
 
755
759
  type InviteInfo {
756
- inviteId: String
757
- role: String
758
- remark: String
759
- expireDate: String
760
- inviter: MemberInfo
761
- teamDid: String
762
- interfaceName: String
760
+ inviteId: String
761
+ role: String
762
+ remark: String
763
+ expireDate: String
764
+ inviter: MemberInfo
765
+ teamDid: String
766
+ interfaceName: String
763
767
  }
764
768
 
765
769
  type Issuer {
766
- id: String
767
- name: String
768
- pk: String
770
+ id: String
771
+ name: String
772
+ pk: String
769
773
  }
770
774
 
771
775
  type LatestBlockletVersion {
772
- did: String
773
- version: String
774
- registryUrl: String
776
+ did: String
777
+ version: String
778
+ registryUrl: String
775
779
  }
776
780
 
777
781
  type LauncherInfo {
778
- did: String
779
- type: String
780
- cloudService: String
781
- url: String
782
+ did: String
783
+ type: String
784
+ cloudService: String
785
+ url: String
782
786
  }
783
787
 
784
788
  type MatchedSites {
785
- id: String
786
- domain: String
789
+ id: String
790
+ domain: String
787
791
  }
788
792
 
789
793
  type MemberInfo {
790
- did: String
791
- pk: String
792
- role: String
793
- avatar: String
794
- fullName: String
795
- email: String
796
- approved: Boolean
797
- createdAt: String
798
- updatedAt: String
799
- locale: String
800
- passports: [Passport!]
801
- firstLoginAt: String
802
- lastLoginAt: String
803
- remark: String
794
+ did: String
795
+ pk: String
796
+ role: String
797
+ avatar: String
798
+ fullName: String
799
+ email: String
800
+ approved: Boolean
801
+ createdAt: String
802
+ updatedAt: String
803
+ locale: String
804
+ passports: [Passport!]
805
+ firstLoginAt: String
806
+ lastLoginAt: String
807
+ remark: String
804
808
  }
805
809
 
806
810
  type NodeEnvInfo {
807
- ip: IPInfo
808
- os: String
809
- location: String
810
- docker: Boolean
811
- image: Boolean
812
- blockletEngines: [BlockletEngine!]
813
- gitpod: Boolean
814
- disk: DiskInfo
811
+ ip: IPInfo
812
+ os: String
813
+ location: String
814
+ docker: Boolean
815
+ image: Boolean
816
+ blockletEngines: [BlockletEngine!]
817
+ gitpod: Boolean
818
+ disk: DiskInfo
815
819
  }
816
820
 
817
821
  type NodeRouting {
818
- provider: String
819
- snapshotHash: String
820
- adminPath: String
822
+ provider: String
823
+ snapshotHash: String
824
+ adminPath: String
821
825
  }
822
826
 
823
827
  type NodeState {
824
- did: String
825
- pk: String
826
- version: String
827
- name: String
828
- description: String
829
- port: String
830
- initialized: Boolean
831
- nodeOwner: WalletInfo
832
- createdAt: String
833
- startedAt: String
834
- initializedAt: String
835
- mode: String
836
- routing: NodeRouting
837
- members: [MemberInfo!]
838
- environments: [ConfigEntry!]
839
- uptime: Float32
840
- autoUpgrade: Boolean
841
- nextVersion: String
842
- upgradeSessionId: String
843
- registerUrl: String
844
- enableWelcomePage: Boolean
845
- webWalletUrl: String
846
- blockletRegistryList: [BlockletRegistry!]
847
- ownerNft: OwnerNft
848
- diskAlertThreshold: Uint32
849
- trustedPassports: [TrustedPassport!]
850
- launcherInfo: LauncherInfo
851
- enablePassportIssuance: Boolean
828
+ did: String
829
+ pk: String
830
+ version: String
831
+ name: String
832
+ description: String
833
+ port: String
834
+ initialized: Boolean
835
+ nodeOwner: WalletInfo
836
+ createdAt: String
837
+ startedAt: String
838
+ initializedAt: String
839
+ mode: String
840
+ routing: NodeRouting
841
+ members: [MemberInfo!]
842
+ environments: [ConfigEntry!]
843
+ uptime: Float32
844
+ autoUpgrade: Boolean
845
+ nextVersion: String
846
+ upgradeSessionId: String
847
+ registerUrl: String
848
+ enableWelcomePage: Boolean
849
+ webWalletUrl: String
850
+ blockletRegistryList: [BlockletRegistry!]
851
+ ownerNft: OwnerNft
852
+ diskAlertThreshold: Uint32
853
+ trustedPassports: [TrustedPassport!]
854
+ launcherInfo: LauncherInfo
855
+ enablePassportIssuance: Boolean
852
856
  }
853
857
 
854
858
  type Notification {
855
- sender: String
856
- receiver: String
857
- title: String
858
- description: String
859
- action: String
860
- entityType: String
861
- entityId: String
862
- read: Boolean
863
- createdAt: String
864
- updatedAt: String
865
- id: String
866
- severity: String
859
+ sender: String
860
+ receiver: String
861
+ title: String
862
+ description: String
863
+ action: String
864
+ entityType: String
865
+ entityId: String
866
+ read: Boolean
867
+ createdAt: String
868
+ updatedAt: String
869
+ id: String
870
+ severity: String
867
871
  }
868
872
 
869
873
  type OwnerNft {
870
- holder: String
871
- issuer: String
874
+ holder: String
875
+ issuer: String
872
876
  }
873
877
 
874
878
  type Paging {
875
- total: Uint32
876
- pageSize: Uint32
877
- pageCount: Uint32
878
- page: Uint32
879
+ total: Uint32
880
+ pageSize: Uint32
881
+ pageCount: Uint32
882
+ page: Uint32
879
883
  }
880
884
 
881
885
  type Passport {
882
- id: String
883
- name: String
884
- title: String
885
- issuer: Issuer
886
- type: [String!]
887
- issuanceDate: String
888
- expirationDate: String
889
- status: String
890
- role: String
886
+ id: String
887
+ name: String
888
+ title: String
889
+ issuer: Issuer
890
+ type: [String!]
891
+ issuanceDate: String
892
+ expirationDate: String
893
+ status: String
894
+ role: String
891
895
  }
892
896
 
893
897
  type PassportIssuanceInfo {
894
- id: String
895
- name: String
896
- title: String
897
- expireDate: String
898
- teamDid: String
899
- ownerDid: String
898
+ id: String
899
+ name: String
900
+ title: String
901
+ expireDate: String
902
+ teamDid: String
903
+ ownerDid: String
900
904
  }
901
905
 
902
906
  type Permission {
903
- name: String
904
- description: String
905
- isProtected: Boolean
907
+ name: String
908
+ description: String
909
+ isProtected: Boolean
906
910
  }
907
911
 
908
912
  type ResponseAccessKeys {
909
- code: StatusCode
910
- list: [AccessKey!]
913
+ code: StatusCode
914
+ list: [AccessKey!]
915
+ }
916
+
917
+ type ResponseAddLetsEcryptCert {
918
+ code: StatusCode
911
919
  }
912
920
 
913
921
  type ResponseAddNginxHttpsCert {
914
- code: StatusCode
922
+ code: StatusCode
915
923
  }
916
924
 
917
925
  type ResponseBlocklet {
918
- code: StatusCode
919
- blocklet: BlockletState
926
+ code: StatusCode
927
+ blocklet: BlockletState
920
928
  }
921
929
 
922
930
  type ResponseBlockletDiff {
923
- code: StatusCode
924
- blockletDiff: BlockletDiff
931
+ code: StatusCode
932
+ blockletDiff: BlockletDiff
925
933
  }
926
934
 
927
935
  type ResponseBlockletMeta {
928
- code: StatusCode
929
- meta: Any
936
+ code: StatusCode
937
+ meta: Any
930
938
  }
931
939
 
932
940
  type ResponseBlockletMetaFromUrl {
933
- code: StatusCode
934
- meta: BlockletMeta
941
+ code: StatusCode
942
+ meta: BlockletMeta
935
943
  }
936
944
 
937
945
  type ResponseCheckChildBlockletsForUpdates {
938
- code: StatusCode
939
- preUpdateInfo: BlockletPreUpdateInfo
946
+ code: StatusCode
947
+ preUpdateInfo: BlockletPreUpdateInfo
940
948
  }
941
949
 
942
950
  type ResponseCheckDomains {
943
- code: StatusCode
951
+ code: StatusCode
944
952
  }
945
953
 
946
954
  type ResponseCheckNodeVersion {
947
- code: StatusCode
948
- version: String
955
+ code: StatusCode
956
+ version: String
949
957
  }
950
958
 
951
959
  type ResponseConfigBlocklet {
952
- code: StatusCode
953
- blocklet: BlockletState
960
+ code: StatusCode
961
+ blocklet: BlockletState
954
962
  }
955
963
 
956
964
  type ResponseCreateAccessKey {
957
- code: StatusCode
958
- data: CreateAccessKey
965
+ code: StatusCode
966
+ data: CreateAccessKey
959
967
  }
960
968
 
961
969
  type ResponseCreateInvitation {
962
- code: StatusCode
963
- inviteInfo: InviteInfo
970
+ code: StatusCode
971
+ inviteInfo: InviteInfo
964
972
  }
965
973
 
966
974
  type ResponseCreatePassportIssuance {
967
- code: StatusCode
968
- info: PassportIssuanceInfo
975
+ code: StatusCode
976
+ info: PassportIssuanceInfo
969
977
  }
970
978
 
971
979
  type ResponseCreateWebHook {
972
- code: StatusCode
973
- webhook: WebHookSender
980
+ code: StatusCode
981
+ webhook: WebHookSender
974
982
  }
975
983
 
976
984
  type ResponseDeleteAccessKey {
977
- code: StatusCode
985
+ code: StatusCode
978
986
  }
979
987
 
980
988
  type ResponseDeleteNginxHttpsCert {
981
- code: StatusCode
989
+ code: StatusCode
982
990
  }
983
991
 
984
992
  type ResponseDeleteWebHook {
985
- code: StatusCode
993
+ code: StatusCode
986
994
  }
987
995
 
988
996
  type ResponseGetBlocklets {
989
- code: StatusCode
990
- blocklets: [BlockletState!]
997
+ code: StatusCode
998
+ blocklets: [BlockletState!]
991
999
  }
992
1000
 
993
1001
  type ResponseGetCertificates {
994
- code: StatusCode
995
- certificates: [Certificate!]
1002
+ code: StatusCode
1003
+ certificates: [Certificate!]
996
1004
  }
997
1005
 
998
1006
  type ResponseGetInvitations {
999
- code: StatusCode
1000
- invitations: [InviteInfo!]
1007
+ code: StatusCode
1008
+ invitations: [InviteInfo!]
1001
1009
  }
1002
1010
 
1003
1011
  type ResponseGetNodeEnv {
1004
- code: StatusCode
1005
- info: NodeEnvInfo
1012
+ code: StatusCode
1013
+ info: NodeEnvInfo
1006
1014
  }
1007
1015
 
1008
1016
  type ResponseGetNodeInfo {
1009
- code: StatusCode
1010
- info: NodeState
1017
+ code: StatusCode
1018
+ info: NodeState
1011
1019
  }
1012
1020
 
1013
1021
  type ResponseGetNotifications {
1014
- code: StatusCode
1015
- list: [Notification!]
1016
- paging: Paging
1022
+ code: StatusCode
1023
+ list: [Notification!]
1024
+ paging: Paging
1017
1025
  }
1018
1026
 
1019
1027
  type ResponseGetPassportIssuances {
1020
- code: StatusCode
1021
- list: [PassportIssuanceInfo!]
1028
+ code: StatusCode
1029
+ list: [PassportIssuanceInfo!]
1022
1030
  }
1023
1031
 
1024
1032
  type ResponseGetRoutingProviders {
1025
- code: StatusCode
1026
- providers: [RoutingProvider!]
1033
+ code: StatusCode
1034
+ providers: [RoutingProvider!]
1027
1035
  }
1028
1036
 
1029
1037
  type ResponseGetRoutingSites {
1030
- code: StatusCode
1031
- sites: [RoutingSite!]
1038
+ code: StatusCode
1039
+ sites: [RoutingSite!]
1032
1040
  }
1033
1041
 
1034
1042
  type ResponseGetRoutingSnapshots {
1035
- code: StatusCode
1036
- snapshots: [RoutingSnapshot!]
1043
+ code: StatusCode
1044
+ snapshots: [RoutingSnapshot!]
1037
1045
  }
1038
1046
 
1039
1047
  type ResponseGetServices {
1040
- code: StatusCode
1041
- services: [BlockletService!]
1048
+ code: StatusCode
1049
+ services: [BlockletService!]
1042
1050
  }
1043
1051
 
1044
1052
  type ResponseGetSession {
1045
- code: StatusCode
1046
- session: Any
1053
+ code: StatusCode
1054
+ session: Any
1047
1055
  }
1048
1056
 
1049
1057
  type ResponseGetSnapshotSites {
1050
- code: StatusCode
1051
- sites: [RoutingSite!]
1058
+ code: StatusCode
1059
+ sites: [RoutingSite!]
1052
1060
  }
1053
1061
 
1054
1062
  type ResponseInstallFromVc {
1055
- code: StatusCode
1056
- blocklet: BlockletState
1063
+ code: StatusCode
1064
+ blocklet: BlockletState
1057
1065
  }
1058
1066
 
1059
1067
  type ResponseLatestBlockletVersion {
1060
- code: StatusCode
1061
- data: LatestBlockletVersion
1068
+ code: StatusCode
1069
+ data: LatestBlockletVersion
1062
1070
  }
1063
1071
 
1064
1072
  type ResponseListBlocklets {
1065
- code: StatusCode
1066
- blocklets: [BlockletMeta!]
1073
+ code: StatusCode
1074
+ blocklets: [BlockletMeta!]
1067
1075
  }
1068
1076
 
1069
1077
  type ResponsePermission {
1070
- code: StatusCode
1071
- permission: Permission
1078
+ code: StatusCode
1079
+ permission: Permission
1072
1080
  }
1073
1081
 
1074
1082
  type ResponsePermissions {
1075
- code: StatusCode
1076
- permissions: [Permission!]
1083
+ code: StatusCode
1084
+ permissions: [Permission!]
1077
1085
  }
1078
1086
 
1079
1087
  type ResponseReadNotifications {
1080
- code: StatusCode
1081
- numAffected: Int32
1088
+ code: StatusCode
1089
+ numAffected: Int32
1082
1090
  }
1083
1091
 
1084
1092
  type ResponseResetNode {
1085
- code: StatusCode
1093
+ code: StatusCode
1086
1094
  }
1087
1095
 
1088
1096
  type ResponseRole {
1089
- code: StatusCode
1090
- role: Role
1097
+ code: StatusCode
1098
+ role: Role
1091
1099
  }
1092
1100
 
1093
1101
  type ResponseRoles {
1094
- code: StatusCode
1095
- roles: [Role!]
1102
+ code: StatusCode
1103
+ roles: [Role!]
1096
1104
  }
1097
1105
 
1098
1106
  type ResponseRoutingSite {
1099
- code: StatusCode
1100
- site: RoutingSite
1107
+ code: StatusCode
1108
+ site: RoutingSite
1101
1109
  }
1102
1110
 
1103
1111
  type ResponseSendMsg {
1104
- code: StatusCode
1112
+ code: StatusCode
1105
1113
  }
1106
1114
 
1107
1115
  type ResponseSenderList {
1108
- code: StatusCode
1109
- senders: [WebHookSender!]
1116
+ code: StatusCode
1117
+ senders: [WebHookSender!]
1110
1118
  }
1111
1119
 
1112
1120
  type ResponseTakeRoutingSnapshot {
1113
- code: StatusCode
1114
- hash: String
1121
+ code: StatusCode
1122
+ hash: String
1115
1123
  }
1116
1124
 
1117
1125
  type ResponseUpdateAccessKey {
1118
- code: StatusCode
1119
- data: AccessKey
1126
+ code: StatusCode
1127
+ data: AccessKey
1120
1128
  }
1121
1129
 
1122
1130
  type ResponseUpdateNginxHttpsCert {
1123
- code: StatusCode
1131
+ code: StatusCode
1124
1132
  }
1125
1133
 
1126
1134
  type ResponseUpgradeNodeVersion {
1127
- code: StatusCode
1128
- sessionId: String
1135
+ code: StatusCode
1136
+ sessionId: String
1129
1137
  }
1130
1138
 
1131
1139
  type ResponseUser {
1132
- code: StatusCode
1133
- user: MemberInfo
1140
+ code: StatusCode
1141
+ user: MemberInfo
1134
1142
  }
1135
1143
 
1136
1144
  type ResponseUsers {
1137
- code: StatusCode
1138
- users: [MemberInfo!]
1145
+ code: StatusCode
1146
+ users: [MemberInfo!]
1139
1147
  }
1140
1148
 
1141
1149
  type ResponseWebHooks {
1142
- code: StatusCode
1143
- webhooks: [WebHookRecord!]
1150
+ code: StatusCode
1151
+ webhooks: [WebHookRecord!]
1144
1152
  }
1145
1153
 
1146
1154
  type Role {
1147
- name: String
1148
- description: String
1149
- grants: [String!]
1150
- title: String
1151
- isProtected: Boolean
1155
+ name: String
1156
+ description: String
1157
+ grants: [String!]
1158
+ title: String
1159
+ isProtected: Boolean
1152
1160
  }
1153
1161
 
1154
1162
  type RoutingProvider {
1155
- name: String
1156
- description: String
1157
- running: Boolean
1158
- available: Boolean
1159
- error: String
1163
+ name: String
1164
+ description: String
1165
+ running: Boolean
1166
+ available: Boolean
1167
+ error: String
1160
1168
  }
1161
1169
 
1162
1170
  type RoutingRule {
1163
- id: String
1164
- from: RoutingRuleFrom
1165
- to: RoutingRuleTo
1166
- isProtected: Boolean
1167
- interfaces: [BlockletStateInterface!]
1168
- services: [BlockletService!]
1171
+ id: String
1172
+ from: RoutingRuleFrom
1173
+ to: RoutingRuleTo
1174
+ isProtected: Boolean
1175
+ interfaces: [BlockletStateInterface!]
1176
+ services: [BlockletService!]
1169
1177
  }
1170
1178
 
1171
1179
  type RoutingRuleFrom {
1172
- pathPrefix: String
1173
- header: [RoutingRuleHeader!]
1180
+ pathPrefix: String
1181
+ header: [RoutingRuleHeader!]
1174
1182
  }
1175
1183
 
1176
1184
  type RoutingRuleHeader {
1177
- key: String
1178
- value: String
1179
- type: HeaderMatchType
1185
+ key: String
1186
+ value: String
1187
+ type: HeaderMatchType
1180
1188
  }
1181
1189
 
1182
1190
  type RoutingRuleTo {
1183
- port: Uint32
1184
- type: BackendServiceType
1185
- did: String
1186
- url: String
1187
- redirectCode: Int32
1188
- interfaceName: String
1189
- realDid: String
1191
+ port: Uint32
1192
+ type: BackendServiceType
1193
+ did: String
1194
+ url: String
1195
+ redirectCode: Int32
1196
+ interfaceName: String
1197
+ realDid: String
1190
1198
  }
1191
1199
 
1192
1200
  type RoutingSite {
1193
- id: String
1194
- domain: String
1195
- domainAliases: [Any!]
1196
- rules: [RoutingRule!]
1197
- isProtected: Boolean
1198
- corsAllowedOrigins: [String!]
1201
+ id: String
1202
+ domain: String
1203
+ domainAliases: [Any!]
1204
+ rules: [RoutingRule!]
1205
+ isProtected: Boolean
1206
+ corsAllowedOrigins: [String!]
1199
1207
  }
1200
1208
 
1201
1209
  type RoutingSnapshot {
1202
- hash: String
1203
- tree: String
1204
- message: String
1205
- author: String
1206
- createdAt: String
1210
+ hash: String
1211
+ tree: String
1212
+ message: String
1213
+ author: String
1214
+ createdAt: String
1207
1215
  }
1208
1216
 
1209
1217
  type RuntimeInfo {
1210
- pid: String
1211
- port: String
1212
- uptime: String
1213
- memoryUsage: Float32
1214
- cpuUsage: Float32
1218
+ pid: String
1219
+ port: String
1220
+ uptime: String
1221
+ memoryUsage: Float32
1222
+ cpuUsage: Float32
1215
1223
  }
1216
1224
 
1217
1225
  type TrustedPassport {
1218
- issuerDid: String
1219
- mappings: [TrustedPassportMapping!]
1226
+ issuerDid: String
1227
+ mappings: [TrustedPassportMapping!]
1220
1228
  }
1221
1229
 
1222
1230
  type TrustedPassportMapping {
1223
- from: TrustedPassportMappingFrom
1224
- to: TrustedPassportMappingTo
1231
+ from: TrustedPassportMappingFrom
1232
+ to: TrustedPassportMappingTo
1225
1233
  }
1226
1234
 
1227
1235
  type TrustedPassportMappingFrom {
1228
- passport: String
1236
+ passport: String
1229
1237
  }
1230
1238
 
1231
1239
  type TrustedPassportMappingTo {
1232
- role: String
1240
+ role: String
1233
1241
  }
1234
1242
 
1235
1243
  type WalletInfo {
1236
- did: String
1237
- pk: String
1244
+ did: String
1245
+ pk: String
1238
1246
  }
1239
1247
 
1240
1248
  type WebHookParam {
1241
- name: String
1242
- description: String
1243
- required: Boolean
1244
- defaultValue: String
1245
- value: String
1246
- type: String
1249
+ name: String
1250
+ description: String
1251
+ required: Boolean
1252
+ defaultValue: String
1253
+ value: String
1254
+ type: String
1247
1255
  }
1248
1256
 
1249
1257
  type WebHookRecord {
1250
- type: SenderType
1251
- id: String
1252
- params: [WebHookParam!]
1253
- createdAt: String
1258
+ type: SenderType
1259
+ id: String
1260
+ params: [WebHookParam!]
1261
+ createdAt: String
1254
1262
  }
1255
1263
 
1256
1264
  type WebHookSender {
1257
- type: SenderType
1258
- title: String
1259
- description: String
1260
- params: [WebHookParam!]
1265
+ type: SenderType
1266
+ title: String
1267
+ description: String
1268
+ params: [WebHookParam!]
1261
1269
  }
1262
1270
 
1263
1271
  enum BackendServiceType {
1264
- daemon
1265
- blocklet
1266
- redirect
1267
- none
1268
- general_proxy
1272
+ daemon
1273
+ blocklet
1274
+ redirect
1275
+ none
1276
+ general_proxy
1269
1277
  }
1270
1278
 
1271
1279
  enum BlockletSource {
1272
- registry
1273
- local
1274
- upload
1275
- url
1280
+ registry
1281
+ local
1282
+ upload
1283
+ url
1276
1284
  }
1277
1285
 
1278
1286
  enum BlockletStatus {
1279
- added
1280
- downloading
1281
- downloaded
1282
- installing
1283
- installed
1284
- starting
1285
- running
1286
- stopping
1287
- stopped
1288
- error
1289
- upgrading
1290
- restarting
1291
- corrupted
1292
- waiting
1293
- unknown
1287
+ added
1288
+ downloading
1289
+ downloaded
1290
+ installing
1291
+ installed
1292
+ starting
1293
+ running
1294
+ stopping
1295
+ stopped
1296
+ error
1297
+ upgrading
1298
+ restarting
1299
+ corrupted
1300
+ waiting
1301
+ unknown
1294
1302
  }
1295
1303
 
1296
1304
  enum HeaderMatchType {
1297
- exact
1298
- partial
1299
- regexp
1305
+ exact
1306
+ partial
1307
+ regexp
1300
1308
  }
1301
1309
 
1302
1310
  enum SenderType {
1303
- slack
1304
- api
1311
+ slack
1312
+ api
1305
1313
  }
1306
1314
 
1307
1315
  enum StatusCode {
1308
- ok
1309
- blocklet_not_found
1310
- blocklet_not_purchased
1311
- forbidden
1312
- internal
1313
- timeout
1316
+ ok
1317
+ blocklet_not_found
1318
+ blocklet_not_purchased
1319
+ forbidden
1320
+ internal
1321
+ timeout
1314
1322
  }
1315
1323
 
1316
1324
  enum Upload {
1317
- scalar
1325
+ scalar
1318
1326
  }
1319
1327
 
1320
1328
  type Mutation {
1321
- installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
1322
- installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
1323
- startBlocklet(input: RequestBlockletInput): ResponseBlocklet
1324
- stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
1325
- reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1326
- restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
1327
- deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
1328
- cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1329
- upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
1330
- configBlocklet(input: RequestConfigBlockletInput): ResponseConfigBlocklet
1331
- checkChildBlockletsForUpdates(input: RequestBlockletInput): ResponseCheckChildBlockletsForUpdates
1332
- updateChildBlocklets(input: RequestUpdateChildBlockletsInput): ResponseBlocklet
1333
- updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
1334
- updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
1335
- upgradeNodeVersion: ResponseUpgradeNodeVersion
1336
- addBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
1337
- deleteBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
1338
- selectBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
1339
- resetNode(input: RequestResetNodeInput): ResponseResetNode
1340
- createInvitation(input: RequsetCreateInvitationInput): ResponseCreateInvitation
1341
- deleteInvitation(input: RequsetDeleteInvitationInput): GeneralResponse
1342
- createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
1343
- deletePassportIssuance(input: RequestDeleteTeamSessionInput): GeneralResponse
1344
- configTrustedPassports(input: RequestConfigTrustedPassportsInput): GeneralResponse
1345
- configPassportIssuance(input: RequestConfigPassportIssuanceInput): GeneralResponse
1346
- removeUser(input: RequestTeamUserInput): ResponseUser
1347
- updateUserApproval(input: RequestTeamUserInput): ResponseUser
1348
- updateUserRole(input: RequestTeamUserInput): ResponseUser
1349
- revokeUserPassport(input: RequestRevokeUserPassportInput): ResponseUser
1350
- enableUserPassport(input: RequestRevokeUserPassportInput): ResponseUser
1351
- createRole(input: RequestCreateRoleInput): ResponseRole
1352
- updateRole(input: RequestTeamRoleInput): ResponseRole
1353
- deleteRole(input: RequestDeleteRoleInput): GeneralResponse
1354
- createPermission(input: RequestCreatePermissionInput): ResponsePermission
1355
- updatePermission(input: RequestTeamPermissionInput): ResponsePermission
1356
- deletePermission(input: RequestDeletePermissionInput): GeneralResponse
1357
- grantPermissionForRole(input: RequestGrantPermissionForRoleInput): GeneralResponse
1358
- revokePermissionFromRole(input: RequestRevokePermissionFromRoleInput): GeneralResponse
1359
- updatePermissionsForRole(input: RequestUpdatePermissionsForRoleInput): ResponseRole
1360
- hasPermission(input: RequestHasPermissionInput): BooleanResponse
1361
- readNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
1362
- unreadNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
1363
- addRoutingSite(input: RequestAddRoutingSiteInput): ResponseRoutingSite
1364
- addDomainAlias(input: RequestAddDomainAliasInput): ResponseRoutingSite
1365
- deleteDomainAlias(input: RequestDeleteDomainAliasInput): ResponseRoutingSite
1366
- deleteRoutingSite(input: RequestDeleteRoutingSiteInput): GeneralResponse
1367
- updateRoutingSite(input: RequestUpdateRoutingSiteInput): ResponseRoutingSite
1368
- addRoutingRule(input: RequestAddRoutingRuleInput): ResponseRoutingSite
1369
- updateRoutingRule(input: RequestUpdateRoutingRuleInput): ResponseRoutingSite
1370
- deleteRoutingRule(input: RequestDeleteRoutingRuleInput): ResponseRoutingSite
1371
- takeRoutingSnapshot(input: RequestTakeRoutingSnapshotInput): ResponseTakeRoutingSnapshot
1372
- updateNginxHttpsCert(input: RequestUpdateNginxHttpsCertInput): ResponseUpdateNginxHttpsCert
1373
- addNginxHttpsCert(input: RequestAddNginxHttpsCertInput): ResponseAddNginxHttpsCert
1374
- deleteNginxHttpsCert(input: RequestDeleteNginxHttpsCertInput): ResponseDeleteNginxHttpsCert
1375
- createAccessKey(input: RequestCreateAccessKeyInput): ResponseCreateAccessKey
1376
- updateAccessKey(input: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
1377
- deleteAccessKey(input: RequestDeleteAccessKeyInput): ResponseDeleteAccessKey
1378
- createWebHook(input: RequestCreateWebHookInput): ResponseCreateWebHook
1379
- deleteWebHook(input: RequestDeleteWebHookInput): ResponseDeleteWebHook
1380
- startSession(input: RequestStartSessionInput): ResponseGetSession
1381
- updateSession(input: RequestUpdateSessionInput): ResponseGetSession
1382
- endSession(input: RequestEndSessionInput): ResponseGetSession
1329
+ installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
1330
+ installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
1331
+ startBlocklet(input: RequestBlockletInput): ResponseBlocklet
1332
+ stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
1333
+ reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1334
+ restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
1335
+ deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
1336
+ cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1337
+ upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
1338
+ configBlocklet(input: RequestConfigBlockletInput): ResponseConfigBlocklet
1339
+ checkChildBlockletsForUpdates(input: RequestBlockletInput): ResponseCheckChildBlockletsForUpdates
1340
+ updateChildBlocklets(input: RequestUpdateChildBlockletsInput): ResponseBlocklet
1341
+ updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
1342
+ updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
1343
+ upgradeNodeVersion: ResponseUpgradeNodeVersion
1344
+ addBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
1345
+ deleteBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
1346
+ selectBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
1347
+ resetNode(input: RequestResetNodeInput): ResponseResetNode
1348
+ createInvitation(input: RequsetCreateInvitationInput): ResponseCreateInvitation
1349
+ deleteInvitation(input: RequsetDeleteInvitationInput): GeneralResponse
1350
+ createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
1351
+ deletePassportIssuance(input: RequestDeleteTeamSessionInput): GeneralResponse
1352
+ configTrustedPassports(input: RequestConfigTrustedPassportsInput): GeneralResponse
1353
+ configPassportIssuance(input: RequestConfigPassportIssuanceInput): GeneralResponse
1354
+ removeUser(input: RequestTeamUserInput): ResponseUser
1355
+ updateUserApproval(input: RequestTeamUserInput): ResponseUser
1356
+ updateUserRole(input: RequestTeamUserInput): ResponseUser
1357
+ revokeUserPassport(input: RequestRevokeUserPassportInput): ResponseUser
1358
+ enableUserPassport(input: RequestRevokeUserPassportInput): ResponseUser
1359
+ createRole(input: RequestCreateRoleInput): ResponseRole
1360
+ updateRole(input: RequestTeamRoleInput): ResponseRole
1361
+ deleteRole(input: RequestDeleteRoleInput): GeneralResponse
1362
+ createPermission(input: RequestCreatePermissionInput): ResponsePermission
1363
+ updatePermission(input: RequestTeamPermissionInput): ResponsePermission
1364
+ deletePermission(input: RequestDeletePermissionInput): GeneralResponse
1365
+ grantPermissionForRole(input: RequestGrantPermissionForRoleInput): GeneralResponse
1366
+ revokePermissionFromRole(input: RequestRevokePermissionFromRoleInput): GeneralResponse
1367
+ updatePermissionsForRole(input: RequestUpdatePermissionsForRoleInput): ResponseRole
1368
+ hasPermission(input: RequestHasPermissionInput): BooleanResponse
1369
+ readNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
1370
+ unreadNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
1371
+ addRoutingSite(input: RequestAddRoutingSiteInput): ResponseRoutingSite
1372
+ addDomainAlias(input: RequestAddDomainAliasInput): ResponseRoutingSite
1373
+ deleteDomainAlias(input: RequestDeleteDomainAliasInput): ResponseRoutingSite
1374
+ deleteRoutingSite(input: RequestDeleteRoutingSiteInput): GeneralResponse
1375
+ updateRoutingSite(input: RequestUpdateRoutingSiteInput): ResponseRoutingSite
1376
+ addRoutingRule(input: RequestAddRoutingRuleInput): ResponseRoutingSite
1377
+ updateRoutingRule(input: RequestUpdateRoutingRuleInput): ResponseRoutingSite
1378
+ deleteRoutingRule(input: RequestDeleteRoutingRuleInput): ResponseRoutingSite
1379
+ takeRoutingSnapshot(input: RequestTakeRoutingSnapshotInput): ResponseTakeRoutingSnapshot
1380
+ updateNginxHttpsCert(input: RequestUpdateNginxHttpsCertInput): ResponseUpdateNginxHttpsCert
1381
+ addNginxHttpsCert(input: RequestAddNginxHttpsCertInput): ResponseAddNginxHttpsCert
1382
+ deleteNginxHttpsCert(input: RequestDeleteNginxHttpsCertInput): ResponseDeleteNginxHttpsCert
1383
+ issueLetsEncryptCert(input: RequestAddLetsEcryptCertInput): ResponseAddLetsEcryptCert
1384
+ createAccessKey(input: RequestCreateAccessKeyInput): ResponseCreateAccessKey
1385
+ updateAccessKey(input: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
1386
+ deleteAccessKey(input: RequestDeleteAccessKeyInput): ResponseDeleteAccessKey
1387
+ createWebHook(input: RequestCreateWebHookInput): ResponseCreateWebHook
1388
+ deleteWebHook(input: RequestDeleteWebHookInput): ResponseDeleteWebHook
1389
+ startSession(input: RequestStartSessionInput): ResponseGetSession
1390
+ updateSession(input: RequestUpdateSessionInput): ResponseGetSession
1391
+ endSession(input: RequestEndSessionInput): ResponseGetSession
1383
1392
  }
1384
1393
 
1385
1394
  type Query {
1386
- getBlocklet(input: RequestBlockletInput): ResponseBlocklet
1387
- getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1388
- getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1389
- getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1390
- getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
1391
- getNodeInfo: ResponseGetNodeInfo
1392
- getNodeEnv: ResponseGetNodeEnv
1393
- checkNodeVersion: ResponseCheckNodeVersion
1394
- listBlocklets(input: RequestListBlockletsInput): ResponseListBlocklets
1395
- getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
1396
- getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
1397
- getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
1398
- getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
1399
- getSnapshotSites(input: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
1400
- getRoutingProviders: ResponseGetRoutingProviders
1401
- getServices: ResponseGetServices
1402
- getCertificates: ResponseGetCertificates
1403
- checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
1404
- getAccessKeys: ResponseAccessKeys
1405
- getWebHooks: ResponseWebHooks
1406
- getWebhookSenders: ResponseSenderList
1407
- sendTestMessage(input: RequestSendMsgInput): ResponseSendMsg
1408
- getSession(input: RequestGetSessionInput): ResponseGetSession
1409
- getRoles(input: TeamInput): ResponseRoles
1410
- getPermissions(input: TeamInput): ResponsePermissions
1411
- getInvitations(input: TeamInput): ResponseGetInvitations
1412
- getUsers(input: TeamInput): ResponseUsers
1413
- getUser(input: RequestTeamUserInput): ResponseUser
1414
- getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
1415
- getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
1395
+ getBlocklet(input: RequestBlockletInput): ResponseBlocklet
1396
+ getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1397
+ getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1398
+ getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1399
+ getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
1400
+ getNodeInfo: ResponseGetNodeInfo
1401
+ getNodeEnv: ResponseGetNodeEnv
1402
+ checkNodeVersion: ResponseCheckNodeVersion
1403
+ listBlocklets(input: RequestListBlockletsInput): ResponseListBlocklets
1404
+ getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
1405
+ getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
1406
+ getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
1407
+ getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
1408
+ getSnapshotSites(input: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
1409
+ getRoutingProviders: ResponseGetRoutingProviders
1410
+ getServices: ResponseGetServices
1411
+ getCertificates: ResponseGetCertificates
1412
+ checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
1413
+ getAccessKeys: ResponseAccessKeys
1414
+ getWebHooks: ResponseWebHooks
1415
+ getWebhookSenders: ResponseSenderList
1416
+ sendTestMessage(input: RequestSendMsgInput): ResponseSendMsg
1417
+ getSession(input: RequestGetSessionInput): ResponseGetSession
1418
+ getRoles(input: TeamInput): ResponseRoles
1419
+ getPermissions(input: TeamInput): ResponsePermissions
1420
+ getInvitations(input: TeamInput): ResponseGetInvitations
1421
+ getUsers(input: TeamInput): ResponseUsers
1422
+ getUser(input: RequestTeamUserInput): ResponseUser
1423
+ getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
1424
+ getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
1416
1425
  }
1417
-