@abtnode/types 1.16.37-beta-20241227-230028-f4f77779 → 1.16.37-beta-20250102-115729-ae7f327e

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/rpc_pb.d.ts CHANGED
@@ -231,6 +231,7 @@ export type TRequestGetNotifications = {
231
231
  sender: string;
232
232
  read: boolean;
233
233
  paging?: type_pb.TPaging;
234
+ teamDid: string;
234
235
  severity: string;
235
236
  componentDid: string;
236
237
  entityId: string;
@@ -240,51 +241,43 @@ export type TResponseGetNotifications = {
240
241
  list: type_pb.TNotification[];
241
242
  paging?: type_pb.TPaging;
242
243
  };
243
- export type TRequestReadNotifications = {
244
- notificationIds: string[];
245
- receiver: string;
246
- };
247
- export type TResponseReadNotifications = {
248
- code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
249
- numAffected: number;
250
- };
251
- export type TRequestMakeAllAsRead = {
252
- id: string;
253
- receiver: string;
244
+ export type TRequestNotificationSendLog = {
245
+ teamDid: string;
246
+ userName: string;
247
+ userDid: string;
248
+ walletSendStatus: number;
249
+ pushKitSendStatus: number;
250
+ emailSendStatus: number;
251
+ senderAt: string;
252
+ paging?: type_pb.TPaging;
254
253
  };
255
- export type TResponseMakeAllAsRead = {
254
+ export type TResponseNotificationSendLog = {
256
255
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
257
- numAffected: number;
258
- };
259
- export type TRequestGetBlockletNotifications = {
260
- receiver: string;
261
- sender: string;
262
- read: boolean;
256
+ list: type_pb.TNotificationReceiver[];
263
257
  paging?: type_pb.TPaging;
258
+ };
259
+ export type TRequestNotificationComponents = {
264
260
  teamDid: string;
265
- severity: string;
266
- componentDid: string;
267
- entityId: string;
261
+ receiver: string;
268
262
  };
269
- export type TResponseGetBlockletNotifications = {
263
+ export type TResponseNotificationComponents = {
270
264
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
271
- list: type_pb.TNotification[];
272
- paging?: type_pb.TPaging;
265
+ componentDids: string[];
273
266
  };
274
- export type TRequestMakeAllBlockletNotificationsAsRead = {
267
+ export type TRequestMakeAllNotificationsAsRead = {
275
268
  receiver: string;
276
269
  teamDid: string;
277
270
  };
278
- export type TResponseMakeAllBlockletNotificationsAsRead = {
271
+ export type TResponseMakeAllNotificationsAsRead = {
279
272
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
280
273
  numAffected: number;
281
274
  };
282
- export type TRequestReadBlockletNotifications = {
275
+ export type TRequestReadNotifications = {
283
276
  notificationIds: string[];
284
277
  teamDid: string;
285
278
  receiver: string;
286
279
  };
287
- export type TResponseReadBlockletNotifications = {
280
+ export type TResponseReadNotifications = {
288
281
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
289
282
  numAffected: number;
290
283
  };
package/lib/type_pb.d.ts CHANGED
@@ -537,6 +537,7 @@ export type TNotificationReceiver = {
537
537
  emailSendStatus: number;
538
538
  emailSendAt: number;
539
539
  createdAt: number;
540
+ notification?: TNotification;
540
541
  };
541
542
  export type TRoutingRuleResponse = {
542
543
  status: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.37-beta-20241227-230028-f4f77779",
3
+ "version": "1.16.37-beta-20250102-115729-ae7f327e",
4
4
  "description": "Typescript definitions generated from protobuf",
5
5
  "keywords": [
6
6
  "abtnode",
@@ -36,5 +36,5 @@
36
36
  "bugs": {
37
37
  "url": "https://github.com/ArcBlock/abt-node/issues"
38
38
  },
39
- "gitHead": "e56e0d8c525e18e6fc84fa6915a9d8cb710bb28f"
39
+ "gitHead": "3f2d744095b2056010fdd1635841857a65f12232"
40
40
  }