Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@abtnode/types

Package Overview
Dependencies
Maintainers
0
Versions
565
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abtnode/types - npm Package Compare versions

Comparing version 1.16.36 to 1.16.37-beta-20241224-013714-a79db7d3

12

lib/enum_pb.d.ts

@@ -70,1 +70,13 @@ // package: abt_node

}
export interface NotificationAttachmentTypeMap {
ASSET: 0;
VC: 1;
TOKEN: 2;
TEXT: 3;
IMAGE: 4;
DIVIDER: 5;
TRANSACTION: 6;
DAPP: 7;
LINK: 8;
SECTION: 9;
}

30

lib/rpc_pb.d.ts

@@ -234,2 +234,6 @@ // package: abt_node

paging?: type_pb.TPaging;
severity: string;
componentDid: string;
entityId: string;
pageSize: number;
};

@@ -242,3 +246,4 @@ export type TResponseGetNotifications = {

export type TRequestReadNotifications = {
id: string;
notificationIds: string[];
receiver: string;
};

@@ -249,2 +254,10 @@ export type TResponseReadNotifications = {

};
export type TRequestMakeAllAsRead = {
id: string;
receiver: string;
};
export type TResponseMakeAllAsRead = {
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
numAffected: number;
};
export type TRequestGetBlockletNotifications = {

@@ -256,2 +269,6 @@ receiver: string;

teamDid: string;
severity: string;
componentDid: string;
entityId: string;
pageSize: number;
};

@@ -263,5 +280,14 @@ export type TResponseGetBlockletNotifications = {

};
export type TRequestMakeAllBlockletNotificationsAsRead = {
receiver: string;
teamDid: string;
};
export type TResponseMakeAllBlockletNotificationsAsRead = {
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
numAffected: number;
};
export type TRequestReadBlockletNotifications = {
id: string;
notificationIds: string[];
teamDid: string;
receiver: string;
};

@@ -268,0 +294,0 @@ export type TResponseReadBlockletNotifications = {

@@ -476,2 +476,14 @@ // package: abt_node

};
export type TNotificationAttachment = {
data?: Record<string, any>;
fields?: Record<string, any>;
type: enum_pb.NotificationAttachmentTypeMap[keyof enum_pb.NotificationAttachmentTypeMap];
};
export type TNotificationAction = {
bgcolor: string;
color: string;
link: string;
name: string;
title: string;
};
export type TNotification = {

@@ -487,6 +499,43 @@ sender: string;

createdAt: number;
updatedAt: number;
id: string;
severity: string;
severity: Notification.NotificationSeverityMap[keyof Notification.NotificationSeverityMap];
source: Notification.NotificationSourceMap[keyof Notification.NotificationSourceMap];
attachments: TNotificationAttachment[];
blocks: TNotificationAttachment[];
actions: TNotificationAction[];
componentDid: string;
type: Notification.NotificationTypeMap[keyof Notification.NotificationTypeMap];
receivers: TNotificationReceiver[];
};
export interface NotificationSourceMap {
SYSTEM: 0;
COMPONENT: 1;
}
export interface NotificationTypeMap {
NOTIFICATION: 0;
CONNECT: 1;
FEED: 2;
HI: 3;
PASSTHROUGH: 4;
}
export interface NotificationSeverityMap {
INFO: 0;
SUCCESS: 1;
ERROR: 2;
WARNING: 3;
}
export type TNotificationReceiver = {
id: string;
notificationId: string;
receiver: string;
read: boolean;
readAt: number;
walletSendStatus: number;
walletSendAt: number;
pushKitSendStatus: number;
pushKitSendAt: number;
emailSendStatus: number;
emailSendAt: number;
createdAt: number;
};
export type TRoutingRuleResponse = {

@@ -493,0 +542,0 @@ status: number;

4

package.json
{
"name": "@abtnode/types",
"version": "1.16.36",
"version": "1.16.37-beta-20241224-013714-a79db7d3",
"description": "Typescript definitions generated from protobuf",

@@ -39,3 +39,3 @@ "keywords": [

},
"gitHead": "2d70fa8a2f68de49e1d5718e693ec6b1bdcad15e"
"gitHead": "040363d1ac077f7d4b4ee29e6c3bfc3e61c3ce3f"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc