Skip to content

VAPI-2700 Add Endpoint Event Model and Related Enums#173

Open
smoghe-bw wants to merge 18 commits intomainfrom
brtc-sdk-2
Open

VAPI-2700 Add Endpoint Event Model and Related Enums#173
smoghe-bw wants to merge 18 commits intomainfrom
brtc-sdk-2

Conversation

@smoghe-bw
Copy link

  • Created EndpointEvent class to represent events occurring on endpoints.
  • Introduced EndpointEventTypeEnum to define event types (DEVICE_CONNECTED, DEVICE_DISCONNECTED).
  • Added EndpointResponse class for handling responses related to endpoints.
  • Implemented EndpointStatusEnum to represent endpoint statuses (CONNECTED, DISCONNECTED).
  • Added EndpointTypeEnum for defining endpoint types (WEBRTC).
  • Created Endpoints class to encapsulate endpoint details.
  • Introduced ErrorResponse class for managing error responses.
  • Added ListEndpointsResponse class for handling lists of endpoints.
  • Implemented Page class for pagination support in endpoint listings.
  • Created SipConnectionMetadata class to manage SIP connection details.
  • Added SipCredentials class for handling SIP authentication credentials.

- Created EndpointEvent class to represent events occurring on endpoints.
- Introduced EndpointEventTypeEnum to define event types (DEVICE_CONNECTED, DEVICE_DISCONNECTED).
- Added EndpointResponse class for handling responses related to endpoints.
- Implemented EndpointStatusEnum to represent endpoint statuses (CONNECTED, DISCONNECTED).
- Added EndpointTypeEnum for defining endpoint types (WEBRTC).
- Created Endpoints class to encapsulate endpoint details.
- Introduced ErrorResponse class for managing error responses.
- Added ListEndpointsResponse class for handling lists of endpoints.
- Implemented Page class for pagination support in endpoint listings.
- Created SipConnectionMetadata class to manage SIP connection details.
- Added SipCredentials class for handling SIP authentication credentials.
@smoghe-bw smoghe-bw changed the title Add Endpoint Event Model and Related Enums VAPI-2700 Add Endpoint Event Model and Related Enums Jan 20, 2026
@bwappsec
Copy link

bwappsec commented Jan 20, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@smoghe-bw smoghe-bw marked this pull request as ready for review January 22, 2026 19:43
@smoghe-bw smoghe-bw requested review from a team as code owners January 22, 2026 19:43
smoghe-bw and others added 12 commits January 27, 2026 10:31
- Created tests for CreateEndpointRequestBase, CreateEndpointResponseData, CreateEndpointResponse, CreateWebRtcConnectionRequest, Device, Endpoint, and Endpoints classes.
- Implemented serialization and deserialization tests for various models.
- Added tests for enum values and their serialization/deserialization for DeviceStatusEnum, EndpointDirectionEnum, EndpointStatusEnum, and EndpointTypeEnum.
- Included validation tests to ensure required fields throw exceptions when null.
- Enhanced coverage for ListEndpointsResponse and its associated properties.
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