Skip to content

Proper-case primitive from DocuSign API causes fatal error #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Closed
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
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
branches:
only:
- master
- v2-master
language: php
dist: trusty
sudo: false
php:
- 5.4
Expand Down
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file.

See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
## [4.2.0] - eSignature API v2-20.1.00 - 2020-03-13
### Changed
* The SDK now supports version 20.1.00 of the DocuSign eSignature API.
* SDK Release Version updated.git chec

## [4.1.0] - eSignature API v2-19.2.02 - 2019-09-28
### Changed
* The SDK now supports version 19.2.02 of the DocuSign eSignature API.
* SDK Release Version updated.git chec
### Fixed
* Number and Date serialization issues DCM-3210
* Updated phpdocs to point to new location of ApiException DCM-3372

## [4.0.0] - eSignature API v19.1.02 - 2019-06-07
### BREAKING
Expand All @@ -16,7 +28,7 @@ See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for
* OAuthTests.php for OAuth support test
### Fixed
* A bug with that could cause the *moveEnvelopes* method call to return a response without a *Content-Type* header. (DCM-2871)

## [3.0.1] - Fixed the composer version - 2017-10-25

## [3.0.0] - Published all the DocuSign API endpoints - 2017-03-15
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "docusign/esign-client",
"version": "4.2.1",
"description": "The DocuSign PHP library makes integrating DocuSign into your websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-php-client repository. Join the eSign revolution!",
"keywords": [
"DocuSign",
Expand Down
270 changes: 154 additions & 116 deletions src/Api/AccountsApi.php

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions src/Api/AuthenticationApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function setLoginSettings($login_settings)
namespace DocuSign\eSign\Api;

use \DocuSign\eSign\Client\ApiClient;
use \DocuSign\eSign\ApiException;
use \DocuSign\eSign\Client\ApiException;
use \DocuSign\eSign\Configuration;
use \DocuSign\eSign\ObjectSerializer;

Expand Down Expand Up @@ -202,7 +202,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient)
* @param string $account_id The external account number (int) or account ID Guid.
* @param string $user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
* @param \DocuSign\eSign\Model\SocialAccountInformation $social_account_information (optional)
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return void
*/
public function deleteSocialLogin($account_id, $user_id, $social_account_information = null)
Expand All @@ -219,7 +219,7 @@ public function deleteSocialLogin($account_id, $user_id, $social_account_informa
* @param string $account_id The external account number (int) or account ID Guid.
* @param string $user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
* @param \DocuSign\eSign\Model\SocialAccountInformation $social_account_information (optional)
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return array of null, HTTP status code, HTTP response headers (array of strings)
*/
public function deleteSocialLoginWithHttpInfo($account_id, $user_id, $social_account_information = null)
Expand Down Expand Up @@ -306,7 +306,7 @@ public function deleteSocialLoginWithHttpInfo($account_id, $user_id, $social_acc
*
* Creates an authorization token.
*
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return \DocuSign\eSign\Model\OauthAccess
*/
public function getOAuthToken()
Expand All @@ -320,7 +320,7 @@ public function getOAuthToken()
*
* Creates an authorization token.
*
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return array of \DocuSign\eSign\Model\OauthAccess, HTTP status code, HTTP response headers (array of strings)
*/
public function getOAuthTokenWithHttpInfo()
Expand Down Expand Up @@ -384,7 +384,7 @@ public function getOAuthTokenWithHttpInfo()
*
* @param string $account_id The external account number (int) or account ID Guid.
* @param string $user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return \DocuSign\eSign\Model\UserSocialIdResult
*/
public function listSocialLogins($account_id, $user_id)
Expand All @@ -400,7 +400,7 @@ public function listSocialLogins($account_id, $user_id)
*
* @param string $account_id The external account number (int) or account ID Guid.
* @param string $user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return array of \DocuSign\eSign\Model\UserSocialIdResult, HTTP status code, HTTP response headers (array of strings)
*/
public function listSocialLoginsWithHttpInfo($account_id, $user_id)
Expand Down Expand Up @@ -487,7 +487,7 @@ public function listSocialLoginsWithHttpInfo($account_id, $user_id)
* Gets login information for a specified user.
*
* @param $options Options for modifying the behavior of the function. (optional)
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return \DocuSign\eSign\Model\LoginInformation
*/
public function login(AuthenticationApi\LoginOptions $options = null)
Expand All @@ -502,7 +502,7 @@ public function login(AuthenticationApi\LoginOptions $options = null)
* Gets login information for a specified user.
*
* @param $options Options for modifying the behavior of the function. (optional)
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return array of \DocuSign\eSign\Model\LoginInformation, HTTP status code, HTTP response headers (array of strings)
*/
public function loginWithHttpInfo(AuthenticationApi\LoginOptions $options = null)
Expand Down Expand Up @@ -584,7 +584,7 @@ public function loginWithHttpInfo(AuthenticationApi\LoginOptions $options = null
*
* Revokes an authorization token.
*
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return void
*/
public function revokeOAuthToken()
Expand All @@ -598,7 +598,7 @@ public function revokeOAuthToken()
*
* Revokes an authorization token.
*
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return array of null, HTTP status code, HTTP response headers (array of strings)
*/
public function revokeOAuthTokenWithHttpInfo()
Expand Down Expand Up @@ -658,7 +658,7 @@ public function revokeOAuthTokenWithHttpInfo()
*
* @param string $login_part Currently, only the value **password** is supported.
* @param \DocuSign\eSign\Model\UserPasswordInformation $user_password_information (optional)
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return void
*/
public function updatePassword($login_part, $user_password_information = null)
Expand All @@ -674,7 +674,7 @@ public function updatePassword($login_part, $user_password_information = null)
*
* @param string $login_part Currently, only the value **password** is supported.
* @param \DocuSign\eSign\Model\UserPasswordInformation $user_password_information (optional)
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return array of null, HTTP status code, HTTP response headers (array of strings)
*/
public function updatePasswordWithHttpInfo($login_part, $user_password_information = null)
Expand Down Expand Up @@ -752,7 +752,7 @@ public function updatePasswordWithHttpInfo($login_part, $user_password_informati
* @param string $account_id The external account number (int) or account ID Guid.
* @param string $user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
* @param \DocuSign\eSign\Model\SocialAccountInformation $social_account_information (optional)
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return void
*/
public function updateSocialLogin($account_id, $user_id, $social_account_information = null)
Expand All @@ -769,7 +769,7 @@ public function updateSocialLogin($account_id, $user_id, $social_account_informa
* @param string $account_id The external account number (int) or account ID Guid.
* @param string $user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
* @param \DocuSign\eSign\Model\SocialAccountInformation $social_account_information (optional)
* @throws \DocuSign\eSign\ApiException on non-2xx response
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return array of null, HTTP status code, HTTP response headers (array of strings)
*/
public function updateSocialLoginWithHttpInfo($account_id, $user_id, $social_account_information = null)
Expand Down
Loading