Skip to content

Commit 5bdc8ff

Browse files
author
root
committed
Version 1.2.2-v2.0-2.0.0 release
1 parent 91de927 commit 5bdc8ff

File tree

10 files changed

+30
-26
lines changed

10 files changed

+30
-26
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
33

44

5+
## [v1.2.2] - Monitor API v2.0-2.0.0 - 2025-10-16
6+
### Changed
7+
- Added explicit nullable type hints (`?Type`) to parameters that accept `null`, improving type safety and consistency.
8+
- Updated the SDK release version.
59
## [v1.2.1] - Monitor API v2.0-2.0.0 - 2024-04-22
610
### Changed
711
- Adjusted the minimum required firebase/php-jwt package version to 6.0.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "docusign/monitor-client",
3-
"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.",
3+
"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.",
44
"keywords": [
5-
"DocuSign",
5+
"Docusign",
66
"Monitor",
77
"php",
88
"sdk",

ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<ruleset name="DocuSign">
3-
<description>DocuSign custom coding standard.</description>
3+
<description>Docusign custom coding standard.</description>
44
<rule ref="PEAR">
55
<exclude name="Generic.Files.LineLength" />
66
</rule>

src/Api/DataSetApi.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @category Class
1010
* @package DocuSign\Monitor
1111
* @author Swagger Codegen team <apihelp@docusign.com>
12-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
12+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
1313
* @link https://github.com/swagger-api/swagger-codegen
1414
*/
1515

@@ -39,7 +39,7 @@
3939
* @category Class
4040
* @package DocuSign\Monitor
4141
* @author Swagger Codegen team <apihelp@docusign.com>
42-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
42+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
4343
* @link https://github.com/swagger-api/swagger-codegen
4444
*/
4545
class GetStreamOptions
@@ -115,7 +115,7 @@ public function setLimit(?int $limit): self
115115
* @category Class
116116
* @package DocuSign\Monitor
117117
* @author Swagger Codegen team <apihelp@docusign.com>
118-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
118+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
119119
* @link https://github.com/swagger-api/swagger-codegen
120120
*/
121121
class DataSetApi
@@ -134,7 +134,7 @@ class DataSetApi
134134
*
135135
* @return void
136136
*/
137-
public function __construct(ApiClient $apiClient = null)
137+
public function __construct(?ApiClient $apiClient = null)
138138
{
139139
$this->apiClient = $apiClient ?? new ApiClient();
140140
}
@@ -193,7 +193,7 @@ public function updateResourcePath(string $resourcePath, string $baseName, strin
193193
* @throws ApiException on non-2xx response
194194
* @return \DocuSign\Monitor\Model\CursoredResult
195195
*/
196-
public function getStream($data_set_name, $version, \DocuSign\Monitor\Api\DataSetApi\GetStreamOptions $options = null)
196+
public function getStream($data_set_name, $version, ?\DocuSign\Monitor\Api\DataSetApi\GetStreamOptions $options = null)
197197
{
198198
list($response) = $this->getStreamWithHttpInfo($data_set_name, $version, $options);
199199
return $response;
@@ -211,7 +211,7 @@ public function getStream($data_set_name, $version, \DocuSign\Monitor\Api\DataSe
211211
* @throws ApiException on non-2xx response
212212
* @return array of \DocuSign\Monitor\Model\CursoredResult, HTTP status code, HTTP response headers (array of strings)
213213
*/
214-
public function getStreamWithHttpInfo($data_set_name, $version, \DocuSign\Monitor\Api\DataSetApi\GetStreamOptions $options = null): array
214+
public function getStreamWithHttpInfo($data_set_name, $version, ?\DocuSign\Monitor\Api\DataSetApi\GetStreamOptions $options = null): array
215215
{
216216
// verify the required parameter 'data_set_name' is set
217217
if ($data_set_name === null) {

src/Configuration.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @category Class
77
* @package DocuSign\Monitor
88
* @author Swagger Codegen team <apihelp@docusign.com>
9-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
9+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
1010
* @link https://github.com/swagger-api/swagger-codegen
1111
*/
1212

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

116116
/**
117117
* Debug switch (default set to false)
@@ -182,7 +182,7 @@ class Configuration
182182
/**
183183
* Constructor
184184
*/
185-
public function __construct(array $data = null)
185+
public function __construct(?array $data = null)
186186
{
187187
$this->tempFolderPath = sys_get_temp_dir();
188188
if(isset($data["apiKeys"]))
@@ -774,7 +774,7 @@ public static function toDebugReport()
774774
$report .= ' OS: ' . php_uname() . PHP_EOL;
775775
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
776776
$report .= ' OpenAPI Spec Version: v2.0' . PHP_EOL;
777-
$report .= ' SDK Package Version: 1.2.1' . PHP_EOL;
777+
$report .= ' SDK Package Version: 1.2.2' . PHP_EOL;
778778
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
779779

780780
return $report;

src/HeaderSelector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @category Class
77
* @package DocuSign\Monitor
88
* @author Swagger Codegen team <apihelp@docusign.com>
9-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
9+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
1010
* @link https://github.com/swagger-api/swagger-codegen
1111
*/
1212

@@ -37,7 +37,7 @@
3737
* @category Class
3838
* @package DocuSign\Monitor
3939
* @author Swagger Codegen team <apihelp@docusign.com>
40-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
40+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
4141
* @link https://github.com/swagger-api/swagger-codegen
4242
*/
4343
class HeaderSelector

src/Model/CursoredResult.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @category Class
88
* @package DocuSign\Monitor
99
* @author Swagger Codegen team <apihelp@docusign.com>
10-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
10+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
1111
* @link https://github.com/swagger-api/swagger-codegen
1212
*/
1313

@@ -40,7 +40,7 @@
4040
* @description
4141
* @package DocuSign\Monitor
4242
* @author Swagger Codegen team <apihelp@docusign.com>
43-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
43+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
4444
* @link https://github.com/swagger-api/swagger-codegen
4545
*/
4646
class CursoredResult implements ModelInterface, ArrayAccess
@@ -183,7 +183,7 @@ public function getModelName()
183183
* @param mixed[] $data Associated array of property values
184184
* initializing the model
185185
*/
186-
public function __construct(array $data = null)
186+
public function __construct(?array $data = null)
187187
{
188188
$this->container['end_cursor'] = isset($data['end_cursor']) ? $data['end_cursor'] : null;
189189
$this->container['data'] = isset($data['data']) ? $data['data'] : null;

src/Model/DataSet.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @category Class
88
* @package DocuSign\Monitor
99
* @author Swagger Codegen team <apihelp@docusign.com>
10-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
10+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
1111
* @link https://github.com/swagger-api/swagger-codegen
1212
*/
1313

@@ -40,7 +40,7 @@
4040
* @description Methods to fetch organization event data.
4141
* @package DocuSign\Monitor
4242
* @author Swagger Codegen team <apihelp@docusign.com>
43-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
43+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
4444
* @link https://github.com/swagger-api/swagger-codegen
4545
*/
4646
class DataSet implements ModelInterface, ArrayAccess
@@ -183,7 +183,7 @@ public function getModelName()
183183
* @param mixed[] $data Associated array of property values
184184
* initializing the model
185185
*/
186-
public function __construct(array $data = null)
186+
public function __construct(?array $data = null)
187187
{
188188
$this->container['end_cursor'] = isset($data['end_cursor']) ? $data['end_cursor'] : null;
189189
$this->container['data'] = isset($data['data']) ? $data['data'] : null;

src/Model/ModelInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @category Class
88
* @package DocuSign\Monitor\Model
99
* @author Swagger Codegen team <apihelp@docusign.com>
10-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
10+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
1111
* @link https://github.com/swagger-api/swagger-codegen
1212
*/
1313

@@ -36,7 +36,7 @@
3636
* @category Interface
3737
* @package DocuSign\Monitor\Model
3838
* @author Swagger Codegen team <apihelp@docusign.com>
39-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
39+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
4040
* @link https://github.com/swagger-api/swagger-codegen
4141
*/
4242
interface ModelInterface

src/ObjectSerializer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @category Class
88
* @package DocuSign\Monitor
99
* @author Swagger Codegen team <apihelp@docusign.com>
10-
* @license The DocuSign PHP Client SDK is licensed under the MIT License.
10+
* @license The Docusign PHP Client SDK is licensed under the MIT License.
1111
* @link https://github.com/swagger-api/swagger-codegen
1212
*/
1313

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

0 commit comments

Comments
 (0)