Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [4.68.0](https://github.com/plivo/plivo-php/tree/v4.68.0) (2025-10-24)
**Feature - Added rejection_reason field to Regulatory Compliance APIs**
- Added `rejection_reason` field to ComplianceApplication
- Added support for `rejection_reason` in GET and LIST operations for regulatory compliance APIs

## [4.67.0](https://github.com/plivo/plivo-php/tree/v4.67.0) (2025-04-30)
**Feature - New Param added for Start Recording API.**
- Support `record_channel_type` in Start Recording API and `recordChannelType` in Record XML.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* @property array $documents
* @property string $numberType
* @property string $status
* @property string $rejectionReason
*/
class ComplianceApplication extends Resource
{
Expand All @@ -39,6 +40,10 @@ function __construct(BaseClient $client, array $response, $authId)
'status' => $response['status']
];

if (isset($response['rejection_reason'])) {
$this->properties['rejectionReason'] = $response['rejection_reason'];
}

$this->pathParams = [
'authId' => $authId,
'complianceApplicationId' => $response['compliance_application_id']
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Version
/**
* @const int PHP helper library minor version number
*/
const MINOR = 67;
const MINOR = 68;

/**
* @const int PHP helper library patch number
Expand Down
Loading