@abtnode/schema 1.16.36 → 1.16.37-beta-20241225-042616-74a39677

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
@@ -630,6 +630,10 @@ input RequestGetBlockletNotificationsInput {
630
630
  read: Boolean
631
631
  paging: PagingInput
632
632
  teamDid: String
633
+ severity: String
634
+ componentDid: String
635
+ entityId: String
636
+ pageSize: Int32
633
637
  }
634
638
 
635
639
  input RequestGetBlockletResponseHeaderPoliciesInput {
@@ -673,6 +677,10 @@ input RequestGetNotificationsInput {
673
677
  sender: String
674
678
  read: Boolean
675
679
  paging: PagingInput
680
+ severity: String
681
+ componentDid: String
682
+ entityId: String
683
+ pageSize: Int32
676
684
  }
677
685
 
678
686
  input RequestGetPassportIssuancesInput {
@@ -781,6 +789,16 @@ input RequestLogoutUserInput {
781
789
  visitorId: String
782
790
  }
783
791
 
792
+ input RequestMakeAllAsReadInput {
793
+ id: String
794
+ receiver: String
795
+ }
796
+
797
+ input RequestMakeAllBlockletNotificationsAsReadInput {
798
+ receiver: String
799
+ teamDid: String
800
+ }
801
+
784
802
  input RequestMigrateApplicationToStructV2Input {
785
803
  did: String
786
804
  appSk: String
@@ -816,12 +834,14 @@ input RequestQuitFederatedLoginInput {
816
834
  }
817
835
 
818
836
  input RequestReadBlockletNotificationsInput {
819
- id: String
837
+ notificationIds: [String!]
820
838
  teamDid: String
839
+ receiver: String
821
840
  }
822
841
 
823
842
  input RequestReadNotificationsInput {
824
- id: String
843
+ notificationIds: [String!]
844
+ receiver: String
825
845
  }
826
846
 
827
847
  input RequestReleaseInput {
@@ -2002,9 +2022,44 @@ type Notification {
2002
2022
  entityId: String
2003
2023
  read: Boolean
2004
2024
  createdAt: Uint32
2005
- updatedAt: Uint32
2006
2025
  id: String
2007
- severity: String
2026
+ severity: Notification_NotificationSeverity
2027
+ source: Notification_NotificationSource
2028
+ attachments: [NotificationAttachment!]
2029
+ blocks: [NotificationAttachment!]
2030
+ actions: [NotificationAction!]
2031
+ componentDid: String
2032
+ type: Notification_NotificationType
2033
+ receivers: [NotificationReceiver!]
2034
+ }
2035
+
2036
+ type NotificationAction {
2037
+ bgColor: String
2038
+ color: String
2039
+ link: String
2040
+ name: String
2041
+ title: String
2042
+ }
2043
+
2044
+ type NotificationAttachment {
2045
+ data: Any
2046
+ fields: Any
2047
+ type: NotificationAttachmentType
2048
+ }
2049
+
2050
+ type NotificationReceiver {
2051
+ id: String
2052
+ notificationId: String
2053
+ receiver: String
2054
+ read: Boolean
2055
+ readAt: Uint32
2056
+ walletSendStatus: Uint32
2057
+ walletSendAt: Uint32
2058
+ pushKitSendStatus: Uint32
2059
+ pushKitSendAt: Uint32
2060
+ emailSendStatus: Uint32
2061
+ emailSendAt: Uint32
2062
+ createdAt: Uint32
2008
2063
  }
2009
2064
 
2010
2065
  type OptionalComponentState {
@@ -2449,6 +2504,16 @@ type ResponseIsDidDomain {
2449
2504
  value: Boolean
2450
2505
  }
2451
2506
 
2507
+ type ResponseMakeAllAsRead {
2508
+ code: StatusCode
2509
+ numAffected: Int32
2510
+ }
2511
+
2512
+ type ResponseMakeAllBlockletNotificationsAsRead {
2513
+ code: StatusCode
2514
+ numAffected: Int32
2515
+ }
2516
+
2452
2517
  type ResponseNodeRuntimeHistory {
2453
2518
  code: StatusCode
2454
2519
  history: [NodeHistoryItem!]
@@ -2869,6 +2934,39 @@ enum HeaderMatchType {
2869
2934
  regexp
2870
2935
  }
2871
2936
 
2937
+ enum Notification_NotificationSeverity {
2938
+ info
2939
+ success
2940
+ error
2941
+ warning
2942
+ }
2943
+
2944
+ enum Notification_NotificationSource {
2945
+ system
2946
+ component
2947
+ }
2948
+
2949
+ enum Notification_NotificationType {
2950
+ notification
2951
+ connect
2952
+ feed
2953
+ hi
2954
+ passthrough
2955
+ }
2956
+
2957
+ enum NotificationAttachmentType {
2958
+ asset
2959
+ vc
2960
+ token
2961
+ text
2962
+ image
2963
+ divider
2964
+ transaction
2965
+ dapp
2966
+ link
2967
+ section
2968
+ }
2969
+
2872
2970
  enum PublishType {
2873
2971
  resource
2874
2972
  pack
@@ -3033,7 +3131,9 @@ type Query {
3033
3131
  getNodeRuntimeHistory(input: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
3034
3132
  getBlockletMeta(input: RequestBlockletMetaInput): ResponseBlockletMeta
3035
3133
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
3134
+ makeAllAsRead(input: RequestMakeAllAsReadInput): ResponseMakeAllAsRead
3036
3135
  getBlockletNotifications(input: RequestGetBlockletNotificationsInput): ResponseGetBlockletNotifications
3136
+ makeAllBlockletNotificationsAsRead(input: RequestMakeAllBlockletNotificationsAsReadInput): ResponseMakeAllBlockletNotificationsAsRead
3037
3137
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
3038
3138
  getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
3039
3139
  getSnapshotSites(input: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
@@ -630,6 +630,10 @@ input RequestGetBlockletNotificationsInput {
630
630
  read: Boolean
631
631
  paging: PagingInput
632
632
  teamDid: String
633
+ severity: String
634
+ componentDid: String
635
+ entityId: String
636
+ pageSize: Int32
633
637
  }
634
638
 
635
639
  input RequestGetBlockletResponseHeaderPoliciesInput {
@@ -673,6 +677,10 @@ input RequestGetNotificationsInput {
673
677
  sender: String
674
678
  read: Boolean
675
679
  paging: PagingInput
680
+ severity: String
681
+ componentDid: String
682
+ entityId: String
683
+ pageSize: Int32
676
684
  }
677
685
 
678
686
  input RequestGetPassportIssuancesInput {
@@ -781,6 +789,16 @@ input RequestLogoutUserInput {
781
789
  visitorId: String
782
790
  }
783
791
 
792
+ input RequestMakeAllAsReadInput {
793
+ id: String
794
+ receiver: String
795
+ }
796
+
797
+ input RequestMakeAllBlockletNotificationsAsReadInput {
798
+ receiver: String
799
+ teamDid: String
800
+ }
801
+
784
802
  input RequestMigrateApplicationToStructV2Input {
785
803
  did: String
786
804
  appSk: String
@@ -816,12 +834,14 @@ input RequestQuitFederatedLoginInput {
816
834
  }
817
835
 
818
836
  input RequestReadBlockletNotificationsInput {
819
- id: String
837
+ notificationIds: [String!]
820
838
  teamDid: String
839
+ receiver: String
821
840
  }
822
841
 
823
842
  input RequestReadNotificationsInput {
824
- id: String
843
+ notificationIds: [String!]
844
+ receiver: String
825
845
  }
826
846
 
827
847
  input RequestReleaseInput {
@@ -2002,9 +2022,44 @@ type Notification {
2002
2022
  entityId: String
2003
2023
  read: Boolean
2004
2024
  createdAt: Uint32
2005
- updatedAt: Uint32
2006
2025
  id: String
2007
- severity: String
2026
+ severity: Notification_NotificationSeverity
2027
+ source: Notification_NotificationSource
2028
+ attachments: [NotificationAttachment!]
2029
+ blocks: [NotificationAttachment!]
2030
+ actions: [NotificationAction!]
2031
+ componentDid: String
2032
+ type: Notification_NotificationType
2033
+ receivers: [NotificationReceiver!]
2034
+ }
2035
+
2036
+ type NotificationAction {
2037
+ bgColor: String
2038
+ color: String
2039
+ link: String
2040
+ name: String
2041
+ title: String
2042
+ }
2043
+
2044
+ type NotificationAttachment {
2045
+ data: Any
2046
+ fields: Any
2047
+ type: NotificationAttachmentType
2048
+ }
2049
+
2050
+ type NotificationReceiver {
2051
+ id: String
2052
+ notificationId: String
2053
+ receiver: String
2054
+ read: Boolean
2055
+ readAt: Uint32
2056
+ walletSendStatus: Uint32
2057
+ walletSendAt: Uint32
2058
+ pushKitSendStatus: Uint32
2059
+ pushKitSendAt: Uint32
2060
+ emailSendStatus: Uint32
2061
+ emailSendAt: Uint32
2062
+ createdAt: Uint32
2008
2063
  }
2009
2064
 
2010
2065
  type OptionalComponentState {
@@ -2449,6 +2504,16 @@ type ResponseIsDidDomain {
2449
2504
  value: Boolean
2450
2505
  }
2451
2506
 
2507
+ type ResponseMakeAllAsRead {
2508
+ code: StatusCode
2509
+ numAffected: Int32
2510
+ }
2511
+
2512
+ type ResponseMakeAllBlockletNotificationsAsRead {
2513
+ code: StatusCode
2514
+ numAffected: Int32
2515
+ }
2516
+
2452
2517
  type ResponseNodeRuntimeHistory {
2453
2518
  code: StatusCode
2454
2519
  history: [NodeHistoryItem!]
@@ -2869,6 +2934,39 @@ enum HeaderMatchType {
2869
2934
  regexp
2870
2935
  }
2871
2936
 
2937
+ enum Notification_NotificationSeverity {
2938
+ info
2939
+ success
2940
+ error
2941
+ warning
2942
+ }
2943
+
2944
+ enum Notification_NotificationSource {
2945
+ system
2946
+ component
2947
+ }
2948
+
2949
+ enum Notification_NotificationType {
2950
+ notification
2951
+ connect
2952
+ feed
2953
+ hi
2954
+ passthrough
2955
+ }
2956
+
2957
+ enum NotificationAttachmentType {
2958
+ asset
2959
+ vc
2960
+ token
2961
+ text
2962
+ image
2963
+ divider
2964
+ transaction
2965
+ dapp
2966
+ link
2967
+ section
2968
+ }
2969
+
2872
2970
  enum PublishType {
2873
2971
  resource
2874
2972
  pack
@@ -3035,7 +3133,9 @@ type Query {
3035
3133
  getNodeRuntimeHistory(input: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
3036
3134
  getBlockletMeta(input: RequestBlockletMetaInput): ResponseBlockletMeta
3037
3135
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
3136
+ makeAllAsRead(input: RequestMakeAllAsReadInput): ResponseMakeAllAsRead
3038
3137
  getBlockletNotifications(input: RequestGetBlockletNotificationsInput): ResponseGetBlockletNotifications
3138
+ makeAllBlockletNotificationsAsRead(input: RequestMakeAllBlockletNotificationsAsReadInput): ResponseMakeAllBlockletNotificationsAsRead
3039
3139
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
3040
3140
  getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
3041
3141
  getSnapshotSites(input: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.36",
6
+ "version": "1.16.37-beta-20241225-042616-74a39677",
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": "2d70fa8a2f68de49e1d5718e693ec6b1bdcad15e",
16
+ "gitHead": "7cf5cfe0d4d8e356cbf5e175c2028bee8bdf43eb",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }