@abtnode/types 1.16.37-beta-20241225-042616-74a39677 → 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,62 +231,53 @@ 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;
237
- pageSize: number;
238
238
  };
239
239
  export type TResponseGetNotifications = {
240
240
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
241
241
  list: type_pb.TNotification[];
242
242
  paging?: type_pb.TPaging;
243
243
  };
244
- export type TRequestReadNotifications = {
245
- notificationIds: string[];
246
- receiver: string;
247
- };
248
- export type TResponseReadNotifications = {
249
- code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
250
- numAffected: number;
251
- };
252
- export type TRequestMakeAllAsRead = {
253
- id: string;
254
- 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;
255
253
  };
256
- export type TResponseMakeAllAsRead = {
254
+ export type TResponseNotificationSendLog = {
257
255
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
258
- numAffected: number;
259
- };
260
- export type TRequestGetBlockletNotifications = {
261
- receiver: string;
262
- sender: string;
263
- read: boolean;
256
+ list: type_pb.TNotificationReceiver[];
264
257
  paging?: type_pb.TPaging;
258
+ };
259
+ export type TRequestNotificationComponents = {
265
260
  teamDid: string;
266
- severity: string;
267
- componentDid: string;
268
- entityId: string;
269
- pageSize: number;
261
+ receiver: string;
270
262
  };
271
- export type TResponseGetBlockletNotifications = {
263
+ export type TResponseNotificationComponents = {
272
264
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
273
- list: type_pb.TNotification[];
274
- paging?: type_pb.TPaging;
265
+ componentDids: string[];
275
266
  };
276
- export type TRequestMakeAllBlockletNotificationsAsRead = {
267
+ export type TRequestMakeAllNotificationsAsRead = {
277
268
  receiver: string;
278
269
  teamDid: string;
279
270
  };
280
- export type TResponseMakeAllBlockletNotificationsAsRead = {
271
+ export type TResponseMakeAllNotificationsAsRead = {
281
272
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
282
273
  numAffected: number;
283
274
  };
284
- export type TRequestReadBlockletNotifications = {
275
+ export type TRequestReadNotifications = {
285
276
  notificationIds: string[];
286
277
  teamDid: string;
287
278
  receiver: string;
288
279
  };
289
- export type TResponseReadBlockletNotifications = {
280
+ export type TResponseReadNotifications = {
290
281
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
291
282
  numAffected: number;
292
283
  };
package/lib/type_pb.d.ts CHANGED
@@ -504,6 +504,8 @@ export type TNotification = {
504
504
  componentDid: string;
505
505
  type: Notification.NotificationTypeMap[keyof Notification.NotificationTypeMap];
506
506
  receivers: TNotificationReceiver[];
507
+ data?: Record<string, any>;
508
+ feedType: string;
507
509
  };
508
510
  export interface NotificationSourceMap {
509
511
  SYSTEM: 0;
@@ -535,6 +537,7 @@ export type TNotificationReceiver = {
535
537
  emailSendStatus: number;
536
538
  emailSendAt: number;
537
539
  createdAt: number;
540
+ notification?: TNotification;
538
541
  };
539
542
  export type TRoutingRuleResponse = {
540
543
  status: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.37-beta-20241225-042616-74a39677",
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": "7cf5cfe0d4d8e356cbf5e175c2028bee8bdf43eb"
39
+ "gitHead": "3f2d744095b2056010fdd1635841857a65f12232"
40
40
  }