Skip to content

Commit 58338a5

Browse files
committed
⬆️ update handle call event type
1 parent ee02dfe commit 58338a5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sipgate/integration-bridge",
3-
"version": "0.13.20",
3+
"version": "0.13.21",
44
"description": "sipgate Integration Bridge Framework",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/models/adapter.model.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ export interface Adapter {
4242
event: CallEvent
4343
) => Promise<void>;
4444
deleteCalendarEvent?: (config: Config, id: string) => Promise<void>;
45-
handleCallEvent?: (
46-
config: Config,
47-
event: CallEvent
48-
) => Promise<string | { refId: string; contactId?: string }>;
45+
handleCallEvent?: (config: Config, event: CallEvent) => Promise<string>;
4946
handleConnectedEvent?: (config: Config) => Promise<void>;
5047
getHealth?: () => Promise<void>;
5148
getOAuth2RedirectUrl?: (req?: Request, res?: Response) => Promise<string>;

0 commit comments

Comments
 (0)