Skip to content

Jpportier/devexp 1309 use event destinations and sinch events (Voice)#325

Open
JPPortier wants to merge 5 commits intofeat/V2.0-nextfrom
jpportier/DEVEXP-1309-use-event-destinations-and-sinch-events-voice
Open

Jpportier/devexp 1309 use event destinations and sinch events (Voice)#325
JPPortier wants to merge 5 commits intofeat/V2.0-nextfrom
jpportier/DEVEXP-1309-use-event-destinations-and-sinch-events-voice

Conversation

@JPPortier
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files

@JPPortier JPPortier changed the title Jpportier/devexp 1309 use event destinations and sinch events voice Jpportier/devexp 1309 use event destinations and sinch events (Voice) Mar 18, 2026

/**
* WebHooksService Service instance
* SinchEventsService Service instance
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Careful, you'll have a conflict with the conversation PR


/**
* WebHooksService Service instance
* SinchEventsService Service instance
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here with the SMS PR too

@@ -45,7 +45,7 @@ public interface VoiceService {
* Webhooks helpers instance
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the Javadoc too

@RequestHeader Map<String, String> headers, @RequestBody String body) {

WebHooksService webhooks = sinchClient.voice().v1().webhooks();
SinchEventsService webhooks = sinchClient.voice().v1().sinchEvents();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename the variable too

| Old interface | New Equivalent in `voice().v1()` |
|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| applications() | [v1().applications()](https://www.javadoc.io/doc/com.sinch.sdk/sinch-sdk-java/2.0.0/com/sinch/sdk/domains/voice/api/v1/ApplicationsService.html) |
| applications().getCallbackUrls() | [v1().applications().getEventDestinations](https://www.javadoc.io/doc/com.sinch.sdk/sinch-sdk-java/2.0.0/com/sinch/sdk/domains/voice/api/v1/ApplicationsService.html#getEventDestinations(java.lang.String)) |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: A function should contain the trailing ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants