Vonage / vonage-php-sdk-core

Vonage REST API client for PHP. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
https://developer.vonage.com/
Apache License 2.0
916 stars 180 forks source link

Feature/proactive connect #402

Closed SecondeJK closed 1 year ago

SecondeJK commented 1 year ago

Proactive Connect draft PR

Description

This PR adds Proactive Connect to the SDK

Motivation and Context

Evolution of Vonage API product offerings

How Has This Been Tested?

Full test suite added. No tests added for standard API response errors, as these are tested in other new SDKs AND in the ApiResource object

Types of changes

Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Merging #402 (0c29619) into main (8e9f239) will increase coverage by 0.24%. The diff coverage is 82.12%.

@@             Coverage Diff              @@
##               main     #402      +/-   ##
============================================
+ Coverage     77.97%   78.21%   +0.24%     
- Complexity     2116     2183      +67     
============================================
  Files           200      205       +5     
  Lines          5634     5811     +177     
============================================
+ Hits           4393     4545     +152     
- Misses         1241     1266      +25     
Impacted Files Coverage Δ
src/ProactiveConnect/ClientFactory.php 0.00% <0.00%> (ø)
src/Entity/IterableAPICollection.php 74.58% <41.66%> (+1.48%) :arrow_up:
src/ProactiveConnect/Objects/ListItem.php 66.66% <66.66%> (ø)
src/ProactiveConnect/Objects/ManualList.php 86.11% <86.11%> (ø)
src/ProactiveConnect/Objects/SalesforceList.php 89.13% <89.13%> (ø)
src/ProactiveConnect/Client.php 93.93% <93.93%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more