@abtnode/schema 1.16.42-beta-20250412-084444-20b0cf19 → 1.16.42-beta-20250415-222652-04c5d2fe

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -136,6 +136,9 @@ input ConfigNavigationInput {
136
136
  role: String
137
137
  visible: Boolean
138
138
  from: String
139
+ activeIcon: String
140
+ color: String
141
+ activeColor: String
139
142
  description: String
140
143
  }
141
144
 
@@ -311,6 +314,20 @@ input RequestAbortBlockletBackupInput {
311
314
  appPid: String
312
315
  }
313
316
 
317
+ input RequestAccessKeyInput {
318
+ teamDid: String
319
+ accessKeyId: String
320
+ }
321
+
322
+ input RequestAccessKeysInput {
323
+ teamDid: String
324
+ paging: PagingInput
325
+ remark: String
326
+ componentDid: String
327
+ resourceType: String
328
+ resourceId: String
329
+ }
330
+
314
331
  input RequestAddBlockletAccessPolicyInput {
315
332
  did: String
316
333
  data: BlockletAccessPolicyInput
@@ -503,8 +520,15 @@ input RequestConnectToStoreInput {
503
520
  }
504
521
 
505
522
  input RequestCreateAccessKeyInput {
523
+ teamDid: String
506
524
  remark: String
507
525
  passport: String
526
+ authType: String
527
+ componentDid: String
528
+ resourceType: String
529
+ resourceId: String
530
+ createdVia: String
531
+ expireAt: Uint32
508
532
  }
509
533
 
510
534
  input RequestCreateInvitationInput {
@@ -592,6 +616,7 @@ input RequestCreateWebhookEndpointInput {
592
616
  }
593
617
 
594
618
  input RequestDeleteAccessKeyInput {
619
+ teamDid: String
595
620
  accessKeyId: String
596
621
  }
597
622
 
@@ -1129,9 +1154,11 @@ input RequestTeamUserOptionsInput {
1129
1154
  }
1130
1155
 
1131
1156
  input RequestUpdateAccessKeyInput {
1157
+ teamDid: String
1132
1158
  accessKeyId: String
1133
1159
  remark: String
1134
1160
  passport: String
1161
+ expireAt: Uint32
1135
1162
  }
1136
1163
 
1137
1164
  input RequestUpdateAppSessionConfigInput {
@@ -1279,6 +1306,18 @@ input RequestUpgradeNodeVersionInput {
1279
1306
  sessionId: String
1280
1307
  }
1281
1308
 
1309
+ input RequestUserSessionsInput {
1310
+ teamDid: String
1311
+ query: UserSessionQueryInput
1312
+ sort: UserSessionSortInput
1313
+ paging: PagingInput
1314
+ }
1315
+
1316
+ input RequestUserSessionsCountInput {
1317
+ teamDid: String
1318
+ query: UserSessionQueryInput
1319
+ }
1320
+
1282
1321
  input RequestUsersInput {
1283
1322
  teamDid: String
1284
1323
  query: UserQueryInput
@@ -1287,6 +1326,14 @@ input RequestUsersInput {
1287
1326
  dids: [String!]
1288
1327
  }
1289
1328
 
1329
+ input RequestVerifyAccessKeyInput {
1330
+ teamDid: String
1331
+ accessKeyId: String
1332
+ resourceType: String
1333
+ resourceId: String
1334
+ componentDid: String
1335
+ }
1336
+
1290
1337
  input RequestVersionedBlockletInput {
1291
1338
  type: String
1292
1339
  did: String
@@ -1442,6 +1489,7 @@ input UserInfoInput {
1442
1489
  phoneVerified: Boolean
1443
1490
  metadata: UserMetadataInput
1444
1491
  address: UserAddressInput
1492
+ userSessionsCount: Uint32
1445
1493
  }
1446
1494
 
1447
1495
  input UserMetadataInput {
@@ -1507,6 +1555,19 @@ input UserSessionInput {
1507
1555
  updatedAt: Uint32
1508
1556
  }
1509
1557
 
1558
+ input UserSessionQueryInput {
1559
+ userDid: String
1560
+ visitorId: String
1561
+ appPid: String
1562
+ status: String
1563
+ includeUser: Boolean
1564
+ }
1565
+
1566
+ input UserSessionSortInput {
1567
+ updatedAt: Uint32
1568
+ createdAt: Uint32
1569
+ }
1570
+
1510
1571
  input UserSortInput {
1511
1572
  updatedAt: Uint32
1512
1573
  createdAt: Uint32
@@ -1548,9 +1609,16 @@ type AccessKey {
1548
1609
  remark: String
1549
1610
  passport: String
1550
1611
  createdAt: Uint32
1612
+ updatedAt: Uint32
1551
1613
  lastUsedAt: Uint32
1552
1614
  createdBy: String
1553
1615
  updatedBy: String
1616
+ authType: String
1617
+ componentDid: String
1618
+ resourceType: String
1619
+ resourceId: String
1620
+ createdVia: String
1621
+ expireAt: Uint32
1554
1622
  }
1555
1623
 
1556
1624
  type AuditLog {
@@ -2071,6 +2139,9 @@ type ConfigNavigation {
2071
2139
  role: String
2072
2140
  visible: Boolean
2073
2141
  from: String
2142
+ activeIcon: String
2143
+ color: String
2144
+ activeColor: String
2074
2145
  description: String
2075
2146
  }
2076
2147
 
@@ -2106,11 +2177,18 @@ type ConnectedStore {
2106
2177
 
2107
2178
  type CreateAccessKey {
2108
2179
  accessKeyId: String
2180
+ accessKeyPublic: String
2109
2181
  accessKeySecret: String
2110
2182
  remark: String
2111
2183
  passport: String
2112
2184
  createdAt: Uint32
2113
2185
  lastUsedAt: Uint32
2186
+ authType: String
2187
+ componentDid: String
2188
+ resourceType: String
2189
+ resourceId: String
2190
+ createdVia: String
2191
+ expireAt: Uint32
2114
2192
  }
2115
2193
 
2116
2194
  type DelegationState {
@@ -2619,9 +2697,15 @@ type Requirement {
2619
2697
  fuels: [Fuel!]
2620
2698
  }
2621
2699
 
2700
+ type ResponseAccessKey {
2701
+ code: StatusCode
2702
+ data: AccessKey
2703
+ }
2704
+
2622
2705
  type ResponseAccessKeys {
2623
2706
  code: StatusCode
2624
2707
  list: [AccessKey!]
2708
+ paging: Paging
2625
2709
  }
2626
2710
 
2627
2711
  type ResponseAddLetsEncryptCert {
@@ -3118,12 +3202,27 @@ type ResponseUser {
3118
3202
  user: UserInfo
3119
3203
  }
3120
3204
 
3205
+ type ResponseUserSessions {
3206
+ code: StatusCode
3207
+ list: [UserSession!]
3208
+ paging: Paging
3209
+ }
3210
+
3211
+ type ResponseUserSessionsCount {
3212
+ code: StatusCode
3213
+ count: Uint32
3214
+ }
3215
+
3121
3216
  type ResponseUsers {
3122
3217
  code: StatusCode
3123
3218
  users: [UserInfo!]
3124
3219
  paging: Paging
3125
3220
  }
3126
3221
 
3222
+ type ResponseVerifyAccessKey {
3223
+ code: StatusCode
3224
+ }
3225
+
3127
3226
  type ResponseWebHooks {
3128
3227
  code: StatusCode
3129
3228
  webhooks: [WebHook!]
@@ -3359,6 +3458,7 @@ type UserInfo {
3359
3458
  phoneVerified: Boolean
3360
3459
  metadata: UserMetadata
3361
3460
  address: UserAddress
3461
+ userSessionsCount: Uint32
3362
3462
  }
3363
3463
 
3364
3464
  type UserMetadata {
@@ -3724,6 +3824,7 @@ type Mutation {
3724
3824
  createAccessKey(input: RequestCreateAccessKeyInput): ResponseCreateAccessKey
3725
3825
  updateAccessKey(input: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
3726
3826
  deleteAccessKey(input: RequestDeleteAccessKeyInput): ResponseDeleteAccessKey
3827
+ verifyAccessKey(input: RequestVerifyAccessKeyInput): ResponseVerifyAccessKey
3727
3828
  createWebHook(input: RequestCreateWebHookInput): ResponseCreateWebHook
3728
3829
  deleteWebHook(input: RequestDeleteWebHookInput): ResponseDeleteWebHook
3729
3830
  createProject(input: RequestCreateProjectInput): ResponseProject
@@ -3780,7 +3881,8 @@ type Query {
3780
3881
  getCertificates: ResponseGetCertificates
3781
3882
  checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
3782
3883
  findCertificateByDomain(input: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
3783
- getAccessKeys: ResponseAccessKeys
3884
+ getAccessKeys(input: RequestAccessKeysInput): ResponseAccessKeys
3885
+ getAccessKey(input: RequestAccessKeyInput): ResponseAccessKey
3784
3886
  getWebHooks: ResponseWebHooks
3785
3887
  getWebhookSenders: ResponseSenderList
3786
3888
  sendTestMessage(input: RequestSendMsgInput): ResponseSendMsg
@@ -3791,6 +3893,8 @@ type Query {
3791
3893
  getInvitations(input: TeamInput): ResponseGetInvitations
3792
3894
  getUsers(input: RequestUsersInput): ResponseUsers
3793
3895
  getUser(input: RequestTeamUserInput): ResponseUser
3896
+ getUserSessions(input: RequestUserSessionsInput): ResponseUserSessions
3897
+ getUserSessionsCount(input: RequestUserSessionsCountInput): ResponseUserSessionsCount
3794
3898
  getUsersCount(input: TeamInput): ResponseGetUsersCount
3795
3899
  getUsersCountPerRole(input: TeamInput): ResponseGetUsersCountPerRole
3796
3900
  getOwner(input: TeamInput): ResponseUser
@@ -136,6 +136,9 @@ input ConfigNavigationInput {
136
136
  role: String
137
137
  visible: Boolean
138
138
  from: String
139
+ activeIcon: String
140
+ color: String
141
+ activeColor: String
139
142
  description: String
140
143
  }
141
144
 
@@ -311,6 +314,20 @@ input RequestAbortBlockletBackupInput {
311
314
  appPid: String
312
315
  }
313
316
 
317
+ input RequestAccessKeyInput {
318
+ teamDid: String
319
+ accessKeyId: String
320
+ }
321
+
322
+ input RequestAccessKeysInput {
323
+ teamDid: String
324
+ paging: PagingInput
325
+ remark: String
326
+ componentDid: String
327
+ resourceType: String
328
+ resourceId: String
329
+ }
330
+
314
331
  input RequestAddBlockletAccessPolicyInput {
315
332
  did: String
316
333
  data: BlockletAccessPolicyInput
@@ -503,8 +520,15 @@ input RequestConnectToStoreInput {
503
520
  }
504
521
 
505
522
  input RequestCreateAccessKeyInput {
523
+ teamDid: String
506
524
  remark: String
507
525
  passport: String
526
+ authType: String
527
+ componentDid: String
528
+ resourceType: String
529
+ resourceId: String
530
+ createdVia: String
531
+ expireAt: Uint32
508
532
  }
509
533
 
510
534
  input RequestCreateInvitationInput {
@@ -592,6 +616,7 @@ input RequestCreateWebhookEndpointInput {
592
616
  }
593
617
 
594
618
  input RequestDeleteAccessKeyInput {
619
+ teamDid: String
595
620
  accessKeyId: String
596
621
  }
597
622
 
@@ -1129,9 +1154,11 @@ input RequestTeamUserOptionsInput {
1129
1154
  }
1130
1155
 
1131
1156
  input RequestUpdateAccessKeyInput {
1157
+ teamDid: String
1132
1158
  accessKeyId: String
1133
1159
  remark: String
1134
1160
  passport: String
1161
+ expireAt: Uint32
1135
1162
  }
1136
1163
 
1137
1164
  input RequestUpdateAppSessionConfigInput {
@@ -1279,6 +1306,18 @@ input RequestUpgradeNodeVersionInput {
1279
1306
  sessionId: String
1280
1307
  }
1281
1308
 
1309
+ input RequestUserSessionsInput {
1310
+ teamDid: String
1311
+ query: UserSessionQueryInput
1312
+ sort: UserSessionSortInput
1313
+ paging: PagingInput
1314
+ }
1315
+
1316
+ input RequestUserSessionsCountInput {
1317
+ teamDid: String
1318
+ query: UserSessionQueryInput
1319
+ }
1320
+
1282
1321
  input RequestUsersInput {
1283
1322
  teamDid: String
1284
1323
  query: UserQueryInput
@@ -1287,6 +1326,14 @@ input RequestUsersInput {
1287
1326
  dids: [String!]
1288
1327
  }
1289
1328
 
1329
+ input RequestVerifyAccessKeyInput {
1330
+ teamDid: String
1331
+ accessKeyId: String
1332
+ resourceType: String
1333
+ resourceId: String
1334
+ componentDid: String
1335
+ }
1336
+
1290
1337
  input RequestVersionedBlockletInput {
1291
1338
  type: String
1292
1339
  did: String
@@ -1442,6 +1489,7 @@ input UserInfoInput {
1442
1489
  phoneVerified: Boolean
1443
1490
  metadata: UserMetadataInput
1444
1491
  address: UserAddressInput
1492
+ userSessionsCount: Uint32
1445
1493
  }
1446
1494
 
1447
1495
  input UserMetadataInput {
@@ -1507,6 +1555,19 @@ input UserSessionInput {
1507
1555
  updatedAt: Uint32
1508
1556
  }
1509
1557
 
1558
+ input UserSessionQueryInput {
1559
+ userDid: String
1560
+ visitorId: String
1561
+ appPid: String
1562
+ status: String
1563
+ includeUser: Boolean
1564
+ }
1565
+
1566
+ input UserSessionSortInput {
1567
+ updatedAt: Uint32
1568
+ createdAt: Uint32
1569
+ }
1570
+
1510
1571
  input UserSortInput {
1511
1572
  updatedAt: Uint32
1512
1573
  createdAt: Uint32
@@ -1548,9 +1609,16 @@ type AccessKey {
1548
1609
  remark: String
1549
1610
  passport: String
1550
1611
  createdAt: Uint32
1612
+ updatedAt: Uint32
1551
1613
  lastUsedAt: Uint32
1552
1614
  createdBy: String
1553
1615
  updatedBy: String
1616
+ authType: String
1617
+ componentDid: String
1618
+ resourceType: String
1619
+ resourceId: String
1620
+ createdVia: String
1621
+ expireAt: Uint32
1554
1622
  }
1555
1623
 
1556
1624
  type AuditLog {
@@ -2071,6 +2139,9 @@ type ConfigNavigation {
2071
2139
  role: String
2072
2140
  visible: Boolean
2073
2141
  from: String
2142
+ activeIcon: String
2143
+ color: String
2144
+ activeColor: String
2074
2145
  description: String
2075
2146
  }
2076
2147
 
@@ -2106,11 +2177,18 @@ type ConnectedStore {
2106
2177
 
2107
2178
  type CreateAccessKey {
2108
2179
  accessKeyId: String
2180
+ accessKeyPublic: String
2109
2181
  accessKeySecret: String
2110
2182
  remark: String
2111
2183
  passport: String
2112
2184
  createdAt: Uint32
2113
2185
  lastUsedAt: Uint32
2186
+ authType: String
2187
+ componentDid: String
2188
+ resourceType: String
2189
+ resourceId: String
2190
+ createdVia: String
2191
+ expireAt: Uint32
2114
2192
  }
2115
2193
 
2116
2194
  type DelegationState {
@@ -2619,9 +2697,15 @@ type Requirement {
2619
2697
  fuels: [Fuel!]
2620
2698
  }
2621
2699
 
2700
+ type ResponseAccessKey {
2701
+ code: StatusCode
2702
+ data: AccessKey
2703
+ }
2704
+
2622
2705
  type ResponseAccessKeys {
2623
2706
  code: StatusCode
2624
2707
  list: [AccessKey!]
2708
+ paging: Paging
2625
2709
  }
2626
2710
 
2627
2711
  type ResponseAddLetsEncryptCert {
@@ -3118,12 +3202,27 @@ type ResponseUser {
3118
3202
  user: UserInfo
3119
3203
  }
3120
3204
 
3205
+ type ResponseUserSessions {
3206
+ code: StatusCode
3207
+ list: [UserSession!]
3208
+ paging: Paging
3209
+ }
3210
+
3211
+ type ResponseUserSessionsCount {
3212
+ code: StatusCode
3213
+ count: Uint32
3214
+ }
3215
+
3121
3216
  type ResponseUsers {
3122
3217
  code: StatusCode
3123
3218
  users: [UserInfo!]
3124
3219
  paging: Paging
3125
3220
  }
3126
3221
 
3222
+ type ResponseVerifyAccessKey {
3223
+ code: StatusCode
3224
+ }
3225
+
3127
3226
  type ResponseWebHooks {
3128
3227
  code: StatusCode
3129
3228
  webhooks: [WebHook!]
@@ -3359,6 +3458,7 @@ type UserInfo {
3359
3458
  phoneVerified: Boolean
3360
3459
  metadata: UserMetadata
3361
3460
  address: UserAddress
3461
+ userSessionsCount: Uint32
3362
3462
  }
3363
3463
 
3364
3464
  type UserMetadata {
@@ -3726,6 +3826,7 @@ type Mutation {
3726
3826
  createAccessKey(input: RequestCreateAccessKeyInput): ResponseCreateAccessKey
3727
3827
  updateAccessKey(input: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
3728
3828
  deleteAccessKey(input: RequestDeleteAccessKeyInput): ResponseDeleteAccessKey
3829
+ verifyAccessKey(input: RequestVerifyAccessKeyInput): ResponseVerifyAccessKey
3729
3830
  createWebHook(input: RequestCreateWebHookInput): ResponseCreateWebHook
3730
3831
  deleteWebHook(input: RequestDeleteWebHookInput): ResponseDeleteWebHook
3731
3832
  createProject(input: RequestCreateProjectInput): ResponseProject
@@ -3782,7 +3883,8 @@ type Query {
3782
3883
  getCertificates: ResponseGetCertificates
3783
3884
  checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
3784
3885
  findCertificateByDomain(input: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
3785
- getAccessKeys: ResponseAccessKeys
3886
+ getAccessKeys(input: RequestAccessKeysInput): ResponseAccessKeys
3887
+ getAccessKey(input: RequestAccessKeyInput): ResponseAccessKey
3786
3888
  getWebHooks: ResponseWebHooks
3787
3889
  getWebhookSenders: ResponseSenderList
3788
3890
  sendTestMessage(input: RequestSendMsgInput): ResponseSendMsg
@@ -3793,6 +3895,8 @@ type Query {
3793
3895
  getInvitations(input: TeamInput): ResponseGetInvitations
3794
3896
  getUsers(input: RequestUsersInput): ResponseUsers
3795
3897
  getUser(input: RequestTeamUserInput): ResponseUser
3898
+ getUserSessions(input: RequestUserSessionsInput): ResponseUserSessions
3899
+ getUserSessionsCount(input: RequestUserSessionsCountInput): ResponseUserSessionsCount
3796
3900
  getUsersCount(input: TeamInput): ResponseGetUsersCount
3797
3901
  getUsersCountPerRole(input: TeamInput): ResponseGetUsersCountPerRole
3798
3902
  getOwner(input: TeamInput): ResponseUser
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.42-beta-20250412-084444-20b0cf19",
6
+ "version": "1.16.42-beta-20250415-222652-04c5d2fe",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -13,7 +13,7 @@
13
13
  "keywords": [],
14
14
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
15
15
  "license": "Apache-2.0",
16
- "gitHead": "39162da666c4968344db44fc26c0b76bdf6193db",
16
+ "gitHead": "4458b1e7e92d62d93c70de7f636a0f6ae9a59f26",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }