File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @linkedapi/node" ,
3- "version" : " 2.1.1 " ,
3+ "version" : " 2.1.2 " ,
44 "description" : " Control your LinkedIn accounts and retrieve real-time data, all through this Node.js SDK." ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ export type TWebhookEventType =
1010 | 'account.reconnectionRequired'
1111 | 'account.frozen'
1212 | 'account.deleted'
13- | 'linkedin .messageReceived'
14- | 'linkedin .messageSent'
13+ | 'inbox .messageReceived'
14+ | 'inbox .messageSent'
1515 | 'webhook.test' ;
1616
1717export type TWebhookDeliveryStatus = 'pending' | 'delivering' | 'success' | 'failed' ;
@@ -83,8 +83,8 @@ export interface TAccountWebhookEvent extends TWebhookEventBase {
8383 } ;
8484}
8585
86- export interface TLinkedInMessageWebhookEvent extends TWebhookEventBase {
87- type : 'linkedin .messageReceived' | 'linkedin .messageSent' ;
86+ export interface TInboxMessageWebhookEvent extends TWebhookEventBase {
87+ type : 'inbox .messageReceived' | 'inbox .messageSent' ;
8888 data : {
8989 accountId : string ;
9090 type : TConversationType ;
@@ -107,5 +107,5 @@ export interface TWebhookTestEvent extends TWebhookEventBase {
107107export type TWebhookEvent =
108108 | TWorkflowWebhookEvent
109109 | TAccountWebhookEvent
110- | TLinkedInMessageWebhookEvent
110+ | TInboxMessageWebhookEvent
111111 | TWebhookTestEvent ;
You can’t perform that action at this time.
0 commit comments