@abtnode/schema 1.16.39-beta-20250218-110004-a308c501 → 1.16.39-beta-20250220-073620-4f1d9e2b

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
@@ -54,6 +54,7 @@ input BlockletDockerInput {
54
54
  dockerImage: String
55
55
  dockerArgs: [DockerRunKeyValuePairInput!]
56
56
  dockerEnvs: [DockerEnvKeyValuePairInput!]
57
+ dockerCommand: String
57
58
  }
58
59
 
59
60
  input BlockletResponseHeaderPolicyInput {
@@ -852,15 +853,11 @@ input RequestNotificationComponentsInput {
852
853
 
853
854
  input RequestNotificationSendLogInput {
854
855
  teamDid: String
855
- userName: String
856
- userDid: String
857
- walletSendStatus: [Int32!]
858
- pushKitSendStatus: [Int32!]
859
- emailSendStatus: [Int32!]
860
856
  dateRange: [String!]
861
857
  paging: PagingInput
862
858
  source: String
863
859
  componentDids: [String!]
860
+ severities: [String!]
864
861
  }
865
862
 
866
863
  input RequestProjectInput {
@@ -888,6 +885,18 @@ input RequestReadNotificationsInput {
888
885
  receiver: String
889
886
  }
890
887
 
888
+ input RequestReceiversInput {
889
+ teamDid: String
890
+ userName: String
891
+ userDid: String
892
+ walletSendStatus: [Int32!]
893
+ pushKitSendStatus: [Int32!]
894
+ emailSendStatus: [Int32!]
895
+ dateRange: [String!]
896
+ paging: PagingInput
897
+ notificationId: String
898
+ }
899
+
891
900
  input RequestReleaseInput {
892
901
  did: String
893
902
  projectId: String
@@ -896,9 +905,11 @@ input RequestReleaseInput {
896
905
 
897
906
  input RequestResendNotificationInput {
898
907
  teamDid: String
899
- notificationReceiverIds: [String!]
908
+ notificationId: String
909
+ receivers: [String!]
900
910
  channels: [String!]
901
911
  webhookUrls: [String!]
912
+ resendFailedOnly: Boolean
902
913
  }
903
914
 
904
915
  input RequestResetNodeInput {
@@ -1491,6 +1502,7 @@ type BlockletDocker {
1491
1502
  dockerImage: String
1492
1503
  dockerArgs: [DockerRunKeyValuePair!]
1493
1504
  dockerEnvs: [DockerEnvKeyValuePair!]
1505
+ dockerCommand: String
1494
1506
  }
1495
1507
 
1496
1508
  type BlockletDockerMeta {
@@ -2138,6 +2150,7 @@ type Notification {
2138
2150
  receivers: [NotificationReceiver!]
2139
2151
  data: Any
2140
2152
  feedType: String
2153
+ statistics: NotificationStatistics
2141
2154
  }
2142
2155
 
2143
2156
  type NotificationAction {
@@ -2167,7 +2180,6 @@ type NotificationReceiver {
2167
2180
  emailSendStatus: Uint32
2168
2181
  emailSendAt: Uint32
2169
2182
  createdAt: Uint32
2170
- notification: Notification
2171
2183
  receiverUser: UserInfo
2172
2184
  walletSendFailedReason: String
2173
2185
  walletSendRecord: [NotificationSendRecord!]
@@ -2187,6 +2199,14 @@ type NotificationSendRecord {
2187
2199
  failedReason: String
2188
2200
  }
2189
2201
 
2202
+ type NotificationStatistics {
2203
+ total: Uint32
2204
+ wallet: Statistics
2205
+ push: Statistics
2206
+ email: Statistics
2207
+ webhook: WebhookStatistics
2208
+ }
2209
+
2190
2210
  type OptionalComponentState {
2191
2211
  logoUrl: String
2192
2212
  dependencies: [OptionalDependencies!]
@@ -2642,7 +2662,7 @@ type ResponseNotificationComponents {
2642
2662
 
2643
2663
  type ResponseNotificationSendLog {
2644
2664
  code: StatusCode
2645
- list: [NotificationReceiver!]
2665
+ list: [Notification!]
2646
2666
  paging: Paging
2647
2667
  }
2648
2668
 
@@ -2671,6 +2691,12 @@ type ResponseReadNotifications {
2671
2691
  numAffected: Int32
2672
2692
  }
2673
2693
 
2694
+ type ResponseReceivers {
2695
+ code: StatusCode
2696
+ list: [NotificationReceiver!]
2697
+ paging: Paging
2698
+ }
2699
+
2674
2700
  type ResponseRelease {
2675
2701
  code: StatusCode
2676
2702
  release: Release
@@ -2878,6 +2904,13 @@ type SpaceGateway {
2878
2904
  did: String
2879
2905
  }
2880
2906
 
2907
+ type Statistics {
2908
+ total: Uint32
2909
+ pending: Uint32
2910
+ success: Uint32
2911
+ failed: Uint32
2912
+ }
2913
+
2881
2914
  type Tag {
2882
2915
  id: Uint32
2883
2916
  title: String
@@ -3020,6 +3053,13 @@ type WebHookSender {
3020
3053
  params: [WebHookParam!]
3021
3054
  }
3022
3055
 
3056
+ type WebhookStatistics {
3057
+ total: Uint32
3058
+ pending: [String!]
3059
+ success: [String!]
3060
+ failed: [String!]
3061
+ }
3062
+
3023
3063
  type ReadUpdateAffected {
3024
3064
  numAffected: Int32
3025
3065
  notificationIds: [String!]
@@ -3272,6 +3312,7 @@ type Query {
3272
3312
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
3273
3313
  makeAllNotificationsAsRead(input: RequestMakeAllNotificationsAsReadInput): ResponseMakeAllNotificationsAsRead
3274
3314
  getNotificationSendLog(input: RequestNotificationSendLogInput): ResponseNotificationSendLog
3315
+ getReceivers(input: RequestReceiversInput): ResponseReceivers
3275
3316
  getNotificationComponents(input: RequestNotificationComponentsInput): ResponseNotificationComponents
3276
3317
  resendNotification(input: RequestResendNotificationInput): ResponseResendNotification
3277
3318
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
@@ -54,6 +54,7 @@ input BlockletDockerInput {
54
54
  dockerImage: String
55
55
  dockerArgs: [DockerRunKeyValuePairInput!]
56
56
  dockerEnvs: [DockerEnvKeyValuePairInput!]
57
+ dockerCommand: String
57
58
  }
58
59
 
59
60
  input BlockletResponseHeaderPolicyInput {
@@ -852,15 +853,11 @@ input RequestNotificationComponentsInput {
852
853
 
853
854
  input RequestNotificationSendLogInput {
854
855
  teamDid: String
855
- userName: String
856
- userDid: String
857
- walletSendStatus: [Int32!]
858
- pushKitSendStatus: [Int32!]
859
- emailSendStatus: [Int32!]
860
856
  dateRange: [String!]
861
857
  paging: PagingInput
862
858
  source: String
863
859
  componentDids: [String!]
860
+ severities: [String!]
864
861
  }
865
862
 
866
863
  input RequestProjectInput {
@@ -888,6 +885,18 @@ input RequestReadNotificationsInput {
888
885
  receiver: String
889
886
  }
890
887
 
888
+ input RequestReceiversInput {
889
+ teamDid: String
890
+ userName: String
891
+ userDid: String
892
+ walletSendStatus: [Int32!]
893
+ pushKitSendStatus: [Int32!]
894
+ emailSendStatus: [Int32!]
895
+ dateRange: [String!]
896
+ paging: PagingInput
897
+ notificationId: String
898
+ }
899
+
891
900
  input RequestReleaseInput {
892
901
  did: String
893
902
  projectId: String
@@ -896,9 +905,11 @@ input RequestReleaseInput {
896
905
 
897
906
  input RequestResendNotificationInput {
898
907
  teamDid: String
899
- notificationReceiverIds: [String!]
908
+ notificationId: String
909
+ receivers: [String!]
900
910
  channels: [String!]
901
911
  webhookUrls: [String!]
912
+ resendFailedOnly: Boolean
902
913
  }
903
914
 
904
915
  input RequestResetNodeInput {
@@ -1491,6 +1502,7 @@ type BlockletDocker {
1491
1502
  dockerImage: String
1492
1503
  dockerArgs: [DockerRunKeyValuePair!]
1493
1504
  dockerEnvs: [DockerEnvKeyValuePair!]
1505
+ dockerCommand: String
1494
1506
  }
1495
1507
 
1496
1508
  type BlockletDockerMeta {
@@ -2138,6 +2150,7 @@ type Notification {
2138
2150
  receivers: [NotificationReceiver!]
2139
2151
  data: Any
2140
2152
  feedType: String
2153
+ statistics: NotificationStatistics
2141
2154
  }
2142
2155
 
2143
2156
  type NotificationAction {
@@ -2167,7 +2180,6 @@ type NotificationReceiver {
2167
2180
  emailSendStatus: Uint32
2168
2181
  emailSendAt: Uint32
2169
2182
  createdAt: Uint32
2170
- notification: Notification
2171
2183
  receiverUser: UserInfo
2172
2184
  walletSendFailedReason: String
2173
2185
  walletSendRecord: [NotificationSendRecord!]
@@ -2187,6 +2199,14 @@ type NotificationSendRecord {
2187
2199
  failedReason: String
2188
2200
  }
2189
2201
 
2202
+ type NotificationStatistics {
2203
+ total: Uint32
2204
+ wallet: Statistics
2205
+ push: Statistics
2206
+ email: Statistics
2207
+ webhook: WebhookStatistics
2208
+ }
2209
+
2190
2210
  type OptionalComponentState {
2191
2211
  logoUrl: String
2192
2212
  dependencies: [OptionalDependencies!]
@@ -2642,7 +2662,7 @@ type ResponseNotificationComponents {
2642
2662
 
2643
2663
  type ResponseNotificationSendLog {
2644
2664
  code: StatusCode
2645
- list: [NotificationReceiver!]
2665
+ list: [Notification!]
2646
2666
  paging: Paging
2647
2667
  }
2648
2668
 
@@ -2671,6 +2691,12 @@ type ResponseReadNotifications {
2671
2691
  numAffected: Int32
2672
2692
  }
2673
2693
 
2694
+ type ResponseReceivers {
2695
+ code: StatusCode
2696
+ list: [NotificationReceiver!]
2697
+ paging: Paging
2698
+ }
2699
+
2674
2700
  type ResponseRelease {
2675
2701
  code: StatusCode
2676
2702
  release: Release
@@ -2878,6 +2904,13 @@ type SpaceGateway {
2878
2904
  did: String
2879
2905
  }
2880
2906
 
2907
+ type Statistics {
2908
+ total: Uint32
2909
+ pending: Uint32
2910
+ success: Uint32
2911
+ failed: Uint32
2912
+ }
2913
+
2881
2914
  type Tag {
2882
2915
  id: Uint32
2883
2916
  title: String
@@ -3020,6 +3053,13 @@ type WebHookSender {
3020
3053
  params: [WebHookParam!]
3021
3054
  }
3022
3055
 
3056
+ type WebhookStatistics {
3057
+ total: Uint32
3058
+ pending: [String!]
3059
+ success: [String!]
3060
+ failed: [String!]
3061
+ }
3062
+
3023
3063
  type ReadUpdateAffected {
3024
3064
  numAffected: Int32
3025
3065
  notificationIds: [String!]
@@ -3274,6 +3314,7 @@ type Query {
3274
3314
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
3275
3315
  makeAllNotificationsAsRead(input: RequestMakeAllNotificationsAsReadInput): ResponseMakeAllNotificationsAsRead
3276
3316
  getNotificationSendLog(input: RequestNotificationSendLogInput): ResponseNotificationSendLog
3317
+ getReceivers(input: RequestReceiversInput): ResponseReceivers
3277
3318
  getNotificationComponents(input: RequestNotificationComponentsInput): ResponseNotificationComponents
3278
3319
  resendNotification(input: RequestResendNotificationInput): ResponseResendNotification
3279
3320
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.39-beta-20250218-110004-a308c501",
6
+ "version": "1.16.39-beta-20250220-073620-4f1d9e2b",
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": "f47632e1ce0cc8295dd3fa1131bcc6252d6adaf9",
16
+ "gitHead": "d66051094d2821e602b699ba44c2b850b9484517",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }