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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.


## [v1.2.2] - Monitor API v2.0-2.0.0 - 2025-10-16
### Changed
- Added explicit nullable type hints (`?Type`) to parameters that accept `null`, improving type safety and consistency.
- Updated the SDK release version.
## [v1.2.1] - Monitor API v2.0-2.0.0 - 2024-04-22
### Changed
- Adjusted the minimum required firebase/php-jwt package version to 6.0.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "docusign/monitor-client",
"description": "The DocuSign package makes integrating DocuSign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-monitor-php-client repository.",
"description": "The Docusign package makes integrating Docusign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-monitor-php-client repository.",
"keywords": [
"DocuSign",
"Docusign",
"Monitor",
"php",
"sdk",
Expand Down
2 changes: 1 addition & 1 deletion ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset name="DocuSign">
<description>DocuSign custom coding standard.</description>
<description>Docusign custom coding standard.</description>
<rule ref="PEAR">
<exclude name="Generic.Files.LineLength" />
</rule>
Expand Down
12 changes: 6 additions & 6 deletions src/Api/DataSetApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/

Expand Down Expand Up @@ -39,7 +39,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/
class GetStreamOptions
Expand Down Expand Up @@ -115,7 +115,7 @@ public function setLimit(?int $limit): self
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/
class DataSetApi
Expand All @@ -134,7 +134,7 @@ class DataSetApi
*
* @return void
*/
public function __construct(ApiClient $apiClient = null)
public function __construct(?ApiClient $apiClient = null)
{
$this->apiClient = $apiClient ?? new ApiClient();
}
Expand Down Expand Up @@ -193,7 +193,7 @@ public function updateResourcePath(string $resourcePath, string $baseName, strin
* @throws ApiException on non-2xx response
* @return \DocuSign\Monitor\Model\CursoredResult
*/
public function getStream($data_set_name, $version, \DocuSign\Monitor\Api\DataSetApi\GetStreamOptions $options = null)
public function getStream($data_set_name, $version, ?\DocuSign\Monitor\Api\DataSetApi\GetStreamOptions $options = null)
{
list($response) = $this->getStreamWithHttpInfo($data_set_name, $version, $options);
return $response;
Expand All @@ -211,7 +211,7 @@ public function getStream($data_set_name, $version, \DocuSign\Monitor\Api\DataSe
* @throws ApiException on non-2xx response
* @return array of \DocuSign\Monitor\Model\CursoredResult, HTTP status code, HTTP response headers (array of strings)
*/
public function getStreamWithHttpInfo($data_set_name, $version, \DocuSign\Monitor\Api\DataSetApi\GetStreamOptions $options = null): array
public function getStreamWithHttpInfo($data_set_name, $version, ?\DocuSign\Monitor\Api\DataSetApi\GetStreamOptions $options = null): array
{
// verify the required parameter 'data_set_name' is set
if ($data_set_name === null) {
Expand Down
10 changes: 5 additions & 5 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/

Expand Down Expand Up @@ -36,7 +36,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/
class Configuration
Expand Down Expand Up @@ -111,7 +111,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'Swagger-Codegen/v2.0/1.2.1/php/' . PHP_VERSION;
protected $userAgent = 'Swagger-Codegen/v2.0/1.2.2/php/' . PHP_VERSION;

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -182,7 +182,7 @@ class Configuration
/**
* Constructor
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->tempFolderPath = sys_get_temp_dir();
if(isset($data["apiKeys"]))
Expand Down Expand Up @@ -774,7 +774,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' OpenAPI Spec Version: v2.0' . PHP_EOL;
$report .= ' SDK Package Version: 1.2.1' . PHP_EOL;
$report .= ' SDK Package Version: 1.2.2' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
4 changes: 2 additions & 2 deletions src/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/

Expand Down Expand Up @@ -37,7 +37,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/
class HeaderSelector
Expand Down
6 changes: 3 additions & 3 deletions src/Model/CursoredResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/

Expand Down Expand Up @@ -40,7 +40,7 @@
* @description
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/
class CursoredResult implements ModelInterface, ArrayAccess
Expand Down Expand Up @@ -183,7 +183,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['end_cursor'] = isset($data['end_cursor']) ? $data['end_cursor'] : null;
$this->container['data'] = isset($data['data']) ? $data['data'] : null;
Expand Down
6 changes: 3 additions & 3 deletions src/Model/DataSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/

Expand Down Expand Up @@ -40,7 +40,7 @@
* @description Methods to fetch organization event data.
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/
class DataSet implements ModelInterface, ArrayAccess
Expand Down Expand Up @@ -183,7 +183,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->container['end_cursor'] = isset($data['end_cursor']) ? $data['end_cursor'] : null;
$this->container['data'] = isset($data['data']) ? $data['data'] : null;
Expand Down
4 changes: 2 additions & 2 deletions src/Model/ModelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @category Class
* @package DocuSign\Monitor\Model
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/

Expand Down Expand Up @@ -36,7 +36,7 @@
* @category Interface
* @package DocuSign\Monitor\Model
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/
interface ModelInterface
Expand Down
4 changes: 2 additions & 2 deletions src/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/

Expand Down Expand Up @@ -36,7 +36,7 @@
* @category Class
* @package DocuSign\Monitor
* @author Swagger Codegen team <apihelp@docusign.com>
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
* @license The Docusign PHP Client SDK is licensed under the MIT License.
* @link https://github.com/swagger-api/swagger-codegen
*/
class ObjectSerializer
Expand Down