diff --git a/.travis.yml b/.travis.yml index 9276f1e0..67cef577 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ branches: only: - master + - v2-master language: php +dist: trusty sudo: false php: - 5.4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 21002bcf..3e2f6c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/composer.json b/composer.json index 87b49c8b..d911b548 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/src/Api/AccountsApi.php b/src/Api/AccountsApi.php index 3171c64c..e943016d 100644 --- a/src/Api/AccountsApi.php +++ b/src/Api/AccountsApi.php @@ -140,6 +140,34 @@ public function setApplyToTemplates($apply_to_templates) return $this; } } +class DeletePermissionProfileOptions +{ + /** + * $move_users_to + * @var string + */ + protected $move_users_to; + + /** + * Gets move_users_to + * @return string + */ + public function getMoveUsersTo() + { + return $this->move_users_to; + } + + /** + * Sets move_users_to + * @param string $move_users_to + * @return $this + */ + public function setMoveUsersTo($move_users_to) + { + $this->move_users_to = $move_users_to; + return $this; + } +} class GetAccountInformationOptions { /** @@ -305,7 +333,7 @@ public function setReturnMaster($return_master) class GetConsumerDisclosureDefaultOptions { /** - * $lang_code Specifies the language used in the response. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi). Additionally, the value can be set to `browser` to automatically detect the browser language being used by the viewer and display the disclosure in that language. + * $lang_code Specifies the language used in the response. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi). Additionally, the value can be set to `browser` to automatically detect the browser language being used by the viewer and display the disclosure in that language. * @var string */ protected $lang_code; @@ -321,7 +349,7 @@ public function getLangCode() /** * Sets lang_code - * @param string $lang_code Specifies the language used in the response. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi). Additionally, the value can be set to `browser` to automatically detect the browser language being used by the viewer and display the disclosure in that language. + * @param string $lang_code Specifies the language used in the response. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi). Additionally, the value can be set to `browser` to automatically detect the browser language being used by the viewer and display the disclosure in that language. * @return $this */ public function setLangCode($lang_code) @@ -812,7 +840,7 @@ public function setUserIds($user_ids) 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; @@ -877,7 +905,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param \DocuSign\eSign\Model\NewAccountDefinition $new_account_definition (optional) * @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\NewAccountSummary */ public function create($new_account_definition = null, AccountsApi\CreateOptions $options = null) @@ -893,7 +921,7 @@ public function create($new_account_definition = null, AccountsApi\CreateOptions * * @param \DocuSign\eSign\Model\NewAccountDefinition $new_account_definition (optional) * @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\NewAccountSummary, HTTP status code, HTTP response headers (array of strings) */ public function createWithHttpInfo($new_account_definition = null, AccountsApi\CreateOptions $options = null) @@ -970,7 +998,7 @@ public function createWithHttpInfo($new_account_definition = null, AccountsApi\C * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\Brand $brand (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BrandsResponse */ public function createBrand($account_id, $brand = null) @@ -986,7 +1014,7 @@ public function createBrand($account_id, $brand = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\Brand $brand (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BrandsResponse, HTTP status code, HTTP response headers (array of strings) */ public function createBrandWithHttpInfo($account_id, $brand = null) @@ -1068,7 +1096,7 @@ public function createBrandWithHttpInfo($account_id, $brand = null) * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\CustomField $custom_field (optional) * @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\CustomFields */ public function createCustomField($account_id, $custom_field = null, AccountsApi\CreateCustomFieldOptions $options = null) @@ -1085,7 +1113,7 @@ public function createCustomField($account_id, $custom_field = null, AccountsApi * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\CustomField $custom_field (optional) * @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\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function createCustomFieldWithHttpInfo($account_id, $custom_field = null, AccountsApi\CreateCustomFieldOptions $options = null) @@ -1175,7 +1203,7 @@ public function createCustomFieldWithHttpInfo($account_id, $custom_field = null, * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\PermissionProfile $permission_profile (optional) * @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\PermissionProfile */ public function createPermissionProfile($account_id, $permission_profile = null, AccountsApi\CreatePermissionProfileOptions $options = null) @@ -1192,7 +1220,7 @@ public function createPermissionProfile($account_id, $permission_profile = null, * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\PermissionProfile $permission_profile (optional) * @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\PermissionProfile, HTTP status code, HTTP response headers (array of strings) */ public function createPermissionProfileWithHttpInfo($account_id, $permission_profile = null, AccountsApi\CreatePermissionProfileOptions $options = null) @@ -1280,7 +1308,7 @@ public function createPermissionProfileWithHttpInfo($account_id, $permission_pro * Deletes the specified account. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function delete($account_id) @@ -1295,7 +1323,7 @@ public function delete($account_id) * Deletes the specified account. * * @param string $account_id The external account number (int) or account ID Guid. - * @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 deleteWithHttpInfo($account_id) @@ -1367,7 +1395,7 @@ public function deleteWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteBrand($account_id, $brand_id) @@ -1383,7 +1411,7 @@ public function deleteBrand($account_id, $brand_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. - * @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 deleteBrandWithHttpInfo($account_id, $brand_id) @@ -1468,7 +1496,7 @@ public function deleteBrandWithHttpInfo($account_id, $brand_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @param string $logo_type One of **Primary**, **Secondary** or **Email**. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteBrandLogoByType($account_id, $brand_id, $logo_type) @@ -1485,7 +1513,7 @@ public function deleteBrandLogoByType($account_id, $brand_id, $logo_type) * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @param string $logo_type One of **Primary**, **Secondary** or **Email**. - * @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 deleteBrandLogoByTypeWithHttpInfo($account_id, $brand_id, $logo_type) @@ -1581,7 +1609,7 @@ public function deleteBrandLogoByTypeWithHttpInfo($account_id, $brand_id, $logo_ * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\BrandsRequest $brands_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BrandsResponse */ public function deleteBrands($account_id, $brands_request = null) @@ -1597,7 +1625,7 @@ public function deleteBrands($account_id, $brands_request = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\BrandsRequest $brands_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BrandsResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteBrandsWithHttpInfo($account_id, $brands_request = null) @@ -1679,7 +1707,7 @@ public function deleteBrandsWithHttpInfo($account_id, $brands_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $recipient_part * @param \DocuSign\eSign\Model\CaptiveRecipientInformation $captive_recipient_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CaptiveRecipientInformation */ public function deleteCaptiveRecipient($account_id, $recipient_part, $captive_recipient_information = null) @@ -1696,7 +1724,7 @@ public function deleteCaptiveRecipient($account_id, $recipient_part, $captive_re * @param string $account_id The external account number (int) or account ID Guid. * @param string $recipient_part * @param \DocuSign\eSign\Model\CaptiveRecipientInformation $captive_recipient_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CaptiveRecipientInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteCaptiveRecipientWithHttpInfo($account_id, $recipient_part, $captive_recipient_information = null) @@ -1790,7 +1818,7 @@ public function deleteCaptiveRecipientWithHttpInfo($account_id, $recipient_part, * @param string $account_id The external account number (int) or account ID Guid. * @param string $custom_field_id * @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 void */ public function deleteCustomField($account_id, $custom_field_id, AccountsApi\DeleteCustomFieldOptions $options = null) @@ -1807,7 +1835,7 @@ public function deleteCustomField($account_id, $custom_field_id, AccountsApi\Del * @param string $account_id The external account number (int) or account ID Guid. * @param string $custom_field_id * @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 null, HTTP status code, HTTP response headers (array of strings) */ public function deleteCustomFieldWithHttpInfo($account_id, $custom_field_id, AccountsApi\DeleteCustomFieldOptions $options = null) @@ -1898,7 +1926,7 @@ public function deleteCustomFieldWithHttpInfo($account_id, $custom_field_id, Acc * Deletes configuration information for the eNote eOriginal integration. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteENoteConfiguration($account_id) @@ -1913,7 +1941,7 @@ public function deleteENoteConfiguration($account_id) * Deletes configuration information for the eNote eOriginal integration. * * @param string $account_id The external account number (int) or account ID Guid. - * @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 deleteENoteConfigurationWithHttpInfo($account_id) @@ -1985,12 +2013,13 @@ public function deleteENoteConfigurationWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $permission_profile_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @param $options Options for modifying the behavior of the function. (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ - public function deletePermissionProfile($account_id, $permission_profile_id) + public function deletePermissionProfile($account_id, $permission_profile_id, AccountsApi\DeletePermissionProfileOptions $options = null) { - list($response) = $this->deletePermissionProfileWithHttpInfo($account_id, $permission_profile_id); + list($response) = $this->deletePermissionProfileWithHttpInfo($account_id, $permission_profile_id, $options); return $response; } @@ -2001,10 +2030,11 @@ public function deletePermissionProfile($account_id, $permission_profile_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $permission_profile_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @param $options Options for modifying the behavior of the function. (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ - public function deletePermissionProfileWithHttpInfo($account_id, $permission_profile_id) + public function deletePermissionProfileWithHttpInfo($account_id, $permission_profile_id, AccountsApi\DeletePermissionProfileOptions $options = null) { // verify the required parameter 'account_id' is set if ($account_id === null) { @@ -2026,6 +2056,14 @@ public function deletePermissionProfileWithHttpInfo($account_id, $permission_pro } $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + if ($options != null) + { + // query params + // query params + if ($options->getMoveUsersTo() !== null) { + $queryParams['move_users_to'] = $this->apiClient->getSerializer()->toQueryValue($options->getMoveUsersTo()); + } + } // path params if ($account_id !== null) { @@ -2084,7 +2122,7 @@ public function deletePermissionProfileWithHttpInfo($account_id, $permission_pro * Get the list of identity verification options for an account * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\AccountIdentityVerificationResponse */ public function getAccountIdentityVerification($account_id) @@ -2099,7 +2137,7 @@ public function getAccountIdentityVerification($account_id) * Get the list of identity verification options for an account * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\AccountIdentityVerificationResponse, HTTP status code, HTTP response headers (array of strings) */ public function getAccountIdentityVerificationWithHttpInfo($account_id) @@ -2175,7 +2213,7 @@ public function getAccountIdentityVerificationWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @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\AccountInformation */ public function getAccountInformation($account_id, AccountsApi\GetAccountInformationOptions $options = null) @@ -2191,7 +2229,7 @@ public function getAccountInformation($account_id, AccountsApi\GetAccountInforma * * @param string $account_id The external account number (int) or account ID Guid. * @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\AccountInformation, HTTP status code, HTTP response headers (array of strings) */ public function getAccountInformationWithHttpInfo($account_id, AccountsApi\GetAccountInformationOptions $options = null) @@ -2274,7 +2312,7 @@ public function getAccountInformationWithHttpInfo($account_id, AccountsApi\GetAc * Returns tab settings list for specified account * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TabAccountSettings */ public function getAccountTabSettings($account_id) @@ -2289,7 +2327,7 @@ public function getAccountTabSettings($account_id) * Returns tab settings list for specified account * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TabAccountSettings, HTTP status code, HTTP response headers (array of strings) */ public function getAccountTabSettingsWithHttpInfo($account_id) @@ -2364,7 +2402,7 @@ public function getAccountTabSettingsWithHttpInfo($account_id) * Get all payment gateway account for the provided accountId * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\PaymentGatewayAccountsInfo */ public function getAllPaymentGatewayAccounts($account_id) @@ -2379,7 +2417,7 @@ public function getAllPaymentGatewayAccounts($account_id) * Get all payment gateway account for the provided accountId * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\PaymentGatewayAccountsInfo, HTTP status code, HTTP response headers (array of strings) */ public function getAllPaymentGatewayAccountsWithHttpInfo($account_id) @@ -2455,7 +2493,7 @@ public function getAllPaymentGatewayAccountsWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @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\BillingChargeResponse */ public function getBillingCharges($account_id, AccountsApi\GetBillingChargesOptions $options = null) @@ -2471,7 +2509,7 @@ public function getBillingCharges($account_id, AccountsApi\GetBillingChargesOpti * * @param string $account_id The external account number (int) or account ID Guid. * @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\BillingChargeResponse, HTTP status code, HTTP response headers (array of strings) */ public function getBillingChargesWithHttpInfo($account_id, AccountsApi\GetBillingChargesOptions $options = null) @@ -2556,7 +2594,7 @@ public function getBillingChargesWithHttpInfo($account_id, AccountsApi\GetBillin * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @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\Brand */ public function getBrand($account_id, $brand_id, AccountsApi\GetBrandOptions $options = null) @@ -2573,7 +2611,7 @@ public function getBrand($account_id, $brand_id, AccountsApi\GetBrandOptions $op * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @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\Brand, HTTP status code, HTTP response headers (array of strings) */ public function getBrandWithHttpInfo($account_id, $brand_id, AccountsApi\GetBrandOptions $options = null) @@ -2673,7 +2711,7 @@ public function getBrandWithHttpInfo($account_id, $brand_id, AccountsApi\GetBran * * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function getBrandExportFile($account_id, $brand_id) @@ -2689,7 +2727,7 @@ public function getBrandExportFile($account_id, $brand_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. - * @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 getBrandExportFileWithHttpInfo($account_id, $brand_id) @@ -2774,7 +2812,7 @@ public function getBrandExportFileWithHttpInfo($account_id, $brand_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @param string $logo_type One of **Primary**, **Secondary** or **Email**. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \SplFileObject */ public function getBrandLogoByType($account_id, $brand_id, $logo_type) @@ -2791,7 +2829,7 @@ public function getBrandLogoByType($account_id, $brand_id, $logo_type) * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @param string $logo_type One of **Primary**, **Secondary** or **Email**. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getBrandLogoByTypeWithHttpInfo($account_id, $brand_id, $logo_type) @@ -2891,7 +2929,7 @@ public function getBrandLogoByTypeWithHttpInfo($account_id, $brand_id, $logo_typ * * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BrandResourcesList */ public function getBrandResources($account_id, $brand_id) @@ -2907,7 +2945,7 @@ public function getBrandResources($account_id, $brand_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BrandResourcesList, HTTP status code, HTTP response headers (array of strings) */ public function getBrandResourcesWithHttpInfo($account_id, $brand_id) @@ -2997,7 +3035,7 @@ public function getBrandResourcesWithHttpInfo($account_id, $brand_id) * @param string $brand_id The unique identifier of a brand. * @param string $resource_content_type * @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 void */ public function getBrandResourcesByContentType($account_id, $brand_id, $resource_content_type, AccountsApi\GetBrandResourcesByContentTypeOptions $options = null) @@ -3015,7 +3053,7 @@ public function getBrandResourcesByContentType($account_id, $brand_id, $resource * @param string $brand_id The unique identifier of a brand. * @param string $resource_content_type * @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 null, HTTP status code, HTTP response headers (array of strings) */ public function getBrandResourcesByContentTypeWithHttpInfo($account_id, $brand_id, $resource_content_type, AccountsApi\GetBrandResourcesByContentTypeOptions $options = null) @@ -3122,8 +3160,8 @@ public function getBrandResourcesByContentTypeWithHttpInfo($account_id, $brand_i * Gets the Electronic Record and Signature Disclosure. * * @param string $account_id The external account number (int) or account ID Guid. - * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ConsumerDisclosure */ public function getConsumerDisclosure($account_id, $lang_code) @@ -3138,8 +3176,8 @@ public function getConsumerDisclosure($account_id, $lang_code) * Gets the Electronic Record and Signature Disclosure. * * @param string $account_id The external account number (int) or account ID Guid. - * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ConsumerDisclosure, HTTP status code, HTTP response headers (array of strings) */ public function getConsumerDisclosureWithHttpInfo($account_id, $lang_code) @@ -3227,7 +3265,7 @@ public function getConsumerDisclosureWithHttpInfo($account_id, $lang_code) * * @param string $account_id The external account number (int) or account ID Guid. * @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\ConsumerDisclosure */ public function getConsumerDisclosureDefault($account_id, AccountsApi\GetConsumerDisclosureDefaultOptions $options = null) @@ -3243,7 +3281,7 @@ public function getConsumerDisclosureDefault($account_id, AccountsApi\GetConsume * * @param string $account_id The external account number (int) or account ID Guid. * @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\ConsumerDisclosure, HTTP status code, HTTP response headers (array of strings) */ public function getConsumerDisclosureDefaultWithHttpInfo($account_id, AccountsApi\GetConsumerDisclosureDefaultOptions $options = null) @@ -3326,7 +3364,7 @@ public function getConsumerDisclosureDefaultWithHttpInfo($account_id, AccountsAp * Returns the configuration information for the eNote eOriginal integration. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ENoteConfiguration */ public function getENoteConfiguration($account_id) @@ -3341,7 +3379,7 @@ public function getENoteConfiguration($account_id) * Returns the configuration information for the eNote eOriginal integration. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ENoteConfiguration, HTTP status code, HTTP response headers (array of strings) */ public function getENoteConfigurationWithHttpInfo($account_id) @@ -3416,7 +3454,7 @@ public function getENoteConfigurationWithHttpInfo($account_id) * Get the password rules * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\AccountPasswordRules */ public function getPasswordRules($account_id) @@ -3431,7 +3469,7 @@ public function getPasswordRules($account_id) * Get the password rules * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\AccountPasswordRules, HTTP status code, HTTP response headers (array of strings) */ public function getPasswordRulesWithHttpInfo($account_id) @@ -3505,7 +3543,7 @@ public function getPasswordRulesWithHttpInfo($account_id) * * Get membership account password rules * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\UserPasswordRules */ public function getPasswordRules_0() @@ -3519,7 +3557,7 @@ public function getPasswordRules_0() * * Get membership account password rules * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\UserPasswordRules, HTTP status code, HTTP response headers (array of strings) */ public function getPasswordRules_0WithHttpInfo() @@ -3584,7 +3622,7 @@ public function getPasswordRules_0WithHttpInfo() * @param string $account_id The external account number (int) or account ID Guid. * @param string $permission_profile_id * @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\PermissionProfile */ public function getPermissionProfile($account_id, $permission_profile_id, AccountsApi\GetPermissionProfileOptions $options = null) @@ -3601,7 +3639,7 @@ public function getPermissionProfile($account_id, $permission_profile_id, Accoun * @param string $account_id The external account number (int) or account ID Guid. * @param string $permission_profile_id * @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\PermissionProfile, HTTP status code, HTTP response headers (array of strings) */ public function getPermissionProfileWithHttpInfo($account_id, $permission_profile_id, AccountsApi\GetPermissionProfileOptions $options = null) @@ -3695,7 +3733,7 @@ public function getPermissionProfileWithHttpInfo($account_id, $permission_profil * * Retrieves the account provisioning information for the account. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ProvisioningInformation */ public function getProvisioning() @@ -3709,7 +3747,7 @@ public function getProvisioning() * * Retrieves the account provisioning information for the account. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ProvisioningInformation, HTTP status code, HTTP response headers (array of strings) */ public function getProvisioningWithHttpInfo() @@ -3772,7 +3810,7 @@ public function getProvisioningWithHttpInfo() * Gets list of supported languages for recipient language setting. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SupportedLanguages */ public function getSupportedLanguages($account_id) @@ -3787,7 +3825,7 @@ public function getSupportedLanguages($account_id) * Gets list of supported languages for recipient language setting. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SupportedLanguages, HTTP status code, HTTP response headers (array of strings) */ public function getSupportedLanguagesWithHttpInfo($account_id) @@ -3862,7 +3900,7 @@ public function getSupportedLanguagesWithHttpInfo($account_id) * Get watermark information. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Watermark */ public function getWatermark($account_id) @@ -3877,7 +3915,7 @@ public function getWatermark($account_id) * Get watermark information. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Watermark, HTTP status code, HTTP response headers (array of strings) */ public function getWatermarkWithHttpInfo($account_id) @@ -3953,7 +3991,7 @@ public function getWatermarkWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\Watermark $watermark (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Watermark */ public function getWatermarkPreview($account_id, $watermark = null) @@ -3969,7 +4007,7 @@ public function getWatermarkPreview($account_id, $watermark = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\Watermark $watermark (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Watermark, HTTP status code, HTTP response headers (array of strings) */ public function getWatermarkPreviewWithHttpInfo($account_id, $watermark = null) @@ -4050,7 +4088,7 @@ public function getWatermarkPreviewWithHttpInfo($account_id, $watermark = null) * * @param string $account_id The external account number (int) or account ID Guid. * @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\BrandsResponse */ public function listBrands($account_id, AccountsApi\ListBrandsOptions $options = null) @@ -4066,7 +4104,7 @@ public function listBrands($account_id, AccountsApi\ListBrandsOptions $options = * * @param string $account_id The external account number (int) or account ID Guid. * @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\BrandsResponse, HTTP status code, HTTP response headers (array of strings) */ public function listBrandsWithHttpInfo($account_id, AccountsApi\ListBrandsOptions $options = null) @@ -4153,7 +4191,7 @@ public function listBrandsWithHttpInfo($account_id, AccountsApi\ListBrandsOption * Gets a list of custom fields associated with the account. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFields */ public function listCustomFields($account_id) @@ -4168,7 +4206,7 @@ public function listCustomFields($account_id) * Gets a list of custom fields associated with the account. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function listCustomFieldsWithHttpInfo($account_id) @@ -4244,7 +4282,7 @@ public function listCustomFieldsWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @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\PermissionProfileInformation */ public function listPermissions($account_id, AccountsApi\ListPermissionsOptions $options = null) @@ -4260,7 +4298,7 @@ public function listPermissions($account_id, AccountsApi\ListPermissionsOptions * * @param string $account_id The external account number (int) or account ID Guid. * @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\PermissionProfileInformation, HTTP status code, HTTP response headers (array of strings) */ public function listPermissionsWithHttpInfo($account_id, AccountsApi\ListPermissionsOptions $options = null) @@ -4344,7 +4382,7 @@ public function listPermissionsWithHttpInfo($account_id, AccountsApi\ListPermiss * * @param string $account_id The external account number (int) or account ID Guid. * @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\RecipientNamesResponse */ public function listRecipientNamesByEmail($account_id, AccountsApi\ListRecipientNamesByEmailOptions $options = null) @@ -4360,7 +4398,7 @@ public function listRecipientNamesByEmail($account_id, AccountsApi\ListRecipient * * @param string $account_id The external account number (int) or account ID Guid. * @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\RecipientNamesResponse, HTTP status code, HTTP response headers (array of strings) */ public function listRecipientNamesByEmailWithHttpInfo($account_id, AccountsApi\ListRecipientNamesByEmailOptions $options = null) @@ -4443,7 +4481,7 @@ public function listRecipientNamesByEmailWithHttpInfo($account_id, AccountsApi\L * Gets account settings information. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\AccountSettingsInformation */ public function listSettings($account_id) @@ -4458,7 +4496,7 @@ public function listSettings($account_id) * Gets account settings information. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\AccountSettingsInformation, HTTP status code, HTTP response headers (array of strings) */ public function listSettingsWithHttpInfo($account_id) @@ -4534,7 +4572,7 @@ public function listSettingsWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @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\AccountSharedAccess */ public function listSharedAccess($account_id, AccountsApi\ListSharedAccessOptions $options = null) @@ -4550,7 +4588,7 @@ public function listSharedAccess($account_id, AccountsApi\ListSharedAccessOption * * @param string $account_id The external account number (int) or account ID Guid. * @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\AccountSharedAccess, HTTP status code, HTTP response headers (array of strings) */ public function listSharedAccessWithHttpInfo($account_id, AccountsApi\ListSharedAccessOptions $options = null) @@ -4661,7 +4699,7 @@ public function listSharedAccessWithHttpInfo($account_id, AccountsApi\ListShared * Returns Account available signature providers for specified account. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\AccountSignatureProviders */ public function listSignatureProviders($account_id) @@ -4676,7 +4714,7 @@ public function listSignatureProviders($account_id) * Returns Account available signature providers for specified account. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\AccountSignatureProviders, HTTP status code, HTTP response headers (array of strings) */ public function listSignatureProvidersWithHttpInfo($account_id) @@ -4751,7 +4789,7 @@ public function listSignatureProvidersWithHttpInfo($account_id) * Gets a list of unsupported file types. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\FileTypeList */ public function listUnsupportedFileTypes($account_id) @@ -4766,7 +4804,7 @@ public function listUnsupportedFileTypes($account_id) * Gets a list of unsupported file types. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\FileTypeList, HTTP status code, HTTP response headers (array of strings) */ public function listUnsupportedFileTypesWithHttpInfo($account_id) @@ -4842,7 +4880,7 @@ public function listUnsupportedFileTypesWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\TabAccountSettings $tab_account_settings (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TabAccountSettings */ public function updateAccountTabSettings($account_id, $tab_account_settings = null) @@ -4858,7 +4896,7 @@ public function updateAccountTabSettings($account_id, $tab_account_settings = nu * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\TabAccountSettings $tab_account_settings (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TabAccountSettings, HTTP status code, HTTP response headers (array of strings) */ public function updateAccountTabSettingsWithHttpInfo($account_id, $tab_account_settings = null) @@ -4940,7 +4978,7 @@ public function updateAccountTabSettingsWithHttpInfo($account_id, $tab_account_s * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @param \DocuSign\eSign\Model\Brand $brand (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Brand */ public function updateBrand($account_id, $brand_id, $brand = null) @@ -4957,7 +4995,7 @@ public function updateBrand($account_id, $brand_id, $brand = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @param \DocuSign\eSign\Model\Brand $brand (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Brand, HTTP status code, HTTP response headers (array of strings) */ public function updateBrandWithHttpInfo($account_id, $brand_id, $brand = null) @@ -5048,11 +5086,11 @@ public function updateBrandWithHttpInfo($account_id, $brand_id, $brand = null) * * Put one branding logo. * - * @param string $account_id The external account number (int) or account ID Guid. + * @param string $account_id The external account number (int) or account id GUID. * @param string $brand_id The unique identifier of a brand. * @param string $logo_type One of **Primary**, **Secondary** or **Email**. * @param string $logo_file_bytes Brand logo binary Stream. Supported formats: JPG, GIF, PNG. Maximum file size: 300 KB. Recommended dimensions: 296 x 76 pixels (larger images will be resized). Changes may take up to one hour to display in all places (required) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function updateBrandLogoByType($account_id, $brand_id, $logo_type, $logo_file_bytes) @@ -5066,11 +5104,11 @@ public function updateBrandLogoByType($account_id, $brand_id, $logo_type, $logo_ * * Put one branding logo. * - * @param string $account_id The external account number (int) or account ID Guid. + * @param string $account_id The external account number (int) or account id GUID. * @param string $brand_id The unique identifier of a brand. * @param string $logo_type One of **Primary**, **Secondary** or **Email**. * @param string $logo_file_bytes Brand logo binary Stream. Supported formats: JPG, GIF, PNG. Maximum file size: 300 KB. Recommended dimensions: 296 x 76 pixels (larger images will be resized). Changes may take up to one hour to display in all places (required) - * @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 updateBrandLogoByTypeWithHttpInfo($account_id, $brand_id, $logo_type, $logo_file_bytes) @@ -5176,7 +5214,7 @@ public function updateBrandLogoByTypeWithHttpInfo($account_id, $brand_id, $logo_ * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @param string $resource_content_type - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BrandResources */ public function updateBrandResourcesByContentType($account_id, $brand_id, $resource_content_type) @@ -5193,7 +5231,7 @@ public function updateBrandResourcesByContentType($account_id, $brand_id, $resou * @param string $account_id The external account number (int) or account ID Guid. * @param string $brand_id The unique identifier of a brand. * @param string $resource_content_type - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BrandResources, HTTP status code, HTTP response headers (array of strings) */ public function updateBrandResourcesByContentTypeWithHttpInfo($account_id, $brand_id, $resource_content_type) @@ -5292,10 +5330,10 @@ public function updateBrandResourcesByContentTypeWithHttpInfo($account_id, $bran * Update Consumer Disclosure. * * @param string $account_id The external account number (int) or account ID Guid. - * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. * @param \DocuSign\eSign\Model\ConsumerDisclosure $consumer_disclosure (optional) * @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\ConsumerDisclosure */ public function updateConsumerDisclosure($account_id, $lang_code, $consumer_disclosure = null, AccountsApi\UpdateConsumerDisclosureOptions $options = null) @@ -5310,10 +5348,10 @@ public function updateConsumerDisclosure($account_id, $lang_code, $consumer_disc * Update Consumer Disclosure. * * @param string $account_id The external account number (int) or account ID Guid. - * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. * @param \DocuSign\eSign\Model\ConsumerDisclosure $consumer_disclosure (optional) * @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\ConsumerDisclosure, HTTP status code, HTTP response headers (array of strings) */ public function updateConsumerDisclosureWithHttpInfo($account_id, $lang_code, $consumer_disclosure = null, AccountsApi\UpdateConsumerDisclosureOptions $options = null) @@ -5416,7 +5454,7 @@ public function updateConsumerDisclosureWithHttpInfo($account_id, $lang_code, $c * @param string $custom_field_id * @param \DocuSign\eSign\Model\CustomField $custom_field (optional) * @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\CustomFields */ public function updateCustomField($account_id, $custom_field_id, $custom_field = null, AccountsApi\UpdateCustomFieldOptions $options = null) @@ -5434,7 +5472,7 @@ public function updateCustomField($account_id, $custom_field_id, $custom_field = * @param string $custom_field_id * @param \DocuSign\eSign\Model\CustomField $custom_field (optional) * @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\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function updateCustomFieldWithHttpInfo($account_id, $custom_field_id, $custom_field = null, AccountsApi\UpdateCustomFieldOptions $options = null) @@ -5535,7 +5573,7 @@ public function updateCustomFieldWithHttpInfo($account_id, $custom_field_id, $cu * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ENoteConfiguration $e_note_configuration (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ENoteConfiguration */ public function updateENoteConfiguration($account_id, $e_note_configuration = null) @@ -5551,7 +5589,7 @@ public function updateENoteConfiguration($account_id, $e_note_configuration = nu * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ENoteConfiguration $e_note_configuration (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ENoteConfiguration, HTTP status code, HTTP response headers (array of strings) */ public function updateENoteConfigurationWithHttpInfo($account_id, $e_note_configuration = null) @@ -5632,7 +5670,7 @@ public function updateENoteConfigurationWithHttpInfo($account_id, $e_note_config * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\AccountPasswordRules $account_password_rules (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\AccountPasswordRules */ public function updatePasswordRules($account_id, $account_password_rules = null) @@ -5648,7 +5686,7 @@ public function updatePasswordRules($account_id, $account_password_rules = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\AccountPasswordRules $account_password_rules (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\AccountPasswordRules, HTTP status code, HTTP response headers (array of strings) */ public function updatePasswordRulesWithHttpInfo($account_id, $account_password_rules = null) @@ -5731,7 +5769,7 @@ public function updatePasswordRulesWithHttpInfo($account_id, $account_password_r * @param string $permission_profile_id * @param \DocuSign\eSign\Model\PermissionProfile $permission_profile (optional) * @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\PermissionProfile */ public function updatePermissionProfile($account_id, $permission_profile_id, $permission_profile = null, AccountsApi\UpdatePermissionProfileOptions $options = null) @@ -5749,7 +5787,7 @@ public function updatePermissionProfile($account_id, $permission_profile_id, $pe * @param string $permission_profile_id * @param \DocuSign\eSign\Model\PermissionProfile $permission_profile (optional) * @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\PermissionProfile, HTTP status code, HTTP response headers (array of strings) */ public function updatePermissionProfileWithHttpInfo($account_id, $permission_profile_id, $permission_profile = null, AccountsApi\UpdatePermissionProfileOptions $options = null) @@ -5850,7 +5888,7 @@ public function updatePermissionProfileWithHttpInfo($account_id, $permission_pro * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\AccountSettingsInformation $account_settings_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function updateSettings($account_id, $account_settings_information = null) @@ -5866,7 +5904,7 @@ public function updateSettings($account_id, $account_settings_information = null * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\AccountSettingsInformation $account_settings_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 updateSettingsWithHttpInfo($account_id, $account_settings_information = null) @@ -5944,7 +5982,7 @@ public function updateSettingsWithHttpInfo($account_id, $account_settings_inform * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\AccountSharedAccess $account_shared_access (optional) * @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\AccountSharedAccess */ public function updateSharedAccess($account_id, $account_shared_access = null, AccountsApi\UpdateSharedAccessOptions $options = null) @@ -5961,7 +5999,7 @@ public function updateSharedAccess($account_id, $account_shared_access = null, A * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\AccountSharedAccess $account_shared_access (optional) * @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\AccountSharedAccess, HTTP status code, HTTP response headers (array of strings) */ public function updateSharedAccessWithHttpInfo($account_id, $account_shared_access = null, AccountsApi\UpdateSharedAccessOptions $options = null) @@ -6054,7 +6092,7 @@ public function updateSharedAccessWithHttpInfo($account_id, $account_shared_acce * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\Watermark $watermark (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Watermark */ public function updateWatermark($account_id, $watermark = null) @@ -6070,7 +6108,7 @@ public function updateWatermark($account_id, $watermark = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\Watermark $watermark (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Watermark, HTTP status code, HTTP response headers (array of strings) */ public function updateWatermarkWithHttpInfo($account_id, $watermark = null) diff --git a/src/Api/AuthenticationApi.php b/src/Api/AuthenticationApi.php index f4f02a61..f0879df4 100644 --- a/src/Api/AuthenticationApi.php +++ b/src/Api/AuthenticationApi.php @@ -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; @@ -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) @@ -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) @@ -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() @@ -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() @@ -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) @@ -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) @@ -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) @@ -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) @@ -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() @@ -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() @@ -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) @@ -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) @@ -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) @@ -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) diff --git a/src/Api/BillingApi.php b/src/Api/BillingApi.php index ce7ca328..4ad06017 100644 --- a/src/Api/BillingApi.php +++ b/src/Api/BillingApi.php @@ -245,7 +245,7 @@ public function setPreviewBillingPlan($preview_billing_plan) 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; @@ -309,7 +309,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * Get the billing plan details. * * @param string $billing_plan_id The ID of the billing plan being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BillingPlanResponse */ public function getBillingPlan($billing_plan_id) @@ -324,7 +324,7 @@ public function getBillingPlan($billing_plan_id) * Get the billing plan details. * * @param string $billing_plan_id The ID of the billing plan being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BillingPlanResponse, HTTP status code, HTTP response headers (array of strings) */ public function getBillingPlanWithHttpInfo($billing_plan_id) @@ -399,7 +399,7 @@ public function getBillingPlanWithHttpInfo($billing_plan_id) * Get metadata for a given credit card. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CreditCardInformation */ public function getCreditCardInfo($account_id) @@ -414,7 +414,7 @@ public function getCreditCardInfo($account_id) * Get metadata for a given credit card. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CreditCardInformation, HTTP status code, HTTP response headers (array of strings) */ public function getCreditCardInfoWithHttpInfo($account_id) @@ -490,7 +490,7 @@ public function getCreditCardInfoWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $invoice_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BillingInvoice */ public function getInvoice($account_id, $invoice_id) @@ -506,7 +506,7 @@ public function getInvoice($account_id, $invoice_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $invoice_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BillingInvoice, HTTP status code, HTTP response headers (array of strings) */ public function getInvoiceWithHttpInfo($account_id, $invoice_id) @@ -594,7 +594,7 @@ public function getInvoiceWithHttpInfo($account_id, $invoice_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $payment_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BillingPaymentItem */ public function getPayment($account_id, $payment_id) @@ -610,7 +610,7 @@ public function getPayment($account_id, $payment_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $payment_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BillingPaymentItem, HTTP status code, HTTP response headers (array of strings) */ public function getPaymentWithHttpInfo($account_id, $payment_id) @@ -698,7 +698,7 @@ public function getPaymentWithHttpInfo($account_id, $payment_id) * * @param string $account_id The external account number (int) or account ID Guid. * @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\AccountBillingPlanResponse */ public function getPlan($account_id, BillingApi\GetPlanOptions $options = null) @@ -714,7 +714,7 @@ public function getPlan($account_id, BillingApi\GetPlanOptions $options = null) * * @param string $account_id The external account number (int) or account ID Guid. * @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\AccountBillingPlanResponse, HTTP status code, HTTP response headers (array of strings) */ public function getPlanWithHttpInfo($account_id, BillingApi\GetPlanOptions $options = null) @@ -804,7 +804,7 @@ public function getPlanWithHttpInfo($account_id, BillingApi\GetPlanOptions $opti * * Gets the list of available billing plans. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BillingPlansResponse */ public function listBillingPlans() @@ -818,7 +818,7 @@ public function listBillingPlans() * * Gets the list of available billing plans. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BillingPlansResponse, HTTP status code, HTTP response headers (array of strings) */ public function listBillingPlansWithHttpInfo() @@ -882,7 +882,7 @@ public function listBillingPlansWithHttpInfo() * * @param string $account_id The external account number (int) or account ID Guid. * @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\BillingInvoicesResponse */ public function listInvoices($account_id, BillingApi\ListInvoicesOptions $options = null) @@ -898,7 +898,7 @@ public function listInvoices($account_id, BillingApi\ListInvoicesOptions $option * * @param string $account_id The external account number (int) or account ID Guid. * @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\BillingInvoicesResponse, HTTP status code, HTTP response headers (array of strings) */ public function listInvoicesWithHttpInfo($account_id, BillingApi\ListInvoicesOptions $options = null) @@ -985,7 +985,7 @@ public function listInvoicesWithHttpInfo($account_id, BillingApi\ListInvoicesOpt * Get a list of past due invoices. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BillingInvoicesSummary */ public function listInvoicesPastDue($account_id) @@ -1000,7 +1000,7 @@ public function listInvoicesPastDue($account_id) * Get a list of past due invoices. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BillingInvoicesSummary, HTTP status code, HTTP response headers (array of strings) */ public function listInvoicesPastDueWithHttpInfo($account_id) @@ -1076,7 +1076,7 @@ public function listInvoicesPastDueWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @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\BillingPaymentsResponse */ public function listPayments($account_id, BillingApi\ListPaymentsOptions $options = null) @@ -1092,7 +1092,7 @@ public function listPayments($account_id, BillingApi\ListPaymentsOptions $option * * @param string $account_id The external account number (int) or account ID Guid. * @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\BillingPaymentsResponse, HTTP status code, HTTP response headers (array of strings) */ public function listPaymentsWithHttpInfo($account_id, BillingApi\ListPaymentsOptions $options = null) @@ -1180,7 +1180,7 @@ public function listPaymentsWithHttpInfo($account_id, BillingApi\ListPaymentsOpt * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\BillingPaymentRequest $billing_payment_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BillingPaymentResponse */ public function makePayment($account_id, $billing_payment_request = null) @@ -1196,7 +1196,7 @@ public function makePayment($account_id, $billing_payment_request = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\BillingPaymentRequest $billing_payment_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BillingPaymentResponse, HTTP status code, HTTP response headers (array of strings) */ public function makePaymentWithHttpInfo($account_id, $billing_payment_request = null) @@ -1277,7 +1277,7 @@ public function makePaymentWithHttpInfo($account_id, $billing_payment_request = * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\PurchasedEnvelopesInformation $purchased_envelopes_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function purchaseEnvelopes($account_id, $purchased_envelopes_information = null) @@ -1293,7 +1293,7 @@ public function purchaseEnvelopes($account_id, $purchased_envelopes_information * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\PurchasedEnvelopesInformation $purchased_envelopes_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 purchaseEnvelopesWithHttpInfo($account_id, $purchased_envelopes_information = null) @@ -1371,7 +1371,7 @@ public function purchaseEnvelopesWithHttpInfo($account_id, $purchased_envelopes_ * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\BillingPlanInformation $billing_plan_information (optional) * @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\BillingPlanUpdateResponse */ public function updatePlan($account_id, $billing_plan_information = null, BillingApi\UpdatePlanOptions $options = null) @@ -1388,7 +1388,7 @@ public function updatePlan($account_id, $billing_plan_information = null, Billin * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\BillingPlanInformation $billing_plan_information (optional) * @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\BillingPlanUpdateResponse, HTTP status code, HTTP response headers (array of strings) */ public function updatePlanWithHttpInfo($account_id, $billing_plan_information = null, BillingApi\UpdatePlanOptions $options = null) diff --git a/src/Api/BulkEnvelopesApi.php b/src/Api/BulkEnvelopesApi.php index 74ce24f8..8ed731d7 100644 --- a/src/Api/BulkEnvelopesApi.php +++ b/src/Api/BulkEnvelopesApi.php @@ -134,7 +134,7 @@ public function setCount($count) return $this; } /** - * $include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status. + * $include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=\"failed,queued\") Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent - This only returns entries with a sent status. * @var string */ protected $include; @@ -150,7 +150,7 @@ public function getInclude() /** * Sets include - * @param string $include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status. + * @param string $include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=\"failed,queued\") Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent - This only returns entries with a sent status. * @return $this */ public function setInclude($include) @@ -242,7 +242,7 @@ public function setStartPosition($start_position) 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; @@ -307,7 +307,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @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\BulkEnvelopesResponse */ public function callList($account_id, BulkEnvelopesApi\ListOptions $options = null) @@ -323,7 +323,7 @@ public function callList($account_id, BulkEnvelopesApi\ListOptions $options = nu * * @param string $account_id The external account number (int) or account ID Guid. * @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\BulkEnvelopesResponse, HTTP status code, HTTP response headers (array of strings) */ public function callListWithHttpInfo($account_id, BulkEnvelopesApi\ListOptions $options = null) @@ -416,7 +416,7 @@ public function callListWithHttpInfo($account_id, BulkEnvelopesApi\ListOptions $ * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BulkRecipientsUpdateResponse */ public function deleteRecipients($account_id, $envelope_id, $recipient_id) @@ -433,7 +433,7 @@ public function deleteRecipients($account_id, $envelope_id, $recipient_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BulkRecipientsUpdateResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_id) @@ -534,7 +534,7 @@ public function deleteRecipientsWithHttpInfo($account_id, $envelope_id, $recipie * @param string $account_id The external account number (int) or account ID Guid. * @param string $batch_id * @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\BulkEnvelopeStatus */ public function get($account_id, $batch_id, BulkEnvelopesApi\GetOptions $options = null) @@ -551,7 +551,7 @@ public function get($account_id, $batch_id, BulkEnvelopesApi\GetOptions $options * @param string $account_id The external account number (int) or account ID Guid. * @param string $batch_id * @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\BulkEnvelopeStatus, HTTP status code, HTTP response headers (array of strings) */ public function getWithHttpInfo($account_id, $batch_id, BulkEnvelopesApi\GetOptions $options = null) @@ -657,7 +657,7 @@ public function getWithHttpInfo($account_id, $batch_id, BulkEnvelopesApi\GetOpti * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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\BulkRecipientsResponse */ public function getRecipients($account_id, $envelope_id, $recipient_id, BulkEnvelopesApi\GetRecipientsOptions $options = null) @@ -675,7 +675,7 @@ public function getRecipients($account_id, $envelope_id, $recipient_id, BulkEnve * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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\BulkRecipientsResponse, HTTP status code, HTTP response headers (array of strings) */ public function getRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_id, BulkEnvelopesApi\GetRecipientsOptions $options = null) @@ -785,14 +785,14 @@ public function getRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_ * * Adds or replaces envelope bulk recipients. * - * @param string $account_id The external account number (int) or account ID Guid. - * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @param string $recipient_id The ID of the recipient being accessed. - * @param \DocuSign\eSign\Model\BulkRecipientsRequest $bulk_recipients_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @param string $account_id The external account number (int) or account id GUID. + * @param string $envelope_id The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec + * @param string $recipient_id The `recipientId` used when the envelope or template was created. + * @param string $bulk_recipients_request (required) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BulkRecipientsSummaryResponse */ - public function updateRecipients($account_id, $envelope_id, $recipient_id, $bulk_recipients_request = null) + public function updateRecipients($account_id, $envelope_id, $recipient_id, $bulk_recipients_request) { list($response) = $this->updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_id, $bulk_recipients_request); return $response; @@ -803,14 +803,14 @@ public function updateRecipients($account_id, $envelope_id, $recipient_id, $bulk * * Adds or replaces envelope bulk recipients. * - * @param string $account_id The external account number (int) or account ID Guid. - * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @param string $recipient_id The ID of the recipient being accessed. - * @param \DocuSign\eSign\Model\BulkRecipientsRequest $bulk_recipients_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @param string $account_id The external account number (int) or account id GUID. + * @param string $envelope_id The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec + * @param string $recipient_id The `recipientId` used when the envelope or template was created. + * @param string $bulk_recipients_request (required) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BulkRecipientsSummaryResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_id, $bulk_recipients_request = null) + public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_id, $bulk_recipients_request) { // verify the required parameter 'account_id' is set if ($account_id === null) { @@ -824,6 +824,10 @@ public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipie if ($recipient_id === null) { throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling updateRecipients'); } + // verify the required parameter 'bulk_recipients_request' is set + if ($bulk_recipients_request === null) { + throw new \InvalidArgumentException('Missing the required parameter $bulk_recipients_request when calling updateRecipients'); + } // parse inputs $resourcePath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients"; $httpBody = ''; diff --git a/src/Api/CloudStorageApi.php b/src/Api/CloudStorageApi.php index a95a8c7a..c587790c 100644 --- a/src/Api/CloudStorageApi.php +++ b/src/Api/CloudStorageApi.php @@ -395,7 +395,7 @@ public function setRedirectUrl($redirect_url) 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; @@ -463,7 +463,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * @param string $service_id The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). * @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 $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\ExternalFolder */ public function callList($account_id, $folder_id, $service_id, $user_id, CloudStorageApi\ListOptions $options = null) @@ -482,7 +482,7 @@ public function callList($account_id, $folder_id, $service_id, $user_id, CloudSt * @param string $service_id The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). * @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 $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\ExternalFolder, HTTP status code, HTTP response headers (array of strings) */ public function callListWithHttpInfo($account_id, $folder_id, $service_id, $user_id, CloudStorageApi\ListOptions $options = null) @@ -623,7 +623,7 @@ public function callListWithHttpInfo($account_id, $folder_id, $service_id, $user * @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\CloudStorageProviders $cloud_storage_providers (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CloudStorageProviders */ public function createProvider($account_id, $user_id, $cloud_storage_providers = null) @@ -640,7 +640,7 @@ public function createProvider($account_id, $user_id, $cloud_storage_providers = * @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\CloudStorageProviders $cloud_storage_providers (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CloudStorageProviders, HTTP status code, HTTP response headers (array of strings) */ public function createProviderWithHttpInfo($account_id, $user_id, $cloud_storage_providers = null) @@ -734,7 +734,7 @@ public function createProviderWithHttpInfo($account_id, $user_id, $cloud_storage * @param string $account_id The external account number (int) or account ID Guid. * @param string $service_id The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). * @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\CloudStorageProviders */ public function deleteProvider($account_id, $service_id, $user_id) @@ -751,7 +751,7 @@ public function deleteProvider($account_id, $service_id, $user_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $service_id The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). * @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\CloudStorageProviders, HTTP status code, HTTP response headers (array of strings) */ public function deleteProviderWithHttpInfo($account_id, $service_id, $user_id) @@ -852,7 +852,7 @@ public function deleteProviderWithHttpInfo($account_id, $service_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. * @param \DocuSign\eSign\Model\CloudStorageProviders $cloud_storage_providers (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CloudStorageProviders */ public function deleteProviders($account_id, $user_id, $cloud_storage_providers = null) @@ -869,7 +869,7 @@ public function deleteProviders($account_id, $user_id, $cloud_storage_providers * @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\CloudStorageProviders $cloud_storage_providers (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CloudStorageProviders, HTTP status code, HTTP response headers (array of strings) */ public function deleteProvidersWithHttpInfo($account_id, $user_id, $cloud_storage_providers = null) @@ -964,7 +964,7 @@ public function deleteProvidersWithHttpInfo($account_id, $user_id, $cloud_storag * @param string $service_id The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). * @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 $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\CloudStorageProviders */ public function getProvider($account_id, $service_id, $user_id, CloudStorageApi\GetProviderOptions $options = null) @@ -982,7 +982,7 @@ public function getProvider($account_id, $service_id, $user_id, CloudStorageApi\ * @param string $service_id The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). * @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 $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\CloudStorageProviders, HTTP status code, HTTP response headers (array of strings) */ public function getProviderWithHttpInfo($account_id, $service_id, $user_id, CloudStorageApi\GetProviderOptions $options = null) @@ -1092,7 +1092,7 @@ public function getProviderWithHttpInfo($account_id, $service_id, $user_id, Clou * @param string $service_id The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). * @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 $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\ExternalFolder */ public function listFolders($account_id, $service_id, $user_id, CloudStorageApi\ListFoldersOptions $options = null) @@ -1110,7 +1110,7 @@ public function listFolders($account_id, $service_id, $user_id, CloudStorageApi\ * @param string $service_id The ID of the service to access. Valid values are the service name (\"Box\") or the numerical serviceId (\"4136\"). * @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 $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\ExternalFolder, HTTP status code, HTTP response headers (array of strings) */ public function listFoldersWithHttpInfo($account_id, $service_id, $user_id, CloudStorageApi\ListFoldersOptions $options = null) @@ -1239,7 +1239,7 @@ public function listFoldersWithHttpInfo($account_id, $service_id, $user_id, Clou * @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 $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\CloudStorageProviders */ public function listProviders($account_id, $user_id, CloudStorageApi\ListProvidersOptions $options = null) @@ -1256,7 +1256,7 @@ public function listProviders($account_id, $user_id, CloudStorageApi\ListProvide * @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 $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\CloudStorageProviders, HTTP status code, HTTP response headers (array of strings) */ public function listProvidersWithHttpInfo($account_id, $user_id, CloudStorageApi\ListProvidersOptions $options = null) diff --git a/src/Api/CommentsApi.php b/src/Api/CommentsApi.php index 67086bde..c5d65b0a 100644 --- a/src/Api/CommentsApi.php +++ b/src/Api/CommentsApi.php @@ -61,7 +61,7 @@ public function setEncoding($encoding) 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; @@ -127,7 +127,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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 \SplFileObject */ public function getCommentsTranscript($account_id, $envelope_id, CommentsApi\GetCommentsTranscriptOptions $options = null) @@ -144,7 +144,7 @@ public function getCommentsTranscript($account_id, $envelope_id, CommentsApi\Get * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getCommentsTranscriptWithHttpInfo($account_id, $envelope_id, CommentsApi\GetCommentsTranscriptOptions $options = null) diff --git a/src/Api/ConnectApi.php b/src/Api/ConnectApi.php index 8e2c5858..012e80d2 100644 --- a/src/Api/ConnectApi.php +++ b/src/Api/ConnectApi.php @@ -320,7 +320,7 @@ public function setUserNameSubstring($user_name_substring) 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; @@ -385,7 +385,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ConnectCustomConfiguration $connect_custom_configuration (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ConnectCustomConfiguration */ public function createConfiguration($account_id, $connect_custom_configuration = null) @@ -401,7 +401,7 @@ public function createConfiguration($account_id, $connect_custom_configuration = * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ConnectCustomConfiguration $connect_custom_configuration (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ConnectCustomConfiguration, HTTP status code, HTTP response headers (array of strings) */ public function createConfigurationWithHttpInfo($account_id, $connect_custom_configuration = null) @@ -475,6 +475,92 @@ public function createConfigurationWithHttpInfo($account_id, $connect_custom_con } } + /** + * Operation createConnectSecret + * + * Generates a new connect HMAC Secret. + * + * @param string $account_id The external account number (int) or account ID Guid. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function createConnectSecret($account_id) + { + list($response) = $this->createConnectSecretWithHttpInfo($account_id); + return $response; + } + + /** + * Operation createConnectSecretWithHttpInfo + * + * Generates a new connect HMAC Secret. + * + * @param string $account_id The external account number (int) or account ID Guid. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function createConnectSecretWithHttpInfo($account_id) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling createConnectSecret'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/connect/secret"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'POST', + $queryParams, + $httpBody, + $headerParams, + null, + '/v2/accounts/{accountId}/connect/secret' + ); + + return [null, $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + /** * Operation deleteConfiguration * @@ -482,7 +568,7 @@ public function createConfigurationWithHttpInfo($account_id, $connect_custom_con * * @param string $account_id The external account number (int) or account ID Guid. * @param string $connect_id The ID of the custom Connect configuration being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteConfiguration($account_id, $connect_id) @@ -498,7 +584,7 @@ public function deleteConfiguration($account_id, $connect_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $connect_id The ID of the custom Connect configuration being accessed. - * @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 deleteConfigurationWithHttpInfo($account_id, $connect_id) @@ -575,6 +661,106 @@ public function deleteConfigurationWithHttpInfo($account_id, $connect_id) } } + /** + * Operation deleteConnectSecret + * + * Delete the connect HMAC Secret for AccountID + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param string $key_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function deleteConnectSecret($account_id, $key_id) + { + list($response) = $this->deleteConnectSecretWithHttpInfo($account_id, $key_id); + return $response; + } + + /** + * Operation deleteConnectSecretWithHttpInfo + * + * Delete the connect HMAC Secret for AccountID + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param string $key_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function deleteConnectSecretWithHttpInfo($account_id, $key_id) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling deleteConnectSecret'); + } + // verify the required parameter 'key_id' is set + if ($key_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $key_id when calling deleteConnectSecret'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/connect/secret/{keyId}/delete"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // path params + if ($key_id !== null) { + $resourcePath = str_replace( + "{" . "keyId" . "}", + $this->apiClient->getSerializer()->toPathValue($key_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'DELETE', + $queryParams, + $httpBody, + $headerParams, + null, + '/v2/accounts/{accountId}/connect/secret/{keyId}/delete' + ); + + return [null, $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + /** * Operation deleteEventFailureLog * @@ -582,7 +768,7 @@ public function deleteConfigurationWithHttpInfo($account_id, $connect_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $failure_id The ID of the failed connect log entry. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteEventFailureLog($account_id, $failure_id) @@ -598,7 +784,7 @@ public function deleteEventFailureLog($account_id, $failure_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $failure_id The ID of the failed connect log entry. - * @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 deleteEventFailureLogWithHttpInfo($account_id, $failure_id) @@ -682,7 +868,7 @@ public function deleteEventFailureLogWithHttpInfo($account_id, $failure_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $log_id The ID of the connect log entry - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteEventLog($account_id, $log_id) @@ -698,7 +884,7 @@ public function deleteEventLog($account_id, $log_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $log_id The ID of the connect log entry - * @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 deleteEventLogWithHttpInfo($account_id, $log_id) @@ -781,7 +967,7 @@ public function deleteEventLogWithHttpInfo($account_id, $log_id) * Gets a list of Connect log entries. * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteEventLogs($account_id) @@ -796,7 +982,7 @@ public function deleteEventLogs($account_id) * Gets a list of Connect log entries. * * @param string $account_id The external account number (int) or account ID Guid. - * @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 deleteEventLogsWithHttpInfo($account_id) @@ -861,6 +1047,189 @@ public function deleteEventLogsWithHttpInfo($account_id) } } + /** + * Operation deleteMobileNotifiers + * + * Reserved + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param \DocuSign\eSign\Model\MobileNotifierConfigurationInformation $mobile_notifier_configuration_information (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\MobileNotifierConfigurationInformation + */ + public function deleteMobileNotifiers($account_id, $mobile_notifier_configuration_information = null) + { + list($response) = $this->deleteMobileNotifiersWithHttpInfo($account_id, $mobile_notifier_configuration_information); + return $response; + } + + /** + * Operation deleteMobileNotifiersWithHttpInfo + * + * Reserved + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param \DocuSign\eSign\Model\MobileNotifierConfigurationInformation $mobile_notifier_configuration_information (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\MobileNotifierConfigurationInformation, HTTP status code, HTTP response headers (array of strings) + */ + public function deleteMobileNotifiersWithHttpInfo($account_id, $mobile_notifier_configuration_information = null) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling deleteMobileNotifiers'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/connect/mobile_notifiers"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + // body params + $_tempBody = null; + if (isset($mobile_notifier_configuration_information)) { + $_tempBody = $mobile_notifier_configuration_information; + } + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'DELETE', + $queryParams, + $httpBody, + $headerParams, + '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', + '/v2/accounts/{accountId}/connect/mobile_notifiers' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + + /** + * Operation generateConnectSecret + * + * Generates a new connect HMAC Secret. + * + * @param string $account_id The external account number (int) or account ID Guid. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function generateConnectSecret($account_id) + { + list($response) = $this->generateConnectSecretWithHttpInfo($account_id); + return $response; + } + + /** + * Operation generateConnectSecretWithHttpInfo + * + * Generates a new connect HMAC Secret. + * + * @param string $account_id The external account number (int) or account ID Guid. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function generateConnectSecretWithHttpInfo($account_id) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling generateConnectSecret'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/connect/secret"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'GET', + $queryParams, + $httpBody, + $headerParams, + null, + '/v2/accounts/{accountId}/connect/secret' + ); + + return [null, $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + /** * Operation getConfiguration * @@ -868,7 +1237,7 @@ public function deleteEventLogsWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $connect_id The ID of the custom Connect configuration being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ConnectConfigResults */ public function getConfiguration($account_id, $connect_id) @@ -884,7 +1253,7 @@ public function getConfiguration($account_id, $connect_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $connect_id The ID of the custom Connect configuration being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ConnectConfigResults, HTTP status code, HTTP response headers (array of strings) */ public function getConfigurationWithHttpInfo($account_id, $connect_id) @@ -898,7 +1267,105 @@ public function getConfigurationWithHttpInfo($account_id, $connect_id) throw new \InvalidArgumentException('Missing the required parameter $connect_id when calling getConfiguration'); } // parse inputs - $resourcePath = "/v2/accounts/{accountId}/connect/{connectId}"; + $resourcePath = "/v2/accounts/{accountId}/connect/{connectId}"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // path params + if ($connect_id !== null) { + $resourcePath = str_replace( + "{" . "connectId" . "}", + $this->apiClient->getSerializer()->toPathValue($connect_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'GET', + $queryParams, + $httpBody, + $headerParams, + '\DocuSign\eSign\Model\ConnectConfigResults', + '/v2/accounts/{accountId}/connect/{connectId}' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ConnectConfigResults', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ConnectConfigResults', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + + /** + * Operation getConnectSecrets + * + * Get the connect HMAC Secrets for AccountID + * + * @param string $account_id The external account number (int) or account ID Guid. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function getConnectSecrets($account_id) + { + list($response) = $this->getConnectSecretsWithHttpInfo($account_id); + return $response; + } + + /** + * Operation getConnectSecretsWithHttpInfo + * + * Get the connect HMAC Secrets for AccountID + * + * @param string $account_id The external account number (int) or account ID Guid. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function getConnectSecretsWithHttpInfo($account_id) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getConnectSecrets'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/connect/secrets"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -918,14 +1385,6 @@ public function getConfigurationWithHttpInfo($account_id, $connect_id) $resourcePath ); } - // path params - if ($connect_id !== null) { - $resourcePath = str_replace( - "{" . "connectId" . "}", - $this->apiClient->getSerializer()->toPathValue($connect_id), - $resourcePath - ); - } // default format to json $resourcePath = str_replace("{format}", "json", $resourcePath); @@ -944,17 +1403,13 @@ public function getConfigurationWithHttpInfo($account_id, $connect_id) $queryParams, $httpBody, $headerParams, - '\DocuSign\eSign\Model\ConnectConfigResults', - '/v2/accounts/{accountId}/connect/{connectId}' + null, + '/v2/accounts/{accountId}/connect/secrets' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ConnectConfigResults', $httpHeader), $statusCode, $httpHeader]; + return [null, $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ConnectConfigResults', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; case 400: $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); $e->setResponseObject($data); @@ -973,7 +1428,7 @@ public function getConfigurationWithHttpInfo($account_id, $connect_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $log_id The ID of the connect log entry * @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\ConnectLog */ public function getEventLog($account_id, $log_id, ConnectApi\GetEventLogOptions $options = null) @@ -990,7 +1445,7 @@ public function getEventLog($account_id, $log_id, ConnectApi\GetEventLogOptions * @param string $account_id The external account number (int) or account ID Guid. * @param string $log_id The ID of the connect log entry * @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\ConnectLog, HTTP status code, HTTP response headers (array of strings) */ public function getEventLogWithHttpInfo($account_id, $log_id, ConnectApi\GetEventLogOptions $options = null) @@ -1085,7 +1540,7 @@ public function getEventLogWithHttpInfo($account_id, $log_id, ConnectApi\GetEven * Get Connect Configuration Information * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ConnectConfigResults */ public function listConfigurations($account_id) @@ -1100,7 +1555,7 @@ public function listConfigurations($account_id) * Get Connect Configuration Information * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ConnectConfigResults, HTTP status code, HTTP response headers (array of strings) */ public function listConfigurationsWithHttpInfo($account_id) @@ -1176,7 +1631,7 @@ public function listConfigurationsWithHttpInfo($account_id) * * @param string $account_id The external account number (int) or account ID Guid. * @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\ConnectLogs */ public function listEventFailureLogs($account_id, ConnectApi\ListEventFailureLogsOptions $options = null) @@ -1192,7 +1647,7 @@ public function listEventFailureLogs($account_id, ConnectApi\ListEventFailureLog * * @param string $account_id The external account number (int) or account ID Guid. * @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\ConnectLogs, HTTP status code, HTTP response headers (array of strings) */ public function listEventFailureLogsWithHttpInfo($account_id, ConnectApi\ListEventFailureLogsOptions $options = null) @@ -1280,7 +1735,7 @@ public function listEventFailureLogsWithHttpInfo($account_id, ConnectApi\ListEve * * @param string $account_id The external account number (int) or account ID Guid. * @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\ConnectLogs */ public function listEventLogs($account_id, ConnectApi\ListEventLogsOptions $options = null) @@ -1296,7 +1751,7 @@ public function listEventLogs($account_id, ConnectApi\ListEventLogsOptions $opti * * @param string $account_id The external account number (int) or account ID Guid. * @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\ConnectLogs, HTTP status code, HTTP response headers (array of strings) */ public function listEventLogsWithHttpInfo($account_id, ConnectApi\ListEventLogsOptions $options = null) @@ -1377,6 +1832,200 @@ public function listEventLogsWithHttpInfo($account_id, ConnectApi\ListEventLogsO } } + /** + * Operation listMobileNotifiers + * + * Reserved + * + * @param string $account_id The external account number (int) or account ID Guid. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\MobileNotifierConfigurationInformation + */ + public function listMobileNotifiers($account_id) + { + list($response) = $this->listMobileNotifiersWithHttpInfo($account_id); + return $response; + } + + /** + * Operation listMobileNotifiersWithHttpInfo + * + * Reserved + * + * @param string $account_id The external account number (int) or account ID Guid. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\MobileNotifierConfigurationInformation, HTTP status code, HTTP response headers (array of strings) + */ + public function listMobileNotifiersWithHttpInfo($account_id) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling listMobileNotifiers'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/connect/mobile_notifiers"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'GET', + $queryParams, + $httpBody, + $headerParams, + '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', + '/v2/accounts/{accountId}/connect/mobile_notifiers' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + + /** + * Operation listTests + * + * Test connect configuration. + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param string $connect_id The ID of the custom Connect configuration being accessed. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\ResourceInformation + */ + public function listTests($account_id, $connect_id) + { + list($response) = $this->listTestsWithHttpInfo($account_id, $connect_id); + return $response; + } + + /** + * Operation listTestsWithHttpInfo + * + * Test connect configuration. + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param string $connect_id The ID of the custom Connect configuration being accessed. + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\ResourceInformation, HTTP status code, HTTP response headers (array of strings) + */ + public function listTestsWithHttpInfo($account_id, $connect_id) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling listTests'); + } + // verify the required parameter 'connect_id' is set + if ($connect_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $connect_id when calling listTests'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/connect/{connectId}/tests"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // path params + if ($connect_id !== null) { + $resourcePath = str_replace( + "{" . "connectId" . "}", + $this->apiClient->getSerializer()->toPathValue($connect_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'GET', + $queryParams, + $httpBody, + $headerParams, + '\DocuSign\eSign\Model\ResourceInformation', + '/v2/accounts/{accountId}/connect/{connectId}/tests' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ResourceInformation', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ResourceInformation', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + /** * Operation listUsers * @@ -1385,7 +2034,7 @@ public function listEventLogsWithHttpInfo($account_id, ConnectApi\ListEventLogsO * @param string $account_id The external account number (int) or account ID Guid. * @param string $connect_id The ID of the custom Connect configuration being accessed. * @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\IntegratedUserInfoList */ public function listUsers($account_id, $connect_id, ConnectApi\ListUsersOptions $options = null) @@ -1402,7 +2051,7 @@ public function listUsers($account_id, $connect_id, ConnectApi\ListUsersOptions * @param string $account_id The external account number (int) or account ID Guid. * @param string $connect_id The ID of the custom Connect configuration being accessed. * @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\IntegratedUserInfoList, HTTP status code, HTTP response headers (array of strings) */ public function listUsersWithHttpInfo($account_id, $connect_id, ConnectApi\ListUsersOptions $options = null) @@ -1518,7 +2167,7 @@ public function listUsersWithHttpInfo($account_id, $connect_id, ConnectApi\ListU * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ConnectFailureResults */ public function retryEventForEnvelope($account_id, $envelope_id) @@ -1534,7 +2183,7 @@ public function retryEventForEnvelope($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ConnectFailureResults, HTTP status code, HTTP response headers (array of strings) */ public function retryEventForEnvelopeWithHttpInfo($account_id, $envelope_id) @@ -1622,7 +2271,7 @@ public function retryEventForEnvelopeWithHttpInfo($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ConnectFailureFilter $connect_failure_filter (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ConnectFailureResults */ public function retryEventForEnvelopes($account_id, $connect_failure_filter = null) @@ -1638,7 +2287,7 @@ public function retryEventForEnvelopes($account_id, $connect_failure_filter = nu * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ConnectFailureFilter $connect_failure_filter (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ConnectFailureResults, HTTP status code, HTTP response headers (array of strings) */ public function retryEventForEnvelopesWithHttpInfo($account_id, $connect_failure_filter = null) @@ -1719,7 +2368,7 @@ public function retryEventForEnvelopesWithHttpInfo($account_id, $connect_failure * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ConnectCustomConfiguration $connect_custom_configuration (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ConnectCustomConfiguration */ public function updateConfiguration($account_id, $connect_custom_configuration = null) @@ -1735,7 +2384,7 @@ public function updateConfiguration($account_id, $connect_custom_configuration = * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ConnectCustomConfiguration $connect_custom_configuration (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ConnectCustomConfiguration, HTTP status code, HTTP response headers (array of strings) */ public function updateConfigurationWithHttpInfo($account_id, $connect_custom_configuration = null) @@ -1808,4 +2457,101 @@ public function updateConfigurationWithHttpInfo($account_id, $connect_custom_con throw $e; } } + + /** + * Operation updateMobileNotifiers + * + * Reserved + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param \DocuSign\eSign\Model\MobileNotifierConfigurationInformation $mobile_notifier_configuration_information (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\MobileNotifierConfigurationInformation + */ + public function updateMobileNotifiers($account_id, $mobile_notifier_configuration_information = null) + { + list($response) = $this->updateMobileNotifiersWithHttpInfo($account_id, $mobile_notifier_configuration_information); + return $response; + } + + /** + * Operation updateMobileNotifiersWithHttpInfo + * + * Reserved + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param \DocuSign\eSign\Model\MobileNotifierConfigurationInformation $mobile_notifier_configuration_information (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\MobileNotifierConfigurationInformation, HTTP status code, HTTP response headers (array of strings) + */ + public function updateMobileNotifiersWithHttpInfo($account_id, $mobile_notifier_configuration_information = null) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateMobileNotifiers'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/connect/mobile_notifiers"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + // body params + $_tempBody = null; + if (isset($mobile_notifier_configuration_information)) { + $_tempBody = $mobile_notifier_configuration_information; + } + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'PUT', + $queryParams, + $httpBody, + $headerParams, + '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', + '/v2/accounts/{accountId}/connect/mobile_notifiers' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\MobileNotifierConfigurationInformation', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } } diff --git a/src/Api/CustomTabsApi.php b/src/Api/CustomTabsApi.php index 8b1ae640..2bf19b02 100644 --- a/src/Api/CustomTabsApi.php +++ b/src/Api/CustomTabsApi.php @@ -61,7 +61,7 @@ public function setCustomTabOnly($custom_tab_only) 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; @@ -126,7 +126,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @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\TabMetadataList */ public function callList($account_id, CustomTabsApi\ListOptions $options = null) @@ -142,7 +142,7 @@ public function callList($account_id, CustomTabsApi\ListOptions $options = null) * * @param string $account_id The external account number (int) or account ID Guid. * @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\TabMetadataList, HTTP status code, HTTP response headers (array of strings) */ public function callListWithHttpInfo($account_id, CustomTabsApi\ListOptions $options = null) @@ -226,7 +226,7 @@ public function callListWithHttpInfo($account_id, CustomTabsApi\ListOptions $opt * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\TabMetadata $tab_metadata (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TabMetadata */ public function create($account_id, $tab_metadata = null) @@ -242,7 +242,7 @@ public function create($account_id, $tab_metadata = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\TabMetadata $tab_metadata (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TabMetadata, HTTP status code, HTTP response headers (array of strings) */ public function createWithHttpInfo($account_id, $tab_metadata = null) @@ -323,7 +323,7 @@ public function createWithHttpInfo($account_id, $tab_metadata = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $custom_tab_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function delete($account_id, $custom_tab_id) @@ -339,7 +339,7 @@ public function delete($account_id, $custom_tab_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $custom_tab_id - * @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 deleteWithHttpInfo($account_id, $custom_tab_id) @@ -423,7 +423,7 @@ public function deleteWithHttpInfo($account_id, $custom_tab_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $custom_tab_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TabMetadata */ public function get($account_id, $custom_tab_id) @@ -439,7 +439,7 @@ public function get($account_id, $custom_tab_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $custom_tab_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TabMetadata, HTTP status code, HTTP response headers (array of strings) */ public function getWithHttpInfo($account_id, $custom_tab_id) @@ -528,7 +528,7 @@ public function getWithHttpInfo($account_id, $custom_tab_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $custom_tab_id * @param \DocuSign\eSign\Model\TabMetadata $tab_metadata (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TabMetadata */ public function update($account_id, $custom_tab_id, $tab_metadata = null) @@ -545,7 +545,7 @@ public function update($account_id, $custom_tab_id, $tab_metadata = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $custom_tab_id * @param \DocuSign\eSign\Model\TabMetadata $tab_metadata (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TabMetadata, HTTP status code, HTTP response headers (array of strings) */ public function updateWithHttpInfo($account_id, $custom_tab_id, $tab_metadata = null) diff --git a/src/Api/DiagnosticsApi.php b/src/Api/DiagnosticsApi.php index eaff5560..297ac41c 100644 --- a/src/Api/DiagnosticsApi.php +++ b/src/Api/DiagnosticsApi.php @@ -61,7 +61,7 @@ public function setEncoding($encoding) 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; @@ -124,7 +124,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * Deletes the request log files. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteRequestLogs() @@ -138,7 +138,7 @@ public function deleteRequestLogs() * * Deletes the request log files. * - * @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 deleteRequestLogsWithHttpInfo() @@ -197,7 +197,7 @@ public function deleteRequestLogsWithHttpInfo() * Gets a request logging log file. * * @param string $request_log_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \SplFileObject */ public function getRequestLog($request_log_id) @@ -212,7 +212,7 @@ public function getRequestLog($request_log_id) * Gets a request logging log file. * * @param string $request_log_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getRequestLogWithHttpInfo($request_log_id) @@ -286,7 +286,7 @@ public function getRequestLogWithHttpInfo($request_log_id) * * Gets the API request logging settings. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DiagnosticsSettingsInformation */ public function getRequestLogSettings() @@ -300,7 +300,7 @@ public function getRequestLogSettings() * * Gets the API request logging settings. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DiagnosticsSettingsInformation, HTTP status code, HTTP response headers (array of strings) */ public function getRequestLogSettingsWithHttpInfo() @@ -362,7 +362,7 @@ public function getRequestLogSettingsWithHttpInfo() * * Lists resources for REST version specified * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ResourceInformation */ public function getResources() @@ -376,7 +376,7 @@ public function getResources() * * Lists resources for REST version specified * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ResourceInformation, HTTP status code, HTTP response headers (array of strings) */ public function getResourcesWithHttpInfo() @@ -438,7 +438,7 @@ public function getResourcesWithHttpInfo() * * Retrieves the available REST API versions. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ServiceInformation */ public function getService() @@ -452,7 +452,7 @@ public function getService() * * Retrieves the available REST API versions. * - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ServiceInformation, HTTP status code, HTTP response headers (array of strings) */ public function getServiceWithHttpInfo() @@ -515,7 +515,7 @@ public function getServiceWithHttpInfo() * Gets the API request logging log files. * * @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\ApiRequestLogsResult */ public function listRequestLogs(DiagnosticsApi\ListRequestLogsOptions $options = null) @@ -530,7 +530,7 @@ public function listRequestLogs(DiagnosticsApi\ListRequestLogsOptions $options = * Gets the API request logging log files. * * @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\ApiRequestLogsResult, HTTP status code, HTTP response headers (array of strings) */ public function listRequestLogsWithHttpInfo(DiagnosticsApi\ListRequestLogsOptions $options = null) @@ -601,7 +601,7 @@ public function listRequestLogsWithHttpInfo(DiagnosticsApi\ListRequestLogsOption * Enables or disables API request logging for troubleshooting. * * @param \DocuSign\eSign\Model\DiagnosticsSettingsInformation $diagnostics_settings_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DiagnosticsSettingsInformation */ public function updateRequestLogSettings($diagnostics_settings_information = null) @@ -616,7 +616,7 @@ public function updateRequestLogSettings($diagnostics_settings_information = nul * Enables or disables API request logging for troubleshooting. * * @param \DocuSign\eSign\Model\DiagnosticsSettingsInformation $diagnostics_settings_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DiagnosticsSettingsInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateRequestLogSettingsWithHttpInfo($diagnostics_settings_information = null) diff --git a/src/Api/EnvelopesApi.php b/src/Api/EnvelopesApi.php index fd4c4469..ddc8c8fe 100644 --- a/src/Api/EnvelopesApi.php +++ b/src/Api/EnvelopesApi.php @@ -130,6 +130,31 @@ public function setMergeRolesOnDraft($merge_roles_on_draft) $this->merge_roles_on_draft = $merge_roles_on_draft; return $this; } + /** + * $tab_label_exact_matches + * @var string + */ + protected $tab_label_exact_matches; + + /** + * Gets tab_label_exact_matches + * @return string + */ + public function getTabLabelExactMatches() + { + return $this->tab_label_exact_matches; + } + + /** + * Sets tab_label_exact_matches + * @param string $tab_label_exact_matches + * @return $this + */ + public function setTabLabelExactMatches($tab_label_exact_matches) + { + $this->tab_label_exact_matches = $tab_label_exact_matches; + return $this; + } } class CreateRecipientOptions { @@ -187,6 +212,34 @@ public function setInclude($include) return $this; } } +class GetCommentsTranscriptOptions +{ + /** + * $encoding + * @var string + */ + protected $encoding; + + /** + * Gets encoding + * @return string + */ + public function getEncoding() + { + return $this->encoding; + } + + /** + * Sets encoding + * @param string $encoding + * @return $this + */ + public function setEncoding($encoding) + { + $this->encoding = $encoding; + return $this; + } +} class GetConsumerDisclosureOptions { /** @@ -839,6 +892,34 @@ public function setIncludeChrome($include_chrome) return $this; } } +class ListDocumentsOptions +{ + /** + * $include_document_size + * @var string + */ + protected $include_document_size; + + /** + * Gets include_document_size + * @return string + */ + public function getIncludeDocumentSize() + { + return $this->include_document_size; + } + + /** + * Sets include_document_size + * @param string $include_document_size + * @return $this + */ + public function setIncludeDocumentSize($include_document_size) + { + $this->include_document_size = $include_document_size; + return $this; + } +} class ListRecipientsOptions { /** @@ -1877,7 +1958,7 @@ public function setResendEnvelope($resend_envelope) 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; @@ -1943,7 +2024,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentTemplateList $document_template_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentTemplateList */ public function applyTemplate($account_id, $envelope_id, $document_template_list = null) @@ -1960,7 +2041,7 @@ public function applyTemplate($account_id, $envelope_id, $document_template_list * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentTemplateList $document_template_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentTemplateList, HTTP status code, HTTP response headers (array of strings) */ public function applyTemplateWithHttpInfo($account_id, $envelope_id, $document_template_list = null) @@ -2055,7 +2136,7 @@ public function applyTemplateWithHttpInfo($account_id, $envelope_id, $document_t * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentTemplateList $document_template_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentTemplateList */ public function applyTemplateToDocument($account_id, $document_id, $envelope_id, $document_template_list = null) @@ -2073,7 +2154,7 @@ public function applyTemplateToDocument($account_id, $document_id, $envelope_id, * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentTemplateList $document_template_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentTemplateList, HTTP status code, HTTP response headers (array of strings) */ public function applyTemplateToDocumentWithHttpInfo($account_id, $document_id, $envelope_id, $document_template_list = null) @@ -2178,7 +2259,7 @@ public function applyTemplateToDocumentWithHttpInfo($account_id, $document_id, $ * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ChunkedUploadRequest $chunked_upload_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ChunkedUploadResponse */ public function createChunkedUpload($account_id, $chunked_upload_request = null) @@ -2194,7 +2275,7 @@ public function createChunkedUpload($account_id, $chunked_upload_request = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ChunkedUploadRequest $chunked_upload_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ChunkedUploadResponse, HTTP status code, HTTP response headers (array of strings) */ public function createChunkedUploadWithHttpInfo($account_id, $chunked_upload_request = null) @@ -2275,7 +2356,7 @@ public function createChunkedUploadWithHttpInfo($account_id, $chunked_upload_req * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ConsoleViewRequest $console_view_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ViewUrl */ public function createConsoleView($account_id, $console_view_request = null) @@ -2291,7 +2372,7 @@ public function createConsoleView($account_id, $console_view_request = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ConsoleViewRequest $console_view_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ViewUrl, HTTP status code, HTTP response headers (array of strings) */ public function createConsoleViewWithHttpInfo($account_id, $console_view_request = null) @@ -2373,7 +2454,7 @@ public function createConsoleViewWithHttpInfo($account_id, $console_view_request * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\CorrectViewRequest $correct_view_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ViewUrl */ public function createCorrectView($account_id, $envelope_id, $correct_view_request = null) @@ -2390,7 +2471,7 @@ public function createCorrectView($account_id, $envelope_id, $correct_view_reque * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\CorrectViewRequest $correct_view_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ViewUrl, HTTP status code, HTTP response headers (array of strings) */ public function createCorrectViewWithHttpInfo($account_id, $envelope_id, $correct_view_request = null) @@ -2484,7 +2565,7 @@ public function createCorrectViewWithHttpInfo($account_id, $envelope_id, $correc * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\CustomFields $custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFields */ public function createCustomFields($account_id, $envelope_id, $custom_fields = null) @@ -2501,7 +2582,7 @@ public function createCustomFields($account_id, $envelope_id, $custom_fields = n * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\CustomFields $custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function createCustomFieldsWithHttpInfo($account_id, $envelope_id, $custom_fields = null) @@ -2596,7 +2677,7 @@ public function createCustomFieldsWithHttpInfo($account_id, $envelope_id, $custo * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentFieldsInformation */ public function createDocumentFields($account_id, $document_id, $envelope_id, $document_fields_information = null) @@ -2614,7 +2695,7 @@ public function createDocumentFields($account_id, $document_id, $envelope_id, $d * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentFieldsInformation, HTTP status code, HTTP response headers (array of strings) */ public function createDocumentFieldsWithHttpInfo($account_id, $document_id, $envelope_id, $document_fields_information = null) @@ -2721,7 +2802,7 @@ public function createDocumentFieldsWithHttpInfo($account_id, $document_id, $env * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentHtmlDefinition $document_html_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentHtmlDefinitions */ public function createDocumentResponsiveHtmlPreview($account_id, $document_id, $envelope_id, $document_html_definition = null) @@ -2739,7 +2820,7 @@ public function createDocumentResponsiveHtmlPreview($account_id, $document_id, $ * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentHtmlDefinition $document_html_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentHtmlDefinitions, HTTP status code, HTTP response headers (array of strings) */ public function createDocumentResponsiveHtmlPreviewWithHttpInfo($account_id, $document_id, $envelope_id, $document_html_definition = null) @@ -2845,7 +2926,7 @@ public function createDocumentResponsiveHtmlPreviewWithHttpInfo($account_id, $do * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\ReturnUrlRequest $return_url_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ViewUrl */ public function createEditView($account_id, $envelope_id, $return_url_request = null) @@ -2862,7 +2943,7 @@ public function createEditView($account_id, $envelope_id, $return_url_request = * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\ReturnUrlRequest $return_url_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ViewUrl, HTTP status code, HTTP response headers (array of strings) */ public function createEditViewWithHttpInfo($account_id, $envelope_id, $return_url_request = null) @@ -2956,7 +3037,7 @@ public function createEditViewWithHttpInfo($account_id, $envelope_id, $return_ur * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EmailSettings $email_settings (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EmailSettings */ public function createEmailSettings($account_id, $envelope_id, $email_settings = null) @@ -2973,7 +3054,7 @@ public function createEmailSettings($account_id, $envelope_id, $email_settings = * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EmailSettings $email_settings (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EmailSettings, HTTP status code, HTTP response headers (array of strings) */ public function createEmailSettingsWithHttpInfo($account_id, $envelope_id, $email_settings = null) @@ -3067,7 +3148,7 @@ public function createEmailSettingsWithHttpInfo($account_id, $envelope_id, $emai * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) * @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\EnvelopeSummary */ public function createEnvelope($account_id, $envelope_definition = null, EnvelopesApi\CreateEnvelopeOptions $options = null) @@ -3084,7 +3165,7 @@ public function createEnvelope($account_id, $envelope_definition = null, Envelop * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) * @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\EnvelopeSummary, HTTP status code, HTTP response headers (array of strings) */ public function createEnvelopeWithHttpInfo($account_id, $envelope_definition = null, EnvelopesApi\CreateEnvelopeOptions $options = null) @@ -3124,6 +3205,10 @@ public function createEnvelopeWithHttpInfo($account_id, $envelope_definition = n if ($options->getMergeRolesOnDraft() !== null) { $queryParams['merge_roles_on_draft'] = $this->apiClient->getSerializer()->toQueryValue($options->getMergeRolesOnDraft()); } + // query params + if ($options->getTabLabelExactMatches() !== null) { + $queryParams['tab_label_exact_matches'] = $this->apiClient->getSerializer()->toQueryValue($options->getTabLabelExactMatches()); + } } // path params @@ -3186,7 +3271,7 @@ public function createEnvelopeWithHttpInfo($account_id, $envelope_definition = n * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\RecipientViewRequest $recipient_view_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ViewUrl */ public function createEnvelopeRecipientSharedView($account_id, $envelope_id, $recipient_view_request = null) @@ -3203,7 +3288,7 @@ public function createEnvelopeRecipientSharedView($account_id, $envelope_id, $re * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\RecipientViewRequest $recipient_view_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ViewUrl, HTTP status code, HTTP response headers (array of strings) */ public function createEnvelopeRecipientSharedViewWithHttpInfo($account_id, $envelope_id, $recipient_view_request = null) @@ -3297,7 +3382,7 @@ public function createEnvelopeRecipientSharedViewWithHttpInfo($account_id, $enve * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\LockInformation */ public function createLock($account_id, $envelope_id, $lock_request = null) @@ -3314,7 +3399,7 @@ public function createLock($account_id, $envelope_id, $lock_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\LockInformation, HTTP status code, HTTP response headers (array of strings) */ public function createLockWithHttpInfo($account_id, $envelope_id, $lock_request = null) @@ -3409,7 +3494,7 @@ public function createLockWithHttpInfo($account_id, $envelope_id, $lock_request * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Recipients $recipients (optional) * @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\Recipients */ public function createRecipient($account_id, $envelope_id, $recipients = null, EnvelopesApi\CreateRecipientOptions $options = null) @@ -3427,7 +3512,7 @@ public function createRecipient($account_id, $envelope_id, $recipients = null, E * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Recipients $recipients (optional) * @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\Recipients, HTTP status code, HTTP response headers (array of strings) */ public function createRecipientWithHttpInfo($account_id, $envelope_id, $recipients = null, EnvelopesApi\CreateRecipientOptions $options = null) @@ -3529,7 +3614,7 @@ public function createRecipientWithHttpInfo($account_id, $envelope_id, $recipien * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\RecipientViewRequest $recipient_view_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ViewUrl */ public function createRecipientView($account_id, $envelope_id, $recipient_view_request = null) @@ -3546,7 +3631,7 @@ public function createRecipientView($account_id, $envelope_id, $recipient_view_r * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\RecipientViewRequest $recipient_view_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ViewUrl, HTTP status code, HTTP response headers (array of strings) */ public function createRecipientViewWithHttpInfo($account_id, $envelope_id, $recipient_view_request = null) @@ -3640,7 +3725,7 @@ public function createRecipientViewWithHttpInfo($account_id, $envelope_id, $reci * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentHtmlDefinition $document_html_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentHtmlDefinitions */ public function createResponsiveHtmlPreview($account_id, $envelope_id, $document_html_definition = null) @@ -3657,7 +3742,7 @@ public function createResponsiveHtmlPreview($account_id, $envelope_id, $document * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentHtmlDefinition $document_html_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentHtmlDefinitions, HTTP status code, HTTP response headers (array of strings) */ public function createResponsiveHtmlPreviewWithHttpInfo($account_id, $envelope_id, $document_html_definition = null) @@ -3751,7 +3836,7 @@ public function createResponsiveHtmlPreviewWithHttpInfo($account_id, $envelope_i * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\ReturnUrlRequest $return_url_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ViewUrl */ public function createSenderView($account_id, $envelope_id, $return_url_request = null) @@ -3768,7 +3853,7 @@ public function createSenderView($account_id, $envelope_id, $return_url_request * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\ReturnUrlRequest $return_url_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ViewUrl, HTTP status code, HTTP response headers (array of strings) */ public function createSenderViewWithHttpInfo($account_id, $envelope_id, $return_url_request = null) @@ -3863,7 +3948,7 @@ public function createSenderViewWithHttpInfo($account_id, $envelope_id, $return_ * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @param \DocuSign\eSign\Model\Tabs $tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Tabs */ public function createTabs($account_id, $envelope_id, $recipient_id, $tabs = null) @@ -3881,7 +3966,7 @@ public function createTabs($account_id, $envelope_id, $recipient_id, $tabs = nul * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @param \DocuSign\eSign\Model\Tabs $tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function createTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, $tabs = null) @@ -3987,7 +4072,7 @@ public function createTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeAttachmentsRequest $envelope_attachments_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EnvelopeAttachmentsResult */ public function deleteAttachments($account_id, $envelope_id, $envelope_attachments_request = null) @@ -4004,7 +4089,7 @@ public function deleteAttachments($account_id, $envelope_id, $envelope_attachmen * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeAttachmentsRequest $envelope_attachments_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EnvelopeAttachmentsResult, HTTP status code, HTTP response headers (array of strings) */ public function deleteAttachmentsWithHttpInfo($account_id, $envelope_id, $envelope_attachments_request = null) @@ -4097,7 +4182,7 @@ public function deleteAttachmentsWithHttpInfo($account_id, $envelope_id, $envelo * * @param string $account_id The external account number (int) or account ID Guid. * @param string $chunked_upload_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ChunkedUploadResponse */ public function deleteChunkedUpload($account_id, $chunked_upload_id) @@ -4113,7 +4198,7 @@ public function deleteChunkedUpload($account_id, $chunked_upload_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $chunked_upload_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ChunkedUploadResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteChunkedUploadWithHttpInfo($account_id, $chunked_upload_id) @@ -4202,7 +4287,7 @@ public function deleteChunkedUploadWithHttpInfo($account_id, $chunked_upload_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\CustomFields $custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFields */ public function deleteCustomFields($account_id, $envelope_id, $custom_fields = null) @@ -4219,7 +4304,7 @@ public function deleteCustomFields($account_id, $envelope_id, $custom_fields = n * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\CustomFields $custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function deleteCustomFieldsWithHttpInfo($account_id, $envelope_id, $custom_fields = null) @@ -4314,7 +4399,7 @@ public function deleteCustomFieldsWithHttpInfo($account_id, $envelope_id, $custo * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentFieldsInformation */ public function deleteDocumentFields($account_id, $document_id, $envelope_id, $document_fields_information = null) @@ -4332,7 +4417,7 @@ public function deleteDocumentFields($account_id, $document_id, $envelope_id, $d * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentFieldsInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteDocumentFieldsWithHttpInfo($account_id, $document_id, $envelope_id, $document_fields_information = null) @@ -4439,7 +4524,7 @@ public function deleteDocumentFieldsWithHttpInfo($account_id, $document_id, $env * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $page_number The page number being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteDocumentPage($account_id, $document_id, $envelope_id, $page_number) @@ -4457,7 +4542,7 @@ public function deleteDocumentPage($account_id, $document_id, $envelope_id, $pag * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $page_number The page number being accessed. - * @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 deleteDocumentPageWithHttpInfo($account_id, $document_id, $envelope_id, $page_number) @@ -4566,7 +4651,7 @@ public function deleteDocumentPageWithHttpInfo($account_id, $document_id, $envel * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EnvelopeDocumentsResult */ public function deleteDocuments($account_id, $envelope_id, $envelope_definition = null) @@ -4583,7 +4668,7 @@ public function deleteDocuments($account_id, $envelope_id, $envelope_definition * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EnvelopeDocumentsResult, HTTP status code, HTTP response headers (array of strings) */ public function deleteDocumentsWithHttpInfo($account_id, $envelope_id, $envelope_definition = null) @@ -4676,7 +4761,7 @@ public function deleteDocumentsWithHttpInfo($account_id, $envelope_id, $envelope * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EmailSettings */ public function deleteEmailSettings($account_id, $envelope_id) @@ -4692,7 +4777,7 @@ public function deleteEmailSettings($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EmailSettings, HTTP status code, HTTP response headers (array of strings) */ public function deleteEmailSettingsWithHttpInfo($account_id, $envelope_id) @@ -4780,7 +4865,7 @@ public function deleteEmailSettingsWithHttpInfo($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\LockInformation */ public function deleteLock($account_id, $envelope_id) @@ -4796,7 +4881,7 @@ public function deleteLock($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\LockInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteLockWithHttpInfo($account_id, $envelope_id) @@ -4885,7 +4970,7 @@ public function deleteLockWithHttpInfo($account_id, $envelope_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Recipients */ public function deleteRecipient($account_id, $envelope_id, $recipient_id) @@ -4902,7 +4987,7 @@ public function deleteRecipient($account_id, $envelope_id, $recipient_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Recipients, HTTP status code, HTTP response headers (array of strings) */ public function deleteRecipientWithHttpInfo($account_id, $envelope_id, $recipient_id) @@ -5003,7 +5088,7 @@ public function deleteRecipientWithHttpInfo($account_id, $envelope_id, $recipien * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Recipients $recipients (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Recipients */ public function deleteRecipients($account_id, $envelope_id, $recipients = null) @@ -5020,7 +5105,7 @@ public function deleteRecipients($account_id, $envelope_id, $recipients = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Recipients $recipients (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Recipients, HTTP status code, HTTP response headers (array of strings) */ public function deleteRecipientsWithHttpInfo($account_id, $envelope_id, $recipients = null) @@ -5115,7 +5200,7 @@ public function deleteRecipientsWithHttpInfo($account_id, $envelope_id, $recipie * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @param \DocuSign\eSign\Model\Tabs $tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Tabs */ public function deleteTabs($account_id, $envelope_id, $recipient_id, $tabs = null) @@ -5133,7 +5218,7 @@ public function deleteTabs($account_id, $envelope_id, $recipient_id, $tabs = nul * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @param \DocuSign\eSign\Model\Tabs $tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function deleteTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, $tabs = null) @@ -5240,7 +5325,7 @@ public function deleteTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteTemplatesFromDocument($account_id, $document_id, $envelope_id, $template_id) @@ -5258,7 +5343,7 @@ public function deleteTemplatesFromDocument($account_id, $document_id, $envelope * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $template_id The ID of the template being accessed. - * @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 deleteTemplatesFromDocumentWithHttpInfo($account_id, $document_id, $envelope_id, $template_id) @@ -5367,7 +5452,7 @@ public function deleteTemplatesFromDocumentWithHttpInfo($account_id, $document_i * @param string $account_id The external account number (int) or account ID Guid. * @param string $attachment_id * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function getAttachment($account_id, $attachment_id, $envelope_id) @@ -5384,7 +5469,7 @@ public function getAttachment($account_id, $attachment_id, $envelope_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $attachment_id * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @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 getAttachmentWithHttpInfo($account_id, $attachment_id, $envelope_id) @@ -5480,7 +5565,7 @@ public function getAttachmentWithHttpInfo($account_id, $attachment_id, $envelope * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EnvelopeAttachmentsResult */ public function getAttachments($account_id, $envelope_id) @@ -5496,7 +5581,7 @@ public function getAttachments($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EnvelopeAttachmentsResult, HTTP status code, HTTP response headers (array of strings) */ public function getAttachmentsWithHttpInfo($account_id, $envelope_id) @@ -5585,7 +5670,7 @@ public function getAttachmentsWithHttpInfo($account_id, $envelope_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $chunked_upload_id * @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\ChunkedUploadResponse */ public function getChunkedUpload($account_id, $chunked_upload_id, EnvelopesApi\GetChunkedUploadOptions $options = null) @@ -5602,7 +5687,7 @@ public function getChunkedUpload($account_id, $chunked_upload_id, EnvelopesApi\G * @param string $account_id The external account number (int) or account ID Guid. * @param string $chunked_upload_id * @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\ChunkedUploadResponse, HTTP status code, HTTP response headers (array of strings) */ public function getChunkedUploadWithHttpInfo($account_id, $chunked_upload_id, EnvelopesApi\GetChunkedUploadOptions $options = null) @@ -5691,6 +5776,120 @@ public function getChunkedUploadWithHttpInfo($account_id, $chunked_upload_id, En } } + /** + * Operation getCommentsTranscript + * + * Gets comment transcript for envelope and user + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param string $envelope_id The envelopeId Guid of the envelope being accessed. + * @param $options Options for modifying the behavior of the function. (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \SplFileObject + */ + public function getCommentsTranscript($account_id, $envelope_id, EnvelopesApi\GetCommentsTranscriptOptions $options = null) + { + list($response) = $this->getCommentsTranscriptWithHttpInfo($account_id, $envelope_id, $options); + return $response; + } + + /** + * Operation getCommentsTranscriptWithHttpInfo + * + * Gets comment transcript for envelope and user + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param string $envelope_id The envelopeId Guid of the envelope being accessed. + * @param $options Options for modifying the behavior of the function. (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \SplFileObject, HTTP status code, HTTP response headers (array of strings) + */ + public function getCommentsTranscriptWithHttpInfo($account_id, $envelope_id, EnvelopesApi\GetCommentsTranscriptOptions $options = null) + { + // verify the required parameter 'account_id' is set + if ($account_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getCommentsTranscript'); + } + // verify the required parameter 'envelope_id' is set + if ($envelope_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getCommentsTranscript'); + } + // parse inputs + $resourcePath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/comments/transcript"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/pdf']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + if ($options != null) + { + // query params + // query params + if ($options->getEncoding() !== null) { + $queryParams['encoding'] = $this->apiClient->getSerializer()->toQueryValue($options->getEncoding()); + } + } + + // path params + if ($account_id !== null) { + $resourcePath = str_replace( + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), + $resourcePath + ); + } + // path params + if ($envelope_id !== null) { + $resourcePath = str_replace( + "{" . "envelopeId" . "}", + $this->apiClient->getSerializer()->toPathValue($envelope_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'GET', + $queryParams, + $httpBody, + $headerParams, + '\SplFileObject', + '/v2/accounts/{accountId}/envelopes/{envelopeId}/comments/transcript' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\SplFileObject', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SplFileObject', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + /** * Operation getConsumerDisclosure * @@ -5698,10 +5897,10 @@ public function getChunkedUploadWithHttpInfo($account_id, $chunked_upload_id, En * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. * @param string $recipient_id The ID of the recipient being accessed. * @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\ConsumerDisclosure */ public function getConsumerDisclosure($account_id, $envelope_id, $lang_code, $recipient_id, EnvelopesApi\GetConsumerDisclosureOptions $options = null) @@ -5717,10 +5916,10 @@ public function getConsumerDisclosure($account_id, $envelope_id, $lang_code, $re * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + * @param string $lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. * @param string $recipient_id The ID of the recipient being accessed. * @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\ConsumerDisclosure, HTTP status code, HTTP response headers (array of strings) */ public function getConsumerDisclosureWithHttpInfo($account_id, $envelope_id, $lang_code, $recipient_id, EnvelopesApi\GetConsumerDisclosureOptions $options = null) @@ -5842,7 +6041,7 @@ public function getConsumerDisclosureWithHttpInfo($account_id, $envelope_id, $la * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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\ConsumerDisclosure */ public function getConsumerDisclosureDefault($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetConsumerDisclosureDefaultOptions $options = null) @@ -5860,7 +6059,7 @@ public function getConsumerDisclosureDefault($account_id, $envelope_id, $recipie * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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\ConsumerDisclosure, HTTP status code, HTTP response headers (array of strings) */ public function getConsumerDisclosureDefaultWithHttpInfo($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetConsumerDisclosureDefaultOptions $options = null) @@ -5970,7 +6169,7 @@ public function getConsumerDisclosureDefaultWithHttpInfo($account_id, $envelope_ * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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 \SplFileObject */ public function getDocument($account_id, $document_id, $envelope_id, EnvelopesApi\GetDocumentOptions $options = null) @@ -5988,7 +6187,7 @@ public function getDocument($account_id, $document_id, $envelope_id, EnvelopesAp * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getDocumentWithHttpInfo($account_id, $document_id, $envelope_id, EnvelopesApi\GetDocumentOptions $options = null) @@ -6123,7 +6322,7 @@ public function getDocumentWithHttpInfo($account_id, $document_id, $envelope_id, * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $page_number The page number being accessed. * @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 \SplFileObject */ public function getDocumentPageImage($account_id, $document_id, $envelope_id, $page_number, EnvelopesApi\GetDocumentPageImageOptions $options = null) @@ -6142,7 +6341,7 @@ public function getDocumentPageImage($account_id, $document_id, $envelope_id, $p * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $page_number The page number being accessed. * @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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getDocumentPageImageWithHttpInfo($account_id, $document_id, $envelope_id, $page_number, EnvelopesApi\GetDocumentPageImageOptions $options = null) @@ -6276,7 +6475,7 @@ public function getDocumentPageImageWithHttpInfo($account_id, $document_id, $env * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\Tabs */ public function getDocumentTabs($account_id, $document_id, $envelope_id, EnvelopesApi\GetDocumentTabsOptions $options = null) @@ -6294,7 +6493,7 @@ public function getDocumentTabs($account_id, $document_id, $envelope_id, Envelop * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function getDocumentTabsWithHttpInfo($account_id, $document_id, $envelope_id, EnvelopesApi\GetDocumentTabsOptions $options = null) @@ -6402,7 +6601,7 @@ public function getDocumentTabsWithHttpInfo($account_id, $document_id, $envelope * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EmailSettings */ public function getEmailSettings($account_id, $envelope_id) @@ -6418,7 +6617,7 @@ public function getEmailSettings($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EmailSettings, HTTP status code, HTTP response headers (array of strings) */ public function getEmailSettingsWithHttpInfo($account_id, $envelope_id) @@ -6507,7 +6706,7 @@ public function getEmailSettingsWithHttpInfo($account_id, $envelope_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\Envelope */ public function getEnvelope($account_id, $envelope_id, EnvelopesApi\GetEnvelopeOptions $options = null) @@ -6524,7 +6723,7 @@ public function getEnvelope($account_id, $envelope_id, EnvelopesApi\GetEnvelopeO * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\Envelope, HTTP status code, HTTP response headers (array of strings) */ public function getEnvelopeWithHttpInfo($account_id, $envelope_id, EnvelopesApi\GetEnvelopeOptions $options = null) @@ -6625,7 +6824,7 @@ public function getEnvelopeWithHttpInfo($account_id, $envelope_id, EnvelopesApi\ * @param string $account_id The external account number (int) or account ID Guid. * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentHtmlDefinitionOriginals */ public function getEnvelopeDocumentHtmlDefinitions($account_id, $document_id, $envelope_id) @@ -6642,7 +6841,7 @@ public function getEnvelopeDocumentHtmlDefinitions($account_id, $document_id, $e * @param string $account_id The external account number (int) or account ID Guid. * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentHtmlDefinitionOriginals, HTTP status code, HTTP response headers (array of strings) */ public function getEnvelopeDocumentHtmlDefinitionsWithHttpInfo($account_id, $document_id, $envelope_id) @@ -6742,7 +6941,7 @@ public function getEnvelopeDocumentHtmlDefinitionsWithHttpInfo($account_id, $doc * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentHtmlDefinitionOriginals */ public function getEnvelopeHtmlDefinitions($account_id, $envelope_id) @@ -6758,7 +6957,7 @@ public function getEnvelopeHtmlDefinitions($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentHtmlDefinitionOriginals, HTTP status code, HTTP response headers (array of strings) */ public function getEnvelopeHtmlDefinitionsWithHttpInfo($account_id, $envelope_id) @@ -6846,7 +7045,7 @@ public function getEnvelopeHtmlDefinitionsWithHttpInfo($account_id, $envelope_id * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EnvelopeFormData */ public function getFormData($account_id, $envelope_id) @@ -6862,7 +7061,7 @@ public function getFormData($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EnvelopeFormData, HTTP status code, HTTP response headers (array of strings) */ public function getFormDataWithHttpInfo($account_id, $envelope_id) @@ -6950,7 +7149,7 @@ public function getFormDataWithHttpInfo($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\LockInformation */ public function getLock($account_id, $envelope_id) @@ -6966,7 +7165,7 @@ public function getLock($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\LockInformation, HTTP status code, HTTP response headers (array of strings) */ public function getLockWithHttpInfo($account_id, $envelope_id) @@ -7054,7 +7253,7 @@ public function getLockWithHttpInfo($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Notification */ public function getNotificationSettings($account_id, $envelope_id) @@ -7070,7 +7269,7 @@ public function getNotificationSettings($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Notification, HTTP status code, HTTP response headers (array of strings) */ public function getNotificationSettingsWithHttpInfo($account_id, $envelope_id) @@ -7160,7 +7359,7 @@ public function getNotificationSettingsWithHttpInfo($account_id, $envelope_id) * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $page_number The page number being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Tabs */ public function getPageTabs($account_id, $document_id, $envelope_id, $page_number) @@ -7178,7 +7377,7 @@ public function getPageTabs($account_id, $document_id, $envelope_id, $page_numbe * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $page_number The page number being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function getPageTabsWithHttpInfo($account_id, $document_id, $envelope_id, $page_number) @@ -7292,7 +7491,7 @@ public function getPageTabsWithHttpInfo($account_id, $document_id, $envelope_id, * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\PageImages */ public function getPages($account_id, $document_id, $envelope_id, EnvelopesApi\GetPagesOptions $options = null) @@ -7310,7 +7509,7 @@ public function getPages($account_id, $document_id, $envelope_id, EnvelopesApi\G * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\PageImages, HTTP status code, HTTP response headers (array of strings) */ public function getPagesWithHttpInfo($account_id, $document_id, $envelope_id, EnvelopesApi\GetPagesOptions $options = null) @@ -7443,7 +7642,7 @@ public function getPagesWithHttpInfo($account_id, $document_id, $envelope_id, En * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentVisibilityList */ public function getRecipientDocumentVisibility($account_id, $envelope_id, $recipient_id) @@ -7460,7 +7659,7 @@ public function getRecipientDocumentVisibility($account_id, $envelope_id, $recip * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentVisibilityList, HTTP status code, HTTP response headers (array of strings) */ public function getRecipientDocumentVisibilityWithHttpInfo($account_id, $envelope_id, $recipient_id) @@ -7562,7 +7761,7 @@ public function getRecipientDocumentVisibilityWithHttpInfo($account_id, $envelop * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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 \SplFileObject */ public function getRecipientInitialsImage($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetRecipientInitialsImageOptions $options = null) @@ -7580,7 +7779,7 @@ public function getRecipientInitialsImage($account_id, $envelope_id, $recipient_ * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getRecipientInitialsImageWithHttpInfo($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetRecipientInitialsImageOptions $options = null) @@ -7689,7 +7888,7 @@ public function getRecipientInitialsImageWithHttpInfo($account_id, $envelope_id, * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\UserSignature */ public function getRecipientSignature($account_id, $envelope_id, $recipient_id) @@ -7706,7 +7905,7 @@ public function getRecipientSignature($account_id, $envelope_id, $recipient_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\UserSignature, HTTP status code, HTTP response headers (array of strings) */ public function getRecipientSignatureWithHttpInfo($account_id, $envelope_id, $recipient_id) @@ -7808,7 +8007,7 @@ public function getRecipientSignatureWithHttpInfo($account_id, $envelope_id, $re * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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 \SplFileObject */ public function getRecipientSignatureImage($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetRecipientSignatureImageOptions $options = null) @@ -7826,7 +8025,7 @@ public function getRecipientSignatureImage($account_id, $envelope_id, $recipient * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getRecipientSignatureImageWithHttpInfo($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetRecipientSignatureImageOptions $options = null) @@ -7935,7 +8134,7 @@ public function getRecipientSignatureImageWithHttpInfo($account_id, $envelope_id * @param string $account_id The external account number (int) or account ID Guid. * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentVisibilityList */ public function getTemplateRecipientDocumentVisibility($account_id, $recipient_id, $template_id) @@ -7952,7 +8151,7 @@ public function getTemplateRecipientDocumentVisibility($account_id, $recipient_i * @param string $account_id The external account number (int) or account ID Guid. * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentVisibilityList, HTTP status code, HTTP response headers (array of strings) */ public function getTemplateRecipientDocumentVisibilityWithHttpInfo($account_id, $recipient_id, $template_id) @@ -8052,7 +8251,7 @@ public function getTemplateRecipientDocumentVisibilityWithHttpInfo($account_id, * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EnvelopeAuditEventResponse */ public function listAuditEvents($account_id, $envelope_id) @@ -8068,7 +8267,7 @@ public function listAuditEvents($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EnvelopeAuditEventResponse, HTTP status code, HTTP response headers (array of strings) */ public function listAuditEventsWithHttpInfo($account_id, $envelope_id) @@ -8156,7 +8355,7 @@ public function listAuditEventsWithHttpInfo($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFieldsEnvelope */ public function listCustomFields($account_id, $envelope_id) @@ -8172,7 +8371,7 @@ public function listCustomFields($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFieldsEnvelope, HTTP status code, HTTP response headers (array of strings) */ public function listCustomFieldsWithHttpInfo($account_id, $envelope_id) @@ -8261,7 +8460,7 @@ public function listCustomFieldsWithHttpInfo($account_id, $envelope_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentFieldsInformation */ public function listDocumentFields($account_id, $document_id, $envelope_id) @@ -8278,7 +8477,7 @@ public function listDocumentFields($account_id, $document_id, $envelope_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentFieldsInformation, HTTP status code, HTTP response headers (array of strings) */ public function listDocumentFieldsWithHttpInfo($account_id, $document_id, $envelope_id) @@ -8378,12 +8577,13 @@ public function listDocumentFieldsWithHttpInfo($account_id, $document_id, $envel * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @param $options Options for modifying the behavior of the function. (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EnvelopeDocumentsResult */ - public function listDocuments($account_id, $envelope_id) + public function listDocuments($account_id, $envelope_id, EnvelopesApi\ListDocumentsOptions $options = null) { - list($response) = $this->listDocumentsWithHttpInfo($account_id, $envelope_id); + list($response) = $this->listDocumentsWithHttpInfo($account_id, $envelope_id, $options); return $response; } @@ -8394,10 +8594,11 @@ public function listDocuments($account_id, $envelope_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @param $options Options for modifying the behavior of the function. (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EnvelopeDocumentsResult, HTTP status code, HTTP response headers (array of strings) */ - public function listDocumentsWithHttpInfo($account_id, $envelope_id) + public function listDocumentsWithHttpInfo($account_id, $envelope_id, EnvelopesApi\ListDocumentsOptions $options = null) { // verify the required parameter 'account_id' is set if ($account_id === null) { @@ -8419,6 +8620,14 @@ public function listDocumentsWithHttpInfo($account_id, $envelope_id) } $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + if ($options != null) + { + // query params + // query params + if ($options->getIncludeDocumentSize() !== null) { + $queryParams['include_document_size'] = $this->apiClient->getSerializer()->toQueryValue($options->getIncludeDocumentSize()); + } + } // path params if ($account_id !== null) { @@ -8483,7 +8692,7 @@ public function listDocumentsWithHttpInfo($account_id, $envelope_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\Recipients */ public function listRecipients($account_id, $envelope_id, EnvelopesApi\ListRecipientsOptions $options = null) @@ -8500,7 +8709,7 @@ public function listRecipients($account_id, $envelope_id, EnvelopesApi\ListRecip * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\Recipients, HTTP status code, HTTP response headers (array of strings) */ public function listRecipientsWithHttpInfo($account_id, $envelope_id, EnvelopesApi\ListRecipientsOptions $options = null) @@ -8605,7 +8814,7 @@ public function listRecipientsWithHttpInfo($account_id, $envelope_id, EnvelopesA * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\EnvelopeIdsRequest $envelope_ids_request (optional) * @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\EnvelopesInformation */ public function listStatus($account_id, $envelope_ids_request = null, EnvelopesApi\ListStatusOptions $options = null) @@ -8622,7 +8831,7 @@ public function listStatus($account_id, $envelope_ids_request = null, EnvelopesA * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\EnvelopeIdsRequest $envelope_ids_request (optional) * @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\EnvelopesInformation, HTTP status code, HTTP response headers (array of strings) */ public function listStatusWithHttpInfo($account_id, $envelope_ids_request = null, EnvelopesApi\ListStatusOptions $options = null) @@ -8755,7 +8964,7 @@ public function listStatusWithHttpInfo($account_id, $envelope_ids_request = null * * @param string $account_id The external account number (int) or account ID Guid. * @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\EnvelopesInformation */ public function listStatusChanges($account_id, EnvelopesApi\ListStatusChangesOptions $options = null) @@ -8771,7 +8980,7 @@ public function listStatusChanges($account_id, EnvelopesApi\ListStatusChangesOpt * * @param string $account_id The external account number (int) or account ID Guid. * @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\EnvelopesInformation, HTTP status code, HTTP response headers (array of strings) */ public function listStatusChangesWithHttpInfo($account_id, EnvelopesApi\ListStatusChangesOptions $options = null) @@ -8905,7 +9114,7 @@ public function listStatusChangesWithHttpInfo($account_id, EnvelopesApi\ListStat * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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\Tabs */ public function listTabs($account_id, $envelope_id, $recipient_id, EnvelopesApi\ListTabsOptions $options = null) @@ -8923,7 +9132,7 @@ public function listTabs($account_id, $envelope_id, $recipient_id, EnvelopesApi\ * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @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\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function listTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, EnvelopesApi\ListTabsOptions $options = null) @@ -9036,7 +9245,7 @@ public function listTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, E * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\TemplateInformation */ public function listTemplates($account_id, $envelope_id, EnvelopesApi\ListTemplatesOptions $options = null) @@ -9053,7 +9262,7 @@ public function listTemplates($account_id, $envelope_id, EnvelopesApi\ListTempla * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\TemplateInformation, HTTP status code, HTTP response headers (array of strings) */ public function listTemplatesWithHttpInfo($account_id, $envelope_id, EnvelopesApi\ListTemplatesOptions $options = null) @@ -9151,7 +9360,7 @@ public function listTemplatesWithHttpInfo($account_id, $envelope_id, EnvelopesAp * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\TemplateInformation */ public function listTemplatesForDocument($account_id, $document_id, $envelope_id, EnvelopesApi\ListTemplatesForDocumentOptions $options = null) @@ -9169,7 +9378,7 @@ public function listTemplatesForDocument($account_id, $document_id, $envelope_id * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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\TemplateInformation, HTTP status code, HTTP response headers (array of strings) */ public function listTemplatesForDocumentWithHttpInfo($account_id, $document_id, $envelope_id, EnvelopesApi\ListTemplatesForDocumentOptions $options = null) @@ -9279,7 +9488,7 @@ public function listTemplatesForDocumentWithHttpInfo($account_id, $document_id, * @param string $attachment_id * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Attachment $attachment (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EnvelopeAttachmentsResult */ public function putAttachment($account_id, $attachment_id, $envelope_id, $attachment = null) @@ -9297,7 +9506,7 @@ public function putAttachment($account_id, $attachment_id, $envelope_id, $attach * @param string $attachment_id * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Attachment $attachment (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EnvelopeAttachmentsResult, HTTP status code, HTTP response headers (array of strings) */ public function putAttachmentWithHttpInfo($account_id, $attachment_id, $envelope_id, $attachment = null) @@ -9403,7 +9612,7 @@ public function putAttachmentWithHttpInfo($account_id, $attachment_id, $envelope * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeAttachmentsRequest $envelope_attachments_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EnvelopeAttachmentsResult */ public function putAttachments($account_id, $envelope_id, $envelope_attachments_request = null) @@ -9420,7 +9629,7 @@ public function putAttachments($account_id, $envelope_id, $envelope_attachments_ * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeAttachmentsRequest $envelope_attachments_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EnvelopeAttachmentsResult, HTTP status code, HTTP response headers (array of strings) */ public function putAttachmentsWithHttpInfo($account_id, $envelope_id, $envelope_attachments_request = null) @@ -9516,7 +9725,7 @@ public function putAttachmentsWithHttpInfo($account_id, $envelope_id, $envelope_ * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $page_number The page number being accessed. * @param \DocuSign\eSign\Model\PageRequest $page_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function rotateDocumentPage($account_id, $document_id, $envelope_id, $page_number, $page_request = null) @@ -9535,7 +9744,7 @@ public function rotateDocumentPage($account_id, $document_id, $envelope_id, $pag * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $page_number The page number being accessed. * @param \DocuSign\eSign\Model\PageRequest $page_request (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 rotateDocumentPageWithHttpInfo($account_id, $document_id, $envelope_id, $page_number, $page_request = null) @@ -9650,7 +9859,7 @@ public function rotateDocumentPageWithHttpInfo($account_id, $document_id, $envel * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Envelope $envelope (optional) * @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\EnvelopeUpdateSummary */ public function update($account_id, $envelope_id, $envelope = null, EnvelopesApi\UpdateOptions $options = null) @@ -9668,7 +9877,7 @@ public function update($account_id, $envelope_id, $envelope = null, EnvelopesApi * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Envelope $envelope (optional) * @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\EnvelopeUpdateSummary, HTTP status code, HTTP response headers (array of strings) */ public function updateWithHttpInfo($account_id, $envelope_id, $envelope = null, EnvelopesApi\UpdateOptions $options = null) @@ -9774,7 +9983,7 @@ public function updateWithHttpInfo($account_id, $envelope_id, $envelope = null, * @param string $account_id The external account number (int) or account ID Guid. * @param string $chunked_upload_id * @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\ChunkedUploadResponse */ public function updateChunkedUpload($account_id, $chunked_upload_id, EnvelopesApi\UpdateChunkedUploadOptions $options = null) @@ -9791,7 +10000,7 @@ public function updateChunkedUpload($account_id, $chunked_upload_id, EnvelopesAp * @param string $account_id The external account number (int) or account ID Guid. * @param string $chunked_upload_id * @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\ChunkedUploadResponse, HTTP status code, HTTP response headers (array of strings) */ public function updateChunkedUploadWithHttpInfo($account_id, $chunked_upload_id, EnvelopesApi\UpdateChunkedUploadOptions $options = null) @@ -9889,7 +10098,7 @@ public function updateChunkedUploadWithHttpInfo($account_id, $chunked_upload_id, * @param string $chunked_upload_id * @param string $chunked_upload_part_seq * @param \DocuSign\eSign\Model\ChunkedUploadRequest $chunked_upload_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ChunkedUploadResponse */ public function updateChunkedUploadPart($account_id, $chunked_upload_id, $chunked_upload_part_seq, $chunked_upload_request = null) @@ -9907,7 +10116,7 @@ public function updateChunkedUploadPart($account_id, $chunked_upload_id, $chunke * @param string $chunked_upload_id * @param string $chunked_upload_part_seq * @param \DocuSign\eSign\Model\ChunkedUploadRequest $chunked_upload_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ChunkedUploadResponse, HTTP status code, HTTP response headers (array of strings) */ public function updateChunkedUploadPartWithHttpInfo($account_id, $chunked_upload_id, $chunked_upload_part_seq, $chunked_upload_request = null) @@ -10013,7 +10222,7 @@ public function updateChunkedUploadPartWithHttpInfo($account_id, $chunked_upload * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\CustomFields $custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFields */ public function updateCustomFields($account_id, $envelope_id, $custom_fields = null) @@ -10030,7 +10239,7 @@ public function updateCustomFields($account_id, $envelope_id, $custom_fields = n * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\CustomFields $custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function updateCustomFieldsWithHttpInfo($account_id, $envelope_id, $custom_fields = null) @@ -10125,7 +10334,7 @@ public function updateCustomFieldsWithHttpInfo($account_id, $envelope_id, $custo * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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 void */ public function updateDocument($account_id, $document_id, $envelope_id, EnvelopesApi\UpdateDocumentOptions $options = null) @@ -10143,7 +10352,7 @@ public function updateDocument($account_id, $document_id, $envelope_id, Envelope * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @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 null, HTTP status code, HTTP response headers (array of strings) */ public function updateDocumentWithHttpInfo($account_id, $document_id, $envelope_id, EnvelopesApi\UpdateDocumentOptions $options = null) @@ -10249,7 +10458,7 @@ public function updateDocumentWithHttpInfo($account_id, $document_id, $envelope_ * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentFieldsInformation */ public function updateDocumentFields($account_id, $document_id, $envelope_id, $document_fields_information = null) @@ -10267,7 +10476,7 @@ public function updateDocumentFields($account_id, $document_id, $envelope_id, $d * @param string $document_id The ID of the document being accessed. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentFieldsInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateDocumentFieldsWithHttpInfo($account_id, $document_id, $envelope_id, $document_fields_information = null) @@ -10374,7 +10583,7 @@ public function updateDocumentFieldsWithHttpInfo($account_id, $document_id, $env * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) * @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\EnvelopeDocumentsResult */ public function updateDocuments($account_id, $envelope_id, $envelope_definition = null, EnvelopesApi\UpdateDocumentsOptions $options = null) @@ -10392,7 +10601,7 @@ public function updateDocuments($account_id, $envelope_id, $envelope_definition * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) * @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\EnvelopeDocumentsResult, HTTP status code, HTTP response headers (array of strings) */ public function updateDocumentsWithHttpInfo($account_id, $envelope_id, $envelope_definition = null, EnvelopesApi\UpdateDocumentsOptions $options = null) @@ -10498,7 +10707,7 @@ public function updateDocumentsWithHttpInfo($account_id, $envelope_id, $envelope * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EmailSettings $email_settings (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\EmailSettings */ public function updateEmailSettings($account_id, $envelope_id, $email_settings = null) @@ -10515,7 +10724,7 @@ public function updateEmailSettings($account_id, $envelope_id, $email_settings = * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EmailSettings $email_settings (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\EmailSettings, HTTP status code, HTTP response headers (array of strings) */ public function updateEmailSettingsWithHttpInfo($account_id, $envelope_id, $email_settings = null) @@ -10609,7 +10818,7 @@ public function updateEmailSettingsWithHttpInfo($account_id, $envelope_id, $emai * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\LockInformation */ public function updateLock($account_id, $envelope_id, $lock_request = null) @@ -10626,7 +10835,7 @@ public function updateLock($account_id, $envelope_id, $lock_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\LockInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateLockWithHttpInfo($account_id, $envelope_id, $lock_request = null) @@ -10720,7 +10929,7 @@ public function updateLockWithHttpInfo($account_id, $envelope_id, $lock_request * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeNotificationRequest $envelope_notification_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Notification */ public function updateNotificationSettings($account_id, $envelope_id, $envelope_notification_request = null) @@ -10737,7 +10946,7 @@ public function updateNotificationSettings($account_id, $envelope_id, $envelope_ * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\EnvelopeNotificationRequest $envelope_notification_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Notification, HTTP status code, HTTP response headers (array of strings) */ public function updateNotificationSettingsWithHttpInfo($account_id, $envelope_id, $envelope_notification_request = null) @@ -10832,7 +11041,7 @@ public function updateNotificationSettingsWithHttpInfo($account_id, $envelope_id * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @param \DocuSign\eSign\Model\DocumentVisibilityList $document_visibility_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentVisibilityList */ public function updateRecipientDocumentVisibility($account_id, $envelope_id, $recipient_id, $document_visibility_list = null) @@ -10850,7 +11059,7 @@ public function updateRecipientDocumentVisibility($account_id, $envelope_id, $re * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @param \DocuSign\eSign\Model\DocumentVisibilityList $document_visibility_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentVisibilityList, HTTP status code, HTTP response headers (array of strings) */ public function updateRecipientDocumentVisibilityWithHttpInfo($account_id, $envelope_id, $recipient_id, $document_visibility_list = null) @@ -10956,7 +11165,7 @@ public function updateRecipientDocumentVisibilityWithHttpInfo($account_id, $enve * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function updateRecipientInitialsImage($account_id, $envelope_id, $recipient_id) @@ -10973,7 +11182,7 @@ public function updateRecipientInitialsImage($account_id, $envelope_id, $recipie * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @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 updateRecipientInitialsImageWithHttpInfo($account_id, $envelope_id, $recipient_id) @@ -11070,7 +11279,7 @@ public function updateRecipientInitialsImageWithHttpInfo($account_id, $envelope_ * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function updateRecipientSignatureImage($account_id, $envelope_id, $recipient_id) @@ -11087,7 +11296,7 @@ public function updateRecipientSignatureImage($account_id, $envelope_id, $recipi * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. - * @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 updateRecipientSignatureImageWithHttpInfo($account_id, $envelope_id, $recipient_id) @@ -11185,7 +11394,7 @@ public function updateRecipientSignatureImageWithHttpInfo($account_id, $envelope * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Recipients $recipients (optional) * @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\RecipientsUpdateSummary */ public function updateRecipients($account_id, $envelope_id, $recipients = null, EnvelopesApi\UpdateRecipientsOptions $options = null) @@ -11203,7 +11412,7 @@ public function updateRecipients($account_id, $envelope_id, $recipients = null, * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\Recipients $recipients (optional) * @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\RecipientsUpdateSummary, HTTP status code, HTTP response headers (array of strings) */ public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipients = null, EnvelopesApi\UpdateRecipientsOptions $options = null) @@ -11309,7 +11518,7 @@ public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipie * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentVisibilityList $document_visibility_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentVisibilityList */ public function updateRecipientsDocumentVisibility($account_id, $envelope_id, $document_visibility_list = null) @@ -11326,7 +11535,7 @@ public function updateRecipientsDocumentVisibility($account_id, $envelope_id, $d * @param string $account_id The external account number (int) or account ID Guid. * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param \DocuSign\eSign\Model\DocumentVisibilityList $document_visibility_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentVisibilityList, HTTP status code, HTTP response headers (array of strings) */ public function updateRecipientsDocumentVisibilityWithHttpInfo($account_id, $envelope_id, $document_visibility_list = null) @@ -11421,7 +11630,7 @@ public function updateRecipientsDocumentVisibilityWithHttpInfo($account_id, $env * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @param \DocuSign\eSign\Model\Tabs $tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Tabs */ public function updateTabs($account_id, $envelope_id, $recipient_id, $tabs = null) @@ -11439,7 +11648,7 @@ public function updateTabs($account_id, $envelope_id, $recipient_id, $tabs = nul * @param string $envelope_id The envelopeId Guid of the envelope being accessed. * @param string $recipient_id The ID of the recipient being accessed. * @param \DocuSign\eSign\Model\Tabs $tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function updateTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, $tabs = null) @@ -11546,7 +11755,7 @@ public function updateTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateDocumentVisibilityList $template_document_visibility_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TemplateDocumentVisibilityList */ public function updateTemplateRecipientDocumentVisibility($account_id, $recipient_id, $template_id, $template_document_visibility_list = null) @@ -11564,7 +11773,7 @@ public function updateTemplateRecipientDocumentVisibility($account_id, $recipien * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateDocumentVisibilityList $template_document_visibility_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TemplateDocumentVisibilityList, HTTP status code, HTTP response headers (array of strings) */ public function updateTemplateRecipientDocumentVisibilityWithHttpInfo($account_id, $recipient_id, $template_id, $template_document_visibility_list = null) @@ -11670,7 +11879,7 @@ public function updateTemplateRecipientDocumentVisibilityWithHttpInfo($account_i * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateDocumentVisibilityList $template_document_visibility_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TemplateDocumentVisibilityList */ public function updateTemplateRecipientsDocumentVisibility($account_id, $template_id, $template_document_visibility_list = null) @@ -11687,7 +11896,7 @@ public function updateTemplateRecipientsDocumentVisibility($account_id, $templat * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateDocumentVisibilityList $template_document_visibility_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TemplateDocumentVisibilityList, HTTP status code, HTTP response headers (array of strings) */ public function updateTemplateRecipientsDocumentVisibilityWithHttpInfo($account_id, $template_id, $template_document_visibility_list = null) diff --git a/src/Api/FoldersApi.php b/src/Api/FoldersApi.php index d2b88e65..a3c075cd 100644 --- a/src/Api/FoldersApi.php +++ b/src/Api/FoldersApi.php @@ -517,7 +517,7 @@ public function setToDate($to_date) 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; @@ -582,7 +582,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @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\FoldersResponse */ public function callList($account_id, FoldersApi\ListOptions $options = null) @@ -598,7 +598,7 @@ public function callList($account_id, FoldersApi\ListOptions $options = null) * * @param string $account_id The external account number (int) or account ID Guid. * @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\FoldersResponse, HTTP status code, HTTP response headers (array of strings) */ public function callListWithHttpInfo($account_id, FoldersApi\ListOptions $options = null) @@ -695,7 +695,7 @@ public function callListWithHttpInfo($account_id, FoldersApi\ListOptions $option * @param string $account_id The external account number (int) or account ID Guid. * @param string $folder_id The ID of the folder being accessed. * @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\FolderItemsResponse */ public function listItems($account_id, $folder_id, FoldersApi\ListItemsOptions $options = null) @@ -712,7 +712,7 @@ public function listItems($account_id, $folder_id, FoldersApi\ListItemsOptions $ * @param string $account_id The external account number (int) or account ID Guid. * @param string $folder_id The ID of the folder being accessed. * @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\FolderItemsResponse, HTTP status code, HTTP response headers (array of strings) */ public function listItemsWithHttpInfo($account_id, $folder_id, FoldersApi\ListItemsOptions $options = null) @@ -833,7 +833,7 @@ public function listItemsWithHttpInfo($account_id, $folder_id, FoldersApi\ListIt * @param string $account_id The external account number (int) or account ID Guid. * @param string $folder_id The ID of the folder being accessed. * @param \DocuSign\eSign\Model\FoldersRequest $folders_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function moveEnvelopes($account_id, $folder_id, $folders_request = null) @@ -850,7 +850,7 @@ public function moveEnvelopes($account_id, $folder_id, $folders_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $folder_id The ID of the folder being accessed. * @param \DocuSign\eSign\Model\FoldersRequest $folders_request (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 moveEnvelopesWithHttpInfo($account_id, $folder_id, $folders_request = null) @@ -940,7 +940,7 @@ public function moveEnvelopesWithHttpInfo($account_id, $folder_id, $folders_requ * @param string $account_id The external account number (int) or account ID Guid. * @param string $search_folder_id Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature. * @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\FolderItemResponse */ public function search($account_id, $search_folder_id, FoldersApi\SearchOptions $options = null) @@ -957,7 +957,7 @@ public function search($account_id, $search_folder_id, FoldersApi\SearchOptions * @param string $account_id The external account number (int) or account ID Guid. * @param string $search_folder_id Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature. * @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\FolderItemResponse, HTTP status code, HTTP response headers (array of strings) */ public function searchWithHttpInfo($account_id, $search_folder_id, FoldersApi\SearchOptions $options = null) diff --git a/src/Api/GroupsApi.php b/src/Api/GroupsApi.php index 54589129..a6d0a4b9 100644 --- a/src/Api/GroupsApi.php +++ b/src/Api/GroupsApi.php @@ -189,7 +189,7 @@ public function setStartPosition($start_position) 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; @@ -254,7 +254,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\GroupInformation */ public function createGroups($account_id, $group_information = null) @@ -270,7 +270,7 @@ public function createGroups($account_id, $group_information = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\GroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function createGroupsWithHttpInfo($account_id, $group_information = null) @@ -352,7 +352,7 @@ public function createGroupsWithHttpInfo($account_id, $group_information = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @param \DocuSign\eSign\Model\BrandsRequest $brands_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BrandsResponse */ public function deleteBrands($account_id, $group_id, $brands_request = null) @@ -369,7 +369,7 @@ public function deleteBrands($account_id, $group_id, $brands_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @param \DocuSign\eSign\Model\BrandsRequest $brands_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BrandsResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteBrandsWithHttpInfo($account_id, $group_id, $brands_request = null) @@ -463,7 +463,7 @@ public function deleteBrandsWithHttpInfo($account_id, $group_id, $brands_request * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @param \DocuSign\eSign\Model\UserInfoList $user_info_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\UsersResponse */ public function deleteGroupUsers($account_id, $group_id, $user_info_list = null) @@ -480,7 +480,7 @@ public function deleteGroupUsers($account_id, $group_id, $user_info_list = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @param \DocuSign\eSign\Model\UserInfoList $user_info_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\UsersResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteGroupUsersWithHttpInfo($account_id, $group_id, $user_info_list = null) @@ -573,7 +573,7 @@ public function deleteGroupUsersWithHttpInfo($account_id, $group_id, $user_info_ * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\GroupInformation */ public function deleteGroups($account_id, $group_information = null) @@ -589,7 +589,7 @@ public function deleteGroups($account_id, $group_information = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\GroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteGroupsWithHttpInfo($account_id, $group_information = null) @@ -670,7 +670,7 @@ public function deleteGroupsWithHttpInfo($account_id, $group_information = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BrandsResponse */ public function getBrands($account_id, $group_id) @@ -686,7 +686,7 @@ public function getBrands($account_id, $group_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BrandsResponse, HTTP status code, HTTP response headers (array of strings) */ public function getBrandsWithHttpInfo($account_id, $group_id) @@ -775,7 +775,7 @@ public function getBrandsWithHttpInfo($account_id, $group_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @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\UsersResponse */ public function listGroupUsers($account_id, $group_id, GroupsApi\ListGroupUsersOptions $options = null) @@ -792,7 +792,7 @@ public function listGroupUsers($account_id, $group_id, GroupsApi\ListGroupUsersO * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @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\UsersResponse, HTTP status code, HTTP response headers (array of strings) */ public function listGroupUsersWithHttpInfo($account_id, $group_id, GroupsApi\ListGroupUsersOptions $options = null) @@ -892,7 +892,7 @@ public function listGroupUsersWithHttpInfo($account_id, $group_id, GroupsApi\Lis * * @param string $account_id The external account number (int) or account ID Guid. * @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\GroupInformation */ public function listGroups($account_id, GroupsApi\ListGroupsOptions $options = null) @@ -908,7 +908,7 @@ public function listGroups($account_id, GroupsApi\ListGroupsOptions $options = n * * @param string $account_id The external account number (int) or account ID Guid. * @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\GroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function listGroupsWithHttpInfo($account_id, GroupsApi\ListGroupsOptions $options = null) @@ -1005,7 +1005,7 @@ public function listGroupsWithHttpInfo($account_id, GroupsApi\ListGroupsOptions * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @param \DocuSign\eSign\Model\BrandsRequest $brands_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BrandsResponse */ public function updateBrands($account_id, $group_id, $brands_request = null) @@ -1022,7 +1022,7 @@ public function updateBrands($account_id, $group_id, $brands_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @param \DocuSign\eSign\Model\BrandsRequest $brands_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BrandsResponse, HTTP status code, HTTP response headers (array of strings) */ public function updateBrandsWithHttpInfo($account_id, $group_id, $brands_request = null) @@ -1116,7 +1116,7 @@ public function updateBrandsWithHttpInfo($account_id, $group_id, $brands_request * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @param \DocuSign\eSign\Model\UserInfoList $user_info_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\UsersResponse */ public function updateGroupUsers($account_id, $group_id, $user_info_list = null) @@ -1133,7 +1133,7 @@ public function updateGroupUsers($account_id, $group_id, $user_info_list = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $group_id The ID of the group being accessed. * @param \DocuSign\eSign\Model\UserInfoList $user_info_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\UsersResponse, HTTP status code, HTTP response headers (array of strings) */ public function updateGroupUsersWithHttpInfo($account_id, $group_id, $user_info_list = null) @@ -1226,7 +1226,7 @@ public function updateGroupUsersWithHttpInfo($account_id, $group_id, $user_info_ * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\GroupInformation */ public function updateGroups($account_id, $group_information = null) @@ -1242,7 +1242,7 @@ public function updateGroups($account_id, $group_information = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\GroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateGroupsWithHttpInfo($account_id, $group_information = null) diff --git a/src/Api/NotaryApi.php b/src/Api/NotaryApi.php index 41f51b0f..17270b80 100644 --- a/src/Api/NotaryApi.php +++ b/src/Api/NotaryApi.php @@ -111,7 +111,7 @@ public function setStartPosition($start_position) 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; @@ -175,7 +175,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * Get notary jurisdictions for a 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\NotaryJournalList */ public function listNotaryJournals(NotaryApi\ListNotaryJournalsOptions $options = null) @@ -190,7 +190,7 @@ public function listNotaryJournals(NotaryApi\ListNotaryJournalsOptions $options * Get notary jurisdictions for a 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\NotaryJournalList, HTTP status code, HTTP response headers (array of strings) */ public function listNotaryJournalsWithHttpInfo(NotaryApi\ListNotaryJournalsOptions $options = null) diff --git a/src/Api/OrganizationsApi.php b/src/Api/OrganizationsApi.php new file mode 100644 index 00000000..360ff6ca --- /dev/null +++ b/src/Api/OrganizationsApi.php @@ -0,0 +1,493 @@ +apiClient = $apiClient; + } + + /** + * Get API client + * + * @return \DocuSign\eSign\Client\ApiClient get the API client + */ + public function getApiClient() + { + return $this->apiClient; + } + + /** + * Set the API client + * + * @param \DocuSign\eSign\Client\ApiClient $apiClient set the API client + * + * @return OrganizationsApi + */ + public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) + { + $this->apiClient = $apiClient; + return $this; + } + + /** + * Operation deleteReport + * + * Retrieves org level report by correlation id and site. + * + * @param string $organization_id + * @param string $report_correlation_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function deleteReport($organization_id, $report_correlation_id) + { + list($response) = $this->deleteReportWithHttpInfo($organization_id, $report_correlation_id); + return $response; + } + + /** + * Operation deleteReportWithHttpInfo + * + * Retrieves org level report by correlation id and site. + * + * @param string $organization_id + * @param string $report_correlation_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function deleteReportWithHttpInfo($organization_id, $report_correlation_id) + { + // verify the required parameter 'organization_id' is set + if ($organization_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $organization_id when calling deleteReport'); + } + // verify the required parameter 'report_correlation_id' is set + if ($report_correlation_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $report_correlation_id when calling deleteReport'); + } + // parse inputs + $resourcePath = "/v2/organization_reporting/{organizationId}/reports/{reportCorrelationId}"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($organization_id !== null) { + $resourcePath = str_replace( + "{" . "organizationId" . "}", + $this->apiClient->getSerializer()->toPathValue($organization_id), + $resourcePath + ); + } + // path params + if ($report_correlation_id !== null) { + $resourcePath = str_replace( + "{" . "reportCorrelationId" . "}", + $this->apiClient->getSerializer()->toPathValue($report_correlation_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'DELETE', + $queryParams, + $httpBody, + $headerParams, + null, + '/v2/organization_reporting/{organizationId}/reports/{reportCorrelationId}' + ); + + return [null, $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + + /** + * Operation getAccountSettingsExport + * + * Retrieves an account settings comparison. + * + * @param string $organization_id + * @param string $result_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function getAccountSettingsExport($organization_id, $result_id) + { + list($response) = $this->getAccountSettingsExportWithHttpInfo($organization_id, $result_id); + return $response; + } + + /** + * Operation getAccountSettingsExportWithHttpInfo + * + * Retrieves an account settings comparison. + * + * @param string $organization_id + * @param string $result_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function getAccountSettingsExportWithHttpInfo($organization_id, $result_id) + { + // verify the required parameter 'organization_id' is set + if ($organization_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $organization_id when calling getAccountSettingsExport'); + } + // verify the required parameter 'result_id' is set + if ($result_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $result_id when calling getAccountSettingsExport'); + } + // parse inputs + $resourcePath = "/v2/organization_exports/{organizationId}/account_settings/{resultId}"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($organization_id !== null) { + $resourcePath = str_replace( + "{" . "organizationId" . "}", + $this->apiClient->getSerializer()->toPathValue($organization_id), + $resourcePath + ); + } + // path params + if ($result_id !== null) { + $resourcePath = str_replace( + "{" . "resultId" . "}", + $this->apiClient->getSerializer()->toPathValue($result_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'GET', + $queryParams, + $httpBody, + $headerParams, + null, + '/v2/organization_exports/{organizationId}/account_settings/{resultId}' + ); + + return [null, $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + + /** + * Operation getReport + * + * Retrieves org level report by correlation id and site. + * + * @param string $organization_id + * @param string $report_correlation_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function getReport($organization_id, $report_correlation_id) + { + list($response) = $this->getReportWithHttpInfo($organization_id, $report_correlation_id); + return $response; + } + + /** + * Operation getReportWithHttpInfo + * + * Retrieves org level report by correlation id and site. + * + * @param string $organization_id + * @param string $report_correlation_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function getReportWithHttpInfo($organization_id, $report_correlation_id) + { + // verify the required parameter 'organization_id' is set + if ($organization_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $organization_id when calling getReport'); + } + // verify the required parameter 'report_correlation_id' is set + if ($report_correlation_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $report_correlation_id when calling getReport'); + } + // parse inputs + $resourcePath = "/v2/organization_reporting/{organizationId}/reports/{reportCorrelationId}"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($organization_id !== null) { + $resourcePath = str_replace( + "{" . "organizationId" . "}", + $this->apiClient->getSerializer()->toPathValue($organization_id), + $resourcePath + ); + } + // path params + if ($report_correlation_id !== null) { + $resourcePath = str_replace( + "{" . "reportCorrelationId" . "}", + $this->apiClient->getSerializer()->toPathValue($report_correlation_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'GET', + $queryParams, + $httpBody, + $headerParams, + null, + '/v2/organization_reporting/{organizationId}/reports/{reportCorrelationId}' + ); + + return [null, $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } + + /** + * Operation getUserListExport + * + * Retrieves UserList Export Results data. + * + * @param string $organization_id + * @param string $result_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function getUserListExport($organization_id, $result_id) + { + list($response) = $this->getUserListExportWithHttpInfo($organization_id, $result_id); + return $response; + } + + /** + * Operation getUserListExportWithHttpInfo + * + * Retrieves UserList Export Results data. + * + * @param string $organization_id + * @param string $result_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of null, HTTP status code, HTTP response headers (array of strings) + */ + public function getUserListExportWithHttpInfo($organization_id, $result_id) + { + // verify the required parameter 'organization_id' is set + if ($organization_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $organization_id when calling getUserListExport'); + } + // verify the required parameter 'result_id' is set + if ($result_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $result_id when calling getUserListExport'); + } + // parse inputs + $resourcePath = "/v2/organization_exports/{organizationId}/user_list/{resultId}"; + $httpBody = ''; + $queryParams = []; + $headerParams = []; + $formParams = []; + $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); + if (!is_null($_header_accept)) { + $headerParams['Accept'] = $_header_accept; + } + $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + + + // path params + if ($organization_id !== null) { + $resourcePath = str_replace( + "{" . "organizationId" . "}", + $this->apiClient->getSerializer()->toPathValue($organization_id), + $resourcePath + ); + } + // path params + if ($result_id !== null) { + $resourcePath = str_replace( + "{" . "resultId" . "}", + $this->apiClient->getSerializer()->toPathValue($result_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + + // for model (json/xml) + if (isset($_tempBody)) { + $httpBody = $_tempBody; // $_tempBody is the method argument, if present + } elseif (count($formParams) > 0) { + $httpBody = $formParams; // for HTTP post (form) + } + // make the API Call + try { + list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( + $resourcePath, + 'GET', + $queryParams, + $httpBody, + $headerParams, + null, + '/v2/organization_exports/{organizationId}/user_list/{resultId}' + ); + + return [null, $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 400: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; + } + + throw $e; + } + } +} diff --git a/src/Api/PowerFormsApi.php b/src/Api/PowerFormsApi.php index 3bbff279..5b1073b2 100644 --- a/src/Api/PowerFormsApi.php +++ b/src/Api/PowerFormsApi.php @@ -242,7 +242,7 @@ public function setToDate($to_date) 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; @@ -307,7 +307,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\PowerForm $power_form (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\PowerForm */ public function createPowerForm($account_id, $power_form = null) @@ -323,7 +323,7 @@ public function createPowerForm($account_id, $power_form = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\PowerForm $power_form (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\PowerForm, HTTP status code, HTTP response headers (array of strings) */ public function createPowerFormWithHttpInfo($account_id, $power_form = null) @@ -404,7 +404,7 @@ public function createPowerFormWithHttpInfo($account_id, $power_form = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $power_form_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deletePowerForm($account_id, $power_form_id) @@ -420,7 +420,7 @@ public function deletePowerForm($account_id, $power_form_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $power_form_id - * @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 deletePowerFormWithHttpInfo($account_id, $power_form_id) @@ -504,7 +504,7 @@ public function deletePowerFormWithHttpInfo($account_id, $power_form_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\PowerFormsRequest $power_forms_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\PowerFormsResponse */ public function deletePowerForms($account_id, $power_forms_request = null) @@ -520,7 +520,7 @@ public function deletePowerForms($account_id, $power_forms_request = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\PowerFormsRequest $power_forms_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\PowerFormsResponse, HTTP status code, HTTP response headers (array of strings) */ public function deletePowerFormsWithHttpInfo($account_id, $power_forms_request = null) @@ -601,7 +601,7 @@ public function deletePowerFormsWithHttpInfo($account_id, $power_forms_request = * * @param string $account_id The external account number (int) or account ID Guid. * @param string $power_form_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\PowerForm */ public function getPowerForm($account_id, $power_form_id) @@ -617,7 +617,7 @@ public function getPowerForm($account_id, $power_form_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $power_form_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\PowerForm, HTTP status code, HTTP response headers (array of strings) */ public function getPowerFormWithHttpInfo($account_id, $power_form_id) @@ -706,7 +706,7 @@ public function getPowerFormWithHttpInfo($account_id, $power_form_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $power_form_id * @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\PowerFormsFormDataResponse */ public function getPowerFormData($account_id, $power_form_id, PowerFormsApi\GetPowerFormDataOptions $options = null) @@ -723,7 +723,7 @@ public function getPowerFormData($account_id, $power_form_id, PowerFormsApi\GetP * @param string $account_id The external account number (int) or account ID Guid. * @param string $power_form_id * @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\PowerFormsFormDataResponse, HTTP status code, HTTP response headers (array of strings) */ public function getPowerFormDataWithHttpInfo($account_id, $power_form_id, PowerFormsApi\GetPowerFormDataOptions $options = null) @@ -827,7 +827,7 @@ public function getPowerFormDataWithHttpInfo($account_id, $power_form_id, PowerF * * @param string $account_id The external account number (int) or account ID Guid. * @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\PowerFormSendersResponse */ public function listPowerFormSenders($account_id, PowerFormsApi\ListPowerFormSendersOptions $options = null) @@ -843,7 +843,7 @@ public function listPowerFormSenders($account_id, PowerFormsApi\ListPowerFormSen * * @param string $account_id The external account number (int) or account ID Guid. * @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\PowerFormSendersResponse, HTTP status code, HTTP response headers (array of strings) */ public function listPowerFormSendersWithHttpInfo($account_id, PowerFormsApi\ListPowerFormSendersOptions $options = null) @@ -927,7 +927,7 @@ public function listPowerFormSendersWithHttpInfo($account_id, PowerFormsApi\List * * @param string $account_id The external account number (int) or account ID Guid. * @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\PowerFormsResponse */ public function listPowerForms($account_id, PowerFormsApi\ListPowerFormsOptions $options = null) @@ -943,7 +943,7 @@ public function listPowerForms($account_id, PowerFormsApi\ListPowerFormsOptions * * @param string $account_id The external account number (int) or account ID Guid. * @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\PowerFormsResponse, HTTP status code, HTTP response headers (array of strings) */ public function listPowerFormsWithHttpInfo($account_id, PowerFormsApi\ListPowerFormsOptions $options = null) @@ -1040,7 +1040,7 @@ public function listPowerFormsWithHttpInfo($account_id, PowerFormsApi\ListPowerF * @param string $account_id The external account number (int) or account ID Guid. * @param string $power_form_id * @param \DocuSign\eSign\Model\PowerForm $power_form (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\PowerForm */ public function updatePowerForm($account_id, $power_form_id, $power_form = null) @@ -1057,7 +1057,7 @@ public function updatePowerForm($account_id, $power_form_id, $power_form = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $power_form_id * @param \DocuSign\eSign\Model\PowerForm $power_form (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\PowerForm, HTTP status code, HTTP response headers (array of strings) */ public function updatePowerFormWithHttpInfo($account_id, $power_form_id, $power_form = null) diff --git a/src/Api/SigningGroupsApi.php b/src/Api/SigningGroupsApi.php index 5bf89268..a40c8f77 100644 --- a/src/Api/SigningGroupsApi.php +++ b/src/Api/SigningGroupsApi.php @@ -86,7 +86,7 @@ public function setIncludeUsers($include_users) 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; @@ -151,7 +151,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @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\SigningGroupInformation */ public function callList($account_id, SigningGroupsApi\ListOptions $options = null) @@ -167,7 +167,7 @@ public function callList($account_id, SigningGroupsApi\ListOptions $options = nu * * @param string $account_id The external account number (int) or account ID Guid. * @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\SigningGroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function callListWithHttpInfo($account_id, SigningGroupsApi\ListOptions $options = null) @@ -255,7 +255,7 @@ public function callListWithHttpInfo($account_id, SigningGroupsApi\ListOptions $ * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\SigningGroupInformation $signing_group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SigningGroupInformation */ public function createList($account_id, $signing_group_information = null) @@ -271,7 +271,7 @@ public function createList($account_id, $signing_group_information = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\SigningGroupInformation $signing_group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SigningGroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function createListWithHttpInfo($account_id, $signing_group_information = null) @@ -352,7 +352,7 @@ public function createListWithHttpInfo($account_id, $signing_group_information = * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\SigningGroupInformation $signing_group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SigningGroupInformation */ public function deleteList($account_id, $signing_group_information = null) @@ -368,7 +368,7 @@ public function deleteList($account_id, $signing_group_information = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\SigningGroupInformation $signing_group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SigningGroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteListWithHttpInfo($account_id, $signing_group_information = null) @@ -450,7 +450,7 @@ public function deleteListWithHttpInfo($account_id, $signing_group_information = * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id * @param \DocuSign\eSign\Model\SigningGroupUsers $signing_group_users (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SigningGroupUsers */ public function deleteUsers($account_id, $signing_group_id, $signing_group_users = null) @@ -467,7 +467,7 @@ public function deleteUsers($account_id, $signing_group_id, $signing_group_users * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id * @param \DocuSign\eSign\Model\SigningGroupUsers $signing_group_users (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SigningGroupUsers, HTTP status code, HTTP response headers (array of strings) */ public function deleteUsersWithHttpInfo($account_id, $signing_group_id, $signing_group_users = null) @@ -560,7 +560,7 @@ public function deleteUsersWithHttpInfo($account_id, $signing_group_id, $signing * * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SigningGroup */ public function get($account_id, $signing_group_id) @@ -576,7 +576,7 @@ public function get($account_id, $signing_group_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SigningGroup, HTTP status code, HTTP response headers (array of strings) */ public function getWithHttpInfo($account_id, $signing_group_id) @@ -664,7 +664,7 @@ public function getWithHttpInfo($account_id, $signing_group_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SigningGroupUsers */ public function listUsers($account_id, $signing_group_id) @@ -680,7 +680,7 @@ public function listUsers($account_id, $signing_group_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SigningGroupUsers, HTTP status code, HTTP response headers (array of strings) */ public function listUsersWithHttpInfo($account_id, $signing_group_id) @@ -769,7 +769,7 @@ public function listUsersWithHttpInfo($account_id, $signing_group_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id * @param \DocuSign\eSign\Model\SigningGroup $signing_group (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SigningGroup */ public function update($account_id, $signing_group_id, $signing_group = null) @@ -786,7 +786,7 @@ public function update($account_id, $signing_group_id, $signing_group = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id * @param \DocuSign\eSign\Model\SigningGroup $signing_group (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SigningGroup, HTTP status code, HTTP response headers (array of strings) */ public function updateWithHttpInfo($account_id, $signing_group_id, $signing_group = null) @@ -879,7 +879,7 @@ public function updateWithHttpInfo($account_id, $signing_group_id, $signing_grou * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\SigningGroupInformation $signing_group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SigningGroupInformation */ public function updateList($account_id, $signing_group_information = null) @@ -895,7 +895,7 @@ public function updateList($account_id, $signing_group_information = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\SigningGroupInformation $signing_group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SigningGroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateListWithHttpInfo($account_id, $signing_group_information = null) @@ -977,7 +977,7 @@ public function updateListWithHttpInfo($account_id, $signing_group_information = * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id * @param \DocuSign\eSign\Model\SigningGroupUsers $signing_group_users (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\SigningGroupUsers */ public function updateUsers($account_id, $signing_group_id, $signing_group_users = null) @@ -994,7 +994,7 @@ public function updateUsers($account_id, $signing_group_id, $signing_group_users * @param string $account_id The external account number (int) or account ID Guid. * @param string $signing_group_id * @param \DocuSign\eSign\Model\SigningGroupUsers $signing_group_users (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\SigningGroupUsers, HTTP status code, HTTP response headers (array of strings) */ public function updateUsersWithHttpInfo($account_id, $signing_group_id, $signing_group_users = null) diff --git a/src/Api/TemplatesApi.php b/src/Api/TemplatesApi.php index d0af67b8..66b69bdf 100644 --- a/src/Api/TemplatesApi.php +++ b/src/Api/TemplatesApi.php @@ -1197,7 +1197,7 @@ public function setResendEnvelope($resend_envelope) 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; @@ -1263,7 +1263,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateCustomFields $template_custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFields */ public function createCustomFields($account_id, $template_id, $template_custom_fields = null) @@ -1280,7 +1280,7 @@ public function createCustomFields($account_id, $template_id, $template_custom_f * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateCustomFields $template_custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function createCustomFieldsWithHttpInfo($account_id, $template_id, $template_custom_fields = null) @@ -1375,7 +1375,7 @@ public function createCustomFieldsWithHttpInfo($account_id, $template_id, $templ * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentFieldsInformation */ public function createDocumentFields($account_id, $document_id, $template_id, $document_fields_information = null) @@ -1393,7 +1393,7 @@ public function createDocumentFields($account_id, $document_id, $template_id, $d * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentFieldsInformation, HTTP status code, HTTP response headers (array of strings) */ public function createDocumentFieldsWithHttpInfo($account_id, $document_id, $template_id, $document_fields_information = null) @@ -1499,7 +1499,7 @@ public function createDocumentFieldsWithHttpInfo($account_id, $document_id, $tem * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\ReturnUrlRequest $return_url_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ViewUrl */ public function createEditView($account_id, $template_id, $return_url_request = null) @@ -1516,7 +1516,7 @@ public function createEditView($account_id, $template_id, $return_url_request = * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\ReturnUrlRequest $return_url_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ViewUrl, HTTP status code, HTTP response headers (array of strings) */ public function createEditViewWithHttpInfo($account_id, $template_id, $return_url_request = null) @@ -1610,7 +1610,7 @@ public function createEditViewWithHttpInfo($account_id, $template_id, $return_ur * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\LockInformation */ public function createLock($account_id, $template_id, $lock_request = null) @@ -1627,7 +1627,7 @@ public function createLock($account_id, $template_id, $lock_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\LockInformation, HTTP status code, HTTP response headers (array of strings) */ public function createLockWithHttpInfo($account_id, $template_id, $lock_request = null) @@ -1722,7 +1722,7 @@ public function createLockWithHttpInfo($account_id, $template_id, $lock_request * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateRecipients $template_recipients (optional) * @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\Recipients */ public function createRecipients($account_id, $template_id, $template_recipients = null, TemplatesApi\CreateRecipientsOptions $options = null) @@ -1740,7 +1740,7 @@ public function createRecipients($account_id, $template_id, $template_recipients * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateRecipients $template_recipients (optional) * @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\Recipients, HTTP status code, HTTP response headers (array of strings) */ public function createRecipientsWithHttpInfo($account_id, $template_id, $template_recipients = null, TemplatesApi\CreateRecipientsOptions $options = null) @@ -1843,7 +1843,7 @@ public function createRecipientsWithHttpInfo($account_id, $template_id, $templat * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateTabs $template_tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Tabs */ public function createTabs($account_id, $recipient_id, $template_id, $template_tabs = null) @@ -1861,7 +1861,7 @@ public function createTabs($account_id, $recipient_id, $template_id, $template_t * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateTabs $template_tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function createTabsWithHttpInfo($account_id, $recipient_id, $template_id, $template_tabs = null) @@ -1966,7 +1966,7 @@ public function createTabsWithHttpInfo($account_id, $recipient_id, $template_id, * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\EnvelopeTemplate $envelope_template (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TemplateSummary */ public function createTemplate($account_id, $envelope_template = null) @@ -1982,7 +1982,7 @@ public function createTemplate($account_id, $envelope_template = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\EnvelopeTemplate $envelope_template (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TemplateSummary, HTTP status code, HTTP response headers (array of strings) */ public function createTemplateWithHttpInfo($account_id, $envelope_template = null) @@ -2065,7 +2065,7 @@ public function createTemplateWithHttpInfo($account_id, $envelope_template = nul * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentHtmlDefinition $document_html_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentHtmlDefinitions */ public function createTemplateDocumentResponsiveHtmlPreview($account_id, $document_id, $template_id, $document_html_definition = null) @@ -2083,7 +2083,7 @@ public function createTemplateDocumentResponsiveHtmlPreview($account_id, $docume * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentHtmlDefinition $document_html_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentHtmlDefinitions, HTTP status code, HTTP response headers (array of strings) */ public function createTemplateDocumentResponsiveHtmlPreviewWithHttpInfo($account_id, $document_id, $template_id, $document_html_definition = null) @@ -2189,7 +2189,7 @@ public function createTemplateDocumentResponsiveHtmlPreviewWithHttpInfo($account * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentHtmlDefinition $document_html_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentHtmlDefinitions */ public function createTemplateResponsiveHtmlPreview($account_id, $template_id, $document_html_definition = null) @@ -2206,7 +2206,7 @@ public function createTemplateResponsiveHtmlPreview($account_id, $template_id, $ * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentHtmlDefinition $document_html_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentHtmlDefinitions, HTTP status code, HTTP response headers (array of strings) */ public function createTemplateResponsiveHtmlPreviewWithHttpInfo($account_id, $template_id, $document_html_definition = null) @@ -2300,7 +2300,7 @@ public function createTemplateResponsiveHtmlPreviewWithHttpInfo($account_id, $te * @param string $account_id The external account number (int) or account ID Guid. * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BulkRecipientsUpdateResponse */ public function deleteBulkRecipients($account_id, $recipient_id, $template_id) @@ -2317,7 +2317,7 @@ public function deleteBulkRecipients($account_id, $recipient_id, $template_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BulkRecipientsUpdateResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteBulkRecipientsWithHttpInfo($account_id, $recipient_id, $template_id) @@ -2418,7 +2418,7 @@ public function deleteBulkRecipientsWithHttpInfo($account_id, $recipient_id, $te * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateCustomFields $template_custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFields */ public function deleteCustomFields($account_id, $template_id, $template_custom_fields = null) @@ -2435,7 +2435,7 @@ public function deleteCustomFields($account_id, $template_id, $template_custom_f * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateCustomFields $template_custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function deleteCustomFieldsWithHttpInfo($account_id, $template_id, $template_custom_fields = null) @@ -2530,7 +2530,7 @@ public function deleteCustomFieldsWithHttpInfo($account_id, $template_id, $templ * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentFieldsInformation */ public function deleteDocumentFields($account_id, $document_id, $template_id, $document_fields_information = null) @@ -2548,7 +2548,7 @@ public function deleteDocumentFields($account_id, $document_id, $template_id, $d * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentFieldsInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteDocumentFieldsWithHttpInfo($account_id, $document_id, $template_id, $document_fields_information = null) @@ -2656,7 +2656,7 @@ public function deleteDocumentFieldsWithHttpInfo($account_id, $document_id, $tem * @param string $page_number The page number being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\PageRequest $page_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteDocumentPage($account_id, $document_id, $page_number, $template_id, $page_request = null) @@ -2675,7 +2675,7 @@ public function deleteDocumentPage($account_id, $document_id, $page_number, $tem * @param string $page_number The page number being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\PageRequest $page_request (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 deleteDocumentPageWithHttpInfo($account_id, $document_id, $page_number, $template_id, $page_request = null) @@ -2789,7 +2789,7 @@ public function deleteDocumentPageWithHttpInfo($account_id, $document_id, $page_ * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TemplateDocumentsResult */ public function deleteDocuments($account_id, $template_id, $envelope_definition = null) @@ -2806,7 +2806,7 @@ public function deleteDocuments($account_id, $template_id, $envelope_definition * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TemplateDocumentsResult, HTTP status code, HTTP response headers (array of strings) */ public function deleteDocumentsWithHttpInfo($account_id, $template_id, $envelope_definition = null) @@ -2901,7 +2901,7 @@ public function deleteDocumentsWithHttpInfo($account_id, $template_id, $envelope * @param string $template_id The ID of the template being accessed. * @param string $template_part Currently, the only defined part is **groups**. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\GroupInformation */ public function deleteGroupShare($account_id, $template_id, $template_part, $group_information = null) @@ -2919,7 +2919,7 @@ public function deleteGroupShare($account_id, $template_id, $template_part, $gro * @param string $template_id The ID of the template being accessed. * @param string $template_part Currently, the only defined part is **groups**. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\GroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteGroupShareWithHttpInfo($account_id, $template_id, $template_part, $group_information = null) @@ -3025,7 +3025,7 @@ public function deleteGroupShareWithHttpInfo($account_id, $template_id, $templat * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\LockInformation */ public function deleteLock($account_id, $template_id, $lock_request = null) @@ -3042,7 +3042,7 @@ public function deleteLock($account_id, $template_id, $lock_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\LockInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteLockWithHttpInfo($account_id, $template_id, $lock_request = null) @@ -3137,7 +3137,7 @@ public function deleteLockWithHttpInfo($account_id, $template_id, $lock_request * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateRecipients $template_recipients (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Recipients */ public function deleteRecipient($account_id, $recipient_id, $template_id, $template_recipients = null) @@ -3155,7 +3155,7 @@ public function deleteRecipient($account_id, $recipient_id, $template_id, $templ * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateRecipients $template_recipients (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Recipients, HTTP status code, HTTP response headers (array of strings) */ public function deleteRecipientWithHttpInfo($account_id, $recipient_id, $template_id, $template_recipients = null) @@ -3261,7 +3261,7 @@ public function deleteRecipientWithHttpInfo($account_id, $recipient_id, $templat * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateRecipients $template_recipients (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Recipients */ public function deleteRecipients($account_id, $template_id, $template_recipients = null) @@ -3278,7 +3278,7 @@ public function deleteRecipients($account_id, $template_id, $template_recipients * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateRecipients $template_recipients (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Recipients, HTTP status code, HTTP response headers (array of strings) */ public function deleteRecipientsWithHttpInfo($account_id, $template_id, $template_recipients = null) @@ -3373,7 +3373,7 @@ public function deleteRecipientsWithHttpInfo($account_id, $template_id, $templat * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateTabs $template_tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Tabs */ public function deleteTabs($account_id, $recipient_id, $template_id, $template_tabs = null) @@ -3391,7 +3391,7 @@ public function deleteTabs($account_id, $recipient_id, $template_id, $template_t * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateTabs $template_tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function deleteTabsWithHttpInfo($account_id, $recipient_id, $template_id, $template_tabs = null) @@ -3497,7 +3497,7 @@ public function deleteTabsWithHttpInfo($account_id, $recipient_id, $template_id, * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @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\EnvelopeTemplate */ public function get($account_id, $template_id, TemplatesApi\GetOptions $options = null) @@ -3514,7 +3514,7 @@ public function get($account_id, $template_id, TemplatesApi\GetOptions $options * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @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\EnvelopeTemplate, HTTP status code, HTTP response headers (array of strings) */ public function getWithHttpInfo($account_id, $template_id, TemplatesApi\GetOptions $options = null) @@ -3612,7 +3612,7 @@ public function getWithHttpInfo($account_id, $template_id, TemplatesApi\GetOptio * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @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 \SplFileObject */ public function getDocument($account_id, $document_id, $template_id, TemplatesApi\GetDocumentOptions $options = null) @@ -3630,7 +3630,7 @@ public function getDocument($account_id, $document_id, $template_id, TemplatesAp * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getDocumentWithHttpInfo($account_id, $document_id, $template_id, TemplatesApi\GetDocumentOptions $options = null) @@ -3745,7 +3745,7 @@ public function getDocumentWithHttpInfo($account_id, $document_id, $template_id, * @param string $page_number The page number being accessed. * @param string $template_id The ID of the template being accessed. * @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 \SplFileObject */ public function getDocumentPageImage($account_id, $document_id, $page_number, $template_id, TemplatesApi\GetDocumentPageImageOptions $options = null) @@ -3764,7 +3764,7 @@ public function getDocumentPageImage($account_id, $document_id, $page_number, $t * @param string $page_number The page number being accessed. * @param string $template_id The ID of the template being accessed. * @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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getDocumentPageImageWithHttpInfo($account_id, $document_id, $page_number, $template_id, TemplatesApi\GetDocumentPageImageOptions $options = null) @@ -3898,7 +3898,7 @@ public function getDocumentPageImageWithHttpInfo($account_id, $document_id, $pag * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @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\Tabs */ public function getDocumentTabs($account_id, $document_id, $template_id, TemplatesApi\GetDocumentTabsOptions $options = null) @@ -3916,7 +3916,7 @@ public function getDocumentTabs($account_id, $document_id, $template_id, Templat * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @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\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function getDocumentTabsWithHttpInfo($account_id, $document_id, $template_id, TemplatesApi\GetDocumentTabsOptions $options = null) @@ -4024,7 +4024,7 @@ public function getDocumentTabsWithHttpInfo($account_id, $document_id, $template * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\LockInformation */ public function getLock($account_id, $template_id) @@ -4040,7 +4040,7 @@ public function getLock($account_id, $template_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\LockInformation, HTTP status code, HTTP response headers (array of strings) */ public function getLockWithHttpInfo($account_id, $template_id) @@ -4128,7 +4128,7 @@ public function getLockWithHttpInfo($account_id, $template_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Notification */ public function getNotificationSettings($account_id, $template_id) @@ -4144,7 +4144,7 @@ public function getNotificationSettings($account_id, $template_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Notification, HTTP status code, HTTP response headers (array of strings) */ public function getNotificationSettingsWithHttpInfo($account_id, $template_id) @@ -4234,7 +4234,7 @@ public function getNotificationSettingsWithHttpInfo($account_id, $template_id) * @param string $document_id The ID of the document being accessed. * @param string $page_number The page number being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Tabs */ public function getPageTabs($account_id, $document_id, $page_number, $template_id) @@ -4252,7 +4252,7 @@ public function getPageTabs($account_id, $document_id, $page_number, $template_i * @param string $document_id The ID of the document being accessed. * @param string $page_number The page number being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function getPageTabsWithHttpInfo($account_id, $document_id, $page_number, $template_id) @@ -4366,7 +4366,7 @@ public function getPageTabsWithHttpInfo($account_id, $document_id, $page_number, * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @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\PageImages */ public function getPages($account_id, $document_id, $template_id, TemplatesApi\GetPagesOptions $options = null) @@ -4384,7 +4384,7 @@ public function getPages($account_id, $document_id, $template_id, TemplatesApi\G * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @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\PageImages, HTTP status code, HTTP response headers (array of strings) */ public function getPagesWithHttpInfo($account_id, $document_id, $template_id, TemplatesApi\GetPagesOptions $options = null) @@ -4517,7 +4517,7 @@ public function getPagesWithHttpInfo($account_id, $document_id, $template_id, Te * @param string $account_id The external account number (int) or account ID Guid. * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentHtmlDefinitionOriginals */ public function getTemplateDocumentHtmlDefinitions($account_id, $document_id, $template_id) @@ -4534,7 +4534,7 @@ public function getTemplateDocumentHtmlDefinitions($account_id, $document_id, $t * @param string $account_id The external account number (int) or account ID Guid. * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentHtmlDefinitionOriginals, HTTP status code, HTTP response headers (array of strings) */ public function getTemplateDocumentHtmlDefinitionsWithHttpInfo($account_id, $document_id, $template_id) @@ -4634,7 +4634,7 @@ public function getTemplateDocumentHtmlDefinitionsWithHttpInfo($account_id, $doc * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentHtmlDefinitionOriginals */ public function getTemplateHtmlDefinitions($account_id, $template_id) @@ -4650,7 +4650,7 @@ public function getTemplateHtmlDefinitions($account_id, $template_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentHtmlDefinitionOriginals, HTTP status code, HTTP response headers (array of strings) */ public function getTemplateHtmlDefinitionsWithHttpInfo($account_id, $template_id) @@ -4740,7 +4740,7 @@ public function getTemplateHtmlDefinitionsWithHttpInfo($account_id, $template_id * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @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\BulkRecipientsResponse */ public function listBulkRecipients($account_id, $recipient_id, $template_id, TemplatesApi\ListBulkRecipientsOptions $options = null) @@ -4758,7 +4758,7 @@ public function listBulkRecipients($account_id, $recipient_id, $template_id, Tem * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @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\BulkRecipientsResponse, HTTP status code, HTTP response headers (array of strings) */ public function listBulkRecipientsWithHttpInfo($account_id, $recipient_id, $template_id, TemplatesApi\ListBulkRecipientsOptions $options = null) @@ -4870,7 +4870,7 @@ public function listBulkRecipientsWithHttpInfo($account_id, $recipient_id, $temp * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFields */ public function listCustomFields($account_id, $template_id) @@ -4886,7 +4886,7 @@ public function listCustomFields($account_id, $template_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function listCustomFieldsWithHttpInfo($account_id, $template_id) @@ -4975,7 +4975,7 @@ public function listCustomFieldsWithHttpInfo($account_id, $template_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentFieldsInformation */ public function listDocumentFields($account_id, $document_id, $template_id) @@ -4992,7 +4992,7 @@ public function listDocumentFields($account_id, $document_id, $template_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentFieldsInformation, HTTP status code, HTTP response headers (array of strings) */ public function listDocumentFieldsWithHttpInfo($account_id, $document_id, $template_id) @@ -5092,7 +5092,7 @@ public function listDocumentFieldsWithHttpInfo($account_id, $document_id, $templ * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TemplateDocumentsResult */ public function listDocuments($account_id, $template_id) @@ -5108,7 +5108,7 @@ public function listDocuments($account_id, $template_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TemplateDocumentsResult, HTTP status code, HTTP response headers (array of strings) */ public function listDocumentsWithHttpInfo($account_id, $template_id) @@ -5197,7 +5197,7 @@ public function listDocumentsWithHttpInfo($account_id, $template_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @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\Recipients */ public function listRecipients($account_id, $template_id, TemplatesApi\ListRecipientsOptions $options = null) @@ -5214,7 +5214,7 @@ public function listRecipients($account_id, $template_id, TemplatesApi\ListRecip * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @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\Recipients, HTTP status code, HTTP response headers (array of strings) */ public function listRecipientsWithHttpInfo($account_id, $template_id, TemplatesApi\ListRecipientsOptions $options = null) @@ -5320,7 +5320,7 @@ public function listRecipientsWithHttpInfo($account_id, $template_id, TemplatesA * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @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\Tabs */ public function listTabs($account_id, $recipient_id, $template_id, TemplatesApi\ListTabsOptions $options = null) @@ -5338,7 +5338,7 @@ public function listTabs($account_id, $recipient_id, $template_id, TemplatesApi\ * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @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\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function listTabsWithHttpInfo($account_id, $recipient_id, $template_id, TemplatesApi\ListTabsOptions $options = null) @@ -5450,7 +5450,7 @@ public function listTabsWithHttpInfo($account_id, $recipient_id, $template_id, T * * @param string $account_id The external account number (int) or account ID Guid. * @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\EnvelopeTemplateResults */ public function listTemplates($account_id, TemplatesApi\ListTemplatesOptions $options = null) @@ -5466,7 +5466,7 @@ public function listTemplates($account_id, TemplatesApi\ListTemplatesOptions $op * * @param string $account_id The external account number (int) or account ID Guid. * @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\EnvelopeTemplateResults, HTTP status code, HTTP response headers (array of strings) */ public function listTemplatesWithHttpInfo($account_id, TemplatesApi\ListTemplatesOptions $options = null) @@ -5617,7 +5617,7 @@ public function listTemplatesWithHttpInfo($account_id, TemplatesApi\ListTemplate * @param string $page_number The page number being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\PageRequest $page_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function rotateDocumentPage($account_id, $document_id, $page_number, $template_id, $page_request = null) @@ -5636,7 +5636,7 @@ public function rotateDocumentPage($account_id, $document_id, $page_number, $tem * @param string $page_number The page number being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\PageRequest $page_request (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 rotateDocumentPageWithHttpInfo($account_id, $document_id, $page_number, $template_id, $page_request = null) @@ -5750,7 +5750,7 @@ public function rotateDocumentPageWithHttpInfo($account_id, $document_id, $page_ * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\EnvelopeTemplate $envelope_template (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\TemplateUpdateSummary */ public function update($account_id, $template_id, $envelope_template = null) @@ -5767,7 +5767,7 @@ public function update($account_id, $template_id, $envelope_template = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\EnvelopeTemplate $envelope_template (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\TemplateUpdateSummary, HTTP status code, HTTP response headers (array of strings) */ public function updateWithHttpInfo($account_id, $template_id, $envelope_template = null) @@ -5862,7 +5862,7 @@ public function updateWithHttpInfo($account_id, $template_id, $envelope_template * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\BulkRecipientsRequest $bulk_recipients_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\BulkRecipientsSummaryResponse */ public function updateBulkRecipients($account_id, $recipient_id, $template_id, $bulk_recipients_request = null) @@ -5880,7 +5880,7 @@ public function updateBulkRecipients($account_id, $recipient_id, $template_id, $ * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\BulkRecipientsRequest $bulk_recipients_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\BulkRecipientsSummaryResponse, HTTP status code, HTTP response headers (array of strings) */ public function updateBulkRecipientsWithHttpInfo($account_id, $recipient_id, $template_id, $bulk_recipients_request = null) @@ -5986,7 +5986,7 @@ public function updateBulkRecipientsWithHttpInfo($account_id, $recipient_id, $te * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateCustomFields $template_custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomFields */ public function updateCustomFields($account_id, $template_id, $template_custom_fields = null) @@ -6003,7 +6003,7 @@ public function updateCustomFields($account_id, $template_id, $template_custom_f * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateCustomFields $template_custom_fields (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomFields, HTTP status code, HTTP response headers (array of strings) */ public function updateCustomFieldsWithHttpInfo($account_id, $template_id, $template_custom_fields = null) @@ -6099,7 +6099,7 @@ public function updateCustomFieldsWithHttpInfo($account_id, $template_id, $templ * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) * @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\EnvelopeDocument */ public function updateDocument($account_id, $document_id, $template_id, $envelope_definition = null, TemplatesApi\UpdateDocumentOptions $options = null) @@ -6118,7 +6118,7 @@ public function updateDocument($account_id, $document_id, $template_id, $envelop * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) * @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\EnvelopeDocument, HTTP status code, HTTP response headers (array of strings) */ public function updateDocumentWithHttpInfo($account_id, $document_id, $template_id, $envelope_definition = null, TemplatesApi\UpdateDocumentOptions $options = null) @@ -6237,7 +6237,7 @@ public function updateDocumentWithHttpInfo($account_id, $document_id, $template_ * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\DocumentFieldsInformation */ public function updateDocumentFields($account_id, $document_id, $template_id, $document_fields_information = null) @@ -6255,7 +6255,7 @@ public function updateDocumentFields($account_id, $document_id, $template_id, $d * @param string $document_id The ID of the document being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\DocumentFieldsInformation $document_fields_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\DocumentFieldsInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateDocumentFieldsWithHttpInfo($account_id, $document_id, $template_id, $document_fields_information = null) @@ -6362,7 +6362,7 @@ public function updateDocumentFieldsWithHttpInfo($account_id, $document_id, $tem * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) * @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\TemplateDocumentsResult */ public function updateDocuments($account_id, $template_id, $envelope_definition = null, TemplatesApi\UpdateDocumentsOptions $options = null) @@ -6380,7 +6380,7 @@ public function updateDocuments($account_id, $template_id, $envelope_definition * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\EnvelopeDefinition $envelope_definition (optional) * @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\TemplateDocumentsResult, HTTP status code, HTTP response headers (array of strings) */ public function updateDocumentsWithHttpInfo($account_id, $template_id, $envelope_definition = null, TemplatesApi\UpdateDocumentsOptions $options = null) @@ -6487,7 +6487,7 @@ public function updateDocumentsWithHttpInfo($account_id, $template_id, $envelope * @param string $template_id The ID of the template being accessed. * @param string $template_part Currently, the only defined part is **groups**. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\GroupInformation */ public function updateGroupShare($account_id, $template_id, $template_part, $group_information = null) @@ -6505,7 +6505,7 @@ public function updateGroupShare($account_id, $template_id, $template_part, $gro * @param string $template_id The ID of the template being accessed. * @param string $template_part Currently, the only defined part is **groups**. * @param \DocuSign\eSign\Model\GroupInformation $group_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\GroupInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateGroupShareWithHttpInfo($account_id, $template_id, $template_part, $group_information = null) @@ -6611,7 +6611,7 @@ public function updateGroupShareWithHttpInfo($account_id, $template_id, $templat * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\LockInformation */ public function updateLock($account_id, $template_id, $lock_request = null) @@ -6628,7 +6628,7 @@ public function updateLock($account_id, $template_id, $lock_request = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\LockRequest $lock_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\LockInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateLockWithHttpInfo($account_id, $template_id, $lock_request = null) @@ -6722,7 +6722,7 @@ public function updateLockWithHttpInfo($account_id, $template_id, $lock_request * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateNotificationRequest $template_notification_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Notification */ public function updateNotificationSettings($account_id, $template_id, $template_notification_request = null) @@ -6739,7 +6739,7 @@ public function updateNotificationSettings($account_id, $template_id, $template_ * @param string $account_id The external account number (int) or account ID Guid. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateNotificationRequest $template_notification_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Notification, HTTP status code, HTTP response headers (array of strings) */ public function updateNotificationSettingsWithHttpInfo($account_id, $template_id, $template_notification_request = null) @@ -6834,7 +6834,7 @@ public function updateNotificationSettingsWithHttpInfo($account_id, $template_id * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateRecipients $template_recipients (optional) * @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\RecipientsUpdateSummary */ public function updateRecipients($account_id, $template_id, $template_recipients = null, TemplatesApi\UpdateRecipientsOptions $options = null) @@ -6852,7 +6852,7 @@ public function updateRecipients($account_id, $template_id, $template_recipients * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateRecipients $template_recipients (optional) * @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\RecipientsUpdateSummary, HTTP status code, HTTP response headers (array of strings) */ public function updateRecipientsWithHttpInfo($account_id, $template_id, $template_recipients = null, TemplatesApi\UpdateRecipientsOptions $options = null) @@ -6955,7 +6955,7 @@ public function updateRecipientsWithHttpInfo($account_id, $template_id, $templat * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateTabs $template_tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Tabs */ public function updateTabs($account_id, $recipient_id, $template_id, $template_tabs = null) @@ -6973,7 +6973,7 @@ public function updateTabs($account_id, $recipient_id, $template_id, $template_t * @param string $recipient_id The ID of the recipient being accessed. * @param string $template_id The ID of the template being accessed. * @param \DocuSign\eSign\Model\TemplateTabs $template_tabs (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Tabs, HTTP status code, HTTP response headers (array of strings) */ public function updateTabsWithHttpInfo($account_id, $recipient_id, $template_id, $template_tabs = null) diff --git a/src/Api/TrustServiceProvidersApi.php b/src/Api/TrustServiceProvidersApi.php deleted file mode 100644 index 12385f34..00000000 --- a/src/Api/TrustServiceProvidersApi.php +++ /dev/null @@ -1,183 +0,0 @@ -apiClient = $apiClient; - } - - /** - * Get API client - * - * @return \DocuSign\eSign\Client\ApiClient get the API client - */ - public function getApiClient() - { - return $this->apiClient; - } - - /** - * Set the API client - * - * @param \DocuSign\eSign\Client\ApiClient $apiClient set the API client - * - * @return TrustServiceProvidersApi - */ - public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) - { - $this->apiClient = $apiClient; - return $this; - } - - /** - * Operation getSealProviders - * - * Returns Account available seals for specified account. - * - * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\AccountSeals - */ - public function getSealProviders($account_id) - { - list($response) = $this->getSealProvidersWithHttpInfo($account_id); - return $response; - } - - /** - * Operation getSealProvidersWithHttpInfo - * - * Returns Account available seals for specified account. - * - * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response - * @return array of \DocuSign\eSign\Model\AccountSeals, HTTP status code, HTTP response headers (array of strings) - */ - public function getSealProvidersWithHttpInfo($account_id) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getSealProviders'); - } - // parse inputs - $resourcePath = "/v2/accounts/{accountId}/seals"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); - - - // path params - if ($account_id !== null) { - $resourcePath = str_replace( - "{" . "accountId" . "}", - $this->apiClient->getSerializer()->toPathValue($account_id), - $resourcePath - ); - } - // default format to json - $resourcePath = str_replace("{format}", "json", $resourcePath); - - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'GET', - $queryParams, - $httpBody, - $headerParams, - '\DocuSign\eSign\Model\AccountSeals', - '/v2/accounts/{accountId}/seals' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\AccountSeals', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\AccountSeals', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } -} diff --git a/src/Api/UsersApi.php b/src/Api/UsersApi.php index e338973a..92b3785f 100644 --- a/src/Api/UsersApi.php +++ b/src/Api/UsersApi.php @@ -479,7 +479,7 @@ public function setCloseExistingSignature($close_existing_signature) 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; @@ -544,7 +544,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @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\UserInformationList */ public function callList($account_id, UsersApi\ListOptions $options = null) @@ -560,7 +560,7 @@ public function callList($account_id, UsersApi\ListOptions $options = null) * * @param string $account_id The external account number (int) or account ID Guid. * @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\UserInformationList, HTTP status code, HTTP response headers (array of strings) */ public function callListWithHttpInfo($account_id, UsersApi\ListOptions $options = null) @@ -680,7 +680,7 @@ public function callListWithHttpInfo($account_id, UsersApi\ListOptions $options * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\NewUsersDefinition $new_users_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\NewUsersSummary */ public function create($account_id, $new_users_definition = null) @@ -696,7 +696,7 @@ public function create($account_id, $new_users_definition = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\NewUsersDefinition $new_users_definition (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\NewUsersSummary, HTTP status code, HTTP response headers (array of strings) */ public function createWithHttpInfo($account_id, $new_users_definition = null) @@ -778,7 +778,7 @@ public function createWithHttpInfo($account_id, $new_users_definition = null) * @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\UserSignaturesInformation $user_signatures_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\UserSignaturesInformation */ public function createSignatures($account_id, $user_id, $user_signatures_information = null) @@ -795,7 +795,7 @@ public function createSignatures($account_id, $user_id, $user_signatures_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\UserSignaturesInformation $user_signatures_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\UserSignaturesInformation, HTTP status code, HTTP response headers (array of strings) */ public function createSignaturesWithHttpInfo($account_id, $user_id, $user_signatures_information = null) @@ -889,7 +889,7 @@ public function createSignaturesWithHttpInfo($account_id, $user_id, $user_signat * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\UserInfoList $user_info_list (optional) * @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\UsersResponse */ public function delete($account_id, $user_info_list = null, UsersApi\DeleteOptions $options = null) @@ -906,7 +906,7 @@ public function delete($account_id, $user_info_list = null, UsersApi\DeleteOptio * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\UserInfoList $user_info_list (optional) * @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\UsersResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteWithHttpInfo($account_id, $user_info_list = null, UsersApi\DeleteOptions $options = null) @@ -995,7 +995,7 @@ public function deleteWithHttpInfo($account_id, $user_info_list = null, UsersApi * * @param string $account_id The external account number (int) or account ID Guid. * @param string $contact_id The unique identifier of a person in the contacts address book. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ContactUpdateResponse */ public function deleteContactWithId($account_id, $contact_id) @@ -1011,7 +1011,7 @@ public function deleteContactWithId($account_id, $contact_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $contact_id The unique identifier of a person in the contacts address book. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ContactUpdateResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteContactWithIdWithHttpInfo($account_id, $contact_id) @@ -1099,7 +1099,7 @@ public function deleteContactWithIdWithHttpInfo($account_id, $contact_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ContactModRequest $contact_mod_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ContactUpdateResponse */ public function deleteContacts($account_id, $contact_mod_request = null) @@ -1115,7 +1115,7 @@ public function deleteContacts($account_id, $contact_mod_request = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ContactModRequest $contact_mod_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ContactUpdateResponse, HTTP status code, HTTP response headers (array of strings) */ public function deleteContactsWithHttpInfo($account_id, $contact_mod_request = null) @@ -1197,7 +1197,7 @@ public function deleteContactsWithHttpInfo($account_id, $contact_mod_request = n * @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\CustomSettingsInformation $custom_settings_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomSettingsInformation */ public function deleteCustomSettings($account_id, $user_id, $custom_settings_information = null) @@ -1214,7 +1214,7 @@ public function deleteCustomSettings($account_id, $user_id, $custom_settings_inf * @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\CustomSettingsInformation $custom_settings_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomSettingsInformation, HTTP status code, HTTP response headers (array of strings) */ public function deleteCustomSettingsWithHttpInfo($account_id, $user_id, $custom_settings_information = null) @@ -1307,7 +1307,7 @@ public function deleteCustomSettingsWithHttpInfo($account_id, $user_id, $custom_ * * @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 void */ public function deleteProfileImage($account_id, $user_id) @@ -1323,7 +1323,7 @@ public function deleteProfileImage($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 null, HTTP status code, HTTP response headers (array of strings) */ public function deleteProfileImageWithHttpInfo($account_id, $user_id) @@ -1408,7 +1408,7 @@ public function deleteProfileImageWithHttpInfo($account_id, $user_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $signature_id The ID of the signature being accessed. * @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 void */ public function deleteSignature($account_id, $signature_id, $user_id) @@ -1425,7 +1425,7 @@ public function deleteSignature($account_id, $signature_id, $user_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $signature_id The ID of the signature being accessed. * @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 null, HTTP status code, HTTP response headers (array of strings) */ public function deleteSignatureWithHttpInfo($account_id, $signature_id, $user_id) @@ -1523,7 +1523,7 @@ public function deleteSignatureWithHttpInfo($account_id, $signature_id, $user_id * @param string $image_type One of **signature_image** or **initials_image**. * @param string $signature_id The ID of the signature being accessed. * @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\UserSignature */ public function deleteSignatureImage($account_id, $image_type, $signature_id, $user_id) @@ -1541,7 +1541,7 @@ public function deleteSignatureImage($account_id, $image_type, $signature_id, $u * @param string $image_type One of **signature_image** or **initials_image**. * @param string $signature_id The ID of the signature being accessed. * @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\UserSignature, HTTP status code, HTTP response headers (array of strings) */ public function deleteSignatureImageWithHttpInfo($account_id, $image_type, $signature_id, $user_id) @@ -1653,7 +1653,7 @@ public function deleteSignatureImageWithHttpInfo($account_id, $image_type, $sign * * @param string $account_id The external account number (int) or account ID Guid. * @param string $contact_id The unique identifier of a person in the contacts address book. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ContactGetResponse */ public function getContactById($account_id, $contact_id) @@ -1669,7 +1669,7 @@ public function getContactById($account_id, $contact_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $contact_id The unique identifier of a person in the contacts address book. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ContactGetResponse, HTTP status code, HTTP response headers (array of strings) */ public function getContactByIdWithHttpInfo($account_id, $contact_id) @@ -1758,7 +1758,7 @@ public function getContactByIdWithHttpInfo($account_id, $contact_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. * @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\UserInformation */ public function getInformation($account_id, $user_id, UsersApi\GetInformationOptions $options = null) @@ -1775,7 +1775,7 @@ public function getInformation($account_id, $user_id, UsersApi\GetInformationOpt * @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 $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\UserInformation, HTTP status code, HTTP response headers (array of strings) */ public function getInformationWithHttpInfo($account_id, $user_id, UsersApi\GetInformationOptions $options = null) @@ -1875,7 +1875,7 @@ public function getInformationWithHttpInfo($account_id, $user_id, UsersApi\GetIn * * @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\UserProfile */ public function getProfile($account_id, $user_id) @@ -1891,7 +1891,7 @@ public function getProfile($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\UserProfile, HTTP status code, HTTP response headers (array of strings) */ public function getProfileWithHttpInfo($account_id, $user_id) @@ -1980,7 +1980,7 @@ public function getProfileWithHttpInfo($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. * @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 \SplFileObject */ public function getProfileImage($account_id, $user_id, UsersApi\GetProfileImageOptions $options = null) @@ -1997,7 +1997,7 @@ public function getProfileImage($account_id, $user_id, UsersApi\GetProfileImageO * @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 $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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getProfileImageWithHttpInfo($account_id, $user_id, UsersApi\GetProfileImageOptions $options = null) @@ -2093,7 +2093,7 @@ public function getProfileImageWithHttpInfo($account_id, $user_id, UsersApi\GetP * * @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\UserSettingsInformation */ public function getSettings($account_id, $user_id) @@ -2109,7 +2109,7 @@ public function getSettings($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\UserSettingsInformation, HTTP status code, HTTP response headers (array of strings) */ public function getSettingsWithHttpInfo($account_id, $user_id) @@ -2198,7 +2198,7 @@ public function getSettingsWithHttpInfo($account_id, $user_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $signature_id The ID of the signature being accessed. * @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\UserSignature */ public function getSignature($account_id, $signature_id, $user_id) @@ -2215,7 +2215,7 @@ public function getSignature($account_id, $signature_id, $user_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $signature_id The ID of the signature being accessed. * @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\UserSignature, HTTP status code, HTTP response headers (array of strings) */ public function getSignatureWithHttpInfo($account_id, $signature_id, $user_id) @@ -2318,7 +2318,7 @@ public function getSignatureWithHttpInfo($account_id, $signature_id, $user_id) * @param string $signature_id The ID of the signature being accessed. * @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 $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 \SplFileObject */ public function getSignatureImage($account_id, $image_type, $signature_id, $user_id, UsersApi\GetSignatureImageOptions $options = null) @@ -2337,7 +2337,7 @@ public function getSignatureImage($account_id, $image_type, $signature_id, $user * @param string $signature_id The ID of the signature being accessed. * @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 $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 \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function getSignatureImageWithHttpInfo($account_id, $image_type, $signature_id, $user_id, UsersApi\GetSignatureImageOptions $options = null) @@ -2457,7 +2457,7 @@ public function getSignatureImageWithHttpInfo($account_id, $image_type, $signatu * * @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\CustomSettingsInformation */ public function listCustomSettings($account_id, $user_id) @@ -2473,7 +2473,7 @@ public function listCustomSettings($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\CustomSettingsInformation, HTTP status code, HTTP response headers (array of strings) */ public function listCustomSettingsWithHttpInfo($account_id, $user_id) @@ -2562,7 +2562,7 @@ public function listCustomSettingsWithHttpInfo($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. * @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\UserSignaturesInformation */ public function listSignatures($account_id, $user_id, UsersApi\ListSignaturesOptions $options = null) @@ -2579,7 +2579,7 @@ public function listSignatures($account_id, $user_id, UsersApi\ListSignaturesOpt * @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 $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\UserSignaturesInformation, HTTP status code, HTTP response headers (array of strings) */ public function listSignaturesWithHttpInfo($account_id, $user_id, UsersApi\ListSignaturesOptions $options = null) @@ -2675,7 +2675,7 @@ public function listSignaturesWithHttpInfo($account_id, $user_id, UsersApi\ListS * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ContactModRequest $contact_mod_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ContactUpdateResponse */ public function postContacts($account_id, $contact_mod_request = null) @@ -2691,7 +2691,7 @@ public function postContacts($account_id, $contact_mod_request = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ContactModRequest $contact_mod_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ContactUpdateResponse, HTTP status code, HTTP response headers (array of strings) */ public function postContactsWithHttpInfo($account_id, $contact_mod_request = null) @@ -2772,7 +2772,7 @@ public function postContactsWithHttpInfo($account_id, $contact_mod_request = nul * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ContactModRequest $contact_mod_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\ContactUpdateResponse */ public function putContacts($account_id, $contact_mod_request = null) @@ -2788,7 +2788,7 @@ public function putContacts($account_id, $contact_mod_request = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\ContactModRequest $contact_mod_request (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\ContactUpdateResponse, HTTP status code, HTTP response headers (array of strings) */ public function putContactsWithHttpInfo($account_id, $contact_mod_request = null) @@ -2870,7 +2870,7 @@ public function putContactsWithHttpInfo($account_id, $contact_mod_request = null * @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\CustomSettingsInformation $custom_settings_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\CustomSettingsInformation */ public function updateCustomSettings($account_id, $user_id, $custom_settings_information = null) @@ -2887,7 +2887,7 @@ public function updateCustomSettings($account_id, $user_id, $custom_settings_inf * @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\CustomSettingsInformation $custom_settings_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\CustomSettingsInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateCustomSettingsWithHttpInfo($account_id, $user_id, $custom_settings_information = null) @@ -2981,7 +2981,7 @@ public function updateCustomSettingsWithHttpInfo($account_id, $user_id, $custom_ * @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\UserProfile $user_profile (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function updateProfile($account_id, $user_id, $user_profile = null) @@ -2998,7 +2998,7 @@ public function updateProfile($account_id, $user_id, $user_profile = null) * @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\UserProfile $user_profile (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 updateProfileWithHttpInfo($account_id, $user_id, $user_profile = null) @@ -3087,7 +3087,7 @@ public function updateProfileWithHttpInfo($account_id, $user_id, $user_profile = * * @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 void */ public function updateProfileImage($account_id, $user_id) @@ -3103,7 +3103,7 @@ public function updateProfileImage($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 null, HTTP status code, HTTP response headers (array of strings) */ public function updateProfileImageWithHttpInfo($account_id, $user_id) @@ -3188,7 +3188,7 @@ public function updateProfileImageWithHttpInfo($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. * @param \DocuSign\eSign\Model\UserSettingsInformation $user_settings_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function updateSettings($account_id, $user_id, $user_settings_information = null) @@ -3205,7 +3205,7 @@ public function updateSettings($account_id, $user_id, $user_settings_information * @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\UserSettingsInformation $user_settings_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 updateSettingsWithHttpInfo($account_id, $user_id, $user_settings_information = null) @@ -3297,7 +3297,7 @@ public function updateSettingsWithHttpInfo($account_id, $user_id, $user_settings * @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\UserSignatureDefinition $user_signature_definition (optional) * @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\UserSignature */ public function updateSignature($account_id, $signature_id, $user_id, $user_signature_definition = null, UsersApi\UpdateSignatureOptions $options = null) @@ -3316,7 +3316,7 @@ public function updateSignature($account_id, $signature_id, $user_id, $user_sign * @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\UserSignatureDefinition $user_signature_definition (optional) * @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\UserSignature, HTTP status code, HTTP response headers (array of strings) */ public function updateSignatureWithHttpInfo($account_id, $signature_id, $user_id, $user_signature_definition = null, UsersApi\UpdateSignatureOptions $options = null) @@ -3431,7 +3431,7 @@ public function updateSignatureWithHttpInfo($account_id, $signature_id, $user_id * @param string $image_type One of **signature_image** or **initials_image**. * @param string $signature_id The ID of the signature being accessed. * @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\UserSignature */ public function updateSignatureImage($account_id, $image_type, $signature_id, $user_id) @@ -3449,7 +3449,7 @@ public function updateSignatureImage($account_id, $image_type, $signature_id, $u * @param string $image_type One of **signature_image** or **initials_image**. * @param string $signature_id The ID of the signature being accessed. * @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\UserSignature, HTTP status code, HTTP response headers (array of strings) */ public function updateSignatureImageWithHttpInfo($account_id, $image_type, $signature_id, $user_id) @@ -3562,7 +3562,7 @@ public function updateSignatureImageWithHttpInfo($account_id, $image_type, $sign * @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\UserSignaturesInformation $user_signatures_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\UserSignaturesInformation */ public function updateSignatures($account_id, $user_id, $user_signatures_information = null) @@ -3579,7 +3579,7 @@ public function updateSignatures($account_id, $user_id, $user_signatures_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\UserSignaturesInformation $user_signatures_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\UserSignaturesInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateSignaturesWithHttpInfo($account_id, $user_id, $user_signatures_information = null) @@ -3673,7 +3673,7 @@ public function updateSignaturesWithHttpInfo($account_id, $user_id, $user_signat * @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\UserInformation $user_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\UserInformation */ public function updateUser($account_id, $user_id, $user_information = null) @@ -3690,7 +3690,7 @@ public function updateUser($account_id, $user_id, $user_information = null) * @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\UserInformation $user_information (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\UserInformation, HTTP status code, HTTP response headers (array of strings) */ public function updateUserWithHttpInfo($account_id, $user_id, $user_information = null) @@ -3783,7 +3783,7 @@ public function updateUserWithHttpInfo($account_id, $user_id, $user_information * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\UserInformationList $user_information_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\UserInformationList */ public function updateUsers($account_id, $user_information_list = null) @@ -3799,7 +3799,7 @@ public function updateUsers($account_id, $user_information_list = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\UserInformationList $user_information_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\UserInformationList, HTTP status code, HTTP response headers (array of strings) */ public function updateUsersWithHttpInfo($account_id, $user_information_list = null) diff --git a/src/Api/WorkspacesApi.php b/src/Api/WorkspacesApi.php index 8b50fff5..bbebc4f6 100644 --- a/src/Api/WorkspacesApi.php +++ b/src/Api/WorkspacesApi.php @@ -392,7 +392,7 @@ public function setWorkspaceUserId($workspace_user_id) 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; @@ -457,7 +457,7 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\Workspace $workspace (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Workspace */ public function createWorkspace($account_id, $workspace = null) @@ -473,7 +473,7 @@ public function createWorkspace($account_id, $workspace = null) * * @param string $account_id The external account number (int) or account ID Guid. * @param \DocuSign\eSign\Model\Workspace $workspace (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Workspace, HTTP status code, HTTP response headers (array of strings) */ public function createWorkspaceWithHttpInfo($account_id, $workspace = null) @@ -555,7 +555,7 @@ public function createWorkspaceWithHttpInfo($account_id, $workspace = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\WorkspaceItem */ public function createWorkspaceFile($account_id, $folder_id, $workspace_id) @@ -572,7 +572,7 @@ public function createWorkspaceFile($account_id, $folder_id, $workspace_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\WorkspaceItem, HTTP status code, HTTP response headers (array of strings) */ public function createWorkspaceFileWithHttpInfo($account_id, $folder_id, $workspace_id) @@ -672,7 +672,7 @@ public function createWorkspaceFileWithHttpInfo($account_id, $folder_id, $worksp * * @param string $account_id The external account number (int) or account ID Guid. * @param string $workspace_id Specifies the workspace ID GUID. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Workspace */ public function deleteWorkspace($account_id, $workspace_id) @@ -688,7 +688,7 @@ public function deleteWorkspace($account_id, $workspace_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $workspace_id Specifies the workspace ID GUID. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Workspace, HTTP status code, HTTP response headers (array of strings) */ public function deleteWorkspaceWithHttpInfo($account_id, $workspace_id) @@ -778,7 +778,7 @@ public function deleteWorkspaceWithHttpInfo($account_id, $workspace_id) * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. * @param \DocuSign\eSign\Model\WorkspaceItemList $workspace_item_list (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return void */ public function deleteWorkspaceFolderItems($account_id, $folder_id, $workspace_id, $workspace_item_list = null) @@ -796,7 +796,7 @@ public function deleteWorkspaceFolderItems($account_id, $folder_id, $workspace_i * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. * @param \DocuSign\eSign\Model\WorkspaceItemList $workspace_item_list (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 deleteWorkspaceFolderItemsWithHttpInfo($account_id, $folder_id, $workspace_id, $workspace_item_list = null) @@ -897,7 +897,7 @@ public function deleteWorkspaceFolderItemsWithHttpInfo($account_id, $folder_id, * * @param string $account_id The external account number (int) or account ID Guid. * @param string $workspace_id Specifies the workspace ID GUID. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Workspace */ public function getWorkspace($account_id, $workspace_id) @@ -913,7 +913,7 @@ public function getWorkspace($account_id, $workspace_id) * * @param string $account_id The external account number (int) or account ID Guid. * @param string $workspace_id Specifies the workspace ID GUID. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Workspace, HTTP status code, HTTP response headers (array of strings) */ public function getWorkspaceWithHttpInfo($account_id, $workspace_id) @@ -1004,7 +1004,7 @@ public function getWorkspaceWithHttpInfo($account_id, $workspace_id) * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. * @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 void */ public function getWorkspaceFile($account_id, $file_id, $folder_id, $workspace_id, WorkspacesApi\GetWorkspaceFileOptions $options = null) @@ -1023,7 +1023,7 @@ public function getWorkspaceFile($account_id, $file_id, $folder_id, $workspace_i * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. * @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 null, HTTP status code, HTTP response headers (array of strings) */ public function getWorkspaceFileWithHttpInfo($account_id, $file_id, $folder_id, $workspace_id, WorkspacesApi\GetWorkspaceFileOptions $options = null) @@ -1146,7 +1146,7 @@ public function getWorkspaceFileWithHttpInfo($account_id, $file_id, $folder_id, * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. * @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\PageImages */ public function listWorkspaceFilePages($account_id, $file_id, $folder_id, $workspace_id, WorkspacesApi\ListWorkspaceFilePagesOptions $options = null) @@ -1165,7 +1165,7 @@ public function listWorkspaceFilePages($account_id, $file_id, $folder_id, $works * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. * @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\PageImages, HTTP status code, HTTP response headers (array of strings) */ public function listWorkspaceFilePagesWithHttpInfo($account_id, $file_id, $folder_id, $workspace_id, WorkspacesApi\ListWorkspaceFilePagesOptions $options = null) @@ -1303,7 +1303,7 @@ public function listWorkspaceFilePagesWithHttpInfo($account_id, $file_id, $folde * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. * @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\WorkspaceFolderContents */ public function listWorkspaceFolderItems($account_id, $folder_id, $workspace_id, WorkspacesApi\ListWorkspaceFolderItemsOptions $options = null) @@ -1321,7 +1321,7 @@ public function listWorkspaceFolderItems($account_id, $folder_id, $workspace_id, * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. * @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\WorkspaceFolderContents, HTTP status code, HTTP response headers (array of strings) */ public function listWorkspaceFolderItemsWithHttpInfo($account_id, $folder_id, $workspace_id, WorkspacesApi\ListWorkspaceFolderItemsOptions $options = null) @@ -1452,7 +1452,7 @@ public function listWorkspaceFolderItemsWithHttpInfo($account_id, $folder_id, $w * List Workspaces * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\WorkspaceList */ public function listWorkspaces($account_id) @@ -1467,7 +1467,7 @@ public function listWorkspaces($account_id) * List Workspaces * * @param string $account_id The external account number (int) or account ID Guid. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\WorkspaceList, HTTP status code, HTTP response headers (array of strings) */ public function listWorkspacesWithHttpInfo($account_id) @@ -1544,7 +1544,7 @@ public function listWorkspacesWithHttpInfo($account_id) * @param string $account_id The external account number (int) or account ID Guid. * @param string $workspace_id Specifies the workspace ID GUID. * @param \DocuSign\eSign\Model\Workspace $workspace (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\Workspace */ public function updateWorkspace($account_id, $workspace_id, $workspace = null) @@ -1561,7 +1561,7 @@ public function updateWorkspace($account_id, $workspace_id, $workspace = null) * @param string $account_id The external account number (int) or account ID Guid. * @param string $workspace_id Specifies the workspace ID GUID. * @param \DocuSign\eSign\Model\Workspace $workspace (optional) - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\Workspace, HTTP status code, HTTP response headers (array of strings) */ public function updateWorkspaceWithHttpInfo($account_id, $workspace_id, $workspace = null) @@ -1656,7 +1656,7 @@ public function updateWorkspaceWithHttpInfo($account_id, $workspace_id, $workspa * @param string $file_id Specifies the room file ID GUID. * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return \DocuSign\eSign\Model\WorkspaceItem */ public function updateWorkspaceFile($account_id, $file_id, $folder_id, $workspace_id) @@ -1674,7 +1674,7 @@ public function updateWorkspaceFile($account_id, $file_id, $folder_id, $workspac * @param string $file_id Specifies the room file ID GUID. * @param string $folder_id The ID of the folder being accessed. * @param string $workspace_id Specifies the workspace ID GUID. - * @throws \DocuSign\eSign\ApiException on non-2xx response + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response * @return array of \DocuSign\eSign\Model\WorkspaceItem, HTTP status code, HTTP response headers (array of strings) */ public function updateWorkspaceFileWithHttpInfo($account_id, $file_id, $folder_id, $workspace_id) diff --git a/src/Client/ApiClient.php b/src/Client/ApiClient.php index bc97b1f3..352c7ac9 100644 --- a/src/Client/ApiClient.php +++ b/src/Client/ApiClient.php @@ -222,6 +222,9 @@ public function callApi($resourcePath, $method, $queryParams, $postData, $header curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); } + if ($this->config->getSslVersion() !== null) { + curl_setopt($curl, CURLOPT_SSLVERSION, $this->config->getSslVersion()); + } if ($this->config->getCurlProxyHost()) { curl_setopt($curl, CURLOPT_PROXY, $this->config->getCurlProxyHost()); diff --git a/src/Configuration.php b/src/Configuration.php index 39987da6..597dd145 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -109,7 +109,7 @@ class Configuration * * @var string */ - protected $userAgent = "Swagger-Codegen/2.0.1/php"; + protected $userAgent = "Swagger-Codegen/4.2.0-rc/php"; /** * Debug switch (default set to false) @@ -141,6 +141,13 @@ class Configuration */ protected $sslVerification = true; + /** + * SSL Version. Must be one, or a combination, of the acceptable CURLOPT_SSLVERSION values + * + * @var int + */ + protected $sslVersion = CURL_SSLVERSION_DEFAULT; + /** * Curl proxy host * @@ -658,6 +665,24 @@ public function getSSLVerification() return $this->sslVerification; } + /** + * @return int + */ + public function getSslVersion() + { + return $this->sslVersion; + } + + /** + * @param int $sslVersion + * @return $this + */ + public function setSslVersion($sslVersion) + { + $this->sslVersion = $sslVersion; + return $this; + } + /** * Gets the default configuration instance * @@ -695,7 +720,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . phpversion() . PHP_EOL; $report .= ' OpenAPI Spec Version: v2' . PHP_EOL; - $report .= ' SDK Package Version: 2.0.1' . PHP_EOL; + $report .= ' SDK Package Version: 4.2.0-rc' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/src/Model/AccountRoleSettings.php b/src/Model/AccountRoleSettings.php index 73f311b4..13db555f 100644 --- a/src/Model/AccountRoleSettings.php +++ b/src/Model/AccountRoleSettings.php @@ -64,6 +64,8 @@ class AccountRoleSettings implements ArrayAccess 'allow_api_sending_on_behalf_of_others_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_api_sequential_signing' => 'string', 'allow_api_sequential_signing_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_auto_tagging' => 'string', + 'allow_auto_tagging_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_bulk_sending' => 'string', 'allow_bulk_sending_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_docu_sign_desktop_client' => 'string', @@ -144,6 +146,8 @@ public static function swaggerTypes() 'allow_api_sending_on_behalf_of_others_metadata' => 'allowApiSendingOnBehalfOfOthersMetadata', 'allow_api_sequential_signing' => 'allowApiSequentialSigning', 'allow_api_sequential_signing_metadata' => 'allowApiSequentialSigningMetadata', + 'allow_auto_tagging' => 'allowAutoTagging', + 'allow_auto_tagging_metadata' => 'allowAutoTaggingMetadata', 'allow_bulk_sending' => 'allowBulkSending', 'allow_bulk_sending_metadata' => 'allowBulkSendingMetadata', 'allow_docu_sign_desktop_client' => 'allowDocuSignDesktopClient', @@ -220,6 +224,8 @@ public static function swaggerTypes() 'allow_api_sending_on_behalf_of_others_metadata' => 'setAllowApiSendingOnBehalfOfOthersMetadata', 'allow_api_sequential_signing' => 'setAllowApiSequentialSigning', 'allow_api_sequential_signing_metadata' => 'setAllowApiSequentialSigningMetadata', + 'allow_auto_tagging' => 'setAllowAutoTagging', + 'allow_auto_tagging_metadata' => 'setAllowAutoTaggingMetadata', 'allow_bulk_sending' => 'setAllowBulkSending', 'allow_bulk_sending_metadata' => 'setAllowBulkSendingMetadata', 'allow_docu_sign_desktop_client' => 'setAllowDocuSignDesktopClient', @@ -296,6 +302,8 @@ public static function swaggerTypes() 'allow_api_sending_on_behalf_of_others_metadata' => 'getAllowApiSendingOnBehalfOfOthersMetadata', 'allow_api_sequential_signing' => 'getAllowApiSequentialSigning', 'allow_api_sequential_signing_metadata' => 'getAllowApiSequentialSigningMetadata', + 'allow_auto_tagging' => 'getAllowAutoTagging', + 'allow_auto_tagging_metadata' => 'getAllowAutoTaggingMetadata', 'allow_bulk_sending' => 'getAllowBulkSending', 'allow_bulk_sending_metadata' => 'getAllowBulkSendingMetadata', 'allow_docu_sign_desktop_client' => 'getAllowDocuSignDesktopClient', @@ -397,6 +405,8 @@ public function __construct(array $data = null) $this->container['allow_api_sending_on_behalf_of_others_metadata'] = isset($data['allow_api_sending_on_behalf_of_others_metadata']) ? $data['allow_api_sending_on_behalf_of_others_metadata'] : null; $this->container['allow_api_sequential_signing'] = isset($data['allow_api_sequential_signing']) ? $data['allow_api_sequential_signing'] : null; $this->container['allow_api_sequential_signing_metadata'] = isset($data['allow_api_sequential_signing_metadata']) ? $data['allow_api_sequential_signing_metadata'] : null; + $this->container['allow_auto_tagging'] = isset($data['allow_auto_tagging']) ? $data['allow_auto_tagging'] : null; + $this->container['allow_auto_tagging_metadata'] = isset($data['allow_auto_tagging_metadata']) ? $data['allow_auto_tagging_metadata'] : null; $this->container['allow_bulk_sending'] = isset($data['allow_bulk_sending']) ? $data['allow_bulk_sending'] : null; $this->container['allow_bulk_sending_metadata'] = isset($data['allow_bulk_sending_metadata']) ? $data['allow_bulk_sending_metadata'] : null; $this->container['allow_docu_sign_desktop_client'] = isset($data['allow_docu_sign_desktop_client']) ? $data['allow_docu_sign_desktop_client'] : null; @@ -690,6 +700,48 @@ public function setAllowApiSequentialSigningMetadata($allow_api_sequential_signi return $this; } + /** + * Gets allow_auto_tagging + * @return string + */ + public function getAllowAutoTagging() + { + return $this->container['allow_auto_tagging']; + } + + /** + * Sets allow_auto_tagging + * @param string $allow_auto_tagging + * @return $this + */ + public function setAllowAutoTagging($allow_auto_tagging) + { + $this->container['allow_auto_tagging'] = $allow_auto_tagging; + + return $this; + } + + /** + * Gets allow_auto_tagging_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowAutoTaggingMetadata() + { + return $this->container['allow_auto_tagging_metadata']; + } + + /** + * Sets allow_auto_tagging_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_auto_tagging_metadata + * @return $this + */ + public function setAllowAutoTaggingMetadata($allow_auto_tagging_metadata) + { + $this->container['allow_auto_tagging_metadata'] = $allow_auto_tagging_metadata; + + return $this; + } + /** * Gets allow_bulk_sending * @return string diff --git a/src/Model/AuthenticationStatus.php b/src/Model/AuthenticationStatus.php index 38109a94..4dadbdbb 100644 --- a/src/Model/AuthenticationStatus.php +++ b/src/Model/AuthenticationStatus.php @@ -60,6 +60,7 @@ class AuthenticationStatus implements ArrayAccess 'any_social_id_result' => '\DocuSign\eSign\Model\EventResult', 'facebook_result' => '\DocuSign\eSign\Model\EventResult', 'google_result' => '\DocuSign\eSign\Model\EventResult', + 'identity_verification_result' => '\DocuSign\eSign\Model\EventResult', 'id_lookup_result' => '\DocuSign\eSign\Model\EventResult', 'id_questions_result' => '\DocuSign\eSign\Model\EventResult', 'linkedin_result' => '\DocuSign\eSign\Model\EventResult', @@ -90,6 +91,7 @@ public static function swaggerTypes() 'any_social_id_result' => 'anySocialIDResult', 'facebook_result' => 'facebookResult', 'google_result' => 'googleResult', + 'identity_verification_result' => 'identityVerificationResult', 'id_lookup_result' => 'idLookupResult', 'id_questions_result' => 'idQuestionsResult', 'linkedin_result' => 'linkedinResult', @@ -116,6 +118,7 @@ public static function swaggerTypes() 'any_social_id_result' => 'setAnySocialIdResult', 'facebook_result' => 'setFacebookResult', 'google_result' => 'setGoogleResult', + 'identity_verification_result' => 'setIdentityVerificationResult', 'id_lookup_result' => 'setIdLookupResult', 'id_questions_result' => 'setIdQuestionsResult', 'linkedin_result' => 'setLinkedinResult', @@ -142,6 +145,7 @@ public static function swaggerTypes() 'any_social_id_result' => 'getAnySocialIdResult', 'facebook_result' => 'getFacebookResult', 'google_result' => 'getGoogleResult', + 'identity_verification_result' => 'getIdentityVerificationResult', 'id_lookup_result' => 'getIdLookupResult', 'id_questions_result' => 'getIdQuestionsResult', 'linkedin_result' => 'getLinkedinResult', @@ -193,6 +197,7 @@ public function __construct(array $data = null) $this->container['any_social_id_result'] = isset($data['any_social_id_result']) ? $data['any_social_id_result'] : null; $this->container['facebook_result'] = isset($data['facebook_result']) ? $data['facebook_result'] : null; $this->container['google_result'] = isset($data['google_result']) ? $data['google_result'] : null; + $this->container['identity_verification_result'] = isset($data['identity_verification_result']) ? $data['identity_verification_result'] : null; $this->container['id_lookup_result'] = isset($data['id_lookup_result']) ? $data['id_lookup_result'] : null; $this->container['id_questions_result'] = isset($data['id_questions_result']) ? $data['id_questions_result'] : null; $this->container['linkedin_result'] = isset($data['linkedin_result']) ? $data['linkedin_result'] : null; @@ -336,6 +341,27 @@ public function setGoogleResult($google_result) return $this; } + /** + * Gets identity_verification_result + * @return \DocuSign\eSign\Model\EventResult + */ + public function getIdentityVerificationResult() + { + return $this->container['identity_verification_result']; + } + + /** + * Sets identity_verification_result + * @param \DocuSign\eSign\Model\EventResult $identity_verification_result + * @return $this + */ + public function setIdentityVerificationResult($identity_verification_result) + { + $this->container['identity_verification_result'] = $identity_verification_result; + + return $this; + } + /** * Gets id_lookup_result * @return \DocuSign\eSign\Model\EventResult diff --git a/src/Model/CarbonCopy.php b/src/Model/CarbonCopy.php index 2018aaa7..fbeca14a 100644 --- a/src/Model/CarbonCopy.php +++ b/src/Model/CarbonCopy.php @@ -76,11 +76,13 @@ class CarbonCopy implements ArrayAccess 'full_name' => 'string', 'id_check_configuration_name' => 'string', 'id_check_information_input' => '\DocuSign\eSign\Model\IdCheckInformationInput', + 'identity_verification' => '\DocuSign\eSign\Model\RecipientIdentityVerification', 'inherit_email_notification_configuration' => 'string', 'last_name' => 'string', 'name' => 'string', 'note' => 'string', 'phone_authentication' => '\DocuSign\eSign\Model\RecipientPhoneAuthentication', + 'proof_file' => '\DocuSign\eSign\Model\RecipientProofFile', 'recipient_attachments' => '\DocuSign\eSign\Model\RecipientAttachment[]', 'recipient_authentication_status' => '\DocuSign\eSign\Model\AuthenticationStatus', 'recipient_id' => 'string', @@ -135,11 +137,13 @@ public static function swaggerTypes() 'full_name' => 'fullName', 'id_check_configuration_name' => 'idCheckConfigurationName', 'id_check_information_input' => 'idCheckInformationInput', + 'identity_verification' => 'identityVerification', 'inherit_email_notification_configuration' => 'inheritEmailNotificationConfiguration', 'last_name' => 'lastName', 'name' => 'name', 'note' => 'note', 'phone_authentication' => 'phoneAuthentication', + 'proof_file' => 'proofFile', 'recipient_attachments' => 'recipientAttachments', 'recipient_authentication_status' => 'recipientAuthenticationStatus', 'recipient_id' => 'recipientId', @@ -190,11 +194,13 @@ public static function swaggerTypes() 'full_name' => 'setFullName', 'id_check_configuration_name' => 'setIdCheckConfigurationName', 'id_check_information_input' => 'setIdCheckInformationInput', + 'identity_verification' => 'setIdentityVerification', 'inherit_email_notification_configuration' => 'setInheritEmailNotificationConfiguration', 'last_name' => 'setLastName', 'name' => 'setName', 'note' => 'setNote', 'phone_authentication' => 'setPhoneAuthentication', + 'proof_file' => 'setProofFile', 'recipient_attachments' => 'setRecipientAttachments', 'recipient_authentication_status' => 'setRecipientAuthenticationStatus', 'recipient_id' => 'setRecipientId', @@ -245,11 +251,13 @@ public static function swaggerTypes() 'full_name' => 'getFullName', 'id_check_configuration_name' => 'getIdCheckConfigurationName', 'id_check_information_input' => 'getIdCheckInformationInput', + 'identity_verification' => 'getIdentityVerification', 'inherit_email_notification_configuration' => 'getInheritEmailNotificationConfiguration', 'last_name' => 'getLastName', 'name' => 'getName', 'note' => 'getNote', 'phone_authentication' => 'getPhoneAuthentication', + 'proof_file' => 'getProofFile', 'recipient_attachments' => 'getRecipientAttachments', 'recipient_authentication_status' => 'getRecipientAuthenticationStatus', 'recipient_id' => 'getRecipientId', @@ -325,11 +333,13 @@ public function __construct(array $data = null) $this->container['full_name'] = isset($data['full_name']) ? $data['full_name'] : null; $this->container['id_check_configuration_name'] = isset($data['id_check_configuration_name']) ? $data['id_check_configuration_name'] : null; $this->container['id_check_information_input'] = isset($data['id_check_information_input']) ? $data['id_check_information_input'] : null; + $this->container['identity_verification'] = isset($data['identity_verification']) ? $data['identity_verification'] : null; $this->container['inherit_email_notification_configuration'] = isset($data['inherit_email_notification_configuration']) ? $data['inherit_email_notification_configuration'] : null; $this->container['last_name'] = isset($data['last_name']) ? $data['last_name'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['note'] = isset($data['note']) ? $data['note'] : null; $this->container['phone_authentication'] = isset($data['phone_authentication']) ? $data['phone_authentication'] : null; + $this->container['proof_file'] = isset($data['proof_file']) ? $data['proof_file'] : null; $this->container['recipient_attachments'] = isset($data['recipient_attachments']) ? $data['recipient_attachments'] : null; $this->container['recipient_authentication_status'] = isset($data['recipient_authentication_status']) ? $data['recipient_authentication_status'] : null; $this->container['recipient_id'] = isset($data['recipient_id']) ? $data['recipient_id'] : null; @@ -837,6 +847,27 @@ public function setIdCheckInformationInput($id_check_information_input) return $this; } + /** + * Gets identity_verification + * @return \DocuSign\eSign\Model\RecipientIdentityVerification + */ + public function getIdentityVerification() + { + return $this->container['identity_verification']; + } + + /** + * Sets identity_verification + * @param \DocuSign\eSign\Model\RecipientIdentityVerification $identity_verification + * @return $this + */ + public function setIdentityVerification($identity_verification) + { + $this->container['identity_verification'] = $identity_verification; + + return $this; + } + /** * Gets inherit_email_notification_configuration * @return string @@ -942,6 +973,27 @@ public function setPhoneAuthentication($phone_authentication) return $this; } + /** + * Gets proof_file + * @return \DocuSign\eSign\Model\RecipientProofFile + */ + public function getProofFile() + { + return $this->container['proof_file']; + } + + /** + * Sets proof_file + * @param \DocuSign\eSign\Model\RecipientProofFile $proof_file + * @return $this + */ + public function setProofFile($proof_file) + { + $this->container['proof_file'] = $proof_file; + + return $this; + } + /** * Gets recipient_attachments * @return \DocuSign\eSign\Model\RecipientAttachment[] diff --git a/src/Model/CertifiedDelivery.php b/src/Model/CertifiedDelivery.php index 1a6e4b30..e3c320f8 100644 --- a/src/Model/CertifiedDelivery.php +++ b/src/Model/CertifiedDelivery.php @@ -76,11 +76,13 @@ class CertifiedDelivery implements ArrayAccess 'full_name' => 'string', 'id_check_configuration_name' => 'string', 'id_check_information_input' => '\DocuSign\eSign\Model\IdCheckInformationInput', + 'identity_verification' => '\DocuSign\eSign\Model\RecipientIdentityVerification', 'inherit_email_notification_configuration' => 'string', 'last_name' => 'string', 'name' => 'string', 'note' => 'string', 'phone_authentication' => '\DocuSign\eSign\Model\RecipientPhoneAuthentication', + 'proof_file' => '\DocuSign\eSign\Model\RecipientProofFile', 'recipient_attachments' => '\DocuSign\eSign\Model\RecipientAttachment[]', 'recipient_authentication_status' => '\DocuSign\eSign\Model\AuthenticationStatus', 'recipient_id' => 'string', @@ -135,11 +137,13 @@ public static function swaggerTypes() 'full_name' => 'fullName', 'id_check_configuration_name' => 'idCheckConfigurationName', 'id_check_information_input' => 'idCheckInformationInput', + 'identity_verification' => 'identityVerification', 'inherit_email_notification_configuration' => 'inheritEmailNotificationConfiguration', 'last_name' => 'lastName', 'name' => 'name', 'note' => 'note', 'phone_authentication' => 'phoneAuthentication', + 'proof_file' => 'proofFile', 'recipient_attachments' => 'recipientAttachments', 'recipient_authentication_status' => 'recipientAuthenticationStatus', 'recipient_id' => 'recipientId', @@ -190,11 +194,13 @@ public static function swaggerTypes() 'full_name' => 'setFullName', 'id_check_configuration_name' => 'setIdCheckConfigurationName', 'id_check_information_input' => 'setIdCheckInformationInput', + 'identity_verification' => 'setIdentityVerification', 'inherit_email_notification_configuration' => 'setInheritEmailNotificationConfiguration', 'last_name' => 'setLastName', 'name' => 'setName', 'note' => 'setNote', 'phone_authentication' => 'setPhoneAuthentication', + 'proof_file' => 'setProofFile', 'recipient_attachments' => 'setRecipientAttachments', 'recipient_authentication_status' => 'setRecipientAuthenticationStatus', 'recipient_id' => 'setRecipientId', @@ -245,11 +251,13 @@ public static function swaggerTypes() 'full_name' => 'getFullName', 'id_check_configuration_name' => 'getIdCheckConfigurationName', 'id_check_information_input' => 'getIdCheckInformationInput', + 'identity_verification' => 'getIdentityVerification', 'inherit_email_notification_configuration' => 'getInheritEmailNotificationConfiguration', 'last_name' => 'getLastName', 'name' => 'getName', 'note' => 'getNote', 'phone_authentication' => 'getPhoneAuthentication', + 'proof_file' => 'getProofFile', 'recipient_attachments' => 'getRecipientAttachments', 'recipient_authentication_status' => 'getRecipientAuthenticationStatus', 'recipient_id' => 'getRecipientId', @@ -325,11 +333,13 @@ public function __construct(array $data = null) $this->container['full_name'] = isset($data['full_name']) ? $data['full_name'] : null; $this->container['id_check_configuration_name'] = isset($data['id_check_configuration_name']) ? $data['id_check_configuration_name'] : null; $this->container['id_check_information_input'] = isset($data['id_check_information_input']) ? $data['id_check_information_input'] : null; + $this->container['identity_verification'] = isset($data['identity_verification']) ? $data['identity_verification'] : null; $this->container['inherit_email_notification_configuration'] = isset($data['inherit_email_notification_configuration']) ? $data['inherit_email_notification_configuration'] : null; $this->container['last_name'] = isset($data['last_name']) ? $data['last_name'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['note'] = isset($data['note']) ? $data['note'] : null; $this->container['phone_authentication'] = isset($data['phone_authentication']) ? $data['phone_authentication'] : null; + $this->container['proof_file'] = isset($data['proof_file']) ? $data['proof_file'] : null; $this->container['recipient_attachments'] = isset($data['recipient_attachments']) ? $data['recipient_attachments'] : null; $this->container['recipient_authentication_status'] = isset($data['recipient_authentication_status']) ? $data['recipient_authentication_status'] : null; $this->container['recipient_id'] = isset($data['recipient_id']) ? $data['recipient_id'] : null; @@ -837,6 +847,27 @@ public function setIdCheckInformationInput($id_check_information_input) return $this; } + /** + * Gets identity_verification + * @return \DocuSign\eSign\Model\RecipientIdentityVerification + */ + public function getIdentityVerification() + { + return $this->container['identity_verification']; + } + + /** + * Sets identity_verification + * @param \DocuSign\eSign\Model\RecipientIdentityVerification $identity_verification + * @return $this + */ + public function setIdentityVerification($identity_verification) + { + $this->container['identity_verification'] = $identity_verification; + + return $this; + } + /** * Gets inherit_email_notification_configuration * @return string @@ -942,6 +973,27 @@ public function setPhoneAuthentication($phone_authentication) return $this; } + /** + * Gets proof_file + * @return \DocuSign\eSign\Model\RecipientProofFile + */ + public function getProofFile() + { + return $this->container['proof_file']; + } + + /** + * Sets proof_file + * @param \DocuSign\eSign\Model\RecipientProofFile $proof_file + * @return $this + */ + public function setProofFile($proof_file) + { + $this->container['proof_file'] = $proof_file; + + return $this; + } + /** * Gets recipient_attachments * @return \DocuSign\eSign\Model\RecipientAttachment[] diff --git a/src/Model/Document.php b/src/Model/Document.php index 8a10fdbe..07ae9004 100644 --- a/src/Model/Document.php +++ b/src/Model/Document.php @@ -59,7 +59,6 @@ class Document implements ArrayAccess 'display' => 'string', 'document_base64' => 'string', 'document_fields' => '\DocuSign\eSign\Model\NameValue[]', - 'document_group' => 'string', 'document_id' => 'string', 'encrypted_with_key_manager' => 'string', 'file_extension' => 'string', @@ -94,7 +93,6 @@ public static function swaggerTypes() 'display' => 'display', 'document_base64' => 'documentBase64', 'document_fields' => 'documentFields', - 'document_group' => 'documentGroup', 'document_id' => 'documentId', 'encrypted_with_key_manager' => 'encryptedWithKeyManager', 'file_extension' => 'fileExtension', @@ -125,7 +123,6 @@ public static function swaggerTypes() 'display' => 'setDisplay', 'document_base64' => 'setDocumentBase64', 'document_fields' => 'setDocumentFields', - 'document_group' => 'setDocumentGroup', 'document_id' => 'setDocumentId', 'encrypted_with_key_manager' => 'setEncryptedWithKeyManager', 'file_extension' => 'setFileExtension', @@ -156,7 +153,6 @@ public static function swaggerTypes() 'display' => 'getDisplay', 'document_base64' => 'getDocumentBase64', 'document_fields' => 'getDocumentFields', - 'document_group' => 'getDocumentGroup', 'document_id' => 'getDocumentId', 'encrypted_with_key_manager' => 'getEncryptedWithKeyManager', 'file_extension' => 'getFileExtension', @@ -212,7 +208,6 @@ public function __construct(array $data = null) $this->container['display'] = isset($data['display']) ? $data['display'] : null; $this->container['document_base64'] = isset($data['document_base64']) ? $data['document_base64'] : null; $this->container['document_fields'] = isset($data['document_fields']) ? $data['document_fields'] : null; - $this->container['document_group'] = isset($data['document_group']) ? $data['document_group'] : null; $this->container['document_id'] = isset($data['document_id']) ? $data['document_id'] : null; $this->container['encrypted_with_key_manager'] = isset($data['encrypted_with_key_manager']) ? $data['encrypted_with_key_manager'] : null; $this->container['file_extension'] = isset($data['file_extension']) ? $data['file_extension'] : null; @@ -360,27 +355,6 @@ public function setDocumentFields($document_fields) return $this; } - /** - * Gets document_group - * @return string - */ - public function getDocumentGroup() - { - return $this->container['document_group']; - } - - /** - * Sets document_group - * @param string $document_group - * @return $this - */ - public function setDocumentGroup($document_group) - { - $this->container['document_group'] = $document_group; - - return $this; - } - /** * Gets document_id * @return string diff --git a/src/Model/DocumentHtmlDisplaySettings.php b/src/Model/DocumentHtmlDisplaySettings.php index 3a68a631..5654d7f7 100644 --- a/src/Model/DocumentHtmlDisplaySettings.php +++ b/src/Model/DocumentHtmlDisplaySettings.php @@ -63,6 +63,7 @@ class DocumentHtmlDisplaySettings implements ArrayAccess 'hide_label_when_opened' => 'bool', 'inline_outer_style' => 'string', 'label_when_opened' => 'string', + 'pre_label' => 'string', 'scroll_to_top_when_opened' => 'bool', 'table_style' => 'string' ]; @@ -86,6 +87,7 @@ public static function swaggerTypes() 'hide_label_when_opened' => 'hideLabelWhenOpened', 'inline_outer_style' => 'inlineOuterStyle', 'label_when_opened' => 'labelWhenOpened', + 'pre_label' => 'preLabel', 'scroll_to_top_when_opened' => 'scrollToTopWhenOpened', 'table_style' => 'tableStyle' ]; @@ -105,6 +107,7 @@ public static function swaggerTypes() 'hide_label_when_opened' => 'setHideLabelWhenOpened', 'inline_outer_style' => 'setInlineOuterStyle', 'label_when_opened' => 'setLabelWhenOpened', + 'pre_label' => 'setPreLabel', 'scroll_to_top_when_opened' => 'setScrollToTopWhenOpened', 'table_style' => 'setTableStyle' ]; @@ -124,6 +127,7 @@ public static function swaggerTypes() 'hide_label_when_opened' => 'getHideLabelWhenOpened', 'inline_outer_style' => 'getInlineOuterStyle', 'label_when_opened' => 'getLabelWhenOpened', + 'pre_label' => 'getPreLabel', 'scroll_to_top_when_opened' => 'getScrollToTopWhenOpened', 'table_style' => 'getTableStyle' ]; @@ -168,6 +172,7 @@ public function __construct(array $data = null) $this->container['hide_label_when_opened'] = isset($data['hide_label_when_opened']) ? $data['hide_label_when_opened'] : null; $this->container['inline_outer_style'] = isset($data['inline_outer_style']) ? $data['inline_outer_style'] : null; $this->container['label_when_opened'] = isset($data['label_when_opened']) ? $data['label_when_opened'] : null; + $this->container['pre_label'] = isset($data['pre_label']) ? $data['pre_label'] : null; $this->container['scroll_to_top_when_opened'] = isset($data['scroll_to_top_when_opened']) ? $data['scroll_to_top_when_opened'] : null; $this->container['table_style'] = isset($data['table_style']) ? $data['table_style'] : null; } @@ -384,6 +389,27 @@ public function setLabelWhenOpened($label_when_opened) return $this; } + /** + * Gets pre_label + * @return string + */ + public function getPreLabel() + { + return $this->container['pre_label']; + } + + /** + * Sets pre_label + * @param string $pre_label + * @return $this + */ + public function setPreLabel($pre_label) + { + $this->container['pre_label'] = $pre_label; + + return $this; + } + /** * Gets scroll_to_top_when_opened * @return bool diff --git a/src/Model/Envelope.php b/src/Model/Envelope.php index 4c42a6b3..9366af7c 100644 --- a/src/Model/Envelope.php +++ b/src/Model/Envelope.php @@ -66,12 +66,14 @@ class Envelope implements ArrayAccess 'brand_lock' => 'string', 'certificate_uri' => 'string', 'completed_date_time' => 'string', + 'copy_recipient_data' => 'string', 'created_date_time' => 'string', 'custom_fields' => '\DocuSign\eSign\Model\CustomFields', 'custom_fields_uri' => 'string', 'declined_date_time' => 'string', 'deleted_date_time' => 'string', 'delivered_date_time' => 'string', + 'disable_responsive_document' => 'string', 'documents_combined_uri' => 'string', 'documents_uri' => 'string', 'email_blurb' => 'string', @@ -128,12 +130,14 @@ public static function swaggerTypes() 'brand_lock' => 'brandLock', 'certificate_uri' => 'certificateUri', 'completed_date_time' => 'completedDateTime', + 'copy_recipient_data' => 'copyRecipientData', 'created_date_time' => 'createdDateTime', 'custom_fields' => 'customFields', 'custom_fields_uri' => 'customFieldsUri', 'declined_date_time' => 'declinedDateTime', 'deleted_date_time' => 'deletedDateTime', 'delivered_date_time' => 'deliveredDateTime', + 'disable_responsive_document' => 'disableResponsiveDocument', 'documents_combined_uri' => 'documentsCombinedUri', 'documents_uri' => 'documentsUri', 'email_blurb' => 'emailBlurb', @@ -186,12 +190,14 @@ public static function swaggerTypes() 'brand_lock' => 'setBrandLock', 'certificate_uri' => 'setCertificateUri', 'completed_date_time' => 'setCompletedDateTime', + 'copy_recipient_data' => 'setCopyRecipientData', 'created_date_time' => 'setCreatedDateTime', 'custom_fields' => 'setCustomFields', 'custom_fields_uri' => 'setCustomFieldsUri', 'declined_date_time' => 'setDeclinedDateTime', 'deleted_date_time' => 'setDeletedDateTime', 'delivered_date_time' => 'setDeliveredDateTime', + 'disable_responsive_document' => 'setDisableResponsiveDocument', 'documents_combined_uri' => 'setDocumentsCombinedUri', 'documents_uri' => 'setDocumentsUri', 'email_blurb' => 'setEmailBlurb', @@ -244,12 +250,14 @@ public static function swaggerTypes() 'brand_lock' => 'getBrandLock', 'certificate_uri' => 'getCertificateUri', 'completed_date_time' => 'getCompletedDateTime', + 'copy_recipient_data' => 'getCopyRecipientData', 'created_date_time' => 'getCreatedDateTime', 'custom_fields' => 'getCustomFields', 'custom_fields_uri' => 'getCustomFieldsUri', 'declined_date_time' => 'getDeclinedDateTime', 'deleted_date_time' => 'getDeletedDateTime', 'delivered_date_time' => 'getDeliveredDateTime', + 'disable_responsive_document' => 'getDisableResponsiveDocument', 'documents_combined_uri' => 'getDocumentsCombinedUri', 'documents_uri' => 'getDocumentsUri', 'email_blurb' => 'getEmailBlurb', @@ -327,12 +335,14 @@ public function __construct(array $data = null) $this->container['brand_lock'] = isset($data['brand_lock']) ? $data['brand_lock'] : null; $this->container['certificate_uri'] = isset($data['certificate_uri']) ? $data['certificate_uri'] : null; $this->container['completed_date_time'] = isset($data['completed_date_time']) ? $data['completed_date_time'] : null; + $this->container['copy_recipient_data'] = isset($data['copy_recipient_data']) ? $data['copy_recipient_data'] : null; $this->container['created_date_time'] = isset($data['created_date_time']) ? $data['created_date_time'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['custom_fields_uri'] = isset($data['custom_fields_uri']) ? $data['custom_fields_uri'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['deleted_date_time'] = isset($data['deleted_date_time']) ? $data['deleted_date_time'] : null; $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; + $this->container['disable_responsive_document'] = isset($data['disable_responsive_document']) ? $data['disable_responsive_document'] : null; $this->container['documents_combined_uri'] = isset($data['documents_combined_uri']) ? $data['documents_combined_uri'] : null; $this->container['documents_uri'] = isset($data['documents_uri']) ? $data['documents_uri'] : null; $this->container['email_blurb'] = isset($data['email_blurb']) ? $data['email_blurb'] : null; @@ -642,6 +652,27 @@ public function setCompletedDateTime($completed_date_time) return $this; } + /** + * Gets copy_recipient_data + * @return string + */ + public function getCopyRecipientData() + { + return $this->container['copy_recipient_data']; + } + + /** + * Sets copy_recipient_data + * @param string $copy_recipient_data + * @return $this + */ + public function setCopyRecipientData($copy_recipient_data) + { + $this->container['copy_recipient_data'] = $copy_recipient_data; + + return $this; + } + /** * Gets created_date_time * @return string @@ -768,6 +799,27 @@ public function setDeliveredDateTime($delivered_date_time) return $this; } + /** + * Gets disable_responsive_document + * @return string + */ + public function getDisableResponsiveDocument() + { + return $this->container['disable_responsive_document']; + } + + /** + * Sets disable_responsive_document + * @param string $disable_responsive_document + * @return $this + */ + public function setDisableResponsiveDocument($disable_responsive_document) + { + $this->container['disable_responsive_document'] = $disable_responsive_document; + + return $this; + } + /** * Gets documents_combined_uri * @return string diff --git a/src/Model/EnvelopeDefinition.php b/src/Model/EnvelopeDefinition.php index 0fe018c7..d8bb3840 100644 --- a/src/Model/EnvelopeDefinition.php +++ b/src/Model/EnvelopeDefinition.php @@ -70,12 +70,14 @@ class EnvelopeDefinition implements ArrayAccess 'certificate_uri' => 'string', 'completed_date_time' => 'string', 'composite_templates' => '\DocuSign\eSign\Model\CompositeTemplate[]', + 'copy_recipient_data' => 'string', 'created_date_time' => 'string', 'custom_fields' => '\DocuSign\eSign\Model\CustomFields', 'custom_fields_uri' => 'string', 'declined_date_time' => 'string', 'deleted_date_time' => 'string', 'delivered_date_time' => 'string', + 'disable_responsive_document' => 'string', 'documents' => '\DocuSign\eSign\Model\Document[]', 'documents_combined_uri' => 'string', 'documents_uri' => 'string', @@ -141,12 +143,14 @@ public static function swaggerTypes() 'certificate_uri' => 'certificateUri', 'completed_date_time' => 'completedDateTime', 'composite_templates' => 'compositeTemplates', + 'copy_recipient_data' => 'copyRecipientData', 'created_date_time' => 'createdDateTime', 'custom_fields' => 'customFields', 'custom_fields_uri' => 'customFieldsUri', 'declined_date_time' => 'declinedDateTime', 'deleted_date_time' => 'deletedDateTime', 'delivered_date_time' => 'deliveredDateTime', + 'disable_responsive_document' => 'disableResponsiveDocument', 'documents' => 'documents', 'documents_combined_uri' => 'documentsCombinedUri', 'documents_uri' => 'documentsUri', @@ -208,12 +212,14 @@ public static function swaggerTypes() 'certificate_uri' => 'setCertificateUri', 'completed_date_time' => 'setCompletedDateTime', 'composite_templates' => 'setCompositeTemplates', + 'copy_recipient_data' => 'setCopyRecipientData', 'created_date_time' => 'setCreatedDateTime', 'custom_fields' => 'setCustomFields', 'custom_fields_uri' => 'setCustomFieldsUri', 'declined_date_time' => 'setDeclinedDateTime', 'deleted_date_time' => 'setDeletedDateTime', 'delivered_date_time' => 'setDeliveredDateTime', + 'disable_responsive_document' => 'setDisableResponsiveDocument', 'documents' => 'setDocuments', 'documents_combined_uri' => 'setDocumentsCombinedUri', 'documents_uri' => 'setDocumentsUri', @@ -275,12 +281,14 @@ public static function swaggerTypes() 'certificate_uri' => 'getCertificateUri', 'completed_date_time' => 'getCompletedDateTime', 'composite_templates' => 'getCompositeTemplates', + 'copy_recipient_data' => 'getCopyRecipientData', 'created_date_time' => 'getCreatedDateTime', 'custom_fields' => 'getCustomFields', 'custom_fields_uri' => 'getCustomFieldsUri', 'declined_date_time' => 'getDeclinedDateTime', 'deleted_date_time' => 'getDeletedDateTime', 'delivered_date_time' => 'getDeliveredDateTime', + 'disable_responsive_document' => 'getDisableResponsiveDocument', 'documents' => 'getDocuments', 'documents_combined_uri' => 'getDocumentsCombinedUri', 'documents_uri' => 'getDocumentsUri', @@ -367,12 +375,14 @@ public function __construct(array $data = null) $this->container['certificate_uri'] = isset($data['certificate_uri']) ? $data['certificate_uri'] : null; $this->container['completed_date_time'] = isset($data['completed_date_time']) ? $data['completed_date_time'] : null; $this->container['composite_templates'] = isset($data['composite_templates']) ? $data['composite_templates'] : null; + $this->container['copy_recipient_data'] = isset($data['copy_recipient_data']) ? $data['copy_recipient_data'] : null; $this->container['created_date_time'] = isset($data['created_date_time']) ? $data['created_date_time'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['custom_fields_uri'] = isset($data['custom_fields_uri']) ? $data['custom_fields_uri'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['deleted_date_time'] = isset($data['deleted_date_time']) ? $data['deleted_date_time'] : null; $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; + $this->container['disable_responsive_document'] = isset($data['disable_responsive_document']) ? $data['disable_responsive_document'] : null; $this->container['documents'] = isset($data['documents']) ? $data['documents'] : null; $this->container['documents_combined_uri'] = isset($data['documents_combined_uri']) ? $data['documents_combined_uri'] : null; $this->container['documents_uri'] = isset($data['documents_uri']) ? $data['documents_uri'] : null; @@ -771,6 +781,27 @@ public function setCompositeTemplates($composite_templates) return $this; } + /** + * Gets copy_recipient_data + * @return string + */ + public function getCopyRecipientData() + { + return $this->container['copy_recipient_data']; + } + + /** + * Sets copy_recipient_data + * @param string $copy_recipient_data + * @return $this + */ + public function setCopyRecipientData($copy_recipient_data) + { + $this->container['copy_recipient_data'] = $copy_recipient_data; + + return $this; + } + /** * Gets created_date_time * @return string @@ -897,6 +928,27 @@ public function setDeliveredDateTime($delivered_date_time) return $this; } + /** + * Gets disable_responsive_document + * @return string + */ + public function getDisableResponsiveDocument() + { + return $this->container['disable_responsive_document']; + } + + /** + * Sets disable_responsive_document + * @param string $disable_responsive_document + * @return $this + */ + public function setDisableResponsiveDocument($disable_responsive_document) + { + $this->container['disable_responsive_document'] = $disable_responsive_document; + + return $this; + } + /** * Gets documents * @return \DocuSign\eSign\Model\Document[] diff --git a/src/Model/EnvelopeDocument.php b/src/Model/EnvelopeDocument.php index efff98aa..a53ec819 100644 --- a/src/Model/EnvelopeDocument.php +++ b/src/Model/EnvelopeDocument.php @@ -60,7 +60,6 @@ class EnvelopeDocument implements ArrayAccess 'contains_pdf_form_fields' => 'string', 'display' => 'string', 'document_fields' => '\DocuSign\eSign\Model\NameValue[]', - 'document_group' => 'string', 'document_id' => 'string', 'error_details' => '\DocuSign\eSign\Model\ErrorDetails', 'include_in_download' => 'string', @@ -68,6 +67,7 @@ class EnvelopeDocument implements ArrayAccess 'order' => 'string', 'pages' => 'string', 'signer_must_acknowledge' => 'string', + 'size_bytes' => 'string', 'type' => 'string', 'uri' => 'string' ]; @@ -88,7 +88,6 @@ public static function swaggerTypes() 'contains_pdf_form_fields' => 'containsPdfFormFields', 'display' => 'display', 'document_fields' => 'documentFields', - 'document_group' => 'documentGroup', 'document_id' => 'documentId', 'error_details' => 'errorDetails', 'include_in_download' => 'includeInDownload', @@ -96,6 +95,7 @@ public static function swaggerTypes() 'order' => 'order', 'pages' => 'pages', 'signer_must_acknowledge' => 'signerMustAcknowledge', + 'size_bytes' => 'sizeBytes', 'type' => 'type', 'uri' => 'uri' ]; @@ -112,7 +112,6 @@ public static function swaggerTypes() 'contains_pdf_form_fields' => 'setContainsPdfFormFields', 'display' => 'setDisplay', 'document_fields' => 'setDocumentFields', - 'document_group' => 'setDocumentGroup', 'document_id' => 'setDocumentId', 'error_details' => 'setErrorDetails', 'include_in_download' => 'setIncludeInDownload', @@ -120,6 +119,7 @@ public static function swaggerTypes() 'order' => 'setOrder', 'pages' => 'setPages', 'signer_must_acknowledge' => 'setSignerMustAcknowledge', + 'size_bytes' => 'setSizeBytes', 'type' => 'setType', 'uri' => 'setUri' ]; @@ -136,7 +136,6 @@ public static function swaggerTypes() 'contains_pdf_form_fields' => 'getContainsPdfFormFields', 'display' => 'getDisplay', 'document_fields' => 'getDocumentFields', - 'document_group' => 'getDocumentGroup', 'document_id' => 'getDocumentId', 'error_details' => 'getErrorDetails', 'include_in_download' => 'getIncludeInDownload', @@ -144,6 +143,7 @@ public static function swaggerTypes() 'order' => 'getOrder', 'pages' => 'getPages', 'signer_must_acknowledge' => 'getSignerMustAcknowledge', + 'size_bytes' => 'getSizeBytes', 'type' => 'getType', 'uri' => 'getUri' ]; @@ -185,7 +185,6 @@ public function __construct(array $data = null) $this->container['contains_pdf_form_fields'] = isset($data['contains_pdf_form_fields']) ? $data['contains_pdf_form_fields'] : null; $this->container['display'] = isset($data['display']) ? $data['display'] : null; $this->container['document_fields'] = isset($data['document_fields']) ? $data['document_fields'] : null; - $this->container['document_group'] = isset($data['document_group']) ? $data['document_group'] : null; $this->container['document_id'] = isset($data['document_id']) ? $data['document_id'] : null; $this->container['error_details'] = isset($data['error_details']) ? $data['error_details'] : null; $this->container['include_in_download'] = isset($data['include_in_download']) ? $data['include_in_download'] : null; @@ -193,6 +192,7 @@ public function __construct(array $data = null) $this->container['order'] = isset($data['order']) ? $data['order'] : null; $this->container['pages'] = isset($data['pages']) ? $data['pages'] : null; $this->container['signer_must_acknowledge'] = isset($data['signer_must_acknowledge']) ? $data['signer_must_acknowledge'] : null; + $this->container['size_bytes'] = isset($data['size_bytes']) ? $data['size_bytes'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['uri'] = isset($data['uri']) ? $data['uri'] : null; } @@ -346,27 +346,6 @@ public function setDocumentFields($document_fields) return $this; } - /** - * Gets document_group - * @return string - */ - public function getDocumentGroup() - { - return $this->container['document_group']; - } - - /** - * Sets document_group - * @param string $document_group - * @return $this - */ - public function setDocumentGroup($document_group) - { - $this->container['document_group'] = $document_group; - - return $this; - } - /** * Gets document_id * @return string @@ -514,6 +493,27 @@ public function setSignerMustAcknowledge($signer_must_acknowledge) return $this; } + /** + * Gets size_bytes + * @return string + */ + public function getSizeBytes() + { + return $this->container['size_bytes']; + } + + /** + * Sets size_bytes + * @param string $size_bytes + * @return $this + */ + public function setSizeBytes($size_bytes) + { + $this->container['size_bytes'] = $size_bytes; + + return $this; + } + /** * Gets type * @return string diff --git a/src/Model/EnvelopeTemplate.php b/src/Model/EnvelopeTemplate.php index 36c94bff..77977313 100644 --- a/src/Model/EnvelopeTemplate.php +++ b/src/Model/EnvelopeTemplate.php @@ -66,12 +66,14 @@ class EnvelopeTemplate implements ArrayAccess 'brand_lock' => 'string', 'certificate_uri' => 'string', 'completed_date_time' => 'string', + 'copy_recipient_data' => 'string', 'created_date_time' => 'string', 'custom_fields' => '\DocuSign\eSign\Model\CustomFields', 'custom_fields_uri' => 'string', 'declined_date_time' => 'string', 'deleted_date_time' => 'string', 'delivered_date_time' => 'string', + 'disable_responsive_document' => 'string', 'documents' => '\DocuSign\eSign\Model\Document[]', 'documents_combined_uri' => 'string', 'documents_uri' => 'string', @@ -130,12 +132,14 @@ public static function swaggerTypes() 'brand_lock' => 'brandLock', 'certificate_uri' => 'certificateUri', 'completed_date_time' => 'completedDateTime', + 'copy_recipient_data' => 'copyRecipientData', 'created_date_time' => 'createdDateTime', 'custom_fields' => 'customFields', 'custom_fields_uri' => 'customFieldsUri', 'declined_date_time' => 'declinedDateTime', 'deleted_date_time' => 'deletedDateTime', 'delivered_date_time' => 'deliveredDateTime', + 'disable_responsive_document' => 'disableResponsiveDocument', 'documents' => 'documents', 'documents_combined_uri' => 'documentsCombinedUri', 'documents_uri' => 'documentsUri', @@ -190,12 +194,14 @@ public static function swaggerTypes() 'brand_lock' => 'setBrandLock', 'certificate_uri' => 'setCertificateUri', 'completed_date_time' => 'setCompletedDateTime', + 'copy_recipient_data' => 'setCopyRecipientData', 'created_date_time' => 'setCreatedDateTime', 'custom_fields' => 'setCustomFields', 'custom_fields_uri' => 'setCustomFieldsUri', 'declined_date_time' => 'setDeclinedDateTime', 'deleted_date_time' => 'setDeletedDateTime', 'delivered_date_time' => 'setDeliveredDateTime', + 'disable_responsive_document' => 'setDisableResponsiveDocument', 'documents' => 'setDocuments', 'documents_combined_uri' => 'setDocumentsCombinedUri', 'documents_uri' => 'setDocumentsUri', @@ -250,12 +256,14 @@ public static function swaggerTypes() 'brand_lock' => 'getBrandLock', 'certificate_uri' => 'getCertificateUri', 'completed_date_time' => 'getCompletedDateTime', + 'copy_recipient_data' => 'getCopyRecipientData', 'created_date_time' => 'getCreatedDateTime', 'custom_fields' => 'getCustomFields', 'custom_fields_uri' => 'getCustomFieldsUri', 'declined_date_time' => 'getDeclinedDateTime', 'deleted_date_time' => 'getDeletedDateTime', 'delivered_date_time' => 'getDeliveredDateTime', + 'disable_responsive_document' => 'getDisableResponsiveDocument', 'documents' => 'getDocuments', 'documents_combined_uri' => 'getDocumentsCombinedUri', 'documents_uri' => 'getDocumentsUri', @@ -335,12 +343,14 @@ public function __construct(array $data = null) $this->container['brand_lock'] = isset($data['brand_lock']) ? $data['brand_lock'] : null; $this->container['certificate_uri'] = isset($data['certificate_uri']) ? $data['certificate_uri'] : null; $this->container['completed_date_time'] = isset($data['completed_date_time']) ? $data['completed_date_time'] : null; + $this->container['copy_recipient_data'] = isset($data['copy_recipient_data']) ? $data['copy_recipient_data'] : null; $this->container['created_date_time'] = isset($data['created_date_time']) ? $data['created_date_time'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; $this->container['custom_fields_uri'] = isset($data['custom_fields_uri']) ? $data['custom_fields_uri'] : null; $this->container['declined_date_time'] = isset($data['declined_date_time']) ? $data['declined_date_time'] : null; $this->container['deleted_date_time'] = isset($data['deleted_date_time']) ? $data['deleted_date_time'] : null; $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; + $this->container['disable_responsive_document'] = isset($data['disable_responsive_document']) ? $data['disable_responsive_document'] : null; $this->container['documents'] = isset($data['documents']) ? $data['documents'] : null; $this->container['documents_combined_uri'] = isset($data['documents_combined_uri']) ? $data['documents_combined_uri'] : null; $this->container['documents_uri'] = isset($data['documents_uri']) ? $data['documents_uri'] : null; @@ -652,6 +662,27 @@ public function setCompletedDateTime($completed_date_time) return $this; } + /** + * Gets copy_recipient_data + * @return string + */ + public function getCopyRecipientData() + { + return $this->container['copy_recipient_data']; + } + + /** + * Sets copy_recipient_data + * @param string $copy_recipient_data + * @return $this + */ + public function setCopyRecipientData($copy_recipient_data) + { + $this->container['copy_recipient_data'] = $copy_recipient_data; + + return $this; + } + /** * Gets created_date_time * @return string @@ -778,6 +809,27 @@ public function setDeliveredDateTime($delivered_date_time) return $this; } + /** + * Gets disable_responsive_document + * @return string + */ + public function getDisableResponsiveDocument() + { + return $this->container['disable_responsive_document']; + } + + /** + * Sets disable_responsive_document + * @param string $disable_responsive_document + * @return $this + */ + public function setDisableResponsiveDocument($disable_responsive_document) + { + $this->container['disable_responsive_document'] = $disable_responsive_document; + + return $this; + } + /** * Gets documents * @return \DocuSign\eSign\Model\Document[] diff --git a/src/Model/EnvelopeTemplateResult.php b/src/Model/EnvelopeTemplateResult.php index 39467ad4..b6ba933e 100644 --- a/src/Model/EnvelopeTemplateResult.php +++ b/src/Model/EnvelopeTemplateResult.php @@ -66,6 +66,7 @@ class EnvelopeTemplateResult implements ArrayAccess 'brand_lock' => 'string', 'certificate_uri' => 'string', 'completed_date_time' => 'string', + 'copy_recipient_data' => 'string', 'created' => 'string', 'created_date_time' => 'string', 'custom_fields' => '\DocuSign\eSign\Model\CustomFields', @@ -74,6 +75,7 @@ class EnvelopeTemplateResult implements ArrayAccess 'deleted_date_time' => 'string', 'delivered_date_time' => 'string', 'description' => 'string', + 'disable_responsive_document' => 'string', 'documents' => '\DocuSign\eSign\Model\Document[]', 'documents_combined_uri' => 'string', 'documents_uri' => 'string', @@ -143,6 +145,7 @@ public static function swaggerTypes() 'brand_lock' => 'brandLock', 'certificate_uri' => 'certificateUri', 'completed_date_time' => 'completedDateTime', + 'copy_recipient_data' => 'copyRecipientData', 'created' => 'created', 'created_date_time' => 'createdDateTime', 'custom_fields' => 'customFields', @@ -151,6 +154,7 @@ public static function swaggerTypes() 'deleted_date_time' => 'deletedDateTime', 'delivered_date_time' => 'deliveredDateTime', 'description' => 'description', + 'disable_responsive_document' => 'disableResponsiveDocument', 'documents' => 'documents', 'documents_combined_uri' => 'documentsCombinedUri', 'documents_uri' => 'documentsUri', @@ -216,6 +220,7 @@ public static function swaggerTypes() 'brand_lock' => 'setBrandLock', 'certificate_uri' => 'setCertificateUri', 'completed_date_time' => 'setCompletedDateTime', + 'copy_recipient_data' => 'setCopyRecipientData', 'created' => 'setCreated', 'created_date_time' => 'setCreatedDateTime', 'custom_fields' => 'setCustomFields', @@ -224,6 +229,7 @@ public static function swaggerTypes() 'deleted_date_time' => 'setDeletedDateTime', 'delivered_date_time' => 'setDeliveredDateTime', 'description' => 'setDescription', + 'disable_responsive_document' => 'setDisableResponsiveDocument', 'documents' => 'setDocuments', 'documents_combined_uri' => 'setDocumentsCombinedUri', 'documents_uri' => 'setDocumentsUri', @@ -289,6 +295,7 @@ public static function swaggerTypes() 'brand_lock' => 'getBrandLock', 'certificate_uri' => 'getCertificateUri', 'completed_date_time' => 'getCompletedDateTime', + 'copy_recipient_data' => 'getCopyRecipientData', 'created' => 'getCreated', 'created_date_time' => 'getCreatedDateTime', 'custom_fields' => 'getCustomFields', @@ -297,6 +304,7 @@ public static function swaggerTypes() 'deleted_date_time' => 'getDeletedDateTime', 'delivered_date_time' => 'getDeliveredDateTime', 'description' => 'getDescription', + 'disable_responsive_document' => 'getDisableResponsiveDocument', 'documents' => 'getDocuments', 'documents_combined_uri' => 'getDocumentsCombinedUri', 'documents_uri' => 'getDocumentsUri', @@ -387,6 +395,7 @@ public function __construct(array $data = null) $this->container['brand_lock'] = isset($data['brand_lock']) ? $data['brand_lock'] : null; $this->container['certificate_uri'] = isset($data['certificate_uri']) ? $data['certificate_uri'] : null; $this->container['completed_date_time'] = isset($data['completed_date_time']) ? $data['completed_date_time'] : null; + $this->container['copy_recipient_data'] = isset($data['copy_recipient_data']) ? $data['copy_recipient_data'] : null; $this->container['created'] = isset($data['created']) ? $data['created'] : null; $this->container['created_date_time'] = isset($data['created_date_time']) ? $data['created_date_time'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; @@ -395,6 +404,7 @@ public function __construct(array $data = null) $this->container['deleted_date_time'] = isset($data['deleted_date_time']) ? $data['deleted_date_time'] : null; $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; + $this->container['disable_responsive_document'] = isset($data['disable_responsive_document']) ? $data['disable_responsive_document'] : null; $this->container['documents'] = isset($data['documents']) ? $data['documents'] : null; $this->container['documents_combined_uri'] = isset($data['documents_combined_uri']) ? $data['documents_combined_uri'] : null; $this->container['documents_uri'] = isset($data['documents_uri']) ? $data['documents_uri'] : null; @@ -717,6 +727,27 @@ public function setCompletedDateTime($completed_date_time) return $this; } + /** + * Gets copy_recipient_data + * @return string + */ + public function getCopyRecipientData() + { + return $this->container['copy_recipient_data']; + } + + /** + * Sets copy_recipient_data + * @param string $copy_recipient_data + * @return $this + */ + public function setCopyRecipientData($copy_recipient_data) + { + $this->container['copy_recipient_data'] = $copy_recipient_data; + + return $this; + } + /** * Gets created * @return string @@ -885,6 +916,27 @@ public function setDescription($description) return $this; } + /** + * Gets disable_responsive_document + * @return string + */ + public function getDisableResponsiveDocument() + { + return $this->container['disable_responsive_document']; + } + + /** + * Sets disable_responsive_document + * @param string $disable_responsive_document + * @return $this + */ + public function setDisableResponsiveDocument($disable_responsive_document) + { + $this->container['disable_responsive_document'] = $disable_responsive_document; + + return $this; + } + /** * Gets documents * @return \DocuSign\eSign\Model\Document[] diff --git a/src/Model/EventNotification.php b/src/Model/EventNotification.php index e1a349e3..49880d0d 100644 --- a/src/Model/EventNotification.php +++ b/src/Model/EventNotification.php @@ -61,6 +61,7 @@ class EventNotification implements ArrayAccess 'include_document_fields' => 'string', 'include_documents' => 'string', 'include_envelope_void_reason' => 'string', + 'include_hmac' => 'string', 'include_sender_account_as_custom_field' => 'string', 'include_time_zone' => 'string', 'logging_enabled' => 'string', @@ -88,6 +89,7 @@ public static function swaggerTypes() 'include_document_fields' => 'includeDocumentFields', 'include_documents' => 'includeDocuments', 'include_envelope_void_reason' => 'includeEnvelopeVoidReason', + 'include_hmac' => 'includeHMAC', 'include_sender_account_as_custom_field' => 'includeSenderAccountAsCustomField', 'include_time_zone' => 'includeTimeZone', 'logging_enabled' => 'loggingEnabled', @@ -111,6 +113,7 @@ public static function swaggerTypes() 'include_document_fields' => 'setIncludeDocumentFields', 'include_documents' => 'setIncludeDocuments', 'include_envelope_void_reason' => 'setIncludeEnvelopeVoidReason', + 'include_hmac' => 'setIncludeHmac', 'include_sender_account_as_custom_field' => 'setIncludeSenderAccountAsCustomField', 'include_time_zone' => 'setIncludeTimeZone', 'logging_enabled' => 'setLoggingEnabled', @@ -134,6 +137,7 @@ public static function swaggerTypes() 'include_document_fields' => 'getIncludeDocumentFields', 'include_documents' => 'getIncludeDocuments', 'include_envelope_void_reason' => 'getIncludeEnvelopeVoidReason', + 'include_hmac' => 'getIncludeHmac', 'include_sender_account_as_custom_field' => 'getIncludeSenderAccountAsCustomField', 'include_time_zone' => 'getIncludeTimeZone', 'logging_enabled' => 'getLoggingEnabled', @@ -182,6 +186,7 @@ public function __construct(array $data = null) $this->container['include_document_fields'] = isset($data['include_document_fields']) ? $data['include_document_fields'] : null; $this->container['include_documents'] = isset($data['include_documents']) ? $data['include_documents'] : null; $this->container['include_envelope_void_reason'] = isset($data['include_envelope_void_reason']) ? $data['include_envelope_void_reason'] : null; + $this->container['include_hmac'] = isset($data['include_hmac']) ? $data['include_hmac'] : null; $this->container['include_sender_account_as_custom_field'] = isset($data['include_sender_account_as_custom_field']) ? $data['include_sender_account_as_custom_field'] : null; $this->container['include_time_zone'] = isset($data['include_time_zone']) ? $data['include_time_zone'] : null; $this->container['logging_enabled'] = isset($data['logging_enabled']) ? $data['logging_enabled'] : null; @@ -342,6 +347,27 @@ public function setIncludeEnvelopeVoidReason($include_envelope_void_reason) return $this; } + /** + * Gets include_hmac + * @return string + */ + public function getIncludeHmac() + { + return $this->container['include_hmac']; + } + + /** + * Sets include_hmac + * @param string $include_hmac + * @return $this + */ + public function setIncludeHmac($include_hmac) + { + $this->container['include_hmac'] = $include_hmac; + + return $this; + } + /** * Gets include_sender_account_as_custom_field * @return string diff --git a/src/Model/NewAccountDefinition.php b/src/Model/NewAccountDefinition.php index 619f218a..b5872de8 100644 --- a/src/Model/NewAccountDefinition.php +++ b/src/Model/NewAccountDefinition.php @@ -60,6 +60,7 @@ class NewAccountDefinition implements ArrayAccess 'credit_card_information' => '\DocuSign\eSign\Model\CreditCardInformation', 'distributor_code' => 'string', 'distributor_password' => 'string', + 'envelope_partition_id' => 'string', 'initial_user' => '\DocuSign\eSign\Model\UserInformation', 'payment_processor_information' => '\DocuSign\eSign\Model\PaymentProcessorInformation', 'plan_information' => '\DocuSign\eSign\Model\PlanInformation', @@ -83,6 +84,7 @@ public static function swaggerTypes() 'credit_card_information' => 'creditCardInformation', 'distributor_code' => 'distributorCode', 'distributor_password' => 'distributorPassword', + 'envelope_partition_id' => 'envelopePartitionId', 'initial_user' => 'initialUser', 'payment_processor_information' => 'PaymentProcessorInformation', 'plan_information' => 'planInformation', @@ -102,6 +104,7 @@ public static function swaggerTypes() 'credit_card_information' => 'setCreditCardInformation', 'distributor_code' => 'setDistributorCode', 'distributor_password' => 'setDistributorPassword', + 'envelope_partition_id' => 'setEnvelopePartitionId', 'initial_user' => 'setInitialUser', 'payment_processor_information' => 'setPaymentProcessorInformation', 'plan_information' => 'setPlanInformation', @@ -121,6 +124,7 @@ public static function swaggerTypes() 'credit_card_information' => 'getCreditCardInformation', 'distributor_code' => 'getDistributorCode', 'distributor_password' => 'getDistributorPassword', + 'envelope_partition_id' => 'getEnvelopePartitionId', 'initial_user' => 'getInitialUser', 'payment_processor_information' => 'getPaymentProcessorInformation', 'plan_information' => 'getPlanInformation', @@ -165,6 +169,7 @@ public function __construct(array $data = null) $this->container['credit_card_information'] = isset($data['credit_card_information']) ? $data['credit_card_information'] : null; $this->container['distributor_code'] = isset($data['distributor_code']) ? $data['distributor_code'] : null; $this->container['distributor_password'] = isset($data['distributor_password']) ? $data['distributor_password'] : null; + $this->container['envelope_partition_id'] = isset($data['envelope_partition_id']) ? $data['envelope_partition_id'] : null; $this->container['initial_user'] = isset($data['initial_user']) ? $data['initial_user'] : null; $this->container['payment_processor_information'] = isset($data['payment_processor_information']) ? $data['payment_processor_information'] : null; $this->container['plan_information'] = isset($data['plan_information']) ? $data['plan_information'] : null; @@ -321,6 +326,27 @@ public function setDistributorPassword($distributor_password) return $this; } + /** + * Gets envelope_partition_id + * @return string + */ + public function getEnvelopePartitionId() + { + return $this->container['envelope_partition_id']; + } + + /** + * Sets envelope_partition_id + * @param string $envelope_partition_id + * @return $this + */ + public function setEnvelopePartitionId($envelope_partition_id) + { + $this->container['envelope_partition_id'] = $envelope_partition_id; + + return $this; + } + /** * Gets initial_user * @return \DocuSign\eSign\Model\UserInformation diff --git a/src/Model/OfflineAttributes.php b/src/Model/OfflineAttributes.php new file mode 100644 index 00000000..084f8f36 --- /dev/null +++ b/src/Model/OfflineAttributes.php @@ -0,0 +1,358 @@ + 'string', + 'device_model' => 'string', + 'device_name' => 'string', + 'gps_latitude' => 'string', + 'gps_longitude' => 'string', + 'offline_signing_hash' => 'string' + ]; + + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of attributes where the key is the local name, and the value is the original name + * @var string[] + */ + protected static $attributeMap = [ + 'account_esign_id' => 'accountEsignId', + 'device_model' => 'deviceModel', + 'device_name' => 'deviceName', + 'gps_latitude' => 'gpsLatitude', + 'gps_longitude' => 'gpsLongitude', + 'offline_signing_hash' => 'offlineSigningHash' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'account_esign_id' => 'setAccountEsignId', + 'device_model' => 'setDeviceModel', + 'device_name' => 'setDeviceName', + 'gps_latitude' => 'setGpsLatitude', + 'gps_longitude' => 'setGpsLongitude', + 'offline_signing_hash' => 'setOfflineSigningHash' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'account_esign_id' => 'getAccountEsignId', + 'device_model' => 'getDeviceModel', + 'device_name' => 'getDeviceName', + 'gps_latitude' => 'getGpsLatitude', + 'gps_longitude' => 'getGpsLongitude', + 'offline_signing_hash' => 'getOfflineSigningHash' + ]; + + public static function attributeMap() + { + return self::$attributeMap; + } + + public static function setters() + { + return self::$setters; + } + + public static function getters() + { + return self::$getters; + } + + + + + + /** + * Associative array for storing property values + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * @param mixed[] $data Associated array of property values initializing the model + */ + public function __construct(array $data = null) + { + $this->container['account_esign_id'] = isset($data['account_esign_id']) ? $data['account_esign_id'] : null; + $this->container['device_model'] = isset($data['device_model']) ? $data['device_model'] : null; + $this->container['device_name'] = isset($data['device_name']) ? $data['device_name'] : null; + $this->container['gps_latitude'] = isset($data['gps_latitude']) ? $data['gps_latitude'] : null; + $this->container['gps_longitude'] = isset($data['gps_longitude']) ? $data['gps_longitude'] : null; + $this->container['offline_signing_hash'] = isset($data['offline_signing_hash']) ? $data['offline_signing_hash'] : null; + } + + /** + * show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalid_properties = []; + return $invalid_properties; + } + + /** + * validate all the properties in the model + * return true if all passed + * + * @return bool True if all properteis are valid + */ + public function valid() + { + return true; + } + + + /** + * Gets account_esign_id + * @return string + */ + public function getAccountEsignId() + { + return $this->container['account_esign_id']; + } + + /** + * Sets account_esign_id + * @param string $account_esign_id A GUID identifying the account associated with the consumer disclosure + * @return $this + */ + public function setAccountEsignId($account_esign_id) + { + $this->container['account_esign_id'] = $account_esign_id; + + return $this; + } + + /** + * Gets device_model + * @return string + */ + public function getDeviceModel() + { + return $this->container['device_model']; + } + + /** + * Sets device_model + * @param string $device_model A string containing information about the model of the device used for offline signing. + * @return $this + */ + public function setDeviceModel($device_model) + { + $this->container['device_model'] = $device_model; + + return $this; + } + + /** + * Gets device_name + * @return string + */ + public function getDeviceName() + { + return $this->container['device_name']; + } + + /** + * Sets device_name + * @param string $device_name A string containing information about the type of device used for offline signing. + * @return $this + */ + public function setDeviceName($device_name) + { + $this->container['device_name'] = $device_name; + + return $this; + } + + /** + * Gets gps_latitude + * @return string + */ + public function getGpsLatitude() + { + return $this->container['gps_latitude']; + } + + /** + * Sets gps_latitude + * @param string $gps_latitude A string containing the latitude of the device location at the time of signing. + * @return $this + */ + public function setGpsLatitude($gps_latitude) + { + $this->container['gps_latitude'] = $gps_latitude; + + return $this; + } + + /** + * Gets gps_longitude + * @return string + */ + public function getGpsLongitude() + { + return $this->container['gps_longitude']; + } + + /** + * Sets gps_longitude + * @param string $gps_longitude A string containing the longitude of the device location at the time of signing. + * @return $this + */ + public function setGpsLongitude($gps_longitude) + { + $this->container['gps_longitude'] = $gps_longitude; + + return $this; + } + + /** + * Gets offline_signing_hash + * @return string + */ + public function getOfflineSigningHash() + { + return $this->container['offline_signing_hash']; + } + + /** + * Sets offline_signing_hash + * @param string $offline_signing_hash + * @return $this + */ + public function setOfflineSigningHash($offline_signing_hash) + { + $this->container['offline_signing_hash'] = $offline_signing_hash; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * @param integer $offset Offset + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * @param integer $offset Offset + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * @param integer $offset Offset + * @param mixed $value Value to be set + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * @param integer $offset Offset + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + } + + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/PaymentDetails.php b/src/Model/PaymentDetails.php index 8c62caff..4e760cfb 100644 --- a/src/Model/PaymentDetails.php +++ b/src/Model/PaymentDetails.php @@ -57,11 +57,15 @@ class PaymentDetails implements ArrayAccess 'allowed_payment_methods' => 'string[]', 'charge_id' => 'string', 'currency_code' => 'string', + 'customer_id' => 'string', + 'custom_metadata' => 'string', + 'custom_metadata_required' => 'bool', 'gateway_account_id' => 'string', 'gateway_display_name' => 'string', 'gateway_name' => 'string', 'line_items' => '\DocuSign\eSign\Model\PaymentLineItem[]', 'payment_option' => 'string', + 'payment_source_id' => 'string', 'status' => 'string', 'total' => '\DocuSign\eSign\Model\Money' ]; @@ -79,11 +83,15 @@ public static function swaggerTypes() 'allowed_payment_methods' => 'allowedPaymentMethods', 'charge_id' => 'chargeId', 'currency_code' => 'currencyCode', + 'customer_id' => 'customerId', + 'custom_metadata' => 'customMetadata', + 'custom_metadata_required' => 'customMetadataRequired', 'gateway_account_id' => 'gatewayAccountId', 'gateway_display_name' => 'gatewayDisplayName', 'gateway_name' => 'gatewayName', 'line_items' => 'lineItems', 'payment_option' => 'paymentOption', + 'payment_source_id' => 'paymentSourceId', 'status' => 'status', 'total' => 'total' ]; @@ -97,11 +105,15 @@ public static function swaggerTypes() 'allowed_payment_methods' => 'setAllowedPaymentMethods', 'charge_id' => 'setChargeId', 'currency_code' => 'setCurrencyCode', + 'customer_id' => 'setCustomerId', + 'custom_metadata' => 'setCustomMetadata', + 'custom_metadata_required' => 'setCustomMetadataRequired', 'gateway_account_id' => 'setGatewayAccountId', 'gateway_display_name' => 'setGatewayDisplayName', 'gateway_name' => 'setGatewayName', 'line_items' => 'setLineItems', 'payment_option' => 'setPaymentOption', + 'payment_source_id' => 'setPaymentSourceId', 'status' => 'setStatus', 'total' => 'setTotal' ]; @@ -115,11 +127,15 @@ public static function swaggerTypes() 'allowed_payment_methods' => 'getAllowedPaymentMethods', 'charge_id' => 'getChargeId', 'currency_code' => 'getCurrencyCode', + 'customer_id' => 'getCustomerId', + 'custom_metadata' => 'getCustomMetadata', + 'custom_metadata_required' => 'getCustomMetadataRequired', 'gateway_account_id' => 'getGatewayAccountId', 'gateway_display_name' => 'getGatewayDisplayName', 'gateway_name' => 'getGatewayName', 'line_items' => 'getLineItems', 'payment_option' => 'getPaymentOption', + 'payment_source_id' => 'getPaymentSourceId', 'status' => 'getStatus', 'total' => 'getTotal' ]; @@ -158,11 +174,15 @@ public function __construct(array $data = null) $this->container['allowed_payment_methods'] = isset($data['allowed_payment_methods']) ? $data['allowed_payment_methods'] : null; $this->container['charge_id'] = isset($data['charge_id']) ? $data['charge_id'] : null; $this->container['currency_code'] = isset($data['currency_code']) ? $data['currency_code'] : null; + $this->container['customer_id'] = isset($data['customer_id']) ? $data['customer_id'] : null; + $this->container['custom_metadata'] = isset($data['custom_metadata']) ? $data['custom_metadata'] : null; + $this->container['custom_metadata_required'] = isset($data['custom_metadata_required']) ? $data['custom_metadata_required'] : null; $this->container['gateway_account_id'] = isset($data['gateway_account_id']) ? $data['gateway_account_id'] : null; $this->container['gateway_display_name'] = isset($data['gateway_display_name']) ? $data['gateway_display_name'] : null; $this->container['gateway_name'] = isset($data['gateway_name']) ? $data['gateway_name'] : null; $this->container['line_items'] = isset($data['line_items']) ? $data['line_items'] : null; $this->container['payment_option'] = isset($data['payment_option']) ? $data['payment_option'] : null; + $this->container['payment_source_id'] = isset($data['payment_source_id']) ? $data['payment_source_id'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['total'] = isset($data['total']) ? $data['total'] : null; } @@ -253,6 +273,69 @@ public function setCurrencyCode($currency_code) return $this; } + /** + * Gets customer_id + * @return string + */ + public function getCustomerId() + { + return $this->container['customer_id']; + } + + /** + * Sets customer_id + * @param string $customer_id + * @return $this + */ + public function setCustomerId($customer_id) + { + $this->container['customer_id'] = $customer_id; + + return $this; + } + + /** + * Gets custom_metadata + * @return string + */ + public function getCustomMetadata() + { + return $this->container['custom_metadata']; + } + + /** + * Sets custom_metadata + * @param string $custom_metadata + * @return $this + */ + public function setCustomMetadata($custom_metadata) + { + $this->container['custom_metadata'] = $custom_metadata; + + return $this; + } + + /** + * Gets custom_metadata_required + * @return bool + */ + public function getCustomMetadataRequired() + { + return $this->container['custom_metadata_required']; + } + + /** + * Sets custom_metadata_required + * @param bool $custom_metadata_required + * @return $this + */ + public function setCustomMetadataRequired($custom_metadata_required) + { + $this->container['custom_metadata_required'] = $custom_metadata_required; + + return $this; + } + /** * Gets gateway_account_id * @return string @@ -358,6 +441,27 @@ public function setPaymentOption($payment_option) return $this; } + /** + * Gets payment_source_id + * @return string + */ + public function getPaymentSourceId() + { + return $this->container['payment_source_id']; + } + + /** + * Sets payment_source_id + * @param string $payment_source_id + * @return $this + */ + public function setPaymentSourceId($payment_source_id) + { + $this->container['payment_source_id'] = $payment_source_id; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/RecipientEmailNotification.php b/src/Model/RecipientEmailNotification.php index 47260167..313f5f9a 100644 --- a/src/Model/RecipientEmailNotification.php +++ b/src/Model/RecipientEmailNotification.php @@ -208,7 +208,7 @@ public function getSupportedLanguage() /** * Sets supported_language - * @param string $supported_language A simple type enumeration of the language used. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Bahasa Indonesia (id), Bahasa Melayu (ms) Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro),Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi). + * @param string $supported_language A simple type enumeration of the language used. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), Armenian (hy), Bahasa Indonesia (id), Bahasa Melayu (ms) Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro),Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), and Vietnamese (vi). * @return $this */ public function setSupportedLanguage($supported_language) diff --git a/src/Model/RecipientIdentityInputOption.php b/src/Model/RecipientIdentityInputOption.php new file mode 100644 index 00000000..ed679d44 --- /dev/null +++ b/src/Model/RecipientIdentityInputOption.php @@ -0,0 +1,279 @@ + 'string', + 'phone_number_list' => '\DocuSign\eSign\Model\RecipientIdentityPhoneNumber[]', + 'value_type' => 'string' + ]; + + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of attributes where the key is the local name, and the value is the original name + * @var string[] + */ + protected static $attributeMap = [ + 'name' => 'name', + 'phone_number_list' => 'phoneNumberList', + 'value_type' => 'valueType' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'name' => 'setName', + 'phone_number_list' => 'setPhoneNumberList', + 'value_type' => 'setValueType' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'name' => 'getName', + 'phone_number_list' => 'getPhoneNumberList', + 'value_type' => 'getValueType' + ]; + + public static function attributeMap() + { + return self::$attributeMap; + } + + public static function setters() + { + return self::$setters; + } + + public static function getters() + { + return self::$getters; + } + + + + + + /** + * Associative array for storing property values + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * @param mixed[] $data Associated array of property values initializing the model + */ + public function __construct(array $data = null) + { + $this->container['name'] = isset($data['name']) ? $data['name'] : null; + $this->container['phone_number_list'] = isset($data['phone_number_list']) ? $data['phone_number_list'] : null; + $this->container['value_type'] = isset($data['value_type']) ? $data['value_type'] : null; + } + + /** + * show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalid_properties = []; + return $invalid_properties; + } + + /** + * validate all the properties in the model + * return true if all passed + * + * @return bool True if all properteis are valid + */ + public function valid() + { + return true; + } + + + /** + * Gets name + * @return string + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * @param string $name + * @return $this + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets phone_number_list + * @return \DocuSign\eSign\Model\RecipientIdentityPhoneNumber[] + */ + public function getPhoneNumberList() + { + return $this->container['phone_number_list']; + } + + /** + * Sets phone_number_list + * @param \DocuSign\eSign\Model\RecipientIdentityPhoneNumber[] $phone_number_list + * @return $this + */ + public function setPhoneNumberList($phone_number_list) + { + $this->container['phone_number_list'] = $phone_number_list; + + return $this; + } + + /** + * Gets value_type + * @return string + */ + public function getValueType() + { + return $this->container['value_type']; + } + + /** + * Sets value_type + * @param string $value_type + * @return $this + */ + public function setValueType($value_type) + { + $this->container['value_type'] = $value_type; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * @param integer $offset Offset + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * @param integer $offset Offset + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * @param integer $offset Offset + * @param mixed $value Value to be set + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * @param integer $offset Offset + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + } + + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/RecipientIdentityPhoneNumber.php b/src/Model/RecipientIdentityPhoneNumber.php new file mode 100644 index 00000000..ac80fc1a --- /dev/null +++ b/src/Model/RecipientIdentityPhoneNumber.php @@ -0,0 +1,279 @@ + 'string', + 'extension' => 'string', + 'number' => 'string' + ]; + + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of attributes where the key is the local name, and the value is the original name + * @var string[] + */ + protected static $attributeMap = [ + 'country_code' => 'countryCode', + 'extension' => 'extension', + 'number' => 'number' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'country_code' => 'setCountryCode', + 'extension' => 'setExtension', + 'number' => 'setNumber' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'country_code' => 'getCountryCode', + 'extension' => 'getExtension', + 'number' => 'getNumber' + ]; + + public static function attributeMap() + { + return self::$attributeMap; + } + + public static function setters() + { + return self::$setters; + } + + public static function getters() + { + return self::$getters; + } + + + + + + /** + * Associative array for storing property values + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * @param mixed[] $data Associated array of property values initializing the model + */ + public function __construct(array $data = null) + { + $this->container['country_code'] = isset($data['country_code']) ? $data['country_code'] : null; + $this->container['extension'] = isset($data['extension']) ? $data['extension'] : null; + $this->container['number'] = isset($data['number']) ? $data['number'] : null; + } + + /** + * show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalid_properties = []; + return $invalid_properties; + } + + /** + * validate all the properties in the model + * return true if all passed + * + * @return bool True if all properteis are valid + */ + public function valid() + { + return true; + } + + + /** + * Gets country_code + * @return string + */ + public function getCountryCode() + { + return $this->container['country_code']; + } + + /** + * Sets country_code + * @param string $country_code + * @return $this + */ + public function setCountryCode($country_code) + { + $this->container['country_code'] = $country_code; + + return $this; + } + + /** + * Gets extension + * @return string + */ + public function getExtension() + { + return $this->container['extension']; + } + + /** + * Sets extension + * @param string $extension + * @return $this + */ + public function setExtension($extension) + { + $this->container['extension'] = $extension; + + return $this; + } + + /** + * Gets number + * @return string + */ + public function getNumber() + { + return $this->container['number']; + } + + /** + * Sets number + * @param string $number + * @return $this + */ + public function setNumber($number) + { + $this->container['number'] = $number; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * @param integer $offset Offset + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * @param integer $offset Offset + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * @param integer $offset Offset + * @param mixed $value Value to be set + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * @param integer $offset Offset + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + } + + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/RecipientIdentityVerification.php b/src/Model/RecipientIdentityVerification.php new file mode 100644 index 00000000..81e60303 --- /dev/null +++ b/src/Model/RecipientIdentityVerification.php @@ -0,0 +1,253 @@ + '\DocuSign\eSign\Model\RecipientIdentityInputOption[]', + 'workflow_id' => 'string' + ]; + + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of attributes where the key is the local name, and the value is the original name + * @var string[] + */ + protected static $attributeMap = [ + 'input_options' => 'inputOptions', + 'workflow_id' => 'workflowId' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'input_options' => 'setInputOptions', + 'workflow_id' => 'setWorkflowId' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'input_options' => 'getInputOptions', + 'workflow_id' => 'getWorkflowId' + ]; + + public static function attributeMap() + { + return self::$attributeMap; + } + + public static function setters() + { + return self::$setters; + } + + public static function getters() + { + return self::$getters; + } + + + + + + /** + * Associative array for storing property values + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * @param mixed[] $data Associated array of property values initializing the model + */ + public function __construct(array $data = null) + { + $this->container['input_options'] = isset($data['input_options']) ? $data['input_options'] : null; + $this->container['workflow_id'] = isset($data['workflow_id']) ? $data['workflow_id'] : null; + } + + /** + * show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalid_properties = []; + return $invalid_properties; + } + + /** + * validate all the properties in the model + * return true if all passed + * + * @return bool True if all properteis are valid + */ + public function valid() + { + return true; + } + + + /** + * Gets input_options + * @return \DocuSign\eSign\Model\RecipientIdentityInputOption[] + */ + public function getInputOptions() + { + return $this->container['input_options']; + } + + /** + * Sets input_options + * @param \DocuSign\eSign\Model\RecipientIdentityInputOption[] $input_options + * @return $this + */ + public function setInputOptions($input_options) + { + $this->container['input_options'] = $input_options; + + return $this; + } + + /** + * Gets workflow_id + * @return string + */ + public function getWorkflowId() + { + return $this->container['workflow_id']; + } + + /** + * Sets workflow_id + * @param string $workflow_id + * @return $this + */ + public function setWorkflowId($workflow_id) + { + $this->container['workflow_id'] = $workflow_id; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * @param integer $offset Offset + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * @param integer $offset Offset + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * @param integer $offset Offset + * @param mixed $value Value to be set + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * @param integer $offset Offset + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + } + + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/RecipientProofFile.php b/src/Model/RecipientProofFile.php new file mode 100644 index 00000000..9412639e --- /dev/null +++ b/src/Model/RecipientProofFile.php @@ -0,0 +1,227 @@ + 'string' + ]; + + public static function swaggerTypes() + { + return self::$swaggerTypes; + } + + /** + * Array of attributes where the key is the local name, and the value is the original name + * @var string[] + */ + protected static $attributeMap = [ + 'is_in_proof_file' => 'isInProofFile' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'is_in_proof_file' => 'setIsInProofFile' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'is_in_proof_file' => 'getIsInProofFile' + ]; + + public static function attributeMap() + { + return self::$attributeMap; + } + + public static function setters() + { + return self::$setters; + } + + public static function getters() + { + return self::$getters; + } + + + + + + /** + * Associative array for storing property values + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * @param mixed[] $data Associated array of property values initializing the model + */ + public function __construct(array $data = null) + { + $this->container['is_in_proof_file'] = isset($data['is_in_proof_file']) ? $data['is_in_proof_file'] : null; + } + + /** + * show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalid_properties = []; + return $invalid_properties; + } + + /** + * validate all the properties in the model + * return true if all passed + * + * @return bool True if all properteis are valid + */ + public function valid() + { + return true; + } + + + /** + * Gets is_in_proof_file + * @return string + */ + public function getIsInProofFile() + { + return $this->container['is_in_proof_file']; + } + + /** + * Sets is_in_proof_file + * @param string $is_in_proof_file + * @return $this + */ + public function setIsInProofFile($is_in_proof_file) + { + $this->container['is_in_proof_file'] = $is_in_proof_file; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * @param integer $offset Offset + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * @param integer $offset Offset + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * @param integer $offset Offset + * @param mixed $value Value to be set + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * @param integer $offset Offset + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * @return string + */ + public function __toString() + { + if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + } + + return json_encode(\DocuSign\eSign\ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/src/Model/Signer.php b/src/Model/Signer.php index d7d35fda..749a6c81 100644 --- a/src/Model/Signer.php +++ b/src/Model/Signer.php @@ -81,6 +81,7 @@ class Signer implements ArrayAccess 'full_name' => 'string', 'id_check_configuration_name' => 'string', 'id_check_information_input' => '\DocuSign\eSign\Model\IdCheckInformationInput', + 'identity_verification' => '\DocuSign\eSign\Model\RecipientIdentityVerification', 'inherit_email_notification_configuration' => 'string', 'is_bulk_recipient' => 'string', 'last_name' => 'string', @@ -88,6 +89,7 @@ class Signer implements ArrayAccess 'note' => 'string', 'offline_attributes' => '\DocuSign\eSign\Model\OfflineAttributes', 'phone_authentication' => '\DocuSign\eSign\Model\RecipientPhoneAuthentication', + 'proof_file' => '\DocuSign\eSign\Model\RecipientProofFile', 'recipient_attachments' => '\DocuSign\eSign\Model\RecipientAttachment[]', 'recipient_authentication_status' => '\DocuSign\eSign\Model\AuthenticationStatus', 'recipient_id' => 'string', @@ -154,6 +156,7 @@ public static function swaggerTypes() 'full_name' => 'fullName', 'id_check_configuration_name' => 'idCheckConfigurationName', 'id_check_information_input' => 'idCheckInformationInput', + 'identity_verification' => 'identityVerification', 'inherit_email_notification_configuration' => 'inheritEmailNotificationConfiguration', 'is_bulk_recipient' => 'isBulkRecipient', 'last_name' => 'lastName', @@ -161,6 +164,7 @@ public static function swaggerTypes() 'note' => 'note', 'offline_attributes' => 'offlineAttributes', 'phone_authentication' => 'phoneAuthentication', + 'proof_file' => 'proofFile', 'recipient_attachments' => 'recipientAttachments', 'recipient_authentication_status' => 'recipientAuthenticationStatus', 'recipient_id' => 'recipientId', @@ -223,6 +227,7 @@ public static function swaggerTypes() 'full_name' => 'setFullName', 'id_check_configuration_name' => 'setIdCheckConfigurationName', 'id_check_information_input' => 'setIdCheckInformationInput', + 'identity_verification' => 'setIdentityVerification', 'inherit_email_notification_configuration' => 'setInheritEmailNotificationConfiguration', 'is_bulk_recipient' => 'setIsBulkRecipient', 'last_name' => 'setLastName', @@ -230,6 +235,7 @@ public static function swaggerTypes() 'note' => 'setNote', 'offline_attributes' => 'setOfflineAttributes', 'phone_authentication' => 'setPhoneAuthentication', + 'proof_file' => 'setProofFile', 'recipient_attachments' => 'setRecipientAttachments', 'recipient_authentication_status' => 'setRecipientAuthenticationStatus', 'recipient_id' => 'setRecipientId', @@ -292,6 +298,7 @@ public static function swaggerTypes() 'full_name' => 'getFullName', 'id_check_configuration_name' => 'getIdCheckConfigurationName', 'id_check_information_input' => 'getIdCheckInformationInput', + 'identity_verification' => 'getIdentityVerification', 'inherit_email_notification_configuration' => 'getInheritEmailNotificationConfiguration', 'is_bulk_recipient' => 'getIsBulkRecipient', 'last_name' => 'getLastName', @@ -299,6 +306,7 @@ public static function swaggerTypes() 'note' => 'getNote', 'offline_attributes' => 'getOfflineAttributes', 'phone_authentication' => 'getPhoneAuthentication', + 'proof_file' => 'getProofFile', 'recipient_attachments' => 'getRecipientAttachments', 'recipient_authentication_status' => 'getRecipientAuthenticationStatus', 'recipient_id' => 'getRecipientId', @@ -386,6 +394,7 @@ public function __construct(array $data = null) $this->container['full_name'] = isset($data['full_name']) ? $data['full_name'] : null; $this->container['id_check_configuration_name'] = isset($data['id_check_configuration_name']) ? $data['id_check_configuration_name'] : null; $this->container['id_check_information_input'] = isset($data['id_check_information_input']) ? $data['id_check_information_input'] : null; + $this->container['identity_verification'] = isset($data['identity_verification']) ? $data['identity_verification'] : null; $this->container['inherit_email_notification_configuration'] = isset($data['inherit_email_notification_configuration']) ? $data['inherit_email_notification_configuration'] : null; $this->container['is_bulk_recipient'] = isset($data['is_bulk_recipient']) ? $data['is_bulk_recipient'] : null; $this->container['last_name'] = isset($data['last_name']) ? $data['last_name'] : null; @@ -393,6 +402,7 @@ public function __construct(array $data = null) $this->container['note'] = isset($data['note']) ? $data['note'] : null; $this->container['offline_attributes'] = isset($data['offline_attributes']) ? $data['offline_attributes'] : null; $this->container['phone_authentication'] = isset($data['phone_authentication']) ? $data['phone_authentication'] : null; + $this->container['proof_file'] = isset($data['proof_file']) ? $data['proof_file'] : null; $this->container['recipient_attachments'] = isset($data['recipient_attachments']) ? $data['recipient_attachments'] : null; $this->container['recipient_authentication_status'] = isset($data['recipient_authentication_status']) ? $data['recipient_authentication_status'] : null; $this->container['recipient_id'] = isset($data['recipient_id']) ? $data['recipient_id'] : null; @@ -1012,6 +1022,27 @@ public function setIdCheckInformationInput($id_check_information_input) return $this; } + /** + * Gets identity_verification + * @return \DocuSign\eSign\Model\RecipientIdentityVerification + */ + public function getIdentityVerification() + { + return $this->container['identity_verification']; + } + + /** + * Sets identity_verification + * @param \DocuSign\eSign\Model\RecipientIdentityVerification $identity_verification + * @return $this + */ + public function setIdentityVerification($identity_verification) + { + $this->container['identity_verification'] = $identity_verification; + + return $this; + } + /** * Gets inherit_email_notification_configuration * @return string @@ -1159,6 +1190,27 @@ public function setPhoneAuthentication($phone_authentication) return $this; } + /** + * Gets proof_file + * @return \DocuSign\eSign\Model\RecipientProofFile + */ + public function getProofFile() + { + return $this->container['proof_file']; + } + + /** + * Sets proof_file + * @param \DocuSign\eSign\Model\RecipientProofFile $proof_file + * @return $this + */ + public function setProofFile($proof_file) + { + $this->container['proof_file'] = $proof_file; + + return $this; + } + /** * Gets recipient_attachments * @return \DocuSign\eSign\Model\RecipientAttachment[] diff --git a/src/Model/SmartSectionDisplaySettings.php b/src/Model/SmartSectionDisplaySettings.php index 2bf6fb4b..6960327f 100644 --- a/src/Model/SmartSectionDisplaySettings.php +++ b/src/Model/SmartSectionDisplaySettings.php @@ -63,6 +63,7 @@ class SmartSectionDisplaySettings implements ArrayAccess 'hide_label_when_opened' => 'bool', 'inline_outer_style' => 'string', 'label_when_opened' => 'string', + 'pre_label' => 'string', 'scroll_to_top_when_opened' => 'bool', 'table_style' => 'string' ]; @@ -86,6 +87,7 @@ public static function swaggerTypes() 'hide_label_when_opened' => 'hideLabelWhenOpened', 'inline_outer_style' => 'inlineOuterStyle', 'label_when_opened' => 'labelWhenOpened', + 'pre_label' => 'preLabel', 'scroll_to_top_when_opened' => 'scrollToTopWhenOpened', 'table_style' => 'tableStyle' ]; @@ -105,6 +107,7 @@ public static function swaggerTypes() 'hide_label_when_opened' => 'setHideLabelWhenOpened', 'inline_outer_style' => 'setInlineOuterStyle', 'label_when_opened' => 'setLabelWhenOpened', + 'pre_label' => 'setPreLabel', 'scroll_to_top_when_opened' => 'setScrollToTopWhenOpened', 'table_style' => 'setTableStyle' ]; @@ -124,6 +127,7 @@ public static function swaggerTypes() 'hide_label_when_opened' => 'getHideLabelWhenOpened', 'inline_outer_style' => 'getInlineOuterStyle', 'label_when_opened' => 'getLabelWhenOpened', + 'pre_label' => 'getPreLabel', 'scroll_to_top_when_opened' => 'getScrollToTopWhenOpened', 'table_style' => 'getTableStyle' ]; @@ -168,6 +172,7 @@ public function __construct(array $data = null) $this->container['hide_label_when_opened'] = isset($data['hide_label_when_opened']) ? $data['hide_label_when_opened'] : null; $this->container['inline_outer_style'] = isset($data['inline_outer_style']) ? $data['inline_outer_style'] : null; $this->container['label_when_opened'] = isset($data['label_when_opened']) ? $data['label_when_opened'] : null; + $this->container['pre_label'] = isset($data['pre_label']) ? $data['pre_label'] : null; $this->container['scroll_to_top_when_opened'] = isset($data['scroll_to_top_when_opened']) ? $data['scroll_to_top_when_opened'] : null; $this->container['table_style'] = isset($data['table_style']) ? $data['table_style'] : null; } @@ -384,6 +389,27 @@ public function setLabelWhenOpened($label_when_opened) return $this; } + /** + * Gets pre_label + * @return string + */ + public function getPreLabel() + { + return $this->container['pre_label']; + } + + /** + * Sets pre_label + * @param string $pre_label + * @return $this + */ + public function setPreLabel($pre_label) + { + $this->container['pre_label'] = $pre_label; + + return $this; + } + /** * Gets scroll_to_top_when_opened * @return bool diff --git a/src/Model/Witness.php b/src/Model/Witness.php index 93ebbba4..b19c18cc 100644 --- a/src/Model/Witness.php +++ b/src/Model/Witness.php @@ -81,6 +81,7 @@ class Witness implements ArrayAccess 'full_name' => 'string', 'id_check_configuration_name' => 'string', 'id_check_information_input' => '\DocuSign\eSign\Model\IdCheckInformationInput', + 'identity_verification' => '\DocuSign\eSign\Model\RecipientIdentityVerification', 'inherit_email_notification_configuration' => 'string', 'is_bulk_recipient' => 'string', 'last_name' => 'string', @@ -88,6 +89,7 @@ class Witness implements ArrayAccess 'note' => 'string', 'offline_attributes' => '\DocuSign\eSign\Model\OfflineAttributes', 'phone_authentication' => '\DocuSign\eSign\Model\RecipientPhoneAuthentication', + 'proof_file' => '\DocuSign\eSign\Model\RecipientProofFile', 'recipient_attachments' => '\DocuSign\eSign\Model\RecipientAttachment[]', 'recipient_authentication_status' => '\DocuSign\eSign\Model\AuthenticationStatus', 'recipient_id' => 'string', @@ -156,6 +158,7 @@ public static function swaggerTypes() 'full_name' => 'fullName', 'id_check_configuration_name' => 'idCheckConfigurationName', 'id_check_information_input' => 'idCheckInformationInput', + 'identity_verification' => 'identityVerification', 'inherit_email_notification_configuration' => 'inheritEmailNotificationConfiguration', 'is_bulk_recipient' => 'isBulkRecipient', 'last_name' => 'lastName', @@ -163,6 +166,7 @@ public static function swaggerTypes() 'note' => 'note', 'offline_attributes' => 'offlineAttributes', 'phone_authentication' => 'phoneAuthentication', + 'proof_file' => 'proofFile', 'recipient_attachments' => 'recipientAttachments', 'recipient_authentication_status' => 'recipientAuthenticationStatus', 'recipient_id' => 'recipientId', @@ -227,6 +231,7 @@ public static function swaggerTypes() 'full_name' => 'setFullName', 'id_check_configuration_name' => 'setIdCheckConfigurationName', 'id_check_information_input' => 'setIdCheckInformationInput', + 'identity_verification' => 'setIdentityVerification', 'inherit_email_notification_configuration' => 'setInheritEmailNotificationConfiguration', 'is_bulk_recipient' => 'setIsBulkRecipient', 'last_name' => 'setLastName', @@ -234,6 +239,7 @@ public static function swaggerTypes() 'note' => 'setNote', 'offline_attributes' => 'setOfflineAttributes', 'phone_authentication' => 'setPhoneAuthentication', + 'proof_file' => 'setProofFile', 'recipient_attachments' => 'setRecipientAttachments', 'recipient_authentication_status' => 'setRecipientAuthenticationStatus', 'recipient_id' => 'setRecipientId', @@ -298,6 +304,7 @@ public static function swaggerTypes() 'full_name' => 'getFullName', 'id_check_configuration_name' => 'getIdCheckConfigurationName', 'id_check_information_input' => 'getIdCheckInformationInput', + 'identity_verification' => 'getIdentityVerification', 'inherit_email_notification_configuration' => 'getInheritEmailNotificationConfiguration', 'is_bulk_recipient' => 'getIsBulkRecipient', 'last_name' => 'getLastName', @@ -305,6 +312,7 @@ public static function swaggerTypes() 'note' => 'getNote', 'offline_attributes' => 'getOfflineAttributes', 'phone_authentication' => 'getPhoneAuthentication', + 'proof_file' => 'getProofFile', 'recipient_attachments' => 'getRecipientAttachments', 'recipient_authentication_status' => 'getRecipientAuthenticationStatus', 'recipient_id' => 'getRecipientId', @@ -394,6 +402,7 @@ public function __construct(array $data = null) $this->container['full_name'] = isset($data['full_name']) ? $data['full_name'] : null; $this->container['id_check_configuration_name'] = isset($data['id_check_configuration_name']) ? $data['id_check_configuration_name'] : null; $this->container['id_check_information_input'] = isset($data['id_check_information_input']) ? $data['id_check_information_input'] : null; + $this->container['identity_verification'] = isset($data['identity_verification']) ? $data['identity_verification'] : null; $this->container['inherit_email_notification_configuration'] = isset($data['inherit_email_notification_configuration']) ? $data['inherit_email_notification_configuration'] : null; $this->container['is_bulk_recipient'] = isset($data['is_bulk_recipient']) ? $data['is_bulk_recipient'] : null; $this->container['last_name'] = isset($data['last_name']) ? $data['last_name'] : null; @@ -401,6 +410,7 @@ public function __construct(array $data = null) $this->container['note'] = isset($data['note']) ? $data['note'] : null; $this->container['offline_attributes'] = isset($data['offline_attributes']) ? $data['offline_attributes'] : null; $this->container['phone_authentication'] = isset($data['phone_authentication']) ? $data['phone_authentication'] : null; + $this->container['proof_file'] = isset($data['proof_file']) ? $data['proof_file'] : null; $this->container['recipient_attachments'] = isset($data['recipient_attachments']) ? $data['recipient_attachments'] : null; $this->container['recipient_authentication_status'] = isset($data['recipient_authentication_status']) ? $data['recipient_authentication_status'] : null; $this->container['recipient_id'] = isset($data['recipient_id']) ? $data['recipient_id'] : null; @@ -1022,6 +1032,27 @@ public function setIdCheckInformationInput($id_check_information_input) return $this; } + /** + * Gets identity_verification + * @return \DocuSign\eSign\Model\RecipientIdentityVerification + */ + public function getIdentityVerification() + { + return $this->container['identity_verification']; + } + + /** + * Sets identity_verification + * @param \DocuSign\eSign\Model\RecipientIdentityVerification $identity_verification + * @return $this + */ + public function setIdentityVerification($identity_verification) + { + $this->container['identity_verification'] = $identity_verification; + + return $this; + } + /** * Gets inherit_email_notification_configuration * @return string @@ -1169,6 +1200,27 @@ public function setPhoneAuthentication($phone_authentication) return $this; } + /** + * Gets proof_file + * @return \DocuSign\eSign\Model\RecipientProofFile + */ + public function getProofFile() + { + return $this->container['proof_file']; + } + + /** + * Sets proof_file + * @param \DocuSign\eSign\Model\RecipientProofFile $proof_file + * @return $this + */ + public function setProofFile($proof_file) + { + $this->container['proof_file'] = $proof_file; + + return $this; + } + /** * Gets recipient_attachments * @return \DocuSign\eSign\Model\RecipientAttachment[] diff --git a/src/ObjectSerializer.php b/src/ObjectSerializer.php index 8f0a7cf8..4f4b68e0 100644 --- a/src/ObjectSerializer.php +++ b/src/ObjectSerializer.php @@ -79,7 +79,7 @@ public static function sanitizeForSerialization($data) * * @return string the sanitized filename */ - public function sanitizeFilename($filename) + public static function sanitizeFilename($filename) { if (preg_match("/.*[\/\\\\](.*)$/", $filename, $match)) { return $match[1]; @@ -251,14 +251,20 @@ public static function deserialize($data, $class, $httpHeaders = null) } else { return null; } - } elseif (in_array($class, ['DateTime', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + } elseif ($class === 'DateTime' || in_array(strtolower($class), ['bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'object', 'string', 'void'], true)) { + if ($class !== 'DateTime') { + $class = strtolower($class); + } + if ($class === 'void') { + $class = 'null'; + } settype($data, $class); return $data; } elseif ($class === '\SplFileObject') { // determine file name if (array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match)) { - $filename = Configuration::getDefaultConfiguration()->getTempFolderPath() . sanitizeFilename($match[1]); + $filename = Configuration::getDefaultConfiguration()->getTempFolderPath() . self::sanitizeFilename($match[1]); } else { $filename = tempnam(Configuration::getDefaultConfiguration()->getTempFolderPath(), ''); } @@ -271,6 +277,9 @@ public static function deserialize($data, $class, $httpHeaders = null) return $deserialized; } else { // If a discriminator is defined and points to a valid subclass, use it. + if (in_array($class, ['Number', 'Date'])) { + $class = '\DocuSign\eSign\Model\\' . $class; + } $discriminator = $class::DISCRIMINATOR; if (!empty($discriminator) && isset($data->{$discriminator}) && is_string($data->{$discriminator})) { $subclass = '\DocuSign\eSign\Model\\' . $data->{$discriminator}; diff --git a/test/TestConfig.php b/test/TestConfig.php index 3ba60796..524de100 100644 --- a/test/TestConfig.php +++ b/test/TestConfig.php @@ -96,7 +96,7 @@ class TestConfig public function __construct($integratorKey = null, $host = null, $returnUrl = null, $envelopeId = null, $secret = null, $key = null, $userId = null, $privateKey = null) { - $this->host = !empty($host) ? $host : getenv('REDIRECT_URI'); + $this->host = !empty($host) ? $host : 'https://demo.docusign.net/restapi'; $this->integratorKey = !empty($integratorKey) ? $integratorKey : getenv('INTEGRATOR_KEY_JWT'); $this->clientSecret = !empty($secret) ? $secret : getenv('CLIENT_SECRET'); $this->clientKey = !empty($key) ? $key : 'Docs/private.pem'; @@ -108,7 +108,7 @@ public function __construct($integratorKey = null, $host = null, $returnUrl = nu $this->templateRoleName = !empty($templateRoleName) ? $templateRoleName : 'Manager'; $this->templateId = !empty($templateId) ? $templateId : getenv('TEMPLATE_ID'); - $this->returnUrl = !empty($returnUrl) ? $returnUrl : 'https://www.docusign.com/api'; + $this->returnUrl = !empty($returnUrl) ? $returnUrl : getenv('REDIRECT_URI'); $this->envelopeId = !empty($envelopeId) ? $envelopeId : ''; $this->userId = !empty($userId) ? $userId : getenv('USER_ID'); //can be taken from generateAccessToken returned result diff --git a/test/UnitTests.php b/test/UnitTests.php index 310e77f5..a4c8c34b 100644 --- a/test/UnitTests.php +++ b/test/UnitTests.php @@ -124,8 +124,16 @@ function signatureRequestOnDocument($testConfig, $status = "sent", $embeddedSign $signHere->setPageNumber("1"); $signHere->setRecipientId("1"); + $numberTab = new \DocuSign\eSign\Model\Number(); + $numberTab->setXPosition("100"); + $numberTab->setYPosition("100"); + $numberTab->setDocumentId("1"); + $numberTab->setPageNumber("1"); + $numberTab->setRecipientId("1"); + $tabs = new DocuSign\eSign\Model\Tabs(); $tabs->setSignHereTabs(array($signHere)); + $tabs->setNumberTabs(array($numberTab)); $signer = new \DocuSign\eSign\Model\Signer(); $signer->setEmail($testConfig->getRecipientEmail()); @@ -365,6 +373,28 @@ public function testCreateEmbeddedConsoleView($testConfig) return $testConfig; } + + /** + * @depends testSignatureRequestOnDocument + */ + public function testNumberTabs($testConfig) + { + $testConfig = $this->testSignatureRequestOnDocument($testConfig, "created", true); + $envelopesApi = new DocuSign\eSign\Api\EnvelopesApi($testConfig->getApiClient()); + + $options = new \DocuSign\eSign\Api\EnvelopesApi\GetEnvelopeOptions(); + $options->setInclude("tabs,recipients"); + + $createdEnvelope = $envelopesApi->getEnvelope($testConfig->getAccountId(), $testConfig->getEnvelopeId()); + $recipients = $envelopesApi->listRecipients($testConfig->getAccountId(), $createdEnvelope->getEnvelopeId()); + $tabs = $envelopesApi->listTabs($testConfig->getAccountId(), $testConfig->getEnvelopeId(), $recipients->getSigners()[0]->getRecipientId()); + $numberTabs = $tabs->getNumberTabs(); + + $this->assertNotNull($numberTabs); + $this->assertEquals(count($numberTabs), 1); + + return $testConfig; + } } -?> \ No newline at end of file +?>