@abtnode/schema 1.16.13 → 1.16.14-beta-0c29907f

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