diff --git a/CHANGELOG.md b/CHANGELOG.md index 59b41c20..67bd64b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,15 @@ 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. -## [5.0.0] - eSignature API v2.1-19.2.02 - 2019-09-28 -### BREAKING -* The SDK now supports version v2.1-19.2.02 of the DocuSign eSignature API. -* SDK Release Version updated. +## [5.1.0] - eSignature API v2.1-20.1.00 - 2020-03-13 +### Changed +* The SDK now supports version v2.1-20.1.00 of the DocuSign eSignature API. +* SDK Release Version updated.git chec + +## [5.0.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 @@ -23,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/src/Api/AccountsApi.php b/src/Api/AccountsApi.php index 550de90d..74354b4a 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) @@ -2010,12 +2038,13 @@ public function deleteENoteConfigurationWithHttpInfo($account_id) * * @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\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; } @@ -2026,10 +2055,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 + * @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) { @@ -2051,6 +2081,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) { @@ -3147,7 +3185,7 @@ 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. + * @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 */ @@ -3163,7 +3201,7 @@ 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. + * @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) */ @@ -5684,7 +5722,7 @@ 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\Client\ApiException on non-2xx response @@ -5702,7 +5740,7 @@ 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\Client\ApiException on non-2xx response diff --git a/src/Api/AuthenticationApi.php b/src/Api/AuthenticationApi.php index f0879df4..b4800b9f 100644 --- a/src/Api/AuthenticationApi.php +++ b/src/Api/AuthenticationApi.php @@ -14,7 +14,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -233,7 +233,7 @@ public function deleteSocialLoginWithHttpInfo($account_id, $user_id, $social_acc throw new \InvalidArgumentException('Missing the required parameter $user_id when calling deleteSocialLogin'); } // parse inputs - $resourcePath = "/v2/accounts/{accountId}/users/{userId}/social"; + $resourcePath = "/v2.1/accounts/{accountId}/users/{userId}/social"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -285,7 +285,7 @@ public function deleteSocialLoginWithHttpInfo($account_id, $user_id, $social_acc $httpBody, $headerParams, null, - '/v2/accounts/{accountId}/users/{userId}/social' + '/v2.1/accounts/{accountId}/users/{userId}/social' ); return [null, $statusCode, $httpHeader]; @@ -326,7 +326,7 @@ public function getOAuthToken() public function getOAuthTokenWithHttpInfo() { // parse inputs - $resourcePath = "/v2/oauth2/token"; + $resourcePath = "/v2.1/oauth2/token"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -357,7 +357,7 @@ public function getOAuthTokenWithHttpInfo() $httpBody, $headerParams, '\DocuSign\eSign\Model\OauthAccess', - '/v2/oauth2/token' + '/v2.1/oauth2/token' ); return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\OauthAccess', $httpHeader), $statusCode, $httpHeader]; @@ -414,7 +414,7 @@ public function listSocialLoginsWithHttpInfo($account_id, $user_id) throw new \InvalidArgumentException('Missing the required parameter $user_id when calling listSocialLogins'); } // parse inputs - $resourcePath = "/v2/accounts/{accountId}/users/{userId}/social"; + $resourcePath = "/v2.1/accounts/{accountId}/users/{userId}/social"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -461,7 +461,7 @@ public function listSocialLoginsWithHttpInfo($account_id, $user_id) $httpBody, $headerParams, '\DocuSign\eSign\Model\UserSocialIdResult', - '/v2/accounts/{accountId}/users/{userId}/social' + '/v2.1/accounts/{accountId}/users/{userId}/social' ); return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\UserSocialIdResult', $httpHeader), $statusCode, $httpHeader]; @@ -508,7 +508,7 @@ public function login(AuthenticationApi\LoginOptions $options = null) public function loginWithHttpInfo(AuthenticationApi\LoginOptions $options = null) { // parse inputs - $resourcePath = "/v2/login_information"; + $resourcePath = "/v2.1/login_information"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -559,7 +559,7 @@ public function loginWithHttpInfo(AuthenticationApi\LoginOptions $options = null $httpBody, $headerParams, '\DocuSign\eSign\Model\LoginInformation', - '/v2/login_information' + '/v2.1/login_information' ); return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\LoginInformation', $httpHeader), $statusCode, $httpHeader]; @@ -604,7 +604,7 @@ public function revokeOAuthToken() public function revokeOAuthTokenWithHttpInfo() { // parse inputs - $resourcePath = "/v2/oauth2/revoke"; + $resourcePath = "/v2.1/oauth2/revoke"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -635,7 +635,7 @@ public function revokeOAuthTokenWithHttpInfo() $httpBody, $headerParams, null, - '/v2/oauth2/revoke' + '/v2.1/oauth2/revoke' ); return [null, $statusCode, $httpHeader]; @@ -684,7 +684,7 @@ public function updatePasswordWithHttpInfo($login_part, $user_password_informati throw new \InvalidArgumentException('Missing the required parameter $login_part when calling updatePassword'); } // parse inputs - $resourcePath = "/v2/login_information/{loginPart}"; + $resourcePath = "/v2.1/login_information/{loginPart}"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -728,7 +728,7 @@ public function updatePasswordWithHttpInfo($login_part, $user_password_informati $httpBody, $headerParams, null, - '/v2/login_information/{loginPart}' + '/v2.1/login_information/{loginPart}' ); return [null, $statusCode, $httpHeader]; @@ -783,7 +783,7 @@ public function updateSocialLoginWithHttpInfo($account_id, $user_id, $social_acc throw new \InvalidArgumentException('Missing the required parameter $user_id when calling updateSocialLogin'); } // parse inputs - $resourcePath = "/v2/accounts/{accountId}/users/{userId}/social"; + $resourcePath = "/v2.1/accounts/{accountId}/users/{userId}/social"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -835,7 +835,7 @@ public function updateSocialLoginWithHttpInfo($account_id, $user_id, $social_acc $httpBody, $headerParams, null, - '/v2/accounts/{accountId}/users/{userId}/social' + '/v2.1/accounts/{accountId}/users/{userId}/social' ); return [null, $statusCode, $httpHeader]; diff --git a/src/Api/BillingApi.php b/src/Api/BillingApi.php index 4554776c..20705f67 100644 --- a/src/Api/BillingApi.php +++ b/src/Api/BillingApi.php @@ -1363,6 +1363,103 @@ public function purchaseEnvelopesWithHttpInfo($account_id, $purchased_envelopes_ } } + /** + * Operation updateDowngradeAccountBillingPlan + * + * Queues downgrade billing plan request for an account. + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param \DocuSign\eSign\Model\DowngradeBillingPlanInformation $downgrade_billing_plan_information (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\DowngradePlanUpdateResponse + */ + public function updateDowngradeAccountBillingPlan($account_id, $downgrade_billing_plan_information = null) + { + list($response) = $this->updateDowngradeAccountBillingPlanWithHttpInfo($account_id, $downgrade_billing_plan_information); + return $response; + } + + /** + * Operation updateDowngradeAccountBillingPlanWithHttpInfo + * + * Queues downgrade billing plan request for an account. + * + * @param string $account_id The external account number (int) or account ID Guid. + * @param \DocuSign\eSign\Model\DowngradeBillingPlanInformation $downgrade_billing_plan_information (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\DowngradePlanUpdateResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function updateDowngradeAccountBillingPlanWithHttpInfo($account_id, $downgrade_billing_plan_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 updateDowngradeAccountBillingPlan'); + } + // parse inputs + $resourcePath = "/v2.1/accounts/{accountId}/billing_plan/downgrade"; + $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($downgrade_billing_plan_information)) { + $_tempBody = $downgrade_billing_plan_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\DowngradePlanUpdateResponse', + '/v2.1/accounts/{accountId}/billing_plan/downgrade' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DowngradePlanUpdateResponse', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DowngradePlanUpdateResponse', $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 updatePlan * diff --git a/src/Api/ConnectApi.php b/src/Api/ConnectApi.php index cda37eae..d4957cf0 100644 --- a/src/Api/ConnectApi.php +++ b/src/Api/ConnectApi.php @@ -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.1/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.1/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 * @@ -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.1/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.1/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 * @@ -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.1/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.1/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.1/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.1/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 * @@ -919,10 +1288,100 @@ public function getConfigurationWithHttpInfo($account_id, $connect_id) ); } // path params - if ($connect_id !== null) { + 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.1/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.1/accounts/{accountId}/connect/secrets"; + $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( - "{" . "connectId" . "}", - $this->apiClient->getSerializer()->toPathValue($connect_id), + "{" . "accountId" . "}", + $this->apiClient->getSerializer()->toPathValue($account_id), $resourcePath ); } @@ -944,17 +1403,13 @@ public function getConfigurationWithHttpInfo($account_id, $connect_id) $queryParams, $httpBody, $headerParams, - '\DocuSign\eSign\Model\ConnectConfigResults', - '/v2.1/accounts/{accountId}/connect/{connectId}' + null, + '/v2.1/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); @@ -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.1/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.1/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.1/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.1/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 * @@ -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.1/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.1/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/EnvelopesApi.php b/src/Api/EnvelopesApi.php index d5961cbc..38ceb8be 100644 --- a/src/Api/EnvelopesApi.php +++ b/src/Api/EnvelopesApi.php @@ -1022,6 +1022,31 @@ public function setDocumentsByUserid($documents_by_userid) $this->documents_by_userid = $documents_by_userid; return $this; } + /** + * $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; + } /** * $include_metadata * @var string @@ -4527,43 +4552,47 @@ public function createLockWithHttpInfo($account_id, $envelope_id, $lock_request } /** - * Operation createPageInfo + * Operation createRecipient * - * Create page information for Display Appliance + * Adds one or more recipients to an 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\Recipients $recipients (optional) + * @param $options Options for modifying the behavior of the function. (optional) * @throws \DocuSign\eSign\Client\ApiException on non-2xx response - * @return void + * @return \DocuSign\eSign\Model\Recipients */ - public function createPageInfo($account_id, $envelope_id) + public function createRecipient($account_id, $envelope_id, $recipients = null, EnvelopesApi\CreateRecipientOptions $options = null) { - list($response) = $this->createPageInfoWithHttpInfo($account_id, $envelope_id); + list($response) = $this->createRecipientWithHttpInfo($account_id, $envelope_id, $recipients, $options); return $response; } /** - * Operation createPageInfoWithHttpInfo + * Operation createRecipientWithHttpInfo * - * Create page information for Display Appliance + * Adds one or more recipients to an 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\Recipients $recipients (optional) + * @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) + * @return array of \DocuSign\eSign\Model\Recipients, HTTP status code, HTTP response headers (array of strings) */ - public function createPageInfoWithHttpInfo($account_id, $envelope_id) + public function createRecipientWithHttpInfo($account_id, $envelope_id, $recipients = null, EnvelopesApi\CreateRecipientOptions $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 createPageInfo'); + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling createRecipient'); } // verify the required parameter 'envelope_id' is set if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling createPageInfo'); + throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling createRecipient'); } // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info"; + $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -4574,6 +4603,14 @@ public function createPageInfoWithHttpInfo($account_id, $envelope_id) } $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + if ($options != null) + { + // query params + // query params + if ($options->getResendEnvelope() !== null) { + $queryParams['resend_envelope'] = $this->apiClient->getSerializer()->toQueryValue($options->getResendEnvelope()); + } + } // path params if ($account_id !== null) { @@ -4594,7 +4631,12 @@ public function createPageInfoWithHttpInfo($account_id, $envelope_id) // default format to json $resourcePath = str_replace("{format}", "json", $resourcePath); - + // body params + $_tempBody = null; + if (isset($recipients)) { + $_tempBody = $recipients; + } + // for model (json/xml) if (isset($_tempBody)) { $httpBody = $_tempBody; // $_tempBody is the method argument, if present @@ -4609,13 +4651,17 @@ public function createPageInfoWithHttpInfo($account_id, $envelope_id) $queryParams, $httpBody, $headerParams, - null, - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info' + '\DocuSign\eSign\Model\Recipients', + '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients' ); - return [null, $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Recipients', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { + case 201: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Recipients', $e->getResponseHeaders()); + $e->setResponseObject($data); + break; case 400: $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); $e->setResponseObject($data); @@ -4627,43 +4673,49 @@ public function createPageInfoWithHttpInfo($account_id, $envelope_id) } /** - * Operation createPdfBlob + * Operation createRecipientProofFileLink * - * Add pdf blobs for Display Appliance + * Returns a link to access to the identity events stored in the proof service related to this recipient. * * @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\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\DisplayAppliancePdf + * @return \DocuSign\eSign\Model\ProofServiceViewLink */ - public function createPdfBlob($account_id, $envelope_id) + public function createRecipientProofFileLink($account_id, $envelope_id, $recipient_id) { - list($response) = $this->createPdfBlobWithHttpInfo($account_id, $envelope_id); + list($response) = $this->createRecipientProofFileLinkWithHttpInfo($account_id, $envelope_id, $recipient_id); return $response; } /** - * Operation createPdfBlobWithHttpInfo + * Operation createRecipientProofFileLinkWithHttpInfo * - * Add pdf blobs for Display Appliance + * Returns a link to access to the identity events stored in the proof service related to this recipient. * * @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\Client\ApiException on non-2xx response - * @return array of \DocuSign\eSign\Model\DisplayAppliancePdf, HTTP status code, HTTP response headers (array of strings) + * @return array of \DocuSign\eSign\Model\ProofServiceViewLink, HTTP status code, HTTP response headers (array of strings) */ - public function createPdfBlobWithHttpInfo($account_id, $envelope_id) + public function createRecipientProofFileLinkWithHttpInfo($account_id, $envelope_id, $recipient_id) { // verify the required parameter 'account_id' is set if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling createPdfBlob'); + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling createRecipientProofFileLink'); } // verify the required parameter 'envelope_id' is set if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling createPdfBlob'); + throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling createRecipientProofFileLink'); + } + // verify the required parameter 'recipient_id' is set + if ($recipient_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling createRecipientProofFileLink'); } // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs"; + $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/identity_proof"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -4691,6 +4743,14 @@ public function createPdfBlobWithHttpInfo($account_id, $envelope_id) $resourcePath ); } + // path params + if ($recipient_id !== null) { + $resourcePath = str_replace( + "{" . "recipientId" . "}", + $this->apiClient->getSerializer()->toPathValue($recipient_id), + $resourcePath + ); + } // default format to json $resourcePath = str_replace("{format}", "json", $resourcePath); @@ -4709,15 +4769,15 @@ public function createPdfBlobWithHttpInfo($account_id, $envelope_id) $queryParams, $httpBody, $headerParams, - '\DocuSign\eSign\Model\DisplayAppliancePdf', - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs' + '\DocuSign\eSign\Model\ProofServiceViewLink', + '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/identity_proof' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DisplayAppliancePdf', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ProofServiceViewLink', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DisplayAppliancePdf', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ProofServiceViewLink', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: @@ -4731,47 +4791,55 @@ public function createPdfBlobWithHttpInfo($account_id, $envelope_id) } /** - * Operation createRecipient + * Operation createRecipientProofFileResourceToken * - * Adds one or more recipients to an envelope. + * Returns a resource token to get access to the identity events stored in the proof service related to this recipient. * * @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) - * @param $options Options for modifying the behavior of the function. (optional) + * @param string $recipient_id The ID of the recipient being accessed. + * @param string $token_scopes * @throws \DocuSign\eSign\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\Recipients + * @return \DocuSign\eSign\Model\ProofServiceResourceToken */ - public function createRecipient($account_id, $envelope_id, $recipients = null, EnvelopesApi\CreateRecipientOptions $options = null) + public function createRecipientProofFileResourceToken($account_id, $envelope_id, $recipient_id, $token_scopes) { - list($response) = $this->createRecipientWithHttpInfo($account_id, $envelope_id, $recipients, $options); + list($response) = $this->createRecipientProofFileResourceTokenWithHttpInfo($account_id, $envelope_id, $recipient_id, $token_scopes); return $response; } /** - * Operation createRecipientWithHttpInfo + * Operation createRecipientProofFileResourceTokenWithHttpInfo * - * Adds one or more recipients to an envelope. + * Returns a resource token to get access to the identity events stored in the proof service related to this recipient. * * @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) - * @param $options Options for modifying the behavior of the function. (optional) + * @param string $recipient_id The ID of the recipient being accessed. + * @param string $token_scopes * @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) + * @return array of \DocuSign\eSign\Model\ProofServiceResourceToken, HTTP status code, HTTP response headers (array of strings) */ - public function createRecipientWithHttpInfo($account_id, $envelope_id, $recipients = null, EnvelopesApi\CreateRecipientOptions $options = null) + public function createRecipientProofFileResourceTokenWithHttpInfo($account_id, $envelope_id, $recipient_id, $token_scopes) { // verify the required parameter 'account_id' is set if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling createRecipient'); + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling createRecipientProofFileResourceToken'); } // verify the required parameter 'envelope_id' is set if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling createRecipient'); + throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling createRecipientProofFileResourceToken'); + } + // verify the required parameter 'recipient_id' is set + if ($recipient_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling createRecipientProofFileResourceToken'); + } + // verify the required parameter 'token_scopes' is set + if ($token_scopes === null) { + throw new \InvalidArgumentException('Missing the required parameter $token_scopes when calling createRecipientProofFileResourceToken'); } // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; + $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/identity_proof_token"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -4782,14 +4850,6 @@ public function createRecipientWithHttpInfo($account_id, $envelope_id, $recipien } $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); - if ($options != null) - { - // query params - // query params - if ($options->getResendEnvelope() !== null) { - $queryParams['resend_envelope'] = $this->apiClient->getSerializer()->toQueryValue($options->getResendEnvelope()); - } - } // path params if ($account_id !== null) { @@ -4807,15 +4867,26 @@ public function createRecipientWithHttpInfo($account_id, $envelope_id, $recipien $resourcePath ); } + // path params + if ($recipient_id !== null) { + $resourcePath = str_replace( + "{" . "recipientId" . "}", + $this->apiClient->getSerializer()->toPathValue($recipient_id), + $resourcePath + ); + } + // path params + if ($token_scopes !== null) { + $resourcePath = str_replace( + "{" . "token_scopes" . "}", + $this->apiClient->getSerializer()->toPathValue($token_scopes), + $resourcePath + ); + } // default format to json $resourcePath = str_replace("{format}", "json", $resourcePath); - // body params - $_tempBody = null; - if (isset($recipients)) { - $_tempBody = $recipients; - } - + // for model (json/xml) if (isset($_tempBody)) { $httpBody = $_tempBody; // $_tempBody is the method argument, if present @@ -4830,15 +4901,15 @@ public function createRecipientWithHttpInfo($account_id, $envelope_id, $recipien $queryParams, $httpBody, $headerParams, - '\DocuSign\eSign\Model\Recipients', - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients' + '\DocuSign\eSign\Model\ProofServiceResourceToken', + '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/identity_proof_token' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Recipients', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ProofServiceResourceToken', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Recipients', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ProofServiceResourceToken', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: @@ -6432,106 +6503,6 @@ public function deleteLockWithHttpInfo($account_id, $envelope_id) } } - /** - * Operation deletePageInfo - * - * Delete page information for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return void - */ - public function deletePageInfo($account_id, $envelope_id) - { - list($response) = $this->deletePageInfoWithHttpInfo($account_id, $envelope_id); - return $response; - } - - /** - * Operation deletePageInfoWithHttpInfo - * - * Delete page information for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function deletePageInfoWithHttpInfo($account_id, $envelope_id) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling deletePageInfo'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling deletePageInfo'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info"; - $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 ($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, - 'DELETE', - $queryParams, - $httpBody, - $headerParams, - null, - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info' - ); - - 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 deleteRecipient * @@ -7015,43 +6986,49 @@ public function deleteTemplatesFromDocumentWithHttpInfo($account_id, $document_i } /** - * Operation getApplianceInfo + * Operation getAttachment * - * Returns envelope and recipient information for Display Appliance + * Retrieves an attachment from the envelope. * * @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\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\DisplayApplianceInfo + * @return void */ - public function getApplianceInfo($account_id, $envelope_id) + public function getAttachment($account_id, $attachment_id, $envelope_id) { - list($response) = $this->getApplianceInfoWithHttpInfo($account_id, $envelope_id); + list($response) = $this->getAttachmentWithHttpInfo($account_id, $attachment_id, $envelope_id); return $response; } /** - * Operation getApplianceInfoWithHttpInfo + * Operation getAttachmentWithHttpInfo * - * Returns envelope and recipient information for Display Appliance + * Retrieves an attachment from the envelope. * * @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\Client\ApiException on non-2xx response - * @return array of \DocuSign\eSign\Model\DisplayApplianceInfo, HTTP status code, HTTP response headers (array of strings) + * @return array of null, HTTP status code, HTTP response headers (array of strings) */ - public function getApplianceInfoWithHttpInfo($account_id, $envelope_id) + public function getAttachmentWithHttpInfo($account_id, $attachment_id, $envelope_id) { // verify the required parameter 'account_id' is set if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getApplianceInfo'); + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getAttachment'); + } + // verify the required parameter 'attachment_id' is set + if ($attachment_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $attachment_id when calling getAttachment'); } // verify the required parameter 'envelope_id' is set if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getApplianceInfo'); + throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getAttachment'); } // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info"; + $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -7072,6 +7049,14 @@ public function getApplianceInfoWithHttpInfo($account_id, $envelope_id) ); } // path params + if ($attachment_id !== null) { + $resourcePath = str_replace( + "{" . "attachmentId" . "}", + $this->apiClient->getSerializer()->toPathValue($attachment_id), + $resourcePath + ); + } + // path params if ($envelope_id !== null) { $resourcePath = str_replace( "{" . "envelopeId" . "}", @@ -7097,17 +7082,13 @@ public function getApplianceInfoWithHttpInfo($account_id, $envelope_id) $queryParams, $httpBody, $headerParams, - '\DocuSign\eSign\Model\DisplayApplianceInfo', - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info' + null, + '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DisplayApplianceInfo', $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\DisplayApplianceInfo', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; case 400: $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders()); $e->setResponseObject($data); @@ -7119,130 +7100,16 @@ public function getApplianceInfoWithHttpInfo($account_id, $envelope_id) } /** - * Operation getAttachment + * Operation getAttachments * - * Retrieves an attachment from the envelope. + * Returns a list of attachments associated with the specified envelope * * @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\Client\ApiException on non-2xx response - * @return void + * @return \DocuSign\eSign\Model\EnvelopeAttachmentsResult */ - public function getAttachment($account_id, $attachment_id, $envelope_id) - { - list($response) = $this->getAttachmentWithHttpInfo($account_id, $attachment_id, $envelope_id); - return $response; - } - - /** - * Operation getAttachmentWithHttpInfo - * - * Retrieves an attachment from the envelope. - * - * @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\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) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getAttachment'); - } - // verify the required parameter 'attachment_id' is set - if ($attachment_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $attachment_id when calling getAttachment'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getAttachment'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; - $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 ($attachment_id !== null) { - $resourcePath = str_replace( - "{" . "attachmentId" . "}", - $this->apiClient->getSerializer()->toPathValue($attachment_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, - null, - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}' - ); - - 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 getAttachments - * - * Returns a list of attachments associated with the specified 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\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\EnvelopeAttachmentsResult - */ - public function getAttachments($account_id, $envelope_id) + public function getAttachments($account_id, $envelope_id) { list($response) = $this->getAttachmentsWithHttpInfo($account_id, $envelope_id); return $response; @@ -7571,7 +7438,7 @@ public function getCommentsTranscriptWithHttpInfo($account_id, $envelope_id, Env * * @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\Client\ApiException on non-2xx response @@ -7590,7 +7457,7 @@ 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\Client\ApiException on non-2xx response @@ -7994,110 +7861,6 @@ public function getDocumentWithHttpInfo($account_id, $document_id, $envelope_id, } } - /** - * Operation getDocumentPage - * - * Return document pages for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\DisplayApplianceInfo - */ - public function getDocumentPage($account_id, $envelope_id) - { - list($response) = $this->getDocumentPageWithHttpInfo($account_id, $envelope_id); - return $response; - } - - /** - * Operation getDocumentPageWithHttpInfo - * - * Return document pages for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return array of \DocuSign\eSign\Model\DisplayApplianceInfo, HTTP status code, HTTP response headers (array of strings) - */ - public function getDocumentPageWithHttpInfo($account_id, $envelope_id) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getDocumentPage'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getDocumentPage'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/document_page_list"; - $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 ($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, - '\DocuSign\eSign\Model\DisplayApplianceInfo', - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/document_page_list' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DisplayApplianceInfo', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DisplayApplianceInfo', $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 getDocumentPageImage * @@ -9525,43 +9288,49 @@ public function getPagesWithHttpInfo($account_id, $document_id, $envelope_id, En } /** - * Operation getPdfBlob + * Operation getRecipientDocumentVisibility * - * Return pdf blobs for Display Appliance + * Returns document visibility for the 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. * @throws \DocuSign\eSign\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\DisplayAppliancePdf + * @return \DocuSign\eSign\Model\DocumentVisibilityList */ - public function getPdfBlob($account_id, $envelope_id) + public function getRecipientDocumentVisibility($account_id, $envelope_id, $recipient_id) { - list($response) = $this->getPdfBlobWithHttpInfo($account_id, $envelope_id); + list($response) = $this->getRecipientDocumentVisibilityWithHttpInfo($account_id, $envelope_id, $recipient_id); return $response; } /** - * Operation getPdfBlobWithHttpInfo + * Operation getRecipientDocumentVisibilityWithHttpInfo * - * Return pdf blobs for Display Appliance + * Returns document visibility for the 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. * @throws \DocuSign\eSign\Client\ApiException on non-2xx response - * @return array of \DocuSign\eSign\Model\DisplayAppliancePdf, HTTP status code, HTTP response headers (array of strings) + * @return array of \DocuSign\eSign\Model\DocumentVisibilityList, HTTP status code, HTTP response headers (array of strings) */ - public function getPdfBlobWithHttpInfo($account_id, $envelope_id) + public function getRecipientDocumentVisibilityWithHttpInfo($account_id, $envelope_id, $recipient_id) { // verify the required parameter 'account_id' is set if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getPdfBlob'); + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getRecipientDocumentVisibility'); } // verify the required parameter 'envelope_id' is set if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getPdfBlob'); + throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getRecipientDocumentVisibility'); + } + // verify the required parameter 'recipient_id' is set + if ($recipient_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling getRecipientDocumentVisibility'); } // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs"; + $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -9589,6 +9358,14 @@ public function getPdfBlobWithHttpInfo($account_id, $envelope_id) $resourcePath ); } + // path params + if ($recipient_id !== null) { + $resourcePath = str_replace( + "{" . "recipientId" . "}", + $this->apiClient->getSerializer()->toPathValue($recipient_id), + $resourcePath + ); + } // default format to json $resourcePath = str_replace("{format}", "json", $resourcePath); @@ -9607,15 +9384,15 @@ public function getPdfBlobWithHttpInfo($account_id, $envelope_id) $queryParams, $httpBody, $headerParams, - '\DocuSign\eSign\Model\DisplayAppliancePdf', - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs' + '\DocuSign\eSign\Model\DocumentVisibilityList', + '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DisplayAppliancePdf', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DocumentVisibilityList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DisplayAppliancePdf', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DocumentVisibilityList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: @@ -9629,166 +9406,48 @@ public function getPdfBlobWithHttpInfo($account_id, $envelope_id) } /** - * Operation getRecipientDocumentVisibility + * Operation getRecipientInitialsImage * - * Returns document visibility for the recipients + * Gets the initials image for a 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 string $recipient_id The ID of the recipient being accessed. + * @param $options Options for modifying the behavior of the function. (optional) * @throws \DocuSign\eSign\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\DocumentVisibilityList + * @return \SplFileObject */ - public function getRecipientDocumentVisibility($account_id, $envelope_id, $recipient_id) + public function getRecipientInitialsImage($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetRecipientInitialsImageOptions $options = null) { - list($response) = $this->getRecipientDocumentVisibilityWithHttpInfo($account_id, $envelope_id, $recipient_id); + list($response) = $this->getRecipientInitialsImageWithHttpInfo($account_id, $envelope_id, $recipient_id, $options); return $response; } /** - * Operation getRecipientDocumentVisibilityWithHttpInfo + * Operation getRecipientInitialsImageWithHttpInfo * - * Returns document visibility for the recipients + * Gets the initials image for a 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 string $recipient_id The ID of the recipient 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 \DocuSign\eSign\Model\DocumentVisibilityList, HTTP status code, HTTP response headers (array of strings) + * @return array of \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ - public function getRecipientDocumentVisibilityWithHttpInfo($account_id, $envelope_id, $recipient_id) + public function getRecipientInitialsImageWithHttpInfo($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetRecipientInitialsImageOptions $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 getRecipientDocumentVisibility'); + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getRecipientInitialsImage'); } // verify the required parameter 'envelope_id' is set if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getRecipientDocumentVisibility'); + throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getRecipientInitialsImage'); } // verify the required parameter 'recipient_id' is set if ($recipient_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling getRecipientDocumentVisibility'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility"; - $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 ($envelope_id !== null) { - $resourcePath = str_replace( - "{" . "envelopeId" . "}", - $this->apiClient->getSerializer()->toPathValue($envelope_id), - $resourcePath - ); - } - // path params - if ($recipient_id !== null) { - $resourcePath = str_replace( - "{" . "recipientId" . "}", - $this->apiClient->getSerializer()->toPathValue($recipient_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\DocumentVisibilityList', - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DocumentVisibilityList', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DocumentVisibilityList', $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 getRecipientInitialsImage - * - * Gets the initials image for a 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 string $recipient_id The ID of the recipient 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 getRecipientInitialsImage($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetRecipientInitialsImageOptions $options = null) - { - list($response) = $this->getRecipientInitialsImageWithHttpInfo($account_id, $envelope_id, $recipient_id, $options); - return $response; - } - - /** - * Operation getRecipientInitialsImageWithHttpInfo - * - * Gets the initials image for a 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 string $recipient_id The ID of the recipient 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 getRecipientInitialsImageWithHttpInfo($account_id, $envelope_id, $recipient_id, EnvelopesApi\GetRecipientInitialsImageOptions $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 getRecipientInitialsImage'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getRecipientInitialsImage'); - } - // verify the required parameter 'recipient_id' is set - if ($recipient_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling getRecipientInitialsImage'); + throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling getRecipientInitialsImage'); } // parse inputs $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image"; @@ -10120,114 +9779,10 @@ public function getRecipientSignatureImageWithHttpInfo($account_id, $envelope_id } } - /** - * Operation getSignerAttachment - * - * Return signer attachment information for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\DisplayApplianceSignerAttachment - */ - public function getSignerAttachment($account_id, $envelope_id) - { - list($response) = $this->getSignerAttachmentWithHttpInfo($account_id, $envelope_id); - return $response; - } - - /** - * Operation getSignerAttachmentWithHttpInfo - * - * Return signer attachment information for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return array of \DocuSign\eSign\Model\DisplayApplianceSignerAttachment, HTTP status code, HTTP response headers (array of strings) - */ - public function getSignerAttachmentWithHttpInfo($account_id, $envelope_id) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getSignerAttachment'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getSignerAttachment'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/signer_attachment_info"; - $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 ($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, - '\DocuSign\eSign\Model\DisplayApplianceSignerAttachment', - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/signer_attachment_info' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DisplayApplianceSignerAttachment', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DisplayApplianceSignerAttachment', $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 getTabsBlob * - * Get encrypted tabs blob. + * Get encrypted tabs for 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. @@ -10243,7 +9798,7 @@ public function getTabsBlob($account_id, $envelope_id) /** * Operation getTabsBlobWithHttpInfo * - * Get encrypted tabs blob. + * Get encrypted tabs for 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. @@ -10826,6 +10381,10 @@ public function listDocumentsWithHttpInfo($account_id, $envelope_id, EnvelopesAp $queryParams['documents_by_userid'] = $this->apiClient->getSerializer()->toQueryValue($options->getDocumentsByUserid()); } // query params + if ($options->getIncludeDocumentSize() !== null) { + $queryParams['include_document_size'] = $this->apiClient->getSerializer()->toQueryValue($options->getIncludeDocumentSize()); + } + // query params if ($options->getIncludeMetadata() !== null) { $queryParams['include_metadata'] = $this->apiClient->getSerializer()->toQueryValue($options->getIncludeMetadata()); } @@ -12262,49 +11821,45 @@ public function updateWithHttpInfo($account_id, $envelope_id, $envelope = null, } /** - * Operation updateApplianceDocument + * Operation updateChunkedUpload * - * Update document information for Display Appliance + * Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. * * @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. + * @param string $chunked_upload_id + * @param $options Options for modifying the behavior of the function. (optional) * @throws \DocuSign\eSign\Client\ApiException on non-2xx response - * @return void + * @return \DocuSign\eSign\Model\ChunkedUploadResponse */ - public function updateApplianceDocument($account_id, $document_id, $envelope_id) + public function updateChunkedUpload($account_id, $chunked_upload_id, EnvelopesApi\UpdateChunkedUploadOptions $options = null) { - list($response) = $this->updateApplianceDocumentWithHttpInfo($account_id, $document_id, $envelope_id); + list($response) = $this->updateChunkedUploadWithHttpInfo($account_id, $chunked_upload_id, $options); return $response; } /** - * Operation updateApplianceDocumentWithHttpInfo + * Operation updateChunkedUploadWithHttpInfo * - * Update document information for Display Appliance + * Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. * * @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. + * @param string $chunked_upload_id + * @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) + * @return array of \DocuSign\eSign\Model\ChunkedUploadResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateApplianceDocumentWithHttpInfo($account_id, $document_id, $envelope_id) + public function updateChunkedUploadWithHttpInfo($account_id, $chunked_upload_id, EnvelopesApi\UpdateChunkedUploadOptions $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 updateApplianceDocument'); - } - // verify the required parameter 'document_id' is set - if ($document_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $document_id when calling updateApplianceDocument'); + throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateChunkedUpload'); } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling updateApplianceDocument'); + // verify the required parameter 'chunked_upload_id' is set + if ($chunked_upload_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $chunked_upload_id when calling updateChunkedUpload'); } // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/document/{documentId}"; + $resourcePath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -12315,6 +11870,14 @@ public function updateApplianceDocumentWithHttpInfo($account_id, $document_id, $ } $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]); + if ($options != null) + { + // query params + // query params + if ($options->getAction() !== null) { + $queryParams['action'] = $this->apiClient->getSerializer()->toQueryValue($options->getAction()); + } + } // path params if ($account_id !== null) { @@ -12325,128 +11888,10 @@ public function updateApplianceDocumentWithHttpInfo($account_id, $document_id, $ ); } // path params - if ($document_id !== null) { + if ($chunked_upload_id !== null) { $resourcePath = str_replace( - "{" . "documentId" . "}", - $this->apiClient->getSerializer()->toPathValue($document_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, - 'PUT', - $queryParams, - $httpBody, - $headerParams, - null, - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/document/{documentId}' - ); - - 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 updateChunkedUpload - * - * Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. - * - * @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\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\ChunkedUploadResponse - */ - public function updateChunkedUpload($account_id, $chunked_upload_id, EnvelopesApi\UpdateChunkedUploadOptions $options = null) - { - list($response) = $this->updateChunkedUploadWithHttpInfo($account_id, $chunked_upload_id, $options); - return $response; - } - - /** - * Operation updateChunkedUploadWithHttpInfo - * - * Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. - * - * @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\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) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateChunkedUpload'); - } - // verify the required parameter 'chunked_upload_id' is set - if ($chunked_upload_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $chunked_upload_id when calling updateChunkedUpload'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; - $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([]); - - if ($options != null) - { - // query params - // query params - if ($options->getAction() !== null) { - $queryParams['action'] = $this->apiClient->getSerializer()->toQueryValue($options->getAction()); - } - } - - // path params - if ($account_id !== null) { - $resourcePath = str_replace( - "{" . "accountId" . "}", - $this->apiClient->getSerializer()->toPathValue($account_id), - $resourcePath - ); - } - // path params - if ($chunked_upload_id !== null) { - $resourcePath = str_replace( - "{" . "chunkedUploadId" . "}", - $this->apiClient->getSerializer()->toPathValue($chunked_upload_id), + "{" . "chunkedUploadId" . "}", + $this->apiClient->getSerializer()->toPathValue($chunked_upload_id), $resourcePath ); } @@ -13745,306 +13190,6 @@ public function updateNotificationSettingsWithHttpInfo($account_id, $envelope_id } } - /** - * Operation updatePageInfo - * - * Update page information for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return void - */ - public function updatePageInfo($account_id, $envelope_id) - { - list($response) = $this->updatePageInfoWithHttpInfo($account_id, $envelope_id); - return $response; - } - - /** - * Operation updatePageInfoWithHttpInfo - * - * Update page information for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function updatePageInfoWithHttpInfo($account_id, $envelope_id) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updatePageInfo'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling updatePageInfo'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info"; - $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 ($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, - 'PUT', - $queryParams, - $httpBody, - $headerParams, - null, - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info' - ); - - 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 updatePdfBlob - * - * Update pdf blobs for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return void - */ - public function updatePdfBlob($account_id, $envelope_id) - { - list($response) = $this->updatePdfBlobWithHttpInfo($account_id, $envelope_id); - return $response; - } - - /** - * Operation updatePdfBlobWithHttpInfo - * - * Update pdf blobs for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function updatePdfBlobWithHttpInfo($account_id, $envelope_id) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updatePdfBlob'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling updatePdfBlob'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs"; - $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 ($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, - 'PUT', - $queryParams, - $httpBody, - $headerParams, - null, - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/pdf_blobs' - ); - - 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 updateRecipientDeniedDocumentCopy - * - * Update RecipientDeniedDocumentCopy for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return void - */ - public function updateRecipientDeniedDocumentCopy($account_id, $envelope_id) - { - list($response) = $this->updateRecipientDeniedDocumentCopyWithHttpInfo($account_id, $envelope_id); - return $response; - } - - /** - * Operation updateRecipientDeniedDocumentCopyWithHttpInfo - * - * Update RecipientDeniedDocumentCopy for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function updateRecipientDeniedDocumentCopyWithHttpInfo($account_id, $envelope_id) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateRecipientDeniedDocumentCopy'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling updateRecipientDeniedDocumentCopy'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/recipient_denied_copy"; - $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 ($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, - 'PUT', - $queryParams, - $httpBody, - $headerParams, - null, - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/recipient_denied_copy' - ); - - 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 updateRecipientDocumentVisibility * @@ -14638,106 +13783,6 @@ public function updateRecipientsDocumentVisibilityWithHttpInfo($account_id, $env } } - /** - * Operation updateSignerAttachment - * - * Update signer attachment information for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return void - */ - public function updateSignerAttachment($account_id, $envelope_id) - { - list($response) = $this->updateSignerAttachmentWithHttpInfo($account_id, $envelope_id); - return $response; - } - - /** - * Operation updateSignerAttachmentWithHttpInfo - * - * Update signer attachment information for Display Appliance - * - * @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\Client\ApiException on non-2xx response - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function updateSignerAttachmentWithHttpInfo($account_id, $envelope_id) - { - // verify the required parameter 'account_id' is set - if ($account_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateSignerAttachment'); - } - // verify the required parameter 'envelope_id' is set - if ($envelope_id === null) { - throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling updateSignerAttachment'); - } - // parse inputs - $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/signer_attachment_info"; - $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 ($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, - 'PUT', - $queryParams, - $httpBody, - $headerParams, - null, - '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/signer_attachment_info' - ); - - 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 updateTabs * @@ -14866,7 +13911,7 @@ public function updateTabsWithHttpInfo($account_id, $envelope_id, $recipient_id, /** * Operation updateTabsBlob * - * Update ecrypted tabs blob. + * Update encrypted tabs for 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. @@ -14882,7 +13927,7 @@ public function updateTabsBlob($account_id, $envelope_id) /** * Operation updateTabsBlobWithHttpInfo * - * Update ecrypted tabs blob. + * Update encrypted tabs for 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. diff --git a/src/Api/NotaryApi.php b/src/Api/NotaryApi.php index f5a19688..7607e024 100644 --- a/src/Api/NotaryApi.php +++ b/src/Api/NotaryApi.php @@ -28,6 +28,34 @@ namespace DocuSign\eSign\Api\NotaryApi; +class GetNotaryOptions +{ + /** + * $include_jurisdictions + * @var string + */ + protected $include_jurisdictions; + + /** + * Gets include_jurisdictions + * @return string + */ + public function getIncludeJurisdictions() + { + return $this->include_jurisdictions; + } + + /** + * Sets include_jurisdictions + * @param string $include_jurisdictions + * @return $this + */ + public function setIncludeJurisdictions($include_jurisdictions) + { + $this->include_jurisdictions = $include_jurisdictions; + return $this; + } +} class ListNotaryJournalsOptions { /** @@ -170,33 +198,285 @@ public function setApiClient(\DocuSign\eSign\Client\ApiClient $apiClient) } /** - * Operation listNotaryJournals + * Operation createNotary * - * Get notary jurisdictions for a user + * Add a notary to the system + * + * @param \DocuSign\eSign\Model\Notary $notary (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\Notary + */ + public function createNotary($notary = null) + { + list($response) = $this->createNotaryWithHttpInfo($notary); + return $response; + } + + /** + * Operation createNotaryWithHttpInfo + * + * Add a notary to the system + * + * @param \DocuSign\eSign\Model\Notary $notary (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\Notary, HTTP status code, HTTP response headers (array of strings) + */ + public function createNotaryWithHttpInfo($notary = null) + { + // parse inputs + $resourcePath = "/v2.1/current_user/notary"; + $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([]); + + + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + // body params + $_tempBody = null; + if (isset($notary)) { + $_tempBody = $notary; + } + + // 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, + '\DocuSign\eSign\Model\Notary', + '/v2.1/current_user/notary' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Notary', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 201: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Notary', $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 createNotaryJurisdictions + * + * Add a notary jurisdiction to the system + * + * @param \DocuSign\eSign\Model\NotaryJurisdiction $notary_jurisdiction (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\NotaryJurisdiction + */ + public function createNotaryJurisdictions($notary_jurisdiction = null) + { + list($response) = $this->createNotaryJurisdictionsWithHttpInfo($notary_jurisdiction); + return $response; + } + + /** + * Operation createNotaryJurisdictionsWithHttpInfo + * + * Add a notary jurisdiction to the system + * + * @param \DocuSign\eSign\Model\NotaryJurisdiction $notary_jurisdiction (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\NotaryJurisdiction, HTTP status code, HTTP response headers (array of strings) + */ + public function createNotaryJurisdictionsWithHttpInfo($notary_jurisdiction = null) + { + // parse inputs + $resourcePath = "/v2.1/current_user/notary/jurisdictions"; + $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([]); + + + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + // body params + $_tempBody = null; + if (isset($notary_jurisdiction)) { + $_tempBody = $notary_jurisdiction; + } + + // 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, + '\DocuSign\eSign\Model\NotaryJurisdiction', + '/v2.1/current_user/notary/jurisdictions' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\NotaryJurisdiction', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 201: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\NotaryJurisdiction', $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 deleteNotaryJurisdiction + * + * Delete a notary jurisdiction a specified user. + * + * @param string $jurisdiction_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function deleteNotaryJurisdiction($jurisdiction_id) + { + list($response) = $this->deleteNotaryJurisdictionWithHttpInfo($jurisdiction_id); + return $response; + } + + /** + * Operation deleteNotaryJurisdictionWithHttpInfo + * + * Delete a notary jurisdiction a specified user. + * + * @param string $jurisdiction_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 deleteNotaryJurisdictionWithHttpInfo($jurisdiction_id) + { + // verify the required parameter 'jurisdiction_id' is set + if ($jurisdiction_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $jurisdiction_id when calling deleteNotaryJurisdiction'); + } + // parse inputs + $resourcePath = "/v2.1/current_user/notary/jurisdictions/{jurisdictionId}"; + $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 ($jurisdiction_id !== null) { + $resourcePath = str_replace( + "{" . "jurisdictionId" . "}", + $this->apiClient->getSerializer()->toPathValue($jurisdiction_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.1/current_user/notary/jurisdictions/{jurisdictionId}' + ); + + 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 getNotary + * + * Get notary settings for a user * * @param $options Options for modifying the behavior of the function. (optional) * @throws \DocuSign\eSign\Client\ApiException on non-2xx response - * @return \DocuSign\eSign\Model\NotaryJournalList + * @return \DocuSign\eSign\Model\NotaryResult */ - public function listNotaryJournals(NotaryApi\ListNotaryJournalsOptions $options = null) + public function getNotary(NotaryApi\GetNotaryOptions $options = null) { - list($response) = $this->listNotaryJournalsWithHttpInfo($options); + list($response) = $this->getNotaryWithHttpInfo($options); return $response; } /** - * Operation listNotaryJournalsWithHttpInfo + * Operation getNotaryWithHttpInfo * - * Get notary jurisdictions for a user + * Get notary settings for a user * * @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\NotaryJournalList, HTTP status code, HTTP response headers (array of strings) + * @return array of \DocuSign\eSign\Model\NotaryResult, HTTP status code, HTTP response headers (array of strings) */ - public function listNotaryJournalsWithHttpInfo(NotaryApi\ListNotaryJournalsOptions $options = null) + public function getNotaryWithHttpInfo(NotaryApi\GetNotaryOptions $options = null) { // parse inputs - $resourcePath = "/v2.1/current_user/notary/journals"; + $resourcePath = "/v2.1/current_user/notary"; $httpBody = ''; $queryParams = []; $headerParams = []; @@ -211,16 +491,8 @@ public function listNotaryJournalsWithHttpInfo(NotaryApi\ListNotaryJournalsOptio { // query params // query params - if ($options->getCount() !== null) { - $queryParams['count'] = $this->apiClient->getSerializer()->toQueryValue($options->getCount()); - } - // query params - if ($options->getSearchText() !== null) { - $queryParams['search_text'] = $this->apiClient->getSerializer()->toQueryValue($options->getSearchText()); - } - // query params - if ($options->getStartPosition() !== null) { - $queryParams['start_position'] = $this->apiClient->getSerializer()->toQueryValue($options->getStartPosition()); + if ($options->getIncludeJurisdictions() !== null) { + $queryParams['include_jurisdictions'] = $this->apiClient->getSerializer()->toQueryValue($options->getIncludeJurisdictions()); } } @@ -242,15 +514,541 @@ public function listNotaryJournalsWithHttpInfo(NotaryApi\ListNotaryJournalsOptio $queryParams, $httpBody, $headerParams, - '\DocuSign\eSign\Model\NotaryJournalList', - '/v2.1/current_user/notary/journals' + '\DocuSign\eSign\Model\NotaryResult', + '/v2.1/current_user/notary' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\NotaryJournalList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\NotaryResult', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\NotaryJournalList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\NotaryResult', $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 getNotaryJurisdiction + * + * Get notary a jurisdiction for a user + * + * @param string $jurisdiction_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\NotaryJurisdiction + */ + public function getNotaryJurisdiction($jurisdiction_id) + { + list($response) = $this->getNotaryJurisdictionWithHttpInfo($jurisdiction_id); + return $response; + } + + /** + * Operation getNotaryJurisdictionWithHttpInfo + * + * Get notary a jurisdiction for a user + * + * @param string $jurisdiction_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\NotaryJurisdiction, HTTP status code, HTTP response headers (array of strings) + */ + public function getNotaryJurisdictionWithHttpInfo($jurisdiction_id) + { + // verify the required parameter 'jurisdiction_id' is set + if ($jurisdiction_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $jurisdiction_id when calling getNotaryJurisdiction'); + } + // parse inputs + $resourcePath = "/v2.1/current_user/notary/jurisdictions/{jurisdictionId}"; + $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 ($jurisdiction_id !== null) { + $resourcePath = str_replace( + "{" . "jurisdictionId" . "}", + $this->apiClient->getSerializer()->toPathValue($jurisdiction_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\NotaryJurisdiction', + '/v2.1/current_user/notary/jurisdictions/{jurisdictionId}' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\NotaryJurisdiction', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\NotaryJurisdiction', $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 getNotaryJurisdictionSeal + * + * Get notary seal for a jurisdiction + * + * @param string $jurisdiction_id + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return void + */ + public function getNotaryJurisdictionSeal($jurisdiction_id) + { + list($response) = $this->getNotaryJurisdictionSealWithHttpInfo($jurisdiction_id); + return $response; + } + + /** + * Operation getNotaryJurisdictionSealWithHttpInfo + * + * Get notary seal for a jurisdiction + * + * @param string $jurisdiction_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 getNotaryJurisdictionSealWithHttpInfo($jurisdiction_id) + { + // verify the required parameter 'jurisdiction_id' is set + if ($jurisdiction_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $jurisdiction_id when calling getNotaryJurisdictionSeal'); + } + // parse inputs + $resourcePath = "/v2.1/current_user/notary/jurisdictions/{jurisdictionId}/seal"; + $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 ($jurisdiction_id !== null) { + $resourcePath = str_replace( + "{" . "jurisdictionId" . "}", + $this->apiClient->getSerializer()->toPathValue($jurisdiction_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.1/current_user/notary/jurisdictions/{jurisdictionId}/seal' + ); + + 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 getNotaryJurisdictions + * + * Get notary jurisdictions for a user + * + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\NotaryJurisdictionList + */ + public function getNotaryJurisdictions() + { + list($response) = $this->getNotaryJurisdictionsWithHttpInfo(); + return $response; + } + + /** + * Operation getNotaryJurisdictionsWithHttpInfo + * + * Get notary jurisdictions for a user + * + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\NotaryJurisdictionList, HTTP status code, HTTP response headers (array of strings) + */ + public function getNotaryJurisdictionsWithHttpInfo() + { + // parse inputs + $resourcePath = "/v2.1/current_user/notary/jurisdictions"; + $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([]); + + + // 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\NotaryJurisdictionList', + '/v2.1/current_user/notary/jurisdictions' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\NotaryJurisdictionList', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\NotaryJurisdictionList', $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 listNotaryJournals + * + * Get notary jurisdictions for a user + * + * @param $options Options for modifying the behavior of the function. (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\NotaryJournalList + */ + public function listNotaryJournals(NotaryApi\ListNotaryJournalsOptions $options = null) + { + list($response) = $this->listNotaryJournalsWithHttpInfo($options); + return $response; + } + + /** + * Operation listNotaryJournalsWithHttpInfo + * + * Get notary jurisdictions for a user + * + * @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\NotaryJournalList, HTTP status code, HTTP response headers (array of strings) + */ + public function listNotaryJournalsWithHttpInfo(NotaryApi\ListNotaryJournalsOptions $options = null) + { + // parse inputs + $resourcePath = "/v2.1/current_user/notary/journals"; + $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([]); + + if ($options != null) + { + // query params + // query params + if ($options->getCount() !== null) { + $queryParams['count'] = $this->apiClient->getSerializer()->toQueryValue($options->getCount()); + } + // query params + if ($options->getSearchText() !== null) { + $queryParams['search_text'] = $this->apiClient->getSerializer()->toQueryValue($options->getSearchText()); + } + // query params + if ($options->getStartPosition() !== null) { + $queryParams['start_position'] = $this->apiClient->getSerializer()->toQueryValue($options->getStartPosition()); + } + } + + // 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\NotaryJournalList', + '/v2.1/current_user/notary/journals' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\NotaryJournalList', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\NotaryJournalList', $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 updateNotary + * + * Update a notary + * + * @param \DocuSign\eSign\Model\Notary $notary (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\Notary + */ + public function updateNotary($notary = null) + { + list($response) = $this->updateNotaryWithHttpInfo($notary); + return $response; + } + + /** + * Operation updateNotaryWithHttpInfo + * + * Update a notary + * + * @param \DocuSign\eSign\Model\Notary $notary (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\Notary, HTTP status code, HTTP response headers (array of strings) + */ + public function updateNotaryWithHttpInfo($notary = null) + { + // parse inputs + $resourcePath = "/v2.1/current_user/notary"; + $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([]); + + + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + // body params + $_tempBody = null; + if (isset($notary)) { + $_tempBody = $notary; + } + + // 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\Notary', + '/v2.1/current_user/notary' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Notary', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Notary', $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 updateNotaryJurisdiction + * + * Update a notary jurisdiction + * + * @param string $jurisdiction_id + * @param \DocuSign\eSign\Model\NotaryJurisdiction $notary_jurisdiction (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return \DocuSign\eSign\Model\NotaryJurisdiction + */ + public function updateNotaryJurisdiction($jurisdiction_id, $notary_jurisdiction = null) + { + list($response) = $this->updateNotaryJurisdictionWithHttpInfo($jurisdiction_id, $notary_jurisdiction); + return $response; + } + + /** + * Operation updateNotaryJurisdictionWithHttpInfo + * + * Update a notary jurisdiction + * + * @param string $jurisdiction_id + * @param \DocuSign\eSign\Model\NotaryJurisdiction $notary_jurisdiction (optional) + * @throws \DocuSign\eSign\Client\ApiException on non-2xx response + * @return array of \DocuSign\eSign\Model\NotaryJurisdiction, HTTP status code, HTTP response headers (array of strings) + */ + public function updateNotaryJurisdictionWithHttpInfo($jurisdiction_id, $notary_jurisdiction = null) + { + // verify the required parameter 'jurisdiction_id' is set + if ($jurisdiction_id === null) { + throw new \InvalidArgumentException('Missing the required parameter $jurisdiction_id when calling updateNotaryJurisdiction'); + } + // parse inputs + $resourcePath = "/v2.1/current_user/notary/jurisdictions/{jurisdictionId}"; + $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 ($jurisdiction_id !== null) { + $resourcePath = str_replace( + "{" . "jurisdictionId" . "}", + $this->apiClient->getSerializer()->toPathValue($jurisdiction_id), + $resourcePath + ); + } + // default format to json + $resourcePath = str_replace("{format}", "json", $resourcePath); + + // body params + $_tempBody = null; + if (isset($notary_jurisdiction)) { + $_tempBody = $notary_jurisdiction; + } + + // 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\NotaryJurisdiction', + '/v2.1/current_user/notary/jurisdictions/{jurisdictionId}' + ); + + return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\NotaryJurisdiction', $httpHeader), $statusCode, $httpHeader]; + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\NotaryJurisdiction', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: diff --git a/src/Api/OrganizationsApi.php b/src/Api/OrganizationsApi.php new file mode 100644 index 00000000..0f114169 --- /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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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/TrustServiceProvidersApi.php b/src/Api/TrustServiceProvidersApi.php deleted file mode 100644 index 2ad19983..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\Client\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\Client\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.1/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.1/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/Configuration.php b/src/Configuration.php index 39987da6..b9c264ed 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -14,7 +14,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -109,7 +109,7 @@ class Configuration * * @var string */ - protected $userAgent = "Swagger-Codegen/2.0.1/php"; + protected $userAgent = "Swagger-Codegen/5.1.0-rc/php"; /** * Debug switch (default set to false) @@ -694,8 +694,8 @@ public static function toDebugReport() $report = 'PHP SDK (DocuSign\eSign) Debug Report:' . PHP_EOL; $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 .= ' OpenAPI Spec Version: v2.1' . PHP_EOL; + $report .= ' SDK Package Version: 5.1.0-rc' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/src/Model/AccountBillingPlan.php b/src/Model/AccountBillingPlan.php index 433e6692..6343114b 100644 --- a/src/Model/AccountBillingPlan.php +++ b/src/Model/AccountBillingPlan.php @@ -59,6 +59,7 @@ class AccountBillingPlan implements ArrayAccess 'can_cancel_renewal' => 'string', 'can_upgrade' => 'string', 'currency_code' => 'string', + 'downgrade_plan_information' => '\DocuSign\eSign\Model\DowngradePlanUpdateResponse', 'enable_support' => 'string', 'included_seats' => 'string', 'incremental_seats' => 'string', @@ -91,6 +92,7 @@ public static function swaggerTypes() 'can_cancel_renewal' => 'canCancelRenewal', 'can_upgrade' => 'canUpgrade', 'currency_code' => 'currencyCode', + 'downgrade_plan_information' => 'downgradePlanInformation', 'enable_support' => 'enableSupport', 'included_seats' => 'includedSeats', 'incremental_seats' => 'incrementalSeats', @@ -119,6 +121,7 @@ public static function swaggerTypes() 'can_cancel_renewal' => 'setCanCancelRenewal', 'can_upgrade' => 'setCanUpgrade', 'currency_code' => 'setCurrencyCode', + 'downgrade_plan_information' => 'setDowngradePlanInformation', 'enable_support' => 'setEnableSupport', 'included_seats' => 'setIncludedSeats', 'incremental_seats' => 'setIncrementalSeats', @@ -147,6 +150,7 @@ public static function swaggerTypes() 'can_cancel_renewal' => 'getCanCancelRenewal', 'can_upgrade' => 'getCanUpgrade', 'currency_code' => 'getCurrencyCode', + 'downgrade_plan_information' => 'getDowngradePlanInformation', 'enable_support' => 'getEnableSupport', 'included_seats' => 'getIncludedSeats', 'incremental_seats' => 'getIncrementalSeats', @@ -200,6 +204,7 @@ public function __construct(array $data = null) $this->container['can_cancel_renewal'] = isset($data['can_cancel_renewal']) ? $data['can_cancel_renewal'] : null; $this->container['can_upgrade'] = isset($data['can_upgrade']) ? $data['can_upgrade'] : null; $this->container['currency_code'] = isset($data['currency_code']) ? $data['currency_code'] : null; + $this->container['downgrade_plan_information'] = isset($data['downgrade_plan_information']) ? $data['downgrade_plan_information'] : null; $this->container['enable_support'] = isset($data['enable_support']) ? $data['enable_support'] : null; $this->container['included_seats'] = isset($data['included_seats']) ? $data['included_seats'] : null; $this->container['incremental_seats'] = isset($data['incremental_seats']) ? $data['incremental_seats'] : null; @@ -325,6 +330,27 @@ public function setCurrencyCode($currency_code) return $this; } + /** + * Gets downgrade_plan_information + * @return \DocuSign\eSign\Model\DowngradePlanUpdateResponse + */ + public function getDowngradePlanInformation() + { + return $this->container['downgrade_plan_information']; + } + + /** + * Sets downgrade_plan_information + * @param \DocuSign\eSign\Model\DowngradePlanUpdateResponse $downgrade_plan_information + * @return $this + */ + public function setDowngradePlanInformation($downgrade_plan_information) + { + $this->container['downgrade_plan_information'] = $downgrade_plan_information; + + return $this; + } + /** * Gets enable_support * @return string diff --git a/src/Model/AccountBillingPlanResponse.php b/src/Model/AccountBillingPlanResponse.php index 67e2b212..26e65c33 100644 --- a/src/Model/AccountBillingPlanResponse.php +++ b/src/Model/AccountBillingPlanResponse.php @@ -60,6 +60,7 @@ class AccountBillingPlanResponse implements ArrayAccess 'billing_plan' => '\DocuSign\eSign\Model\AccountBillingPlan', 'credit_card_information' => '\DocuSign\eSign\Model\CreditCardInformation', 'direct_debit_processor_information' => '\DocuSign\eSign\Model\DirectDebitProcessorInformation', + 'downgrade_plan_information' => '\DocuSign\eSign\Model\DowngradePlanUpdateResponse', 'payment_method' => 'string', 'payment_processor_information' => '\DocuSign\eSign\Model\PaymentProcessorInformation', 'referral_information' => '\DocuSign\eSign\Model\ReferralInformation', @@ -81,6 +82,7 @@ public static function swaggerTypes() 'billing_plan' => 'billingPlan', 'credit_card_information' => 'creditCardInformation', 'direct_debit_processor_information' => 'directDebitProcessorInformation', + 'downgrade_plan_information' => 'downgradePlanInformation', 'payment_method' => 'paymentMethod', 'payment_processor_information' => 'paymentProcessorInformation', 'referral_information' => 'referralInformation', @@ -98,6 +100,7 @@ public static function swaggerTypes() 'billing_plan' => 'setBillingPlan', 'credit_card_information' => 'setCreditCardInformation', 'direct_debit_processor_information' => 'setDirectDebitProcessorInformation', + 'downgrade_plan_information' => 'setDowngradePlanInformation', 'payment_method' => 'setPaymentMethod', 'payment_processor_information' => 'setPaymentProcessorInformation', 'referral_information' => 'setReferralInformation', @@ -115,6 +118,7 @@ public static function swaggerTypes() 'billing_plan' => 'getBillingPlan', 'credit_card_information' => 'getCreditCardInformation', 'direct_debit_processor_information' => 'getDirectDebitProcessorInformation', + 'downgrade_plan_information' => 'getDowngradePlanInformation', 'payment_method' => 'getPaymentMethod', 'payment_processor_information' => 'getPaymentProcessorInformation', 'referral_information' => 'getReferralInformation', @@ -157,6 +161,7 @@ public function __construct(array $data = null) $this->container['billing_plan'] = isset($data['billing_plan']) ? $data['billing_plan'] : null; $this->container['credit_card_information'] = isset($data['credit_card_information']) ? $data['credit_card_information'] : null; $this->container['direct_debit_processor_information'] = isset($data['direct_debit_processor_information']) ? $data['direct_debit_processor_information'] : null; + $this->container['downgrade_plan_information'] = isset($data['downgrade_plan_information']) ? $data['downgrade_plan_information'] : null; $this->container['payment_method'] = isset($data['payment_method']) ? $data['payment_method'] : null; $this->container['payment_processor_information'] = isset($data['payment_processor_information']) ? $data['payment_processor_information'] : null; $this->container['referral_information'] = isset($data['referral_information']) ? $data['referral_information'] : null; @@ -291,6 +296,27 @@ public function setDirectDebitProcessorInformation($direct_debit_processor_infor return $this; } + /** + * Gets downgrade_plan_information + * @return \DocuSign\eSign\Model\DowngradePlanUpdateResponse + */ + public function getDowngradePlanInformation() + { + return $this->container['downgrade_plan_information']; + } + + /** + * Sets downgrade_plan_information + * @param \DocuSign\eSign\Model\DowngradePlanUpdateResponse $downgrade_plan_information + * @return $this + */ + public function setDowngradePlanInformation($downgrade_plan_information) + { + $this->container['downgrade_plan_information'] = $downgrade_plan_information; + + return $this; + } + /** * Gets payment_method * @return string diff --git a/src/Model/AccountIdentityInputOption.php b/src/Model/AccountIdentityInputOption.php new file mode 100644 index 00000000..a4b19d61 --- /dev/null +++ b/src/Model/AccountIdentityInputOption.php @@ -0,0 +1,279 @@ + 'bool', + 'option_name' => 'string', + '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 = [ + 'is_required' => 'isRequired', + 'option_name' => 'optionName', + 'value_type' => 'valueType' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'is_required' => 'setIsRequired', + 'option_name' => 'setOptionName', + 'value_type' => 'setValueType' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'is_required' => 'getIsRequired', + 'option_name' => 'getOptionName', + '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['is_required'] = isset($data['is_required']) ? $data['is_required'] : null; + $this->container['option_name'] = isset($data['option_name']) ? $data['option_name'] : 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 is_required + * @return bool + */ + public function getIsRequired() + { + return $this->container['is_required']; + } + + /** + * Sets is_required + * @param bool $is_required + * @return $this + */ + public function setIsRequired($is_required) + { + $this->container['is_required'] = $is_required; + + return $this; + } + + /** + * Gets option_name + * @return string + */ + public function getOptionName() + { + return $this->container['option_name']; + } + + /** + * Sets option_name + * @param string $option_name + * @return $this + */ + public function setOptionName($option_name) + { + $this->container['option_name'] = $option_name; + + 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/AccountIdentityVerificationWorkflow.php b/src/Model/AccountIdentityVerificationWorkflow.php index b9dc54d6..1a5bcc44 100644 --- a/src/Model/AccountIdentityVerificationWorkflow.php +++ b/src/Model/AccountIdentityVerificationWorkflow.php @@ -56,6 +56,7 @@ class AccountIdentityVerificationWorkflow implements ArrayAccess protected static $swaggerTypes = [ 'default_description' => 'string', 'default_name' => 'string', + 'input_options' => '\DocuSign\eSign\Model\AccountIdentityInputOption[]', 'signature_provider' => '\DocuSign\eSign\Model\AccountSignatureProvider', 'steps' => '\DocuSign\eSign\Model\AccountIdentityVerificationStep[]', 'workflow_id' => 'string', @@ -74,6 +75,7 @@ public static function swaggerTypes() protected static $attributeMap = [ 'default_description' => 'defaultDescription', 'default_name' => 'defaultName', + 'input_options' => 'inputOptions', 'signature_provider' => 'signatureProvider', 'steps' => 'steps', 'workflow_id' => 'workflowId', @@ -88,6 +90,7 @@ public static function swaggerTypes() protected static $setters = [ 'default_description' => 'setDefaultDescription', 'default_name' => 'setDefaultName', + 'input_options' => 'setInputOptions', 'signature_provider' => 'setSignatureProvider', 'steps' => 'setSteps', 'workflow_id' => 'setWorkflowId', @@ -102,6 +105,7 @@ public static function swaggerTypes() protected static $getters = [ 'default_description' => 'getDefaultDescription', 'default_name' => 'getDefaultName', + 'input_options' => 'getInputOptions', 'signature_provider' => 'getSignatureProvider', 'steps' => 'getSteps', 'workflow_id' => 'getWorkflowId', @@ -141,6 +145,7 @@ public function __construct(array $data = null) { $this->container['default_description'] = isset($data['default_description']) ? $data['default_description'] : null; $this->container['default_name'] = isset($data['default_name']) ? $data['default_name'] : null; + $this->container['input_options'] = isset($data['input_options']) ? $data['input_options'] : null; $this->container['signature_provider'] = isset($data['signature_provider']) ? $data['signature_provider'] : null; $this->container['steps'] = isset($data['steps']) ? $data['steps'] : null; $this->container['workflow_id'] = isset($data['workflow_id']) ? $data['workflow_id'] : null; @@ -212,6 +217,27 @@ public function setDefaultName($default_name) return $this; } + /** + * Gets input_options + * @return \DocuSign\eSign\Model\AccountIdentityInputOption[] + */ + public function getInputOptions() + { + return $this->container['input_options']; + } + + /** + * Sets input_options + * @param \DocuSign\eSign\Model\AccountIdentityInputOption[] $input_options + * @return $this + */ + public function setInputOptions($input_options) + { + $this->container['input_options'] = $input_options; + + return $this; + } + /** * Gets signature_provider * @return \DocuSign\eSign\Model\AccountSignatureProvider diff --git a/src/Model/AccountSettingsInformation.php b/src/Model/AccountSettingsInformation.php index 9e48d3f7..b15d09e2 100644 --- a/src/Model/AccountSettingsInformation.php +++ b/src/Model/AccountSettingsInformation.php @@ -141,6 +141,8 @@ class AccountSettingsInformation implements ArrayAccess 'allow_multiple_signer_attachments_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_non_us_phone_auth' => 'string', 'allow_non_us_phone_auth_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_ocr_of_envelope_documents' => 'string', + 'allow_ocr_of_envelope_documents_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_offline_signing' => 'string', 'allow_offline_signing_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_open_trust_signer_certificate' => 'string', @@ -171,6 +173,8 @@ class AccountSettingsInformation implements ArrayAccess 'allow_send_to_intermediary_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_server_templates' => 'string', 'allow_server_templates_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_set_embedded_recipient_start_url' => 'string', + 'allow_set_embedded_recipient_start_url_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_shared_tabs' => 'string', 'allow_shared_tabs_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_signature_stamps' => 'string', @@ -189,10 +193,16 @@ class AccountSettingsInformation implements ArrayAccess 'allow_signing_radio_deselect_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_sign_now' => 'string', 'allow_sign_now_metadata' => 'string', + 'allow_sms_delivery' => 'string', + 'allow_sms_delivery_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_social_id_login' => 'string', 'allow_social_id_login_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'allow_supplemental_documents' => 'string', 'allow_supplemental_documents_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_users_to_access_directory' => 'string', + 'allow_users_to_access_directory_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'allow_value_insights' => 'string', + 'allow_value_insights_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'anchor_population_scope' => 'string', 'anchor_population_scope_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'anchor_tag_versioned_placement_enabled' => 'string', @@ -212,11 +222,15 @@ class AccountSettingsInformation implements ArrayAccess 'billing_address' => '\DocuSign\eSign\Model\AddressInformation', 'billing_address_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'bulk_send' => 'string', + 'bulk_send_max_copies_in_batch' => 'string', + 'bulk_send_max_unprocessed_envelopes_count' => 'string', 'bulk_send_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'can_self_brand_send' => 'string', 'can_self_brand_send_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'can_self_brand_sign' => 'string', 'can_self_brand_sign_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'can_use_salesforce_o_auth' => 'string', + 'can_use_salesforce_o_auth_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'capture_voice_recording' => 'string', 'capture_voice_recording_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'cfr_use_wide_image' => 'string', @@ -279,6 +293,8 @@ class AccountSettingsInformation implements ArrayAccess 'enable_calculated_fields_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_clickwraps' => 'string', 'enable_clickwraps_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'enable_comments_history_download_in_signing' => 'string', + 'enable_comments_history_download_in_signing_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_customer_satisfaction_metric_tracking' => 'string', 'enable_customer_satisfaction_metric_tracking_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_ds_pro' => 'string', @@ -287,6 +303,8 @@ class AccountSettingsInformation implements ArrayAccess 'enable_envelope_stamping_by_account_admin_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_envelope_stamping_by_ds_admin' => 'string', 'enable_envelope_stamping_by_ds_admin_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'enable_in_browser_editor' => 'string', + 'enable_in_browser_editor_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_payment_processing' => 'string', 'enable_payment_processing_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_power_form' => 'string', @@ -305,6 +323,8 @@ class AccountSettingsInformation implements ArrayAccess 'enable_responsive_signing_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_scheduled_release' => 'string', 'enable_scheduled_release_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'enable_search_ui' => 'string', + 'enable_search_ui_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_sending_tags_font_settings' => 'string', 'enable_sending_tags_font_settings_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_send_to_agent' => 'string', @@ -523,6 +543,8 @@ class AccountSettingsInformation implements ArrayAccess 'use_derived_keys_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'use_docu_sign_express_signer_certificate' => 'string', 'use_docu_sign_express_signer_certificate_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'use_multi_app_groups_data' => 'string', + 'use_multi_app_groups_data_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'use_new_blob_for_pdf' => 'string', 'use_new_blob_for_pdf_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'use_safe_signer_certificates' => 'string', @@ -645,6 +667,8 @@ public static function swaggerTypes() 'allow_multiple_signer_attachments_metadata' => 'allowMultipleSignerAttachmentsMetadata', 'allow_non_us_phone_auth' => 'allowNonUSPhoneAuth', 'allow_non_us_phone_auth_metadata' => 'allowNonUSPhoneAuthMetadata', + 'allow_ocr_of_envelope_documents' => 'allowOcrOfEnvelopeDocuments', + 'allow_ocr_of_envelope_documents_metadata' => 'allowOcrOfEnvelopeDocumentsMetadata', 'allow_offline_signing' => 'allowOfflineSigning', 'allow_offline_signing_metadata' => 'allowOfflineSigningMetadata', 'allow_open_trust_signer_certificate' => 'allowOpenTrustSignerCertificate', @@ -675,6 +699,8 @@ public static function swaggerTypes() 'allow_send_to_intermediary_metadata' => 'allowSendToIntermediaryMetadata', 'allow_server_templates' => 'allowServerTemplates', 'allow_server_templates_metadata' => 'allowServerTemplatesMetadata', + 'allow_set_embedded_recipient_start_url' => 'allowSetEmbeddedRecipientStartURL', + 'allow_set_embedded_recipient_start_url_metadata' => 'allowSetEmbeddedRecipientStartURLMetadata', 'allow_shared_tabs' => 'allowSharedTabs', 'allow_shared_tabs_metadata' => 'allowSharedTabsMetadata', 'allow_signature_stamps' => 'allowSignatureStamps', @@ -693,10 +719,16 @@ public static function swaggerTypes() 'allow_signing_radio_deselect_metadata' => 'allowSigningRadioDeselectMetadata', 'allow_sign_now' => 'allowSignNow', 'allow_sign_now_metadata' => 'allowSignNowMetadata', + 'allow_sms_delivery' => 'allowSMSDelivery', + 'allow_sms_delivery_metadata' => 'allowSMSDeliveryMetadata', 'allow_social_id_login' => 'allowSocialIdLogin', 'allow_social_id_login_metadata' => 'allowSocialIdLoginMetadata', 'allow_supplemental_documents' => 'allowSupplementalDocuments', 'allow_supplemental_documents_metadata' => 'allowSupplementalDocumentsMetadata', + 'allow_users_to_access_directory' => 'allowUsersToAccessDirectory', + 'allow_users_to_access_directory_metadata' => 'allowUsersToAccessDirectoryMetadata', + 'allow_value_insights' => 'allowValueInsights', + 'allow_value_insights_metadata' => 'allowValueInsightsMetadata', 'anchor_population_scope' => 'anchorPopulationScope', 'anchor_population_scope_metadata' => 'anchorPopulationScopeMetadata', 'anchor_tag_versioned_placement_enabled' => 'anchorTagVersionedPlacementEnabled', @@ -716,11 +748,15 @@ public static function swaggerTypes() 'billing_address' => 'billingAddress', 'billing_address_metadata' => 'billingAddressMetadata', 'bulk_send' => 'bulkSend', + 'bulk_send_max_copies_in_batch' => 'bulkSendMaxCopiesInBatch', + 'bulk_send_max_unprocessed_envelopes_count' => 'bulkSendMaxUnprocessedEnvelopesCount', 'bulk_send_metadata' => 'bulkSendMetadata', 'can_self_brand_send' => 'canSelfBrandSend', 'can_self_brand_send_metadata' => 'canSelfBrandSendMetadata', 'can_self_brand_sign' => 'canSelfBrandSign', 'can_self_brand_sign_metadata' => 'canSelfBrandSignMetadata', + 'can_use_salesforce_o_auth' => 'canUseSalesforceOAuth', + 'can_use_salesforce_o_auth_metadata' => 'canUseSalesforceOAuthMetadata', 'capture_voice_recording' => 'captureVoiceRecording', 'capture_voice_recording_metadata' => 'captureVoiceRecordingMetadata', 'cfr_use_wide_image' => 'cfrUseWideImage', @@ -783,6 +819,8 @@ public static function swaggerTypes() 'enable_calculated_fields_metadata' => 'enableCalculatedFieldsMetadata', 'enable_clickwraps' => 'enableClickwraps', 'enable_clickwraps_metadata' => 'enableClickwrapsMetadata', + 'enable_comments_history_download_in_signing' => 'enableCommentsHistoryDownloadInSigning', + 'enable_comments_history_download_in_signing_metadata' => 'enableCommentsHistoryDownloadInSigningMetadata', 'enable_customer_satisfaction_metric_tracking' => 'enableCustomerSatisfactionMetricTracking', 'enable_customer_satisfaction_metric_tracking_metadata' => 'enableCustomerSatisfactionMetricTrackingMetadata', 'enable_ds_pro' => 'enableDSPro', @@ -791,6 +829,8 @@ public static function swaggerTypes() 'enable_envelope_stamping_by_account_admin_metadata' => 'enableEnvelopeStampingByAccountAdminMetadata', 'enable_envelope_stamping_by_ds_admin' => 'enableEnvelopeStampingByDSAdmin', 'enable_envelope_stamping_by_ds_admin_metadata' => 'enableEnvelopeStampingByDSAdminMetadata', + 'enable_in_browser_editor' => 'enableInBrowserEditor', + 'enable_in_browser_editor_metadata' => 'enableInBrowserEditorMetadata', 'enable_payment_processing' => 'enablePaymentProcessing', 'enable_payment_processing_metadata' => 'enablePaymentProcessingMetadata', 'enable_power_form' => 'enablePowerForm', @@ -809,6 +849,8 @@ public static function swaggerTypes() 'enable_responsive_signing_metadata' => 'enableResponsiveSigningMetadata', 'enable_scheduled_release' => 'enableScheduledRelease', 'enable_scheduled_release_metadata' => 'enableScheduledReleaseMetadata', + 'enable_search_ui' => 'enableSearchUI', + 'enable_search_ui_metadata' => 'enableSearchUIMetadata', 'enable_sending_tags_font_settings' => 'enableSendingTagsFontSettings', 'enable_sending_tags_font_settings_metadata' => 'enableSendingTagsFontSettingsMetadata', 'enable_send_to_agent' => 'enableSendToAgent', @@ -1027,6 +1069,8 @@ public static function swaggerTypes() 'use_derived_keys_metadata' => 'useDerivedKeysMetadata', 'use_docu_sign_express_signer_certificate' => 'useDocuSignExpressSignerCertificate', 'use_docu_sign_express_signer_certificate_metadata' => 'useDocuSignExpressSignerCertificateMetadata', + 'use_multi_app_groups_data' => 'useMultiAppGroupsData', + 'use_multi_app_groups_data_metadata' => 'useMultiAppGroupsDataMetadata', 'use_new_blob_for_pdf' => 'useNewBlobForPdf', 'use_new_blob_for_pdf_metadata' => 'useNewBlobForPdfMetadata', 'use_safe_signer_certificates' => 'useSAFESignerCertificates', @@ -1145,6 +1189,8 @@ public static function swaggerTypes() 'allow_multiple_signer_attachments_metadata' => 'setAllowMultipleSignerAttachmentsMetadata', 'allow_non_us_phone_auth' => 'setAllowNonUsPhoneAuth', 'allow_non_us_phone_auth_metadata' => 'setAllowNonUsPhoneAuthMetadata', + 'allow_ocr_of_envelope_documents' => 'setAllowOcrOfEnvelopeDocuments', + 'allow_ocr_of_envelope_documents_metadata' => 'setAllowOcrOfEnvelopeDocumentsMetadata', 'allow_offline_signing' => 'setAllowOfflineSigning', 'allow_offline_signing_metadata' => 'setAllowOfflineSigningMetadata', 'allow_open_trust_signer_certificate' => 'setAllowOpenTrustSignerCertificate', @@ -1175,6 +1221,8 @@ public static function swaggerTypes() 'allow_send_to_intermediary_metadata' => 'setAllowSendToIntermediaryMetadata', 'allow_server_templates' => 'setAllowServerTemplates', 'allow_server_templates_metadata' => 'setAllowServerTemplatesMetadata', + 'allow_set_embedded_recipient_start_url' => 'setAllowSetEmbeddedRecipientStartUrl', + 'allow_set_embedded_recipient_start_url_metadata' => 'setAllowSetEmbeddedRecipientStartUrlMetadata', 'allow_shared_tabs' => 'setAllowSharedTabs', 'allow_shared_tabs_metadata' => 'setAllowSharedTabsMetadata', 'allow_signature_stamps' => 'setAllowSignatureStamps', @@ -1193,10 +1241,16 @@ public static function swaggerTypes() 'allow_signing_radio_deselect_metadata' => 'setAllowSigningRadioDeselectMetadata', 'allow_sign_now' => 'setAllowSignNow', 'allow_sign_now_metadata' => 'setAllowSignNowMetadata', + 'allow_sms_delivery' => 'setAllowSmsDelivery', + 'allow_sms_delivery_metadata' => 'setAllowSmsDeliveryMetadata', 'allow_social_id_login' => 'setAllowSocialIdLogin', 'allow_social_id_login_metadata' => 'setAllowSocialIdLoginMetadata', 'allow_supplemental_documents' => 'setAllowSupplementalDocuments', 'allow_supplemental_documents_metadata' => 'setAllowSupplementalDocumentsMetadata', + 'allow_users_to_access_directory' => 'setAllowUsersToAccessDirectory', + 'allow_users_to_access_directory_metadata' => 'setAllowUsersToAccessDirectoryMetadata', + 'allow_value_insights' => 'setAllowValueInsights', + 'allow_value_insights_metadata' => 'setAllowValueInsightsMetadata', 'anchor_population_scope' => 'setAnchorPopulationScope', 'anchor_population_scope_metadata' => 'setAnchorPopulationScopeMetadata', 'anchor_tag_versioned_placement_enabled' => 'setAnchorTagVersionedPlacementEnabled', @@ -1216,11 +1270,15 @@ public static function swaggerTypes() 'billing_address' => 'setBillingAddress', 'billing_address_metadata' => 'setBillingAddressMetadata', 'bulk_send' => 'setBulkSend', + 'bulk_send_max_copies_in_batch' => 'setBulkSendMaxCopiesInBatch', + 'bulk_send_max_unprocessed_envelopes_count' => 'setBulkSendMaxUnprocessedEnvelopesCount', 'bulk_send_metadata' => 'setBulkSendMetadata', 'can_self_brand_send' => 'setCanSelfBrandSend', 'can_self_brand_send_metadata' => 'setCanSelfBrandSendMetadata', 'can_self_brand_sign' => 'setCanSelfBrandSign', 'can_self_brand_sign_metadata' => 'setCanSelfBrandSignMetadata', + 'can_use_salesforce_o_auth' => 'setCanUseSalesforceOAuth', + 'can_use_salesforce_o_auth_metadata' => 'setCanUseSalesforceOAuthMetadata', 'capture_voice_recording' => 'setCaptureVoiceRecording', 'capture_voice_recording_metadata' => 'setCaptureVoiceRecordingMetadata', 'cfr_use_wide_image' => 'setCfrUseWideImage', @@ -1283,6 +1341,8 @@ public static function swaggerTypes() 'enable_calculated_fields_metadata' => 'setEnableCalculatedFieldsMetadata', 'enable_clickwraps' => 'setEnableClickwraps', 'enable_clickwraps_metadata' => 'setEnableClickwrapsMetadata', + 'enable_comments_history_download_in_signing' => 'setEnableCommentsHistoryDownloadInSigning', + 'enable_comments_history_download_in_signing_metadata' => 'setEnableCommentsHistoryDownloadInSigningMetadata', 'enable_customer_satisfaction_metric_tracking' => 'setEnableCustomerSatisfactionMetricTracking', 'enable_customer_satisfaction_metric_tracking_metadata' => 'setEnableCustomerSatisfactionMetricTrackingMetadata', 'enable_ds_pro' => 'setEnableDsPro', @@ -1291,6 +1351,8 @@ public static function swaggerTypes() 'enable_envelope_stamping_by_account_admin_metadata' => 'setEnableEnvelopeStampingByAccountAdminMetadata', 'enable_envelope_stamping_by_ds_admin' => 'setEnableEnvelopeStampingByDsAdmin', 'enable_envelope_stamping_by_ds_admin_metadata' => 'setEnableEnvelopeStampingByDsAdminMetadata', + 'enable_in_browser_editor' => 'setEnableInBrowserEditor', + 'enable_in_browser_editor_metadata' => 'setEnableInBrowserEditorMetadata', 'enable_payment_processing' => 'setEnablePaymentProcessing', 'enable_payment_processing_metadata' => 'setEnablePaymentProcessingMetadata', 'enable_power_form' => 'setEnablePowerForm', @@ -1309,6 +1371,8 @@ public static function swaggerTypes() 'enable_responsive_signing_metadata' => 'setEnableResponsiveSigningMetadata', 'enable_scheduled_release' => 'setEnableScheduledRelease', 'enable_scheduled_release_metadata' => 'setEnableScheduledReleaseMetadata', + 'enable_search_ui' => 'setEnableSearchUi', + 'enable_search_ui_metadata' => 'setEnableSearchUiMetadata', 'enable_sending_tags_font_settings' => 'setEnableSendingTagsFontSettings', 'enable_sending_tags_font_settings_metadata' => 'setEnableSendingTagsFontSettingsMetadata', 'enable_send_to_agent' => 'setEnableSendToAgent', @@ -1527,6 +1591,8 @@ public static function swaggerTypes() 'use_derived_keys_metadata' => 'setUseDerivedKeysMetadata', 'use_docu_sign_express_signer_certificate' => 'setUseDocuSignExpressSignerCertificate', 'use_docu_sign_express_signer_certificate_metadata' => 'setUseDocuSignExpressSignerCertificateMetadata', + 'use_multi_app_groups_data' => 'setUseMultiAppGroupsData', + 'use_multi_app_groups_data_metadata' => 'setUseMultiAppGroupsDataMetadata', 'use_new_blob_for_pdf' => 'setUseNewBlobForPdf', 'use_new_blob_for_pdf_metadata' => 'setUseNewBlobForPdfMetadata', 'use_safe_signer_certificates' => 'setUseSafeSignerCertificates', @@ -1645,6 +1711,8 @@ public static function swaggerTypes() 'allow_multiple_signer_attachments_metadata' => 'getAllowMultipleSignerAttachmentsMetadata', 'allow_non_us_phone_auth' => 'getAllowNonUsPhoneAuth', 'allow_non_us_phone_auth_metadata' => 'getAllowNonUsPhoneAuthMetadata', + 'allow_ocr_of_envelope_documents' => 'getAllowOcrOfEnvelopeDocuments', + 'allow_ocr_of_envelope_documents_metadata' => 'getAllowOcrOfEnvelopeDocumentsMetadata', 'allow_offline_signing' => 'getAllowOfflineSigning', 'allow_offline_signing_metadata' => 'getAllowOfflineSigningMetadata', 'allow_open_trust_signer_certificate' => 'getAllowOpenTrustSignerCertificate', @@ -1675,6 +1743,8 @@ public static function swaggerTypes() 'allow_send_to_intermediary_metadata' => 'getAllowSendToIntermediaryMetadata', 'allow_server_templates' => 'getAllowServerTemplates', 'allow_server_templates_metadata' => 'getAllowServerTemplatesMetadata', + 'allow_set_embedded_recipient_start_url' => 'getAllowSetEmbeddedRecipientStartUrl', + 'allow_set_embedded_recipient_start_url_metadata' => 'getAllowSetEmbeddedRecipientStartUrlMetadata', 'allow_shared_tabs' => 'getAllowSharedTabs', 'allow_shared_tabs_metadata' => 'getAllowSharedTabsMetadata', 'allow_signature_stamps' => 'getAllowSignatureStamps', @@ -1693,10 +1763,16 @@ public static function swaggerTypes() 'allow_signing_radio_deselect_metadata' => 'getAllowSigningRadioDeselectMetadata', 'allow_sign_now' => 'getAllowSignNow', 'allow_sign_now_metadata' => 'getAllowSignNowMetadata', + 'allow_sms_delivery' => 'getAllowSmsDelivery', + 'allow_sms_delivery_metadata' => 'getAllowSmsDeliveryMetadata', 'allow_social_id_login' => 'getAllowSocialIdLogin', 'allow_social_id_login_metadata' => 'getAllowSocialIdLoginMetadata', 'allow_supplemental_documents' => 'getAllowSupplementalDocuments', 'allow_supplemental_documents_metadata' => 'getAllowSupplementalDocumentsMetadata', + 'allow_users_to_access_directory' => 'getAllowUsersToAccessDirectory', + 'allow_users_to_access_directory_metadata' => 'getAllowUsersToAccessDirectoryMetadata', + 'allow_value_insights' => 'getAllowValueInsights', + 'allow_value_insights_metadata' => 'getAllowValueInsightsMetadata', 'anchor_population_scope' => 'getAnchorPopulationScope', 'anchor_population_scope_metadata' => 'getAnchorPopulationScopeMetadata', 'anchor_tag_versioned_placement_enabled' => 'getAnchorTagVersionedPlacementEnabled', @@ -1716,11 +1792,15 @@ public static function swaggerTypes() 'billing_address' => 'getBillingAddress', 'billing_address_metadata' => 'getBillingAddressMetadata', 'bulk_send' => 'getBulkSend', + 'bulk_send_max_copies_in_batch' => 'getBulkSendMaxCopiesInBatch', + 'bulk_send_max_unprocessed_envelopes_count' => 'getBulkSendMaxUnprocessedEnvelopesCount', 'bulk_send_metadata' => 'getBulkSendMetadata', 'can_self_brand_send' => 'getCanSelfBrandSend', 'can_self_brand_send_metadata' => 'getCanSelfBrandSendMetadata', 'can_self_brand_sign' => 'getCanSelfBrandSign', 'can_self_brand_sign_metadata' => 'getCanSelfBrandSignMetadata', + 'can_use_salesforce_o_auth' => 'getCanUseSalesforceOAuth', + 'can_use_salesforce_o_auth_metadata' => 'getCanUseSalesforceOAuthMetadata', 'capture_voice_recording' => 'getCaptureVoiceRecording', 'capture_voice_recording_metadata' => 'getCaptureVoiceRecordingMetadata', 'cfr_use_wide_image' => 'getCfrUseWideImage', @@ -1783,6 +1863,8 @@ public static function swaggerTypes() 'enable_calculated_fields_metadata' => 'getEnableCalculatedFieldsMetadata', 'enable_clickwraps' => 'getEnableClickwraps', 'enable_clickwraps_metadata' => 'getEnableClickwrapsMetadata', + 'enable_comments_history_download_in_signing' => 'getEnableCommentsHistoryDownloadInSigning', + 'enable_comments_history_download_in_signing_metadata' => 'getEnableCommentsHistoryDownloadInSigningMetadata', 'enable_customer_satisfaction_metric_tracking' => 'getEnableCustomerSatisfactionMetricTracking', 'enable_customer_satisfaction_metric_tracking_metadata' => 'getEnableCustomerSatisfactionMetricTrackingMetadata', 'enable_ds_pro' => 'getEnableDsPro', @@ -1791,6 +1873,8 @@ public static function swaggerTypes() 'enable_envelope_stamping_by_account_admin_metadata' => 'getEnableEnvelopeStampingByAccountAdminMetadata', 'enable_envelope_stamping_by_ds_admin' => 'getEnableEnvelopeStampingByDsAdmin', 'enable_envelope_stamping_by_ds_admin_metadata' => 'getEnableEnvelopeStampingByDsAdminMetadata', + 'enable_in_browser_editor' => 'getEnableInBrowserEditor', + 'enable_in_browser_editor_metadata' => 'getEnableInBrowserEditorMetadata', 'enable_payment_processing' => 'getEnablePaymentProcessing', 'enable_payment_processing_metadata' => 'getEnablePaymentProcessingMetadata', 'enable_power_form' => 'getEnablePowerForm', @@ -1809,6 +1893,8 @@ public static function swaggerTypes() 'enable_responsive_signing_metadata' => 'getEnableResponsiveSigningMetadata', 'enable_scheduled_release' => 'getEnableScheduledRelease', 'enable_scheduled_release_metadata' => 'getEnableScheduledReleaseMetadata', + 'enable_search_ui' => 'getEnableSearchUi', + 'enable_search_ui_metadata' => 'getEnableSearchUiMetadata', 'enable_sending_tags_font_settings' => 'getEnableSendingTagsFontSettings', 'enable_sending_tags_font_settings_metadata' => 'getEnableSendingTagsFontSettingsMetadata', 'enable_send_to_agent' => 'getEnableSendToAgent', @@ -2027,6 +2113,8 @@ public static function swaggerTypes() 'use_derived_keys_metadata' => 'getUseDerivedKeysMetadata', 'use_docu_sign_express_signer_certificate' => 'getUseDocuSignExpressSignerCertificate', 'use_docu_sign_express_signer_certificate_metadata' => 'getUseDocuSignExpressSignerCertificateMetadata', + 'use_multi_app_groups_data' => 'getUseMultiAppGroupsData', + 'use_multi_app_groups_data_metadata' => 'getUseMultiAppGroupsDataMetadata', 'use_new_blob_for_pdf' => 'getUseNewBlobForPdf', 'use_new_blob_for_pdf_metadata' => 'getUseNewBlobForPdfMetadata', 'use_safe_signer_certificates' => 'getUseSafeSignerCertificates', @@ -2170,6 +2258,8 @@ public function __construct(array $data = null) $this->container['allow_multiple_signer_attachments_metadata'] = isset($data['allow_multiple_signer_attachments_metadata']) ? $data['allow_multiple_signer_attachments_metadata'] : null; $this->container['allow_non_us_phone_auth'] = isset($data['allow_non_us_phone_auth']) ? $data['allow_non_us_phone_auth'] : null; $this->container['allow_non_us_phone_auth_metadata'] = isset($data['allow_non_us_phone_auth_metadata']) ? $data['allow_non_us_phone_auth_metadata'] : null; + $this->container['allow_ocr_of_envelope_documents'] = isset($data['allow_ocr_of_envelope_documents']) ? $data['allow_ocr_of_envelope_documents'] : null; + $this->container['allow_ocr_of_envelope_documents_metadata'] = isset($data['allow_ocr_of_envelope_documents_metadata']) ? $data['allow_ocr_of_envelope_documents_metadata'] : null; $this->container['allow_offline_signing'] = isset($data['allow_offline_signing']) ? $data['allow_offline_signing'] : null; $this->container['allow_offline_signing_metadata'] = isset($data['allow_offline_signing_metadata']) ? $data['allow_offline_signing_metadata'] : null; $this->container['allow_open_trust_signer_certificate'] = isset($data['allow_open_trust_signer_certificate']) ? $data['allow_open_trust_signer_certificate'] : null; @@ -2200,6 +2290,8 @@ public function __construct(array $data = null) $this->container['allow_send_to_intermediary_metadata'] = isset($data['allow_send_to_intermediary_metadata']) ? $data['allow_send_to_intermediary_metadata'] : null; $this->container['allow_server_templates'] = isset($data['allow_server_templates']) ? $data['allow_server_templates'] : null; $this->container['allow_server_templates_metadata'] = isset($data['allow_server_templates_metadata']) ? $data['allow_server_templates_metadata'] : null; + $this->container['allow_set_embedded_recipient_start_url'] = isset($data['allow_set_embedded_recipient_start_url']) ? $data['allow_set_embedded_recipient_start_url'] : null; + $this->container['allow_set_embedded_recipient_start_url_metadata'] = isset($data['allow_set_embedded_recipient_start_url_metadata']) ? $data['allow_set_embedded_recipient_start_url_metadata'] : null; $this->container['allow_shared_tabs'] = isset($data['allow_shared_tabs']) ? $data['allow_shared_tabs'] : null; $this->container['allow_shared_tabs_metadata'] = isset($data['allow_shared_tabs_metadata']) ? $data['allow_shared_tabs_metadata'] : null; $this->container['allow_signature_stamps'] = isset($data['allow_signature_stamps']) ? $data['allow_signature_stamps'] : null; @@ -2218,10 +2310,16 @@ public function __construct(array $data = null) $this->container['allow_signing_radio_deselect_metadata'] = isset($data['allow_signing_radio_deselect_metadata']) ? $data['allow_signing_radio_deselect_metadata'] : null; $this->container['allow_sign_now'] = isset($data['allow_sign_now']) ? $data['allow_sign_now'] : null; $this->container['allow_sign_now_metadata'] = isset($data['allow_sign_now_metadata']) ? $data['allow_sign_now_metadata'] : null; + $this->container['allow_sms_delivery'] = isset($data['allow_sms_delivery']) ? $data['allow_sms_delivery'] : null; + $this->container['allow_sms_delivery_metadata'] = isset($data['allow_sms_delivery_metadata']) ? $data['allow_sms_delivery_metadata'] : null; $this->container['allow_social_id_login'] = isset($data['allow_social_id_login']) ? $data['allow_social_id_login'] : null; $this->container['allow_social_id_login_metadata'] = isset($data['allow_social_id_login_metadata']) ? $data['allow_social_id_login_metadata'] : null; $this->container['allow_supplemental_documents'] = isset($data['allow_supplemental_documents']) ? $data['allow_supplemental_documents'] : null; $this->container['allow_supplemental_documents_metadata'] = isset($data['allow_supplemental_documents_metadata']) ? $data['allow_supplemental_documents_metadata'] : null; + $this->container['allow_users_to_access_directory'] = isset($data['allow_users_to_access_directory']) ? $data['allow_users_to_access_directory'] : null; + $this->container['allow_users_to_access_directory_metadata'] = isset($data['allow_users_to_access_directory_metadata']) ? $data['allow_users_to_access_directory_metadata'] : null; + $this->container['allow_value_insights'] = isset($data['allow_value_insights']) ? $data['allow_value_insights'] : null; + $this->container['allow_value_insights_metadata'] = isset($data['allow_value_insights_metadata']) ? $data['allow_value_insights_metadata'] : null; $this->container['anchor_population_scope'] = isset($data['anchor_population_scope']) ? $data['anchor_population_scope'] : null; $this->container['anchor_population_scope_metadata'] = isset($data['anchor_population_scope_metadata']) ? $data['anchor_population_scope_metadata'] : null; $this->container['anchor_tag_versioned_placement_enabled'] = isset($data['anchor_tag_versioned_placement_enabled']) ? $data['anchor_tag_versioned_placement_enabled'] : null; @@ -2241,11 +2339,15 @@ public function __construct(array $data = null) $this->container['billing_address'] = isset($data['billing_address']) ? $data['billing_address'] : null; $this->container['billing_address_metadata'] = isset($data['billing_address_metadata']) ? $data['billing_address_metadata'] : null; $this->container['bulk_send'] = isset($data['bulk_send']) ? $data['bulk_send'] : null; + $this->container['bulk_send_max_copies_in_batch'] = isset($data['bulk_send_max_copies_in_batch']) ? $data['bulk_send_max_copies_in_batch'] : null; + $this->container['bulk_send_max_unprocessed_envelopes_count'] = isset($data['bulk_send_max_unprocessed_envelopes_count']) ? $data['bulk_send_max_unprocessed_envelopes_count'] : null; $this->container['bulk_send_metadata'] = isset($data['bulk_send_metadata']) ? $data['bulk_send_metadata'] : null; $this->container['can_self_brand_send'] = isset($data['can_self_brand_send']) ? $data['can_self_brand_send'] : null; $this->container['can_self_brand_send_metadata'] = isset($data['can_self_brand_send_metadata']) ? $data['can_self_brand_send_metadata'] : null; $this->container['can_self_brand_sign'] = isset($data['can_self_brand_sign']) ? $data['can_self_brand_sign'] : null; $this->container['can_self_brand_sign_metadata'] = isset($data['can_self_brand_sign_metadata']) ? $data['can_self_brand_sign_metadata'] : null; + $this->container['can_use_salesforce_o_auth'] = isset($data['can_use_salesforce_o_auth']) ? $data['can_use_salesforce_o_auth'] : null; + $this->container['can_use_salesforce_o_auth_metadata'] = isset($data['can_use_salesforce_o_auth_metadata']) ? $data['can_use_salesforce_o_auth_metadata'] : null; $this->container['capture_voice_recording'] = isset($data['capture_voice_recording']) ? $data['capture_voice_recording'] : null; $this->container['capture_voice_recording_metadata'] = isset($data['capture_voice_recording_metadata']) ? $data['capture_voice_recording_metadata'] : null; $this->container['cfr_use_wide_image'] = isset($data['cfr_use_wide_image']) ? $data['cfr_use_wide_image'] : null; @@ -2308,6 +2410,8 @@ public function __construct(array $data = null) $this->container['enable_calculated_fields_metadata'] = isset($data['enable_calculated_fields_metadata']) ? $data['enable_calculated_fields_metadata'] : null; $this->container['enable_clickwraps'] = isset($data['enable_clickwraps']) ? $data['enable_clickwraps'] : null; $this->container['enable_clickwraps_metadata'] = isset($data['enable_clickwraps_metadata']) ? $data['enable_clickwraps_metadata'] : null; + $this->container['enable_comments_history_download_in_signing'] = isset($data['enable_comments_history_download_in_signing']) ? $data['enable_comments_history_download_in_signing'] : null; + $this->container['enable_comments_history_download_in_signing_metadata'] = isset($data['enable_comments_history_download_in_signing_metadata']) ? $data['enable_comments_history_download_in_signing_metadata'] : null; $this->container['enable_customer_satisfaction_metric_tracking'] = isset($data['enable_customer_satisfaction_metric_tracking']) ? $data['enable_customer_satisfaction_metric_tracking'] : null; $this->container['enable_customer_satisfaction_metric_tracking_metadata'] = isset($data['enable_customer_satisfaction_metric_tracking_metadata']) ? $data['enable_customer_satisfaction_metric_tracking_metadata'] : null; $this->container['enable_ds_pro'] = isset($data['enable_ds_pro']) ? $data['enable_ds_pro'] : null; @@ -2316,6 +2420,8 @@ public function __construct(array $data = null) $this->container['enable_envelope_stamping_by_account_admin_metadata'] = isset($data['enable_envelope_stamping_by_account_admin_metadata']) ? $data['enable_envelope_stamping_by_account_admin_metadata'] : null; $this->container['enable_envelope_stamping_by_ds_admin'] = isset($data['enable_envelope_stamping_by_ds_admin']) ? $data['enable_envelope_stamping_by_ds_admin'] : null; $this->container['enable_envelope_stamping_by_ds_admin_metadata'] = isset($data['enable_envelope_stamping_by_ds_admin_metadata']) ? $data['enable_envelope_stamping_by_ds_admin_metadata'] : null; + $this->container['enable_in_browser_editor'] = isset($data['enable_in_browser_editor']) ? $data['enable_in_browser_editor'] : null; + $this->container['enable_in_browser_editor_metadata'] = isset($data['enable_in_browser_editor_metadata']) ? $data['enable_in_browser_editor_metadata'] : null; $this->container['enable_payment_processing'] = isset($data['enable_payment_processing']) ? $data['enable_payment_processing'] : null; $this->container['enable_payment_processing_metadata'] = isset($data['enable_payment_processing_metadata']) ? $data['enable_payment_processing_metadata'] : null; $this->container['enable_power_form'] = isset($data['enable_power_form']) ? $data['enable_power_form'] : null; @@ -2334,6 +2440,8 @@ public function __construct(array $data = null) $this->container['enable_responsive_signing_metadata'] = isset($data['enable_responsive_signing_metadata']) ? $data['enable_responsive_signing_metadata'] : null; $this->container['enable_scheduled_release'] = isset($data['enable_scheduled_release']) ? $data['enable_scheduled_release'] : null; $this->container['enable_scheduled_release_metadata'] = isset($data['enable_scheduled_release_metadata']) ? $data['enable_scheduled_release_metadata'] : null; + $this->container['enable_search_ui'] = isset($data['enable_search_ui']) ? $data['enable_search_ui'] : null; + $this->container['enable_search_ui_metadata'] = isset($data['enable_search_ui_metadata']) ? $data['enable_search_ui_metadata'] : null; $this->container['enable_sending_tags_font_settings'] = isset($data['enable_sending_tags_font_settings']) ? $data['enable_sending_tags_font_settings'] : null; $this->container['enable_sending_tags_font_settings_metadata'] = isset($data['enable_sending_tags_font_settings_metadata']) ? $data['enable_sending_tags_font_settings_metadata'] : null; $this->container['enable_send_to_agent'] = isset($data['enable_send_to_agent']) ? $data['enable_send_to_agent'] : null; @@ -2552,6 +2660,8 @@ public function __construct(array $data = null) $this->container['use_derived_keys_metadata'] = isset($data['use_derived_keys_metadata']) ? $data['use_derived_keys_metadata'] : null; $this->container['use_docu_sign_express_signer_certificate'] = isset($data['use_docu_sign_express_signer_certificate']) ? $data['use_docu_sign_express_signer_certificate'] : null; $this->container['use_docu_sign_express_signer_certificate_metadata'] = isset($data['use_docu_sign_express_signer_certificate_metadata']) ? $data['use_docu_sign_express_signer_certificate_metadata'] : null; + $this->container['use_multi_app_groups_data'] = isset($data['use_multi_app_groups_data']) ? $data['use_multi_app_groups_data'] : null; + $this->container['use_multi_app_groups_data_metadata'] = isset($data['use_multi_app_groups_data_metadata']) ? $data['use_multi_app_groups_data_metadata'] : null; $this->container['use_new_blob_for_pdf'] = isset($data['use_new_blob_for_pdf']) ? $data['use_new_blob_for_pdf'] : null; $this->container['use_new_blob_for_pdf_metadata'] = isset($data['use_new_blob_for_pdf_metadata']) ? $data['use_new_blob_for_pdf_metadata'] : null; $this->container['use_safe_signer_certificates'] = isset($data['use_safe_signer_certificates']) ? $data['use_safe_signer_certificates'] : null; @@ -4082,7 +4192,7 @@ public function getAllowInPerson() /** * Sets allow_in_person - * @param string $allow_in_person When set to **true**, the account allows In Person Signing. Permission required: SysAdmin + * @param string $allow_in_person * @return $this */ public function setAllowInPerson($allow_in_person) @@ -4407,6 +4517,48 @@ public function setAllowNonUsPhoneAuthMetadata($allow_non_us_phone_auth_metadata return $this; } + /** + * Gets allow_ocr_of_envelope_documents + * @return string + */ + public function getAllowOcrOfEnvelopeDocuments() + { + return $this->container['allow_ocr_of_envelope_documents']; + } + + /** + * Sets allow_ocr_of_envelope_documents + * @param string $allow_ocr_of_envelope_documents + * @return $this + */ + public function setAllowOcrOfEnvelopeDocuments($allow_ocr_of_envelope_documents) + { + $this->container['allow_ocr_of_envelope_documents'] = $allow_ocr_of_envelope_documents; + + return $this; + } + + /** + * Gets allow_ocr_of_envelope_documents_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowOcrOfEnvelopeDocumentsMetadata() + { + return $this->container['allow_ocr_of_envelope_documents_metadata']; + } + + /** + * Sets allow_ocr_of_envelope_documents_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_ocr_of_envelope_documents_metadata + * @return $this + */ + public function setAllowOcrOfEnvelopeDocumentsMetadata($allow_ocr_of_envelope_documents_metadata) + { + $this->container['allow_ocr_of_envelope_documents_metadata'] = $allow_ocr_of_envelope_documents_metadata; + + return $this; + } + /** * Gets allow_offline_signing * @return string @@ -4418,7 +4570,7 @@ public function getAllowOfflineSigning() /** * Sets allow_offline_signing - * @param string $allow_offline_signing When set to **true**, the account can use Offline Signing and envelopes signed using offline signing on mobile devices are synchronized with this account. This option and the `inSessionEnabled` property must both be set to **true** for a caller to use offline signing. Permission required: Admin + * @param string $allow_offline_signing * @return $this */ public function setAllowOfflineSigning($allow_offline_signing) @@ -4460,7 +4612,7 @@ public function getAllowOpenTrustSignerCertificate() /** * Sets allow_open_trust_signer_certificate - * @param string $allow_open_trust_signer_certificate When set to **true**, senders are allowed to use the OpenTrust digital signatures. Permission required: Admin + * @param string $allow_open_trust_signer_certificate * @return $this */ public function setAllowOpenTrustSignerCertificate($allow_open_trust_signer_certificate) @@ -4838,7 +4990,7 @@ public function getAllowSafeBioPharmaSignerCertificate() /** * Sets allow_safe_bio_pharma_signer_certificate - * @param string $allow_safe_bio_pharma_signer_certificate When set to **true**, senders are allowed to use the SAFE BioPharma digital signatures. Permission required: Admin + * @param string $allow_safe_bio_pharma_signer_certificate * @return $this */ public function setAllowSafeBioPharmaSignerCertificate($allow_safe_bio_pharma_signer_certificate) @@ -5037,6 +5189,48 @@ public function setAllowServerTemplatesMetadata($allow_server_templates_metadata return $this; } + /** + * Gets allow_set_embedded_recipient_start_url + * @return string + */ + public function getAllowSetEmbeddedRecipientStartUrl() + { + return $this->container['allow_set_embedded_recipient_start_url']; + } + + /** + * Sets allow_set_embedded_recipient_start_url + * @param string $allow_set_embedded_recipient_start_url + * @return $this + */ + public function setAllowSetEmbeddedRecipientStartUrl($allow_set_embedded_recipient_start_url) + { + $this->container['allow_set_embedded_recipient_start_url'] = $allow_set_embedded_recipient_start_url; + + return $this; + } + + /** + * Gets allow_set_embedded_recipient_start_url_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowSetEmbeddedRecipientStartUrlMetadata() + { + return $this->container['allow_set_embedded_recipient_start_url_metadata']; + } + + /** + * Sets allow_set_embedded_recipient_start_url_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_set_embedded_recipient_start_url_metadata + * @return $this + */ + public function setAllowSetEmbeddedRecipientStartUrlMetadata($allow_set_embedded_recipient_start_url_metadata) + { + $this->container['allow_set_embedded_recipient_start_url_metadata'] = $allow_set_embedded_recipient_start_url_metadata; + + return $this; + } + /** * Gets allow_shared_tabs * @return string @@ -5048,7 +5242,7 @@ public function getAllowSharedTabs() /** * Sets allow_shared_tabs - * @param string $allow_shared_tabs When set to **true**, the account allows users to share custom tags (fields). #### Note: This setting is only shown when getting account settings. It cannot be modified. Permission required: Admin + * @param string $allow_shared_tabs * @return $this */ public function setAllowSharedTabs($allow_shared_tabs) @@ -5174,7 +5368,7 @@ public function getAllowSignerReassign() /** * Sets allow_signer_reassign - * @param string $allow_signer_reassign When set to **true**, the account allows signers to reassign an envelope. Permission required: Admin + * @param string $allow_signer_reassign * @return $this */ public function setAllowSignerReassign($allow_signer_reassign) @@ -5415,6 +5609,48 @@ public function setAllowSignNowMetadata($allow_sign_now_metadata) return $this; } + /** + * Gets allow_sms_delivery + * @return string + */ + public function getAllowSmsDelivery() + { + return $this->container['allow_sms_delivery']; + } + + /** + * Sets allow_sms_delivery + * @param string $allow_sms_delivery + * @return $this + */ + public function setAllowSmsDelivery($allow_sms_delivery) + { + $this->container['allow_sms_delivery'] = $allow_sms_delivery; + + return $this; + } + + /** + * Gets allow_sms_delivery_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowSmsDeliveryMetadata() + { + return $this->container['allow_sms_delivery_metadata']; + } + + /** + * Sets allow_sms_delivery_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_sms_delivery_metadata + * @return $this + */ + public function setAllowSmsDeliveryMetadata($allow_sms_delivery_metadata) + { + $this->container['allow_sms_delivery_metadata'] = $allow_sms_delivery_metadata; + + return $this; + } + /** * Gets allow_social_id_login * @return string @@ -5499,6 +5735,90 @@ public function setAllowSupplementalDocumentsMetadata($allow_supplemental_docume return $this; } + /** + * Gets allow_users_to_access_directory + * @return string + */ + public function getAllowUsersToAccessDirectory() + { + return $this->container['allow_users_to_access_directory']; + } + + /** + * Sets allow_users_to_access_directory + * @param string $allow_users_to_access_directory + * @return $this + */ + public function setAllowUsersToAccessDirectory($allow_users_to_access_directory) + { + $this->container['allow_users_to_access_directory'] = $allow_users_to_access_directory; + + return $this; + } + + /** + * Gets allow_users_to_access_directory_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowUsersToAccessDirectoryMetadata() + { + return $this->container['allow_users_to_access_directory_metadata']; + } + + /** + * Sets allow_users_to_access_directory_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_users_to_access_directory_metadata + * @return $this + */ + public function setAllowUsersToAccessDirectoryMetadata($allow_users_to_access_directory_metadata) + { + $this->container['allow_users_to_access_directory_metadata'] = $allow_users_to_access_directory_metadata; + + return $this; + } + + /** + * Gets allow_value_insights + * @return string + */ + public function getAllowValueInsights() + { + return $this->container['allow_value_insights']; + } + + /** + * Sets allow_value_insights + * @param string $allow_value_insights + * @return $this + */ + public function setAllowValueInsights($allow_value_insights) + { + $this->container['allow_value_insights'] = $allow_value_insights; + + return $this; + } + + /** + * Gets allow_value_insights_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getAllowValueInsightsMetadata() + { + return $this->container['allow_value_insights_metadata']; + } + + /** + * Sets allow_value_insights_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $allow_value_insights_metadata + * @return $this + */ + public function setAllowValueInsightsMetadata($allow_value_insights_metadata) + { + $this->container['allow_value_insights_metadata'] = $allow_value_insights_metadata; + + return $this; + } + /** * Gets anchor_population_scope * @return string @@ -5594,7 +5914,7 @@ public function getAttachCompletedEnvelope() /** * Sets attach_completed_envelope - * @param string $attach_completed_envelope When set to **true**, envelope documents are included as a PDF file attachment for signing completed emails. Permission required: Admin + * @param string $attach_completed_envelope * @return $this */ public function setAttachCompletedEnvelope($attach_completed_envelope) @@ -5678,7 +5998,7 @@ public function getAutoNavRule() /** * Sets auto_nav_rule - * @param string $auto_nav_rule Specifies the auto-navigation rule for the account. Enumeration values are: Off, RequiredFields, RequiredAndBlankFields, AllFields, PageThenRequiredFields, PageThenRequiredAndBlankFields, PageThenAllFields. Permission required: Admin + * @param string $auto_nav_rule * @return $this */ public function setAutoNavRule($auto_nav_rule) @@ -5898,6 +6218,48 @@ public function setBulkSend($bulk_send) return $this; } + /** + * Gets bulk_send_max_copies_in_batch + * @return string + */ + public function getBulkSendMaxCopiesInBatch() + { + return $this->container['bulk_send_max_copies_in_batch']; + } + + /** + * Sets bulk_send_max_copies_in_batch + * @param string $bulk_send_max_copies_in_batch + * @return $this + */ + public function setBulkSendMaxCopiesInBatch($bulk_send_max_copies_in_batch) + { + $this->container['bulk_send_max_copies_in_batch'] = $bulk_send_max_copies_in_batch; + + return $this; + } + + /** + * Gets bulk_send_max_unprocessed_envelopes_count + * @return string + */ + public function getBulkSendMaxUnprocessedEnvelopesCount() + { + return $this->container['bulk_send_max_unprocessed_envelopes_count']; + } + + /** + * Sets bulk_send_max_unprocessed_envelopes_count + * @param string $bulk_send_max_unprocessed_envelopes_count + * @return $this + */ + public function setBulkSendMaxUnprocessedEnvelopesCount($bulk_send_max_unprocessed_envelopes_count) + { + $this->container['bulk_send_max_unprocessed_envelopes_count'] = $bulk_send_max_unprocessed_envelopes_count; + + return $this; + } + /** * Gets bulk_send_metadata * @return \DocuSign\eSign\Model\SettingsMetadata @@ -6003,6 +6365,48 @@ public function setCanSelfBrandSignMetadata($can_self_brand_sign_metadata) return $this; } + /** + * Gets can_use_salesforce_o_auth + * @return string + */ + public function getCanUseSalesforceOAuth() + { + return $this->container['can_use_salesforce_o_auth']; + } + + /** + * Sets can_use_salesforce_o_auth + * @param string $can_use_salesforce_o_auth + * @return $this + */ + public function setCanUseSalesforceOAuth($can_use_salesforce_o_auth) + { + $this->container['can_use_salesforce_o_auth'] = $can_use_salesforce_o_auth; + + return $this; + } + + /** + * Gets can_use_salesforce_o_auth_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getCanUseSalesforceOAuthMetadata() + { + return $this->container['can_use_salesforce_o_auth_metadata']; + } + + /** + * Sets can_use_salesforce_o_auth_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $can_use_salesforce_o_auth_metadata + * @return $this + */ + public function setCanUseSalesforceOAuthMetadata($can_use_salesforce_o_auth_metadata) + { + $this->container['can_use_salesforce_o_auth_metadata'] = $can_use_salesforce_o_auth_metadata; + + return $this; + } + /** * Gets capture_voice_recording * @return string @@ -6749,7 +7153,7 @@ public function getDisableUploadSignature() /** * Sets disable_upload_signature - * @param string $disable_upload_signature When set to **true**, signers cannot use the upload signature/initials image option when signing a document. Permission required: Admin + * @param string $disable_upload_signature * @return $this */ public function setDisableUploadSignature($disable_upload_signature) @@ -7305,6 +7709,48 @@ public function setEnableClickwrapsMetadata($enable_clickwraps_metadata) return $this; } + /** + * Gets enable_comments_history_download_in_signing + * @return string + */ + public function getEnableCommentsHistoryDownloadInSigning() + { + return $this->container['enable_comments_history_download_in_signing']; + } + + /** + * Sets enable_comments_history_download_in_signing + * @param string $enable_comments_history_download_in_signing + * @return $this + */ + public function setEnableCommentsHistoryDownloadInSigning($enable_comments_history_download_in_signing) + { + $this->container['enable_comments_history_download_in_signing'] = $enable_comments_history_download_in_signing; + + return $this; + } + + /** + * Gets enable_comments_history_download_in_signing_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getEnableCommentsHistoryDownloadInSigningMetadata() + { + return $this->container['enable_comments_history_download_in_signing_metadata']; + } + + /** + * Sets enable_comments_history_download_in_signing_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $enable_comments_history_download_in_signing_metadata + * @return $this + */ + public function setEnableCommentsHistoryDownloadInSigningMetadata($enable_comments_history_download_in_signing_metadata) + { + $this->container['enable_comments_history_download_in_signing_metadata'] = $enable_comments_history_download_in_signing_metadata; + + return $this; + } + /** * Gets enable_customer_satisfaction_metric_tracking * @return string @@ -7473,6 +7919,48 @@ public function setEnableEnvelopeStampingByDsAdminMetadata($enable_envelope_stam return $this; } + /** + * Gets enable_in_browser_editor + * @return string + */ + public function getEnableInBrowserEditor() + { + return $this->container['enable_in_browser_editor']; + } + + /** + * Sets enable_in_browser_editor + * @param string $enable_in_browser_editor + * @return $this + */ + public function setEnableInBrowserEditor($enable_in_browser_editor) + { + $this->container['enable_in_browser_editor'] = $enable_in_browser_editor; + + return $this; + } + + /** + * Gets enable_in_browser_editor_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getEnableInBrowserEditorMetadata() + { + return $this->container['enable_in_browser_editor_metadata']; + } + + /** + * Sets enable_in_browser_editor_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $enable_in_browser_editor_metadata + * @return $this + */ + public function setEnableInBrowserEditorMetadata($enable_in_browser_editor_metadata) + { + $this->container['enable_in_browser_editor_metadata'] = $enable_in_browser_editor_metadata; + + return $this; + } + /** * Gets enable_payment_processing * @return string @@ -7851,6 +8339,48 @@ public function setEnableScheduledReleaseMetadata($enable_scheduled_release_meta return $this; } + /** + * Gets enable_search_ui + * @return string + */ + public function getEnableSearchUi() + { + return $this->container['enable_search_ui']; + } + + /** + * Sets enable_search_ui + * @param string $enable_search_ui + * @return $this + */ + public function setEnableSearchUi($enable_search_ui) + { + $this->container['enable_search_ui'] = $enable_search_ui; + + return $this; + } + + /** + * Gets enable_search_ui_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getEnableSearchUiMetadata() + { + return $this->container['enable_search_ui_metadata']; + } + + /** + * Sets enable_search_ui_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $enable_search_ui_metadata + * @return $this + */ + public function setEnableSearchUiMetadata($enable_search_ui_metadata) + { + $this->container['enable_search_ui_metadata'] = $enable_search_ui_metadata; + + return $this; + } + /** * Gets enable_sending_tags_font_settings * @return string @@ -12429,6 +12959,48 @@ public function setUseDocuSignExpressSignerCertificateMetadata($use_docu_sign_ex return $this; } + /** + * Gets use_multi_app_groups_data + * @return string + */ + public function getUseMultiAppGroupsData() + { + return $this->container['use_multi_app_groups_data']; + } + + /** + * Sets use_multi_app_groups_data + * @param string $use_multi_app_groups_data + * @return $this + */ + public function setUseMultiAppGroupsData($use_multi_app_groups_data) + { + $this->container['use_multi_app_groups_data'] = $use_multi_app_groups_data; + + return $this; + } + + /** + * Gets use_multi_app_groups_data_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getUseMultiAppGroupsDataMetadata() + { + return $this->container['use_multi_app_groups_data_metadata']; + } + + /** + * Sets use_multi_app_groups_data_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $use_multi_app_groups_data_metadata + * @return $this + */ + public function setUseMultiAppGroupsDataMetadata($use_multi_app_groups_data_metadata) + { + $this->container['use_multi_app_groups_data_metadata'] = $use_multi_app_groups_data_metadata; + + return $this; + } + /** * Gets use_new_blob_for_pdf * @return string diff --git a/src/Model/AccountUISettings.php b/src/Model/AccountUISettings.php index 52e2a84b..f2bb8eff 100644 --- a/src/Model/AccountUISettings.php +++ b/src/Model/AccountUISettings.php @@ -54,10 +54,16 @@ class AccountUISettings implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'admin_message' => '\DocuSign\eSign\Model\AdminMessage', + 'ask_an_admin' => '\DocuSign\eSign\Model\AskAnAdmin', + 'enable_admin_message' => 'string', + 'enable_admin_message_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_easy_sign_can_use_multi_template_apply' => 'string', 'enable_easy_sign_can_use_multi_template_apply_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'enable_easy_sign_template_upload' => 'string', 'enable_easy_sign_template_upload_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'enable_envelope_copy_with_data' => 'string', + 'enable_envelope_copy_with_data_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'hide_send_an_envelope' => 'string', 'hide_send_an_envelope_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'hide_use_a_template' => 'string', @@ -69,7 +75,9 @@ class AccountUISettings implements ArrayAccess 'remove_envelope_forwarding' => 'string', 'remove_envelope_forwarding_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'should_redact_access_code' => 'string', - 'should_redact_access_code_metadata' => '\DocuSign\eSign\Model\SettingsMetadata' + 'should_redact_access_code_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'upload_new_image_to_sign_or_initial' => 'string', + 'upload_new_image_to_sign_or_initial_metadata' => '\DocuSign\eSign\Model\SettingsMetadata' ]; public static function swaggerTypes() @@ -82,10 +90,16 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'admin_message' => 'adminMessage', + 'ask_an_admin' => 'askAnAdmin', + 'enable_admin_message' => 'enableAdminMessage', + 'enable_admin_message_metadata' => 'enableAdminMessageMetadata', 'enable_easy_sign_can_use_multi_template_apply' => 'enableEasySignCanUseMultiTemplateApply', 'enable_easy_sign_can_use_multi_template_apply_metadata' => 'enableEasySignCanUseMultiTemplateApplyMetadata', 'enable_easy_sign_template_upload' => 'enableEasySignTemplateUpload', 'enable_easy_sign_template_upload_metadata' => 'enableEasySignTemplateUploadMetadata', + 'enable_envelope_copy_with_data' => 'enableEnvelopeCopyWithData', + 'enable_envelope_copy_with_data_metadata' => 'enableEnvelopeCopyWithDataMetadata', 'hide_send_an_envelope' => 'hideSendAnEnvelope', 'hide_send_an_envelope_metadata' => 'hideSendAnEnvelopeMetadata', 'hide_use_a_template' => 'hideUseATemplate', @@ -97,7 +111,9 @@ public static function swaggerTypes() 'remove_envelope_forwarding' => 'removeEnvelopeForwarding', 'remove_envelope_forwarding_metadata' => 'removeEnvelopeForwardingMetadata', 'should_redact_access_code' => 'shouldRedactAccessCode', - 'should_redact_access_code_metadata' => 'shouldRedactAccessCodeMetadata' + 'should_redact_access_code_metadata' => 'shouldRedactAccessCodeMetadata', + 'upload_new_image_to_sign_or_initial' => 'uploadNewImageToSignOrInitial', + 'upload_new_image_to_sign_or_initial_metadata' => 'uploadNewImageToSignOrInitialMetadata' ]; @@ -106,10 +122,16 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'admin_message' => 'setAdminMessage', + 'ask_an_admin' => 'setAskAnAdmin', + 'enable_admin_message' => 'setEnableAdminMessage', + 'enable_admin_message_metadata' => 'setEnableAdminMessageMetadata', 'enable_easy_sign_can_use_multi_template_apply' => 'setEnableEasySignCanUseMultiTemplateApply', 'enable_easy_sign_can_use_multi_template_apply_metadata' => 'setEnableEasySignCanUseMultiTemplateApplyMetadata', 'enable_easy_sign_template_upload' => 'setEnableEasySignTemplateUpload', 'enable_easy_sign_template_upload_metadata' => 'setEnableEasySignTemplateUploadMetadata', + 'enable_envelope_copy_with_data' => 'setEnableEnvelopeCopyWithData', + 'enable_envelope_copy_with_data_metadata' => 'setEnableEnvelopeCopyWithDataMetadata', 'hide_send_an_envelope' => 'setHideSendAnEnvelope', 'hide_send_an_envelope_metadata' => 'setHideSendAnEnvelopeMetadata', 'hide_use_a_template' => 'setHideUseATemplate', @@ -121,7 +143,9 @@ public static function swaggerTypes() 'remove_envelope_forwarding' => 'setRemoveEnvelopeForwarding', 'remove_envelope_forwarding_metadata' => 'setRemoveEnvelopeForwardingMetadata', 'should_redact_access_code' => 'setShouldRedactAccessCode', - 'should_redact_access_code_metadata' => 'setShouldRedactAccessCodeMetadata' + 'should_redact_access_code_metadata' => 'setShouldRedactAccessCodeMetadata', + 'upload_new_image_to_sign_or_initial' => 'setUploadNewImageToSignOrInitial', + 'upload_new_image_to_sign_or_initial_metadata' => 'setUploadNewImageToSignOrInitialMetadata' ]; @@ -130,10 +154,16 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'admin_message' => 'getAdminMessage', + 'ask_an_admin' => 'getAskAnAdmin', + 'enable_admin_message' => 'getEnableAdminMessage', + 'enable_admin_message_metadata' => 'getEnableAdminMessageMetadata', 'enable_easy_sign_can_use_multi_template_apply' => 'getEnableEasySignCanUseMultiTemplateApply', 'enable_easy_sign_can_use_multi_template_apply_metadata' => 'getEnableEasySignCanUseMultiTemplateApplyMetadata', 'enable_easy_sign_template_upload' => 'getEnableEasySignTemplateUpload', 'enable_easy_sign_template_upload_metadata' => 'getEnableEasySignTemplateUploadMetadata', + 'enable_envelope_copy_with_data' => 'getEnableEnvelopeCopyWithData', + 'enable_envelope_copy_with_data_metadata' => 'getEnableEnvelopeCopyWithDataMetadata', 'hide_send_an_envelope' => 'getHideSendAnEnvelope', 'hide_send_an_envelope_metadata' => 'getHideSendAnEnvelopeMetadata', 'hide_use_a_template' => 'getHideUseATemplate', @@ -145,7 +175,9 @@ public static function swaggerTypes() 'remove_envelope_forwarding' => 'getRemoveEnvelopeForwarding', 'remove_envelope_forwarding_metadata' => 'getRemoveEnvelopeForwardingMetadata', 'should_redact_access_code' => 'getShouldRedactAccessCode', - 'should_redact_access_code_metadata' => 'getShouldRedactAccessCodeMetadata' + 'should_redact_access_code_metadata' => 'getShouldRedactAccessCodeMetadata', + 'upload_new_image_to_sign_or_initial' => 'getUploadNewImageToSignOrInitial', + 'upload_new_image_to_sign_or_initial_metadata' => 'getUploadNewImageToSignOrInitialMetadata' ]; public static function attributeMap() @@ -179,10 +211,16 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['admin_message'] = isset($data['admin_message']) ? $data['admin_message'] : null; + $this->container['ask_an_admin'] = isset($data['ask_an_admin']) ? $data['ask_an_admin'] : null; + $this->container['enable_admin_message'] = isset($data['enable_admin_message']) ? $data['enable_admin_message'] : null; + $this->container['enable_admin_message_metadata'] = isset($data['enable_admin_message_metadata']) ? $data['enable_admin_message_metadata'] : null; $this->container['enable_easy_sign_can_use_multi_template_apply'] = isset($data['enable_easy_sign_can_use_multi_template_apply']) ? $data['enable_easy_sign_can_use_multi_template_apply'] : null; $this->container['enable_easy_sign_can_use_multi_template_apply_metadata'] = isset($data['enable_easy_sign_can_use_multi_template_apply_metadata']) ? $data['enable_easy_sign_can_use_multi_template_apply_metadata'] : null; $this->container['enable_easy_sign_template_upload'] = isset($data['enable_easy_sign_template_upload']) ? $data['enable_easy_sign_template_upload'] : null; $this->container['enable_easy_sign_template_upload_metadata'] = isset($data['enable_easy_sign_template_upload_metadata']) ? $data['enable_easy_sign_template_upload_metadata'] : null; + $this->container['enable_envelope_copy_with_data'] = isset($data['enable_envelope_copy_with_data']) ? $data['enable_envelope_copy_with_data'] : null; + $this->container['enable_envelope_copy_with_data_metadata'] = isset($data['enable_envelope_copy_with_data_metadata']) ? $data['enable_envelope_copy_with_data_metadata'] : null; $this->container['hide_send_an_envelope'] = isset($data['hide_send_an_envelope']) ? $data['hide_send_an_envelope'] : null; $this->container['hide_send_an_envelope_metadata'] = isset($data['hide_send_an_envelope_metadata']) ? $data['hide_send_an_envelope_metadata'] : null; $this->container['hide_use_a_template'] = isset($data['hide_use_a_template']) ? $data['hide_use_a_template'] : null; @@ -195,6 +233,8 @@ public function __construct(array $data = null) $this->container['remove_envelope_forwarding_metadata'] = isset($data['remove_envelope_forwarding_metadata']) ? $data['remove_envelope_forwarding_metadata'] : null; $this->container['should_redact_access_code'] = isset($data['should_redact_access_code']) ? $data['should_redact_access_code'] : null; $this->container['should_redact_access_code_metadata'] = isset($data['should_redact_access_code_metadata']) ? $data['should_redact_access_code_metadata'] : null; + $this->container['upload_new_image_to_sign_or_initial'] = isset($data['upload_new_image_to_sign_or_initial']) ? $data['upload_new_image_to_sign_or_initial'] : null; + $this->container['upload_new_image_to_sign_or_initial_metadata'] = isset($data['upload_new_image_to_sign_or_initial_metadata']) ? $data['upload_new_image_to_sign_or_initial_metadata'] : null; } /** @@ -220,6 +260,90 @@ public function valid() } + /** + * Gets admin_message + * @return \DocuSign\eSign\Model\AdminMessage + */ + public function getAdminMessage() + { + return $this->container['admin_message']; + } + + /** + * Sets admin_message + * @param \DocuSign\eSign\Model\AdminMessage $admin_message + * @return $this + */ + public function setAdminMessage($admin_message) + { + $this->container['admin_message'] = $admin_message; + + return $this; + } + + /** + * Gets ask_an_admin + * @return \DocuSign\eSign\Model\AskAnAdmin + */ + public function getAskAnAdmin() + { + return $this->container['ask_an_admin']; + } + + /** + * Sets ask_an_admin + * @param \DocuSign\eSign\Model\AskAnAdmin $ask_an_admin + * @return $this + */ + public function setAskAnAdmin($ask_an_admin) + { + $this->container['ask_an_admin'] = $ask_an_admin; + + return $this; + } + + /** + * Gets enable_admin_message + * @return string + */ + public function getEnableAdminMessage() + { + return $this->container['enable_admin_message']; + } + + /** + * Sets enable_admin_message + * @param string $enable_admin_message + * @return $this + */ + public function setEnableAdminMessage($enable_admin_message) + { + $this->container['enable_admin_message'] = $enable_admin_message; + + return $this; + } + + /** + * Gets enable_admin_message_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getEnableAdminMessageMetadata() + { + return $this->container['enable_admin_message_metadata']; + } + + /** + * Sets enable_admin_message_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $enable_admin_message_metadata + * @return $this + */ + public function setEnableAdminMessageMetadata($enable_admin_message_metadata) + { + $this->container['enable_admin_message_metadata'] = $enable_admin_message_metadata; + + return $this; + } + /** * Gets enable_easy_sign_can_use_multi_template_apply * @return string @@ -304,6 +428,48 @@ public function setEnableEasySignTemplateUploadMetadata($enable_easy_sign_templa return $this; } + /** + * Gets enable_envelope_copy_with_data + * @return string + */ + public function getEnableEnvelopeCopyWithData() + { + return $this->container['enable_envelope_copy_with_data']; + } + + /** + * Sets enable_envelope_copy_with_data + * @param string $enable_envelope_copy_with_data + * @return $this + */ + public function setEnableEnvelopeCopyWithData($enable_envelope_copy_with_data) + { + $this->container['enable_envelope_copy_with_data'] = $enable_envelope_copy_with_data; + + return $this; + } + + /** + * Gets enable_envelope_copy_with_data_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getEnableEnvelopeCopyWithDataMetadata() + { + return $this->container['enable_envelope_copy_with_data_metadata']; + } + + /** + * Sets enable_envelope_copy_with_data_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $enable_envelope_copy_with_data_metadata + * @return $this + */ + public function setEnableEnvelopeCopyWithDataMetadata($enable_envelope_copy_with_data_metadata) + { + $this->container['enable_envelope_copy_with_data_metadata'] = $enable_envelope_copy_with_data_metadata; + + return $this; + } + /** * Gets hide_send_an_envelope * @return string @@ -555,6 +721,48 @@ public function setShouldRedactAccessCodeMetadata($should_redact_access_code_met return $this; } + + /** + * Gets upload_new_image_to_sign_or_initial + * @return string + */ + public function getUploadNewImageToSignOrInitial() + { + return $this->container['upload_new_image_to_sign_or_initial']; + } + + /** + * Sets upload_new_image_to_sign_or_initial + * @param string $upload_new_image_to_sign_or_initial + * @return $this + */ + public function setUploadNewImageToSignOrInitial($upload_new_image_to_sign_or_initial) + { + $this->container['upload_new_image_to_sign_or_initial'] = $upload_new_image_to_sign_or_initial; + + return $this; + } + + /** + * Gets upload_new_image_to_sign_or_initial_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getUploadNewImageToSignOrInitialMetadata() + { + return $this->container['upload_new_image_to_sign_or_initial_metadata']; + } + + /** + * Sets upload_new_image_to_sign_or_initial_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $upload_new_image_to_sign_or_initial_metadata + * @return $this + */ + public function setUploadNewImageToSignOrInitialMetadata($upload_new_image_to_sign_or_initial_metadata) + { + $this->container['upload_new_image_to_sign_or_initial_metadata'] = $upload_new_image_to_sign_or_initial_metadata; + + return $this; + } /** * Returns true if offset exists. False otherwise. * @param integer $offset Offset diff --git a/src/Model/AdminMessage.php b/src/Model/AdminMessage.php new file mode 100644 index 00000000..392e4c11 --- /dev/null +++ b/src/Model/AdminMessage.php @@ -0,0 +1,253 @@ + 'string', + 'more_information' => '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 = [ + 'base_message' => 'baseMessage', + 'more_information' => 'moreInformation' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'base_message' => 'setBaseMessage', + 'more_information' => 'setMoreInformation' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'base_message' => 'getBaseMessage', + 'more_information' => 'getMoreInformation' + ]; + + 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['base_message'] = isset($data['base_message']) ? $data['base_message'] : null; + $this->container['more_information'] = isset($data['more_information']) ? $data['more_information'] : 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 base_message + * @return string + */ + public function getBaseMessage() + { + return $this->container['base_message']; + } + + /** + * Sets base_message + * @param string $base_message + * @return $this + */ + public function setBaseMessage($base_message) + { + $this->container['base_message'] = $base_message; + + return $this; + } + + /** + * Gets more_information + * @return string + */ + public function getMoreInformation() + { + return $this->container['more_information']; + } + + /** + * Sets more_information + * @param string $more_information + * @return $this + */ + public function setMoreInformation($more_information) + { + $this->container['more_information'] = $more_information; + + 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/Agent.php b/src/Model/Agent.php index e6961169..ecf63d9a 100644 --- a/src/Model/Agent.php +++ b/src/Model/Agent.php @@ -58,6 +58,7 @@ class Agent implements ArrayAccess 'access_code' => 'string', 'access_code_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'add_access_code_to_email' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'client_user_id' => 'string', 'completed_count' => 'string', 'custom_fields' => 'string[]', @@ -66,6 +67,8 @@ class Agent implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -134,6 +137,7 @@ public static function swaggerTypes() 'access_code' => 'accessCode', 'access_code_metadata' => 'accessCodeMetadata', 'add_access_code_to_email' => 'addAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', 'custom_fields' => 'customFields', @@ -142,6 +146,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -206,6 +212,7 @@ public static function swaggerTypes() 'access_code' => 'setAccessCode', 'access_code_metadata' => 'setAccessCodeMetadata', 'add_access_code_to_email' => 'setAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', 'custom_fields' => 'setCustomFields', @@ -214,6 +221,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -278,6 +287,7 @@ public static function swaggerTypes() 'access_code' => 'getAccessCode', 'access_code_metadata' => 'getAccessCodeMetadata', 'add_access_code_to_email' => 'getAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', 'custom_fields' => 'getCustomFields', @@ -286,6 +296,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -375,6 +387,7 @@ public function __construct(array $data = null) $this->container['access_code'] = isset($data['access_code']) ? $data['access_code'] : null; $this->container['access_code_metadata'] = isset($data['access_code_metadata']) ? $data['access_code_metadata'] : null; $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; @@ -383,6 +396,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -524,6 +539,27 @@ public function setAddAccessCodeToEmail($add_access_code_to_email) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets client_user_id * @return string @@ -692,6 +728,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] diff --git a/src/Model/Approve.php b/src/Model/Approve.php index 62600e79..efccd76c 100644 --- a/src/Model/Approve.php +++ b/src/Model/Approve.php @@ -54,6 +54,8 @@ class Approve implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -110,6 +112,7 @@ class Approve implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -148,6 +151,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -204,6 +209,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -238,6 +244,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -294,6 +302,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -328,6 +337,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -384,6 +395,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -443,6 +455,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -499,6 +513,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -550,6 +565,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1726,6 +1783,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/AskAnAdmin.php b/src/Model/AskAnAdmin.php new file mode 100644 index 00000000..2f503ccb --- /dev/null +++ b/src/Model/AskAnAdmin.php @@ -0,0 +1,305 @@ + 'string', + 'message' => 'string', + 'name' => 'string', + 'phone' => '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 = [ + 'email' => 'email', + 'message' => 'message', + 'name' => 'name', + 'phone' => 'phone' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'email' => 'setEmail', + 'message' => 'setMessage', + 'name' => 'setName', + 'phone' => 'setPhone' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'email' => 'getEmail', + 'message' => 'getMessage', + 'name' => 'getName', + 'phone' => 'getPhone' + ]; + + 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['email'] = isset($data['email']) ? $data['email'] : null; + $this->container['message'] = isset($data['message']) ? $data['message'] : null; + $this->container['name'] = isset($data['name']) ? $data['name'] : null; + $this->container['phone'] = isset($data['phone']) ? $data['phone'] : 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 email + * @return string + */ + public function getEmail() + { + return $this->container['email']; + } + + /** + * Sets email + * @param string $email + * @return $this + */ + public function setEmail($email) + { + $this->container['email'] = $email; + + return $this; + } + + /** + * Gets message + * @return string + */ + public function getMessage() + { + return $this->container['message']; + } + + /** + * Sets message + * @param string $message + * @return $this + */ + public function setMessage($message) + { + $this->container['message'] = $message; + + return $this; + } + + /** + * 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 + * @return string + */ + public function getPhone() + { + return $this->container['phone']; + } + + /** + * Sets phone + * @param string $phone + * @return $this + */ + public function setPhone($phone) + { + $this->container['phone'] = $phone; + + 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/CarbonCopy.php b/src/Model/CarbonCopy.php index ff04e6ef..b9132939 100644 --- a/src/Model/CarbonCopy.php +++ b/src/Model/CarbonCopy.php @@ -59,6 +59,7 @@ class CarbonCopy implements ArrayAccess 'add_access_code_to_email' => 'string', 'agent_can_edit_email' => 'string', 'agent_can_edit_name' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'client_user_id' => 'string', 'completed_count' => 'string', 'custom_fields' => 'string[]', @@ -67,6 +68,8 @@ class CarbonCopy implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -83,6 +86,7 @@ class CarbonCopy implements ArrayAccess 'id_check_configuration_name' => 'string', 'id_check_configuration_name_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'id_check_information_input' => '\DocuSign\eSign\Model\IdCheckInformationInput', + 'identity_verification' => '\DocuSign\eSign\Model\RecipientIdentityVerification', 'inherit_email_notification_configuration' => 'string', 'last_name' => 'string', 'last_name_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -93,6 +97,7 @@ class CarbonCopy implements ArrayAccess 'note' => 'string', 'note_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', '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_feature_metadata' => '\DocuSign\eSign\Model\FeatureAvailableMetadata[]', @@ -138,6 +143,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'addAccessCodeToEmail', 'agent_can_edit_email' => 'agentCanEditEmail', 'agent_can_edit_name' => 'agentCanEditName', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', 'custom_fields' => 'customFields', @@ -146,6 +152,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -162,6 +170,7 @@ public static function swaggerTypes() 'id_check_configuration_name' => 'idCheckConfigurationName', 'id_check_configuration_name_metadata' => 'idCheckConfigurationNameMetadata', 'id_check_information_input' => 'idCheckInformationInput', + 'identity_verification' => 'identityVerification', 'inherit_email_notification_configuration' => 'inheritEmailNotificationConfiguration', 'last_name' => 'lastName', 'last_name_metadata' => 'lastNameMetadata', @@ -172,6 +181,7 @@ public static function swaggerTypes() 'note' => 'note', 'note_metadata' => 'noteMetadata', 'phone_authentication' => 'phoneAuthentication', + 'proof_file' => 'proofFile', 'recipient_attachments' => 'recipientAttachments', 'recipient_authentication_status' => 'recipientAuthenticationStatus', 'recipient_feature_metadata' => 'recipientFeatureMetadata', @@ -213,6 +223,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'setAddAccessCodeToEmail', 'agent_can_edit_email' => 'setAgentCanEditEmail', 'agent_can_edit_name' => 'setAgentCanEditName', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', 'custom_fields' => 'setCustomFields', @@ -221,6 +232,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -237,6 +250,7 @@ public static function swaggerTypes() 'id_check_configuration_name' => 'setIdCheckConfigurationName', 'id_check_configuration_name_metadata' => 'setIdCheckConfigurationNameMetadata', 'id_check_information_input' => 'setIdCheckInformationInput', + 'identity_verification' => 'setIdentityVerification', 'inherit_email_notification_configuration' => 'setInheritEmailNotificationConfiguration', 'last_name' => 'setLastName', 'last_name_metadata' => 'setLastNameMetadata', @@ -247,6 +261,7 @@ public static function swaggerTypes() 'note' => 'setNote', 'note_metadata' => 'setNoteMetadata', 'phone_authentication' => 'setPhoneAuthentication', + 'proof_file' => 'setProofFile', 'recipient_attachments' => 'setRecipientAttachments', 'recipient_authentication_status' => 'setRecipientAuthenticationStatus', 'recipient_feature_metadata' => 'setRecipientFeatureMetadata', @@ -288,6 +303,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'getAddAccessCodeToEmail', 'agent_can_edit_email' => 'getAgentCanEditEmail', 'agent_can_edit_name' => 'getAgentCanEditName', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', 'custom_fields' => 'getCustomFields', @@ -296,6 +312,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -312,6 +330,7 @@ public static function swaggerTypes() 'id_check_configuration_name' => 'getIdCheckConfigurationName', 'id_check_configuration_name_metadata' => 'getIdCheckConfigurationNameMetadata', 'id_check_information_input' => 'getIdCheckInformationInput', + 'identity_verification' => 'getIdentityVerification', 'inherit_email_notification_configuration' => 'getInheritEmailNotificationConfiguration', 'last_name' => 'getLastName', 'last_name_metadata' => 'getLastNameMetadata', @@ -322,6 +341,7 @@ public static function swaggerTypes() 'note' => 'getNote', 'note_metadata' => 'getNoteMetadata', 'phone_authentication' => 'getPhoneAuthentication', + 'proof_file' => 'getProofFile', 'recipient_attachments' => 'getRecipientAttachments', 'recipient_authentication_status' => 'getRecipientAuthenticationStatus', 'recipient_feature_metadata' => 'getRecipientFeatureMetadata', @@ -388,6 +408,7 @@ public function __construct(array $data = null) $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; $this->container['agent_can_edit_email'] = isset($data['agent_can_edit_email']) ? $data['agent_can_edit_email'] : null; $this->container['agent_can_edit_name'] = isset($data['agent_can_edit_name']) ? $data['agent_can_edit_name'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; @@ -396,6 +417,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -412,6 +435,7 @@ public function __construct(array $data = null) $this->container['id_check_configuration_name'] = isset($data['id_check_configuration_name']) ? $data['id_check_configuration_name'] : null; $this->container['id_check_configuration_name_metadata'] = isset($data['id_check_configuration_name_metadata']) ? $data['id_check_configuration_name_metadata'] : 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['last_name_metadata'] = isset($data['last_name_metadata']) ? $data['last_name_metadata'] : null; @@ -422,6 +446,7 @@ public function __construct(array $data = null) $this->container['note'] = isset($data['note']) ? $data['note'] : null; $this->container['note_metadata'] = isset($data['note_metadata']) ? $data['note_metadata'] : 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_feature_metadata'] = isset($data['recipient_feature_metadata']) ? $data['recipient_feature_metadata'] : null; @@ -580,6 +605,27 @@ public function setAgentCanEditName($agent_can_edit_name) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets client_user_id * @return string @@ -748,6 +794,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] @@ -1084,6 +1172,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 @@ -1294,6 +1403,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 d78102ce..23627e4d 100644 --- a/src/Model/CertifiedDelivery.php +++ b/src/Model/CertifiedDelivery.php @@ -59,6 +59,7 @@ class CertifiedDelivery implements ArrayAccess 'add_access_code_to_email' => 'string', 'agent_can_edit_email' => 'string', 'agent_can_edit_name' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'client_user_id' => 'string', 'completed_count' => 'string', 'custom_fields' => 'string[]', @@ -67,6 +68,8 @@ class CertifiedDelivery implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -83,6 +86,7 @@ class CertifiedDelivery implements ArrayAccess 'id_check_configuration_name' => 'string', 'id_check_configuration_name_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'id_check_information_input' => '\DocuSign\eSign\Model\IdCheckInformationInput', + 'identity_verification' => '\DocuSign\eSign\Model\RecipientIdentityVerification', 'inherit_email_notification_configuration' => 'string', 'last_name' => 'string', 'last_name_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -93,6 +97,7 @@ class CertifiedDelivery implements ArrayAccess 'note' => 'string', 'note_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', '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_feature_metadata' => '\DocuSign\eSign\Model\FeatureAvailableMetadata[]', @@ -137,6 +142,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'addAccessCodeToEmail', 'agent_can_edit_email' => 'agentCanEditEmail', 'agent_can_edit_name' => 'agentCanEditName', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', 'custom_fields' => 'customFields', @@ -145,6 +151,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -161,6 +169,7 @@ public static function swaggerTypes() 'id_check_configuration_name' => 'idCheckConfigurationName', 'id_check_configuration_name_metadata' => 'idCheckConfigurationNameMetadata', 'id_check_information_input' => 'idCheckInformationInput', + 'identity_verification' => 'identityVerification', 'inherit_email_notification_configuration' => 'inheritEmailNotificationConfiguration', 'last_name' => 'lastName', 'last_name_metadata' => 'lastNameMetadata', @@ -171,6 +180,7 @@ public static function swaggerTypes() 'note' => 'note', 'note_metadata' => 'noteMetadata', 'phone_authentication' => 'phoneAuthentication', + 'proof_file' => 'proofFile', 'recipient_attachments' => 'recipientAttachments', 'recipient_authentication_status' => 'recipientAuthenticationStatus', 'recipient_feature_metadata' => 'recipientFeatureMetadata', @@ -211,6 +221,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'setAddAccessCodeToEmail', 'agent_can_edit_email' => 'setAgentCanEditEmail', 'agent_can_edit_name' => 'setAgentCanEditName', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', 'custom_fields' => 'setCustomFields', @@ -219,6 +230,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -235,6 +248,7 @@ public static function swaggerTypes() 'id_check_configuration_name' => 'setIdCheckConfigurationName', 'id_check_configuration_name_metadata' => 'setIdCheckConfigurationNameMetadata', 'id_check_information_input' => 'setIdCheckInformationInput', + 'identity_verification' => 'setIdentityVerification', 'inherit_email_notification_configuration' => 'setInheritEmailNotificationConfiguration', 'last_name' => 'setLastName', 'last_name_metadata' => 'setLastNameMetadata', @@ -245,6 +259,7 @@ public static function swaggerTypes() 'note' => 'setNote', 'note_metadata' => 'setNoteMetadata', 'phone_authentication' => 'setPhoneAuthentication', + 'proof_file' => 'setProofFile', 'recipient_attachments' => 'setRecipientAttachments', 'recipient_authentication_status' => 'setRecipientAuthenticationStatus', 'recipient_feature_metadata' => 'setRecipientFeatureMetadata', @@ -285,6 +300,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'getAddAccessCodeToEmail', 'agent_can_edit_email' => 'getAgentCanEditEmail', 'agent_can_edit_name' => 'getAgentCanEditName', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', 'custom_fields' => 'getCustomFields', @@ -293,6 +309,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -309,6 +327,7 @@ public static function swaggerTypes() 'id_check_configuration_name' => 'getIdCheckConfigurationName', 'id_check_configuration_name_metadata' => 'getIdCheckConfigurationNameMetadata', 'id_check_information_input' => 'getIdCheckInformationInput', + 'identity_verification' => 'getIdentityVerification', 'inherit_email_notification_configuration' => 'getInheritEmailNotificationConfiguration', 'last_name' => 'getLastName', 'last_name_metadata' => 'getLastNameMetadata', @@ -319,6 +338,7 @@ public static function swaggerTypes() 'note' => 'getNote', 'note_metadata' => 'getNoteMetadata', 'phone_authentication' => 'getPhoneAuthentication', + 'proof_file' => 'getProofFile', 'recipient_attachments' => 'getRecipientAttachments', 'recipient_authentication_status' => 'getRecipientAuthenticationStatus', 'recipient_feature_metadata' => 'getRecipientFeatureMetadata', @@ -384,6 +404,7 @@ public function __construct(array $data = null) $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; $this->container['agent_can_edit_email'] = isset($data['agent_can_edit_email']) ? $data['agent_can_edit_email'] : null; $this->container['agent_can_edit_name'] = isset($data['agent_can_edit_name']) ? $data['agent_can_edit_name'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; @@ -392,6 +413,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -408,6 +431,7 @@ public function __construct(array $data = null) $this->container['id_check_configuration_name'] = isset($data['id_check_configuration_name']) ? $data['id_check_configuration_name'] : null; $this->container['id_check_configuration_name_metadata'] = isset($data['id_check_configuration_name_metadata']) ? $data['id_check_configuration_name_metadata'] : 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['last_name_metadata'] = isset($data['last_name_metadata']) ? $data['last_name_metadata'] : null; @@ -418,6 +442,7 @@ public function __construct(array $data = null) $this->container['note'] = isset($data['note']) ? $data['note'] : null; $this->container['note_metadata'] = isset($data['note_metadata']) ? $data['note_metadata'] : 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_feature_metadata'] = isset($data['recipient_feature_metadata']) ? $data['recipient_feature_metadata'] : null; @@ -575,6 +600,27 @@ public function setAgentCanEditName($agent_can_edit_name) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets client_user_id * @return string @@ -743,6 +789,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] @@ -1079,6 +1167,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 @@ -1289,6 +1398,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/Checkbox.php b/src/Model/Checkbox.php index 02b29a4f..b7578d62 100644 --- a/src/Model/Checkbox.php +++ b/src/Model/Checkbox.php @@ -54,6 +54,8 @@ class Checkbox implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -119,6 +121,7 @@ class Checkbox implements ArrayAccess 'selected_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -157,6 +160,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -222,6 +227,7 @@ public static function swaggerTypes() 'selected_metadata' => 'selectedMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -256,6 +262,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -321,6 +329,7 @@ public static function swaggerTypes() 'selected_metadata' => 'setSelectedMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -355,6 +364,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -420,6 +431,7 @@ public static function swaggerTypes() 'selected_metadata' => 'getSelectedMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -479,6 +491,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -544,6 +558,7 @@ public function __construct(array $data = null) $this->container['selected_metadata'] = isset($data['selected_metadata']) ? $data['selected_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -595,6 +610,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1960,6 +2017,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/CommentThread.php b/src/Model/CommentThread.php index 42dcf5b3..44aa93c6 100644 --- a/src/Model/CommentThread.php +++ b/src/Model/CommentThread.php @@ -54,6 +54,8 @@ class CommentThread implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -109,6 +111,7 @@ class CommentThread implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -148,6 +151,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -203,6 +208,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -238,6 +244,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -293,6 +301,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -328,6 +337,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -383,6 +394,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -443,6 +455,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -498,6 +512,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -550,6 +565,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1705,6 +1762,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Company.php b/src/Model/Company.php index 249b1785..841201f8 100644 --- a/src/Model/Company.php +++ b/src/Model/Company.php @@ -54,6 +54,8 @@ class Company implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -122,6 +124,7 @@ class Company implements ArrayAccess 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'required' => 'string', 'required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -162,6 +165,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -230,6 +235,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'recipientIdMetadata', 'required' => 'required', 'required_metadata' => 'requiredMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -266,6 +272,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -334,6 +342,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'setRecipientIdMetadata', 'required' => 'setRequired', 'required_metadata' => 'setRequiredMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -370,6 +379,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -438,6 +449,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'getRecipientIdMetadata', 'required' => 'getRequired', 'required_metadata' => 'getRequiredMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -499,6 +511,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -567,6 +581,7 @@ public function __construct(array $data = null) $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; $this->container['required'] = isset($data['required']) ? $data['required'] : null; $this->container['required_metadata'] = isset($data['required_metadata']) ? $data['required_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -620,6 +635,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2048,6 +2105,27 @@ public function setRequiredMetadata($required_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/CompleteSignRequest.php b/src/Model/CompleteSignRequest.php index 97326e96..22537200 100644 --- a/src/Model/CompleteSignRequest.php +++ b/src/Model/CompleteSignRequest.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -54,8 +54,10 @@ class CompleteSignRequest implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'certificate' => 'string', 'correlation_id' => 'string', 'document_update_infos' => '\DocuSign\eSign\Model\DocumentUpdateInfo[]', + 'max_signature_length' => 'string', 'signing_location' => 'string', 'transaction_id' => 'string' ]; @@ -70,8 +72,10 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'certificate' => 'certificate', 'correlation_id' => 'correlationId', 'document_update_infos' => 'documentUpdateInfos', + 'max_signature_length' => 'maxSignatureLength', 'signing_location' => 'signingLocation', 'transaction_id' => 'transactionId' ]; @@ -82,8 +86,10 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'certificate' => 'setCertificate', 'correlation_id' => 'setCorrelationId', 'document_update_infos' => 'setDocumentUpdateInfos', + 'max_signature_length' => 'setMaxSignatureLength', 'signing_location' => 'setSigningLocation', 'transaction_id' => 'setTransactionId' ]; @@ -94,8 +100,10 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'certificate' => 'getCertificate', 'correlation_id' => 'getCorrelationId', 'document_update_infos' => 'getDocumentUpdateInfos', + 'max_signature_length' => 'getMaxSignatureLength', 'signing_location' => 'getSigningLocation', 'transaction_id' => 'getTransactionId' ]; @@ -131,8 +139,10 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['certificate'] = isset($data['certificate']) ? $data['certificate'] : null; $this->container['correlation_id'] = isset($data['correlation_id']) ? $data['correlation_id'] : null; $this->container['document_update_infos'] = isset($data['document_update_infos']) ? $data['document_update_infos'] : null; + $this->container['max_signature_length'] = isset($data['max_signature_length']) ? $data['max_signature_length'] : null; $this->container['signing_location'] = isset($data['signing_location']) ? $data['signing_location'] : null; $this->container['transaction_id'] = isset($data['transaction_id']) ? $data['transaction_id'] : null; } @@ -160,6 +170,27 @@ public function valid() } + /** + * Gets certificate + * @return string + */ + public function getCertificate() + { + return $this->container['certificate']; + } + + /** + * Sets certificate + * @param string $certificate + * @return $this + */ + public function setCertificate($certificate) + { + $this->container['certificate'] = $certificate; + + return $this; + } + /** * Gets correlation_id * @return string @@ -202,6 +233,27 @@ public function setDocumentUpdateInfos($document_update_infos) return $this; } + /** + * Gets max_signature_length + * @return string + */ + public function getMaxSignatureLength() + { + return $this->container['max_signature_length']; + } + + /** + * Sets max_signature_length + * @param string $max_signature_length + * @return $this + */ + public function setMaxSignatureLength($max_signature_length) + { + $this->container['max_signature_length'] = $max_signature_length; + + return $this; + } + /** * Gets signing_location * @return string diff --git a/src/Model/ConnectCustomConfiguration.php b/src/Model/ConnectCustomConfiguration.php index eafe3081..3f071e0a 100644 --- a/src/Model/ConnectCustomConfiguration.php +++ b/src/Model/ConnectCustomConfiguration.php @@ -61,6 +61,7 @@ class ConnectCustomConfiguration implements ArrayAccess 'connect_id' => 'string', 'enable_log' => 'string', 'envelope_events' => 'string[]', + 'event_data' => '\DocuSign\eSign\Model\ConnectEventData', 'external_folder_id' => 'string', 'external_folder_label' => 'string', 'include_certificate_of_completion' => 'string', @@ -76,10 +77,10 @@ class ConnectCustomConfiguration implements ArrayAccess 'recipient_events' => 'string[]', 'require_mutual_tls' => 'string', 'requires_acknowledgement' => 'string', - 'salesforce_access_token' => 'string', 'salesforce_api_version' => 'string', + 'salesforce_authcode' => 'string', + 'salesforce_call_back_url' => 'string', 'salesforce_documents_as_content_files' => 'string', - 'salesforce_refresh_token' => 'string', 'sender_override' => 'string', 'sender_selectable_items' => 'string[]', 'sf_objects' => '\DocuSign\eSign\Model\ConnectSalesforceObject[]', @@ -108,6 +109,7 @@ public static function swaggerTypes() 'connect_id' => 'connectId', 'enable_log' => 'enableLog', 'envelope_events' => 'envelopeEvents', + 'event_data' => 'eventData', 'external_folder_id' => 'externalFolderId', 'external_folder_label' => 'externalFolderLabel', 'include_certificate_of_completion' => 'includeCertificateOfCompletion', @@ -123,10 +125,10 @@ public static function swaggerTypes() 'recipient_events' => 'recipientEvents', 'require_mutual_tls' => 'requireMutualTls', 'requires_acknowledgement' => 'requiresAcknowledgement', - 'salesforce_access_token' => 'salesforceAccessToken', 'salesforce_api_version' => 'salesforceApiVersion', + 'salesforce_authcode' => 'salesforceAuthcode', + 'salesforce_call_back_url' => 'salesforceCallBackUrl', 'salesforce_documents_as_content_files' => 'salesforceDocumentsAsContentFiles', - 'salesforce_refresh_token' => 'salesforceRefreshToken', 'sender_override' => 'senderOverride', 'sender_selectable_items' => 'senderSelectableItems', 'sf_objects' => 'sfObjects', @@ -151,6 +153,7 @@ public static function swaggerTypes() 'connect_id' => 'setConnectId', 'enable_log' => 'setEnableLog', 'envelope_events' => 'setEnvelopeEvents', + 'event_data' => 'setEventData', 'external_folder_id' => 'setExternalFolderId', 'external_folder_label' => 'setExternalFolderLabel', 'include_certificate_of_completion' => 'setIncludeCertificateOfCompletion', @@ -166,10 +169,10 @@ public static function swaggerTypes() 'recipient_events' => 'setRecipientEvents', 'require_mutual_tls' => 'setRequireMutualTls', 'requires_acknowledgement' => 'setRequiresAcknowledgement', - 'salesforce_access_token' => 'setSalesforceAccessToken', 'salesforce_api_version' => 'setSalesforceApiVersion', + 'salesforce_authcode' => 'setSalesforceAuthcode', + 'salesforce_call_back_url' => 'setSalesforceCallBackUrl', 'salesforce_documents_as_content_files' => 'setSalesforceDocumentsAsContentFiles', - 'salesforce_refresh_token' => 'setSalesforceRefreshToken', 'sender_override' => 'setSenderOverride', 'sender_selectable_items' => 'setSenderSelectableItems', 'sf_objects' => 'setSfObjects', @@ -194,6 +197,7 @@ public static function swaggerTypes() 'connect_id' => 'getConnectId', 'enable_log' => 'getEnableLog', 'envelope_events' => 'getEnvelopeEvents', + 'event_data' => 'getEventData', 'external_folder_id' => 'getExternalFolderId', 'external_folder_label' => 'getExternalFolderLabel', 'include_certificate_of_completion' => 'getIncludeCertificateOfCompletion', @@ -209,10 +213,10 @@ public static function swaggerTypes() 'recipient_events' => 'getRecipientEvents', 'require_mutual_tls' => 'getRequireMutualTls', 'requires_acknowledgement' => 'getRequiresAcknowledgement', - 'salesforce_access_token' => 'getSalesforceAccessToken', 'salesforce_api_version' => 'getSalesforceApiVersion', + 'salesforce_authcode' => 'getSalesforceAuthcode', + 'salesforce_call_back_url' => 'getSalesforceCallBackUrl', 'salesforce_documents_as_content_files' => 'getSalesforceDocumentsAsContentFiles', - 'salesforce_refresh_token' => 'getSalesforceRefreshToken', 'sender_override' => 'getSenderOverride', 'sender_selectable_items' => 'getSenderSelectableItems', 'sf_objects' => 'getSfObjects', @@ -262,6 +266,7 @@ public function __construct(array $data = null) $this->container['connect_id'] = isset($data['connect_id']) ? $data['connect_id'] : null; $this->container['enable_log'] = isset($data['enable_log']) ? $data['enable_log'] : null; $this->container['envelope_events'] = isset($data['envelope_events']) ? $data['envelope_events'] : null; + $this->container['event_data'] = isset($data['event_data']) ? $data['event_data'] : null; $this->container['external_folder_id'] = isset($data['external_folder_id']) ? $data['external_folder_id'] : null; $this->container['external_folder_label'] = isset($data['external_folder_label']) ? $data['external_folder_label'] : null; $this->container['include_certificate_of_completion'] = isset($data['include_certificate_of_completion']) ? $data['include_certificate_of_completion'] : null; @@ -277,10 +282,10 @@ public function __construct(array $data = null) $this->container['recipient_events'] = isset($data['recipient_events']) ? $data['recipient_events'] : null; $this->container['require_mutual_tls'] = isset($data['require_mutual_tls']) ? $data['require_mutual_tls'] : null; $this->container['requires_acknowledgement'] = isset($data['requires_acknowledgement']) ? $data['requires_acknowledgement'] : null; - $this->container['salesforce_access_token'] = isset($data['salesforce_access_token']) ? $data['salesforce_access_token'] : null; $this->container['salesforce_api_version'] = isset($data['salesforce_api_version']) ? $data['salesforce_api_version'] : null; + $this->container['salesforce_authcode'] = isset($data['salesforce_authcode']) ? $data['salesforce_authcode'] : null; + $this->container['salesforce_call_back_url'] = isset($data['salesforce_call_back_url']) ? $data['salesforce_call_back_url'] : null; $this->container['salesforce_documents_as_content_files'] = isset($data['salesforce_documents_as_content_files']) ? $data['salesforce_documents_as_content_files'] : null; - $this->container['salesforce_refresh_token'] = isset($data['salesforce_refresh_token']) ? $data['salesforce_refresh_token'] : null; $this->container['sender_override'] = isset($data['sender_override']) ? $data['sender_override'] : null; $this->container['sender_selectable_items'] = isset($data['sender_selectable_items']) ? $data['sender_selectable_items'] : null; $this->container['sf_objects'] = isset($data['sf_objects']) ? $data['sf_objects'] : null; @@ -462,6 +467,27 @@ public function setEnvelopeEvents($envelope_events) return $this; } + /** + * Gets event_data + * @return \DocuSign\eSign\Model\ConnectEventData + */ + public function getEventData() + { + return $this->container['event_data']; + } + + /** + * Sets event_data + * @param \DocuSign\eSign\Model\ConnectEventData $event_data + * @return $this + */ + public function setEventData($event_data) + { + $this->container['event_data'] = $event_data; + + return $this; + } + /** * Gets external_folder_id * @return string @@ -778,85 +804,85 @@ public function setRequiresAcknowledgement($requires_acknowledgement) } /** - * Gets salesforce_access_token + * Gets salesforce_api_version * @return string */ - public function getSalesforceAccessToken() + public function getSalesforceApiVersion() { - return $this->container['salesforce_access_token']; + return $this->container['salesforce_api_version']; } /** - * Sets salesforce_access_token - * @param string $salesforce_access_token + * Sets salesforce_api_version + * @param string $salesforce_api_version * @return $this */ - public function setSalesforceAccessToken($salesforce_access_token) + public function setSalesforceApiVersion($salesforce_api_version) { - $this->container['salesforce_access_token'] = $salesforce_access_token; + $this->container['salesforce_api_version'] = $salesforce_api_version; return $this; } /** - * Gets salesforce_api_version + * Gets salesforce_authcode * @return string */ - public function getSalesforceApiVersion() + public function getSalesforceAuthcode() { - return $this->container['salesforce_api_version']; + return $this->container['salesforce_authcode']; } /** - * Sets salesforce_api_version - * @param string $salesforce_api_version + * Sets salesforce_authcode + * @param string $salesforce_authcode * @return $this */ - public function setSalesforceApiVersion($salesforce_api_version) + public function setSalesforceAuthcode($salesforce_authcode) { - $this->container['salesforce_api_version'] = $salesforce_api_version; + $this->container['salesforce_authcode'] = $salesforce_authcode; return $this; } /** - * Gets salesforce_documents_as_content_files + * Gets salesforce_call_back_url * @return string */ - public function getSalesforceDocumentsAsContentFiles() + public function getSalesforceCallBackUrl() { - return $this->container['salesforce_documents_as_content_files']; + return $this->container['salesforce_call_back_url']; } /** - * Sets salesforce_documents_as_content_files - * @param string $salesforce_documents_as_content_files + * Sets salesforce_call_back_url + * @param string $salesforce_call_back_url * @return $this */ - public function setSalesforceDocumentsAsContentFiles($salesforce_documents_as_content_files) + public function setSalesforceCallBackUrl($salesforce_call_back_url) { - $this->container['salesforce_documents_as_content_files'] = $salesforce_documents_as_content_files; + $this->container['salesforce_call_back_url'] = $salesforce_call_back_url; return $this; } /** - * Gets salesforce_refresh_token + * Gets salesforce_documents_as_content_files * @return string */ - public function getSalesforceRefreshToken() + public function getSalesforceDocumentsAsContentFiles() { - return $this->container['salesforce_refresh_token']; + return $this->container['salesforce_documents_as_content_files']; } /** - * Sets salesforce_refresh_token - * @param string $salesforce_refresh_token + * Sets salesforce_documents_as_content_files + * @param string $salesforce_documents_as_content_files * @return $this */ - public function setSalesforceRefreshToken($salesforce_refresh_token) + public function setSalesforceDocumentsAsContentFiles($salesforce_documents_as_content_files) { - $this->container['salesforce_refresh_token'] = $salesforce_refresh_token; + $this->container['salesforce_documents_as_content_files'] = $salesforce_documents_as_content_files; return $this; } diff --git a/src/Model/ConnectEventData.php b/src/Model/ConnectEventData.php new file mode 100644 index 00000000..d5183846 --- /dev/null +++ b/src/Model/ConnectEventData.php @@ -0,0 +1,279 @@ + 'string', + 'include_data' => 'string[]', + 'version' => '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 = [ + 'format' => 'format', + 'include_data' => 'includeData', + 'version' => 'version' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'format' => 'setFormat', + 'include_data' => 'setIncludeData', + 'version' => 'setVersion' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'format' => 'getFormat', + 'include_data' => 'getIncludeData', + 'version' => 'getVersion' + ]; + + 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['format'] = isset($data['format']) ? $data['format'] : null; + $this->container['include_data'] = isset($data['include_data']) ? $data['include_data'] : null; + $this->container['version'] = isset($data['version']) ? $data['version'] : 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 format + * @return string + */ + public function getFormat() + { + return $this->container['format']; + } + + /** + * Sets format + * @param string $format + * @return $this + */ + public function setFormat($format) + { + $this->container['format'] = $format; + + return $this; + } + + /** + * Gets include_data + * @return string[] + */ + public function getIncludeData() + { + return $this->container['include_data']; + } + + /** + * Sets include_data + * @param string[] $include_data + * @return $this + */ + public function setIncludeData($include_data) + { + $this->container['include_data'] = $include_data; + + return $this; + } + + /** + * Gets version + * @return string + */ + public function getVersion() + { + return $this->container['version']; + } + + /** + * Sets version + * @param string $version + * @return $this + */ + public function setVersion($version) + { + $this->container['version'] = $version; + + 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/Credential.php b/src/Model/Credential.php index 238181ec..9b0db663 100644 --- a/src/Model/Credential.php +++ b/src/Model/Credential.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -54,6 +54,7 @@ class Credential implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'access_code' => 'string', 'type' => 'string', 'value' => 'string' ]; @@ -68,6 +69,7 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'access_code' => 'accessCode', 'type' => 'type', 'value' => 'value' ]; @@ -78,6 +80,7 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'access_code' => 'setAccessCode', 'type' => 'setType', 'value' => 'setValue' ]; @@ -88,6 +91,7 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'access_code' => 'getAccessCode', 'type' => 'getType', 'value' => 'getValue' ]; @@ -123,6 +127,7 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['access_code'] = isset($data['access_code']) ? $data['access_code'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['value'] = isset($data['value']) ? $data['value'] : null; } @@ -150,6 +155,27 @@ public function valid() } + /** + * Gets access_code + * @return string + */ + public function getAccessCode() + { + return $this->container['access_code']; + } + + /** + * Sets access_code + * @param string $access_code If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required. + * @return $this + */ + public function setAccessCode($access_code) + { + $this->container['access_code'] = $access_code; + + return $this; + } + /** * Gets type * @return string diff --git a/src/Model/Date.php b/src/Model/Date.php index a0666a0a..4d9658f7 100644 --- a/src/Model/Date.php +++ b/src/Model/Date.php @@ -54,6 +54,8 @@ class Date implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -130,6 +132,7 @@ class Date implements ArrayAccess 'sender_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -174,6 +177,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -250,6 +255,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'senderRequiredMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -290,6 +296,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -366,6 +374,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'setSenderRequiredMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -406,6 +415,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -482,6 +493,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'getSenderRequiredMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -547,6 +559,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -623,6 +637,7 @@ public function __construct(array $data = null) $this->container['sender_required_metadata'] = isset($data['sender_required_metadata']) ? $data['sender_required_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -680,6 +695,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2276,6 +2333,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/DateSigned.php b/src/Model/DateSigned.php index c37da596..95e11171 100644 --- a/src/Model/DateSigned.php +++ b/src/Model/DateSigned.php @@ -54,6 +54,8 @@ class DateSigned implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -110,6 +112,7 @@ class DateSigned implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -150,6 +153,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -206,6 +211,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -242,6 +248,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -298,6 +306,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -334,6 +343,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -390,6 +401,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -451,6 +463,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -507,6 +521,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -560,6 +575,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1736,6 +1793,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Decline.php b/src/Model/Decline.php index 59a4b45f..1ba58e5b 100644 --- a/src/Model/Decline.php +++ b/src/Model/Decline.php @@ -54,6 +54,8 @@ class Decline implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -112,6 +114,7 @@ class Decline implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -150,6 +153,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -208,6 +213,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -242,6 +248,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -300,6 +308,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -334,6 +343,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -392,6 +403,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -451,6 +463,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -509,6 +523,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -560,6 +575,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1778,6 +1835,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Document.php b/src/Model/Document.php index a0e53c48..35ef32ec 100644 --- a/src/Model/Document.php +++ b/src/Model/Document.php @@ -58,23 +58,28 @@ 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', 'file_format_hint' => 'string', 'html_definition' => '\DocuSign\eSign\Model\DocumentHtmlDefinition', 'include_in_download' => 'string', + 'is_dynamic_xfa' => 'bool', + 'is_static_xfa' => 'bool', 'match_boxes' => '\DocuSign\eSign\Model\MatchBox[]', 'name' => 'string', + 'ocr_requests' => '\DocuSign\eSign\Model\OcrRequest[]', 'order' => 'string', 'page_count' => 'string', 'pages' => 'string', 'page_sizes' => '\DocuSign\eSign\Model\PageSize[]', 'password' => 'string', + 'pdf_fields_data' => 'string', 'pdf_form_field_option' => 'string', + 'pdf_widgets_base64' => 'string', 'remote_url' => 'string', 'signer_must_acknowledge' => 'string', + 'signer_must_acknowledge_use_account_default' => 'bool', 'tabs' => '\DocuSign\eSign\Model\Tabs', 'template_locked' => 'string', 'template_required' => 'string', @@ -96,23 +101,28 @@ 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', 'file_format_hint' => 'fileFormatHint', 'html_definition' => 'htmlDefinition', 'include_in_download' => 'includeInDownload', + 'is_dynamic_xfa' => 'isDynamicXfa', + 'is_static_xfa' => 'isStaticXfa', 'match_boxes' => 'matchBoxes', 'name' => 'name', + 'ocr_requests' => 'ocrRequests', 'order' => 'order', 'page_count' => 'pageCount', 'pages' => 'pages', 'page_sizes' => 'pageSizes', 'password' => 'password', + 'pdf_fields_data' => 'pdfFieldsData', 'pdf_form_field_option' => 'pdfFormFieldOption', + 'pdf_widgets_base64' => 'pdfWidgetsBase64', 'remote_url' => 'remoteUrl', 'signer_must_acknowledge' => 'signerMustAcknowledge', + 'signer_must_acknowledge_use_account_default' => 'signerMustAcknowledgeUseAccountDefault', 'tabs' => 'tabs', 'template_locked' => 'templateLocked', 'template_required' => 'templateRequired', @@ -130,23 +140,28 @@ 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', 'file_format_hint' => 'setFileFormatHint', 'html_definition' => 'setHtmlDefinition', 'include_in_download' => 'setIncludeInDownload', + 'is_dynamic_xfa' => 'setIsDynamicXfa', + 'is_static_xfa' => 'setIsStaticXfa', 'match_boxes' => 'setMatchBoxes', 'name' => 'setName', + 'ocr_requests' => 'setOcrRequests', 'order' => 'setOrder', 'page_count' => 'setPageCount', 'pages' => 'setPages', 'page_sizes' => 'setPageSizes', 'password' => 'setPassword', + 'pdf_fields_data' => 'setPdfFieldsData', 'pdf_form_field_option' => 'setPdfFormFieldOption', + 'pdf_widgets_base64' => 'setPdfWidgetsBase64', 'remote_url' => 'setRemoteUrl', 'signer_must_acknowledge' => 'setSignerMustAcknowledge', + 'signer_must_acknowledge_use_account_default' => 'setSignerMustAcknowledgeUseAccountDefault', 'tabs' => 'setTabs', 'template_locked' => 'setTemplateLocked', 'template_required' => 'setTemplateRequired', @@ -164,23 +179,28 @@ 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', 'file_format_hint' => 'getFileFormatHint', 'html_definition' => 'getHtmlDefinition', 'include_in_download' => 'getIncludeInDownload', + 'is_dynamic_xfa' => 'getIsDynamicXfa', + 'is_static_xfa' => 'getIsStaticXfa', 'match_boxes' => 'getMatchBoxes', 'name' => 'getName', + 'ocr_requests' => 'getOcrRequests', 'order' => 'getOrder', 'page_count' => 'getPageCount', 'pages' => 'getPages', 'page_sizes' => 'getPageSizes', 'password' => 'getPassword', + 'pdf_fields_data' => 'getPdfFieldsData', 'pdf_form_field_option' => 'getPdfFormFieldOption', + 'pdf_widgets_base64' => 'getPdfWidgetsBase64', 'remote_url' => 'getRemoteUrl', 'signer_must_acknowledge' => 'getSignerMustAcknowledge', + 'signer_must_acknowledge_use_account_default' => 'getSignerMustAcknowledgeUseAccountDefault', 'tabs' => 'getTabs', 'template_locked' => 'getTemplateLocked', 'template_required' => 'getTemplateRequired', @@ -223,23 +243,28 @@ 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; $this->container['file_format_hint'] = isset($data['file_format_hint']) ? $data['file_format_hint'] : null; $this->container['html_definition'] = isset($data['html_definition']) ? $data['html_definition'] : null; $this->container['include_in_download'] = isset($data['include_in_download']) ? $data['include_in_download'] : null; + $this->container['is_dynamic_xfa'] = isset($data['is_dynamic_xfa']) ? $data['is_dynamic_xfa'] : null; + $this->container['is_static_xfa'] = isset($data['is_static_xfa']) ? $data['is_static_xfa'] : null; $this->container['match_boxes'] = isset($data['match_boxes']) ? $data['match_boxes'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; + $this->container['ocr_requests'] = isset($data['ocr_requests']) ? $data['ocr_requests'] : null; $this->container['order'] = isset($data['order']) ? $data['order'] : null; $this->container['page_count'] = isset($data['page_count']) ? $data['page_count'] : null; $this->container['pages'] = isset($data['pages']) ? $data['pages'] : null; $this->container['page_sizes'] = isset($data['page_sizes']) ? $data['page_sizes'] : null; $this->container['password'] = isset($data['password']) ? $data['password'] : null; + $this->container['pdf_fields_data'] = isset($data['pdf_fields_data']) ? $data['pdf_fields_data'] : null; $this->container['pdf_form_field_option'] = isset($data['pdf_form_field_option']) ? $data['pdf_form_field_option'] : null; + $this->container['pdf_widgets_base64'] = isset($data['pdf_widgets_base64']) ? $data['pdf_widgets_base64'] : null; $this->container['remote_url'] = isset($data['remote_url']) ? $data['remote_url'] : null; $this->container['signer_must_acknowledge'] = isset($data['signer_must_acknowledge']) ? $data['signer_must_acknowledge'] : null; + $this->container['signer_must_acknowledge_use_account_default'] = isset($data['signer_must_acknowledge_use_account_default']) ? $data['signer_must_acknowledge_use_account_default'] : null; $this->container['tabs'] = isset($data['tabs']) ? $data['tabs'] : null; $this->container['template_locked'] = isset($data['template_locked']) ? $data['template_locked'] : null; $this->container['template_required'] = isset($data['template_required']) ? $data['template_required'] : null; @@ -354,27 +379,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 @@ -501,6 +505,48 @@ public function setIncludeInDownload($include_in_download) return $this; } + /** + * Gets is_dynamic_xfa + * @return bool + */ + public function getIsDynamicXfa() + { + return $this->container['is_dynamic_xfa']; + } + + /** + * Sets is_dynamic_xfa + * @param bool $is_dynamic_xfa + * @return $this + */ + public function setIsDynamicXfa($is_dynamic_xfa) + { + $this->container['is_dynamic_xfa'] = $is_dynamic_xfa; + + return $this; + } + + /** + * Gets is_static_xfa + * @return bool + */ + public function getIsStaticXfa() + { + return $this->container['is_static_xfa']; + } + + /** + * Sets is_static_xfa + * @param bool $is_static_xfa + * @return $this + */ + public function setIsStaticXfa($is_static_xfa) + { + $this->container['is_static_xfa'] = $is_static_xfa; + + return $this; + } + /** * Gets match_boxes * @return \DocuSign\eSign\Model\MatchBox[] @@ -543,6 +589,27 @@ public function setName($name) return $this; } + /** + * Gets ocr_requests + * @return \DocuSign\eSign\Model\OcrRequest[] + */ + public function getOcrRequests() + { + return $this->container['ocr_requests']; + } + + /** + * Sets ocr_requests + * @param \DocuSign\eSign\Model\OcrRequest[] $ocr_requests + * @return $this + */ + public function setOcrRequests($ocr_requests) + { + $this->container['ocr_requests'] = $ocr_requests; + + return $this; + } + /** * Gets order * @return string @@ -648,6 +715,27 @@ public function setPassword($password) return $this; } + /** + * Gets pdf_fields_data + * @return string + */ + public function getPdfFieldsData() + { + return $this->container['pdf_fields_data']; + } + + /** + * Sets pdf_fields_data + * @param string $pdf_fields_data + * @return $this + */ + public function setPdfFieldsData($pdf_fields_data) + { + $this->container['pdf_fields_data'] = $pdf_fields_data; + + return $this; + } + /** * Gets pdf_form_field_option * @return string @@ -669,6 +757,27 @@ public function setPdfFormFieldOption($pdf_form_field_option) return $this; } + /** + * Gets pdf_widgets_base64 + * @return string + */ + public function getPdfWidgetsBase64() + { + return $this->container['pdf_widgets_base64']; + } + + /** + * Sets pdf_widgets_base64 + * @param string $pdf_widgets_base64 + * @return $this + */ + public function setPdfWidgetsBase64($pdf_widgets_base64) + { + $this->container['pdf_widgets_base64'] = $pdf_widgets_base64; + + return $this; + } + /** * Gets remote_url * @return string @@ -711,6 +820,27 @@ public function setSignerMustAcknowledge($signer_must_acknowledge) return $this; } + /** + * Gets signer_must_acknowledge_use_account_default + * @return bool + */ + public function getSignerMustAcknowledgeUseAccountDefault() + { + return $this->container['signer_must_acknowledge_use_account_default']; + } + + /** + * Sets signer_must_acknowledge_use_account_default + * @param bool $signer_must_acknowledge_use_account_default + * @return $this + */ + public function setSignerMustAcknowledgeUseAccountDefault($signer_must_acknowledge_use_account_default) + { + $this->container['signer_must_acknowledge_use_account_default'] = $signer_must_acknowledge_use_account_default; + + return $this; + } + /** * Gets tabs * @return \DocuSign\eSign\Model\Tabs diff --git a/src/Model/DocumentFieldsInformation.php b/src/Model/DocumentFieldsInformation.php index 1542b07f..686253a1 100644 --- a/src/Model/DocumentFieldsInformation.php +++ b/src/Model/DocumentFieldsInformation.php @@ -156,7 +156,7 @@ public function getDocumentFields() /** * Sets document_fields - * @param \DocuSign\eSign\Model\NameValue[] $document_fields The array of name/value custom data strings to be added to a document. Custom document field information is returned in the status, but otherwise is not used by DocuSign. The array contains the elements: * name – A string that can be a maximum of 50 characters. * value – A string that can be a maximum of 200 characters. *IMPORTANT*: If you are using xml, the name/value pair is contained in a nameValue element. + * @param \DocuSign\eSign\Model\NameValue[] $document_fields The array of name/value custom data strings to be added to a document. Custom document field information is returned in the status, but otherwise is not used by DocuSign. The array contains the elements: * name - A string that can be a maximum of 50 characters. * value - A string that can be a maximum of 200 characters. *IMPORTANT*: If you are using xml, the name/value pair is contained in a nameValue element. * @return $this */ public function setDocumentFields($document_fields) diff --git a/src/Model/DocumentHtmlDisplaySettings.php b/src/Model/DocumentHtmlDisplaySettings.php index 0f2d0f88..03dfc7cc 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/DocumentSecurityStore.php b/src/Model/DocumentSecurityStore.php index 7aa8ba50..3d5d74bb 100644 --- a/src/Model/DocumentSecurityStore.php +++ b/src/Model/DocumentSecurityStore.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/DocumentUpdateInfo.php b/src/Model/DocumentUpdateInfo.php index 8d984f6b..f78b8e16 100644 --- a/src/Model/DocumentUpdateInfo.php +++ b/src/Model/DocumentUpdateInfo.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/DowngradeBillingPlanInformation.php b/src/Model/DowngradeBillingPlanInformation.php new file mode 100644 index 00000000..c69512fa --- /dev/null +++ b/src/Model/DowngradeBillingPlanInformation.php @@ -0,0 +1,253 @@ + 'string', + 'plan_information' => '\DocuSign\eSign\Model\PlanInformation' + ]; + + 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 = [ + 'downgrade_event_type' => 'downgradeEventType', + 'plan_information' => 'planInformation' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'downgrade_event_type' => 'setDowngradeEventType', + 'plan_information' => 'setPlanInformation' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'downgrade_event_type' => 'getDowngradeEventType', + 'plan_information' => 'getPlanInformation' + ]; + + 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['downgrade_event_type'] = isset($data['downgrade_event_type']) ? $data['downgrade_event_type'] : null; + $this->container['plan_information'] = isset($data['plan_information']) ? $data['plan_information'] : 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 downgrade_event_type + * @return string + */ + public function getDowngradeEventType() + { + return $this->container['downgrade_event_type']; + } + + /** + * Sets downgrade_event_type + * @param string $downgrade_event_type + * @return $this + */ + public function setDowngradeEventType($downgrade_event_type) + { + $this->container['downgrade_event_type'] = $downgrade_event_type; + + return $this; + } + + /** + * Gets plan_information + * @return \DocuSign\eSign\Model\PlanInformation + */ + public function getPlanInformation() + { + return $this->container['plan_information']; + } + + /** + * Sets plan_information + * @param \DocuSign\eSign\Model\PlanInformation $plan_information + * @return $this + */ + public function setPlanInformation($plan_information) + { + $this->container['plan_information'] = $plan_information; + + 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/DowngradePlanUpdateResponse.php b/src/Model/DowngradePlanUpdateResponse.php new file mode 100644 index 00000000..03e4576f --- /dev/null +++ b/src/Model/DowngradePlanUpdateResponse.php @@ -0,0 +1,383 @@ + 'string', + 'downgrade_effective_date' => 'string', + 'downgrade_payment_cycle' => 'string', + 'downgrade_plan_id' => 'string', + 'downgrade_plan_name' => 'string', + 'downgrade_request_status' => 'string', + 'message' => '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_payment_method' => 'accountPaymentMethod', + 'downgrade_effective_date' => 'downgradeEffectiveDate', + 'downgrade_payment_cycle' => 'downgradePaymentCycle', + 'downgrade_plan_id' => 'downgradePlanId', + 'downgrade_plan_name' => 'downgradePlanName', + 'downgrade_request_status' => 'downgradeRequestStatus', + 'message' => 'message' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'account_payment_method' => 'setAccountPaymentMethod', + 'downgrade_effective_date' => 'setDowngradeEffectiveDate', + 'downgrade_payment_cycle' => 'setDowngradePaymentCycle', + 'downgrade_plan_id' => 'setDowngradePlanId', + 'downgrade_plan_name' => 'setDowngradePlanName', + 'downgrade_request_status' => 'setDowngradeRequestStatus', + 'message' => 'setMessage' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'account_payment_method' => 'getAccountPaymentMethod', + 'downgrade_effective_date' => 'getDowngradeEffectiveDate', + 'downgrade_payment_cycle' => 'getDowngradePaymentCycle', + 'downgrade_plan_id' => 'getDowngradePlanId', + 'downgrade_plan_name' => 'getDowngradePlanName', + 'downgrade_request_status' => 'getDowngradeRequestStatus', + 'message' => 'getMessage' + ]; + + 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_payment_method'] = isset($data['account_payment_method']) ? $data['account_payment_method'] : null; + $this->container['downgrade_effective_date'] = isset($data['downgrade_effective_date']) ? $data['downgrade_effective_date'] : null; + $this->container['downgrade_payment_cycle'] = isset($data['downgrade_payment_cycle']) ? $data['downgrade_payment_cycle'] : null; + $this->container['downgrade_plan_id'] = isset($data['downgrade_plan_id']) ? $data['downgrade_plan_id'] : null; + $this->container['downgrade_plan_name'] = isset($data['downgrade_plan_name']) ? $data['downgrade_plan_name'] : null; + $this->container['downgrade_request_status'] = isset($data['downgrade_request_status']) ? $data['downgrade_request_status'] : null; + $this->container['message'] = isset($data['message']) ? $data['message'] : 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_payment_method + * @return string + */ + public function getAccountPaymentMethod() + { + return $this->container['account_payment_method']; + } + + /** + * Sets account_payment_method + * @param string $account_payment_method + * @return $this + */ + public function setAccountPaymentMethod($account_payment_method) + { + $this->container['account_payment_method'] = $account_payment_method; + + return $this; + } + + /** + * Gets downgrade_effective_date + * @return string + */ + public function getDowngradeEffectiveDate() + { + return $this->container['downgrade_effective_date']; + } + + /** + * Sets downgrade_effective_date + * @param string $downgrade_effective_date + * @return $this + */ + public function setDowngradeEffectiveDate($downgrade_effective_date) + { + $this->container['downgrade_effective_date'] = $downgrade_effective_date; + + return $this; + } + + /** + * Gets downgrade_payment_cycle + * @return string + */ + public function getDowngradePaymentCycle() + { + return $this->container['downgrade_payment_cycle']; + } + + /** + * Sets downgrade_payment_cycle + * @param string $downgrade_payment_cycle + * @return $this + */ + public function setDowngradePaymentCycle($downgrade_payment_cycle) + { + $this->container['downgrade_payment_cycle'] = $downgrade_payment_cycle; + + return $this; + } + + /** + * Gets downgrade_plan_id + * @return string + */ + public function getDowngradePlanId() + { + return $this->container['downgrade_plan_id']; + } + + /** + * Sets downgrade_plan_id + * @param string $downgrade_plan_id + * @return $this + */ + public function setDowngradePlanId($downgrade_plan_id) + { + $this->container['downgrade_plan_id'] = $downgrade_plan_id; + + return $this; + } + + /** + * Gets downgrade_plan_name + * @return string + */ + public function getDowngradePlanName() + { + return $this->container['downgrade_plan_name']; + } + + /** + * Sets downgrade_plan_name + * @param string $downgrade_plan_name + * @return $this + */ + public function setDowngradePlanName($downgrade_plan_name) + { + $this->container['downgrade_plan_name'] = $downgrade_plan_name; + + return $this; + } + + /** + * Gets downgrade_request_status + * @return string + */ + public function getDowngradeRequestStatus() + { + return $this->container['downgrade_request_status']; + } + + /** + * Sets downgrade_request_status + * @param string $downgrade_request_status + * @return $this + */ + public function setDowngradeRequestStatus($downgrade_request_status) + { + $this->container['downgrade_request_status'] = $downgrade_request_status; + + return $this; + } + + /** + * Gets message + * @return string + */ + public function getMessage() + { + return $this->container['message']; + } + + /** + * Sets message + * @param string $message + * @return $this + */ + public function setMessage($message) + { + $this->container['message'] = $message; + + 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/Draw.php b/src/Model/Draw.php new file mode 100644 index 00000000..41806a8d --- /dev/null +++ b/src/Model/Draw.php @@ -0,0 +1,2203 @@ + 'string', + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_case_sensitive' => 'string', + 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_horizontal_alignment' => 'string', + 'anchor_horizontal_alignment_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_ignore_if_not_present' => 'string', + 'anchor_ignore_if_not_present_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_match_whole_word' => 'string', + 'anchor_match_whole_word_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_string' => 'string', + 'anchor_string_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_tab_processor_version' => 'string', + 'anchor_tab_processor_version_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_units' => 'string', + 'anchor_units_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_x_offset' => 'string', + 'anchor_x_offset_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'anchor_y_offset' => 'string', + 'anchor_y_offset_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'conditional_parent_label' => 'string', + 'conditional_parent_label_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'conditional_parent_value' => 'string', + 'conditional_parent_value_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'custom_tab_id' => 'string', + 'custom_tab_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'document_id' => 'string', + 'document_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'error_details' => '\DocuSign\eSign\Model\ErrorDetails', + 'form_order' => 'string', + 'form_order_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'form_page_label' => 'string', + 'form_page_label_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'form_page_number' => 'string', + 'form_page_number_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'height' => 'string', + 'height_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'locked' => 'string', + 'locked_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'merge_field' => '\DocuSign\eSign\Model\MergeField', + 'merge_field_xml' => 'string', + 'page_number' => 'string', + 'page_number_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'recipient_id' => 'string', + 'recipient_id_guid' => 'string', + 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'required' => 'string', + 'required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'shared' => 'string', + 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', + 'status' => 'string', + 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'tab_group_labels' => 'string[]', + 'tab_group_labels_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'tab_id' => 'string', + 'tab_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'tab_label_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'tab_order' => 'string', + 'tab_order_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'tab_type' => 'string', + 'tab_type_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'template_locked' => 'string', + 'template_locked_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'template_required' => 'string', + 'template_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'tooltip' => 'string', + 'tool_tip_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'use_background_as_canvas' => 'string', + 'width' => 'string', + 'width_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'x_position' => 'string', + 'x_position_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'y_position' => 'string', + 'y_position_metadata' => '\DocuSign\eSign\Model\PropertyMetadata' + ]; + + 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 = [ + 'allow_signer_upload' => 'allowSignerUpload', + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', + 'anchor_case_sensitive' => 'anchorCaseSensitive', + 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', + 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', + 'anchor_horizontal_alignment_metadata' => 'anchorHorizontalAlignmentMetadata', + 'anchor_ignore_if_not_present' => 'anchorIgnoreIfNotPresent', + 'anchor_ignore_if_not_present_metadata' => 'anchorIgnoreIfNotPresentMetadata', + 'anchor_match_whole_word' => 'anchorMatchWholeWord', + 'anchor_match_whole_word_metadata' => 'anchorMatchWholeWordMetadata', + 'anchor_string' => 'anchorString', + 'anchor_string_metadata' => 'anchorStringMetadata', + 'anchor_tab_processor_version' => 'anchorTabProcessorVersion', + 'anchor_tab_processor_version_metadata' => 'anchorTabProcessorVersionMetadata', + 'anchor_units' => 'anchorUnits', + 'anchor_units_metadata' => 'anchorUnitsMetadata', + 'anchor_x_offset' => 'anchorXOffset', + 'anchor_x_offset_metadata' => 'anchorXOffsetMetadata', + 'anchor_y_offset' => 'anchorYOffset', + 'anchor_y_offset_metadata' => 'anchorYOffsetMetadata', + 'conditional_parent_label' => 'conditionalParentLabel', + 'conditional_parent_label_metadata' => 'conditionalParentLabelMetadata', + 'conditional_parent_value' => 'conditionalParentValue', + 'conditional_parent_value_metadata' => 'conditionalParentValueMetadata', + 'custom_tab_id' => 'customTabId', + 'custom_tab_id_metadata' => 'customTabIdMetadata', + 'document_id' => 'documentId', + 'document_id_metadata' => 'documentIdMetadata', + 'error_details' => 'errorDetails', + 'form_order' => 'formOrder', + 'form_order_metadata' => 'formOrderMetadata', + 'form_page_label' => 'formPageLabel', + 'form_page_label_metadata' => 'formPageLabelMetadata', + 'form_page_number' => 'formPageNumber', + 'form_page_number_metadata' => 'formPageNumberMetadata', + 'height' => 'height', + 'height_metadata' => 'heightMetadata', + 'locked' => 'locked', + 'locked_metadata' => 'lockedMetadata', + 'merge_field' => 'mergeField', + 'merge_field_xml' => 'mergeFieldXml', + 'page_number' => 'pageNumber', + 'page_number_metadata' => 'pageNumberMetadata', + 'recipient_id' => 'recipientId', + 'recipient_id_guid' => 'recipientIdGuid', + 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', + 'recipient_id_metadata' => 'recipientIdMetadata', + 'required' => 'required', + 'required_metadata' => 'requiredMetadata', + 'shared' => 'shared', + 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', + 'status' => 'status', + 'status_metadata' => 'statusMetadata', + 'tab_group_labels' => 'tabGroupLabels', + 'tab_group_labels_metadata' => 'tabGroupLabelsMetadata', + 'tab_id' => 'tabId', + 'tab_id_metadata' => 'tabIdMetadata', + 'tab_label_metadata' => 'tabLabelMetadata', + 'tab_order' => 'tabOrder', + 'tab_order_metadata' => 'tabOrderMetadata', + 'tab_type' => 'tabType', + 'tab_type_metadata' => 'tabTypeMetadata', + 'template_locked' => 'templateLocked', + 'template_locked_metadata' => 'templateLockedMetadata', + 'template_required' => 'templateRequired', + 'template_required_metadata' => 'templateRequiredMetadata', + 'tooltip' => 'tooltip', + 'tool_tip_metadata' => 'toolTipMetadata', + 'use_background_as_canvas' => 'useBackgroundAsCanvas', + 'width' => 'width', + 'width_metadata' => 'widthMetadata', + 'x_position' => 'xPosition', + 'x_position_metadata' => 'xPositionMetadata', + 'y_position' => 'yPosition', + 'y_position_metadata' => 'yPositionMetadata' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'allow_signer_upload' => 'setAllowSignerUpload', + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', + 'anchor_case_sensitive' => 'setAnchorCaseSensitive', + 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', + 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', + 'anchor_horizontal_alignment_metadata' => 'setAnchorHorizontalAlignmentMetadata', + 'anchor_ignore_if_not_present' => 'setAnchorIgnoreIfNotPresent', + 'anchor_ignore_if_not_present_metadata' => 'setAnchorIgnoreIfNotPresentMetadata', + 'anchor_match_whole_word' => 'setAnchorMatchWholeWord', + 'anchor_match_whole_word_metadata' => 'setAnchorMatchWholeWordMetadata', + 'anchor_string' => 'setAnchorString', + 'anchor_string_metadata' => 'setAnchorStringMetadata', + 'anchor_tab_processor_version' => 'setAnchorTabProcessorVersion', + 'anchor_tab_processor_version_metadata' => 'setAnchorTabProcessorVersionMetadata', + 'anchor_units' => 'setAnchorUnits', + 'anchor_units_metadata' => 'setAnchorUnitsMetadata', + 'anchor_x_offset' => 'setAnchorXOffset', + 'anchor_x_offset_metadata' => 'setAnchorXOffsetMetadata', + 'anchor_y_offset' => 'setAnchorYOffset', + 'anchor_y_offset_metadata' => 'setAnchorYOffsetMetadata', + 'conditional_parent_label' => 'setConditionalParentLabel', + 'conditional_parent_label_metadata' => 'setConditionalParentLabelMetadata', + 'conditional_parent_value' => 'setConditionalParentValue', + 'conditional_parent_value_metadata' => 'setConditionalParentValueMetadata', + 'custom_tab_id' => 'setCustomTabId', + 'custom_tab_id_metadata' => 'setCustomTabIdMetadata', + 'document_id' => 'setDocumentId', + 'document_id_metadata' => 'setDocumentIdMetadata', + 'error_details' => 'setErrorDetails', + 'form_order' => 'setFormOrder', + 'form_order_metadata' => 'setFormOrderMetadata', + 'form_page_label' => 'setFormPageLabel', + 'form_page_label_metadata' => 'setFormPageLabelMetadata', + 'form_page_number' => 'setFormPageNumber', + 'form_page_number_metadata' => 'setFormPageNumberMetadata', + 'height' => 'setHeight', + 'height_metadata' => 'setHeightMetadata', + 'locked' => 'setLocked', + 'locked_metadata' => 'setLockedMetadata', + 'merge_field' => 'setMergeField', + 'merge_field_xml' => 'setMergeFieldXml', + 'page_number' => 'setPageNumber', + 'page_number_metadata' => 'setPageNumberMetadata', + 'recipient_id' => 'setRecipientId', + 'recipient_id_guid' => 'setRecipientIdGuid', + 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', + 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'required' => 'setRequired', + 'required_metadata' => 'setRequiredMetadata', + 'shared' => 'setShared', + 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', + 'status' => 'setStatus', + 'status_metadata' => 'setStatusMetadata', + 'tab_group_labels' => 'setTabGroupLabels', + 'tab_group_labels_metadata' => 'setTabGroupLabelsMetadata', + 'tab_id' => 'setTabId', + 'tab_id_metadata' => 'setTabIdMetadata', + 'tab_label_metadata' => 'setTabLabelMetadata', + 'tab_order' => 'setTabOrder', + 'tab_order_metadata' => 'setTabOrderMetadata', + 'tab_type' => 'setTabType', + 'tab_type_metadata' => 'setTabTypeMetadata', + 'template_locked' => 'setTemplateLocked', + 'template_locked_metadata' => 'setTemplateLockedMetadata', + 'template_required' => 'setTemplateRequired', + 'template_required_metadata' => 'setTemplateRequiredMetadata', + 'tooltip' => 'setTooltip', + 'tool_tip_metadata' => 'setToolTipMetadata', + 'use_background_as_canvas' => 'setUseBackgroundAsCanvas', + 'width' => 'setWidth', + 'width_metadata' => 'setWidthMetadata', + 'x_position' => 'setXPosition', + 'x_position_metadata' => 'setXPositionMetadata', + 'y_position' => 'setYPosition', + 'y_position_metadata' => 'setYPositionMetadata' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'allow_signer_upload' => 'getAllowSignerUpload', + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', + 'anchor_case_sensitive' => 'getAnchorCaseSensitive', + 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', + 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', + 'anchor_horizontal_alignment_metadata' => 'getAnchorHorizontalAlignmentMetadata', + 'anchor_ignore_if_not_present' => 'getAnchorIgnoreIfNotPresent', + 'anchor_ignore_if_not_present_metadata' => 'getAnchorIgnoreIfNotPresentMetadata', + 'anchor_match_whole_word' => 'getAnchorMatchWholeWord', + 'anchor_match_whole_word_metadata' => 'getAnchorMatchWholeWordMetadata', + 'anchor_string' => 'getAnchorString', + 'anchor_string_metadata' => 'getAnchorStringMetadata', + 'anchor_tab_processor_version' => 'getAnchorTabProcessorVersion', + 'anchor_tab_processor_version_metadata' => 'getAnchorTabProcessorVersionMetadata', + 'anchor_units' => 'getAnchorUnits', + 'anchor_units_metadata' => 'getAnchorUnitsMetadata', + 'anchor_x_offset' => 'getAnchorXOffset', + 'anchor_x_offset_metadata' => 'getAnchorXOffsetMetadata', + 'anchor_y_offset' => 'getAnchorYOffset', + 'anchor_y_offset_metadata' => 'getAnchorYOffsetMetadata', + 'conditional_parent_label' => 'getConditionalParentLabel', + 'conditional_parent_label_metadata' => 'getConditionalParentLabelMetadata', + 'conditional_parent_value' => 'getConditionalParentValue', + 'conditional_parent_value_metadata' => 'getConditionalParentValueMetadata', + 'custom_tab_id' => 'getCustomTabId', + 'custom_tab_id_metadata' => 'getCustomTabIdMetadata', + 'document_id' => 'getDocumentId', + 'document_id_metadata' => 'getDocumentIdMetadata', + 'error_details' => 'getErrorDetails', + 'form_order' => 'getFormOrder', + 'form_order_metadata' => 'getFormOrderMetadata', + 'form_page_label' => 'getFormPageLabel', + 'form_page_label_metadata' => 'getFormPageLabelMetadata', + 'form_page_number' => 'getFormPageNumber', + 'form_page_number_metadata' => 'getFormPageNumberMetadata', + 'height' => 'getHeight', + 'height_metadata' => 'getHeightMetadata', + 'locked' => 'getLocked', + 'locked_metadata' => 'getLockedMetadata', + 'merge_field' => 'getMergeField', + 'merge_field_xml' => 'getMergeFieldXml', + 'page_number' => 'getPageNumber', + 'page_number_metadata' => 'getPageNumberMetadata', + 'recipient_id' => 'getRecipientId', + 'recipient_id_guid' => 'getRecipientIdGuid', + 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', + 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'required' => 'getRequired', + 'required_metadata' => 'getRequiredMetadata', + 'shared' => 'getShared', + 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', + 'status' => 'getStatus', + 'status_metadata' => 'getStatusMetadata', + 'tab_group_labels' => 'getTabGroupLabels', + 'tab_group_labels_metadata' => 'getTabGroupLabelsMetadata', + 'tab_id' => 'getTabId', + 'tab_id_metadata' => 'getTabIdMetadata', + 'tab_label_metadata' => 'getTabLabelMetadata', + 'tab_order' => 'getTabOrder', + 'tab_order_metadata' => 'getTabOrderMetadata', + 'tab_type' => 'getTabType', + 'tab_type_metadata' => 'getTabTypeMetadata', + 'template_locked' => 'getTemplateLocked', + 'template_locked_metadata' => 'getTemplateLockedMetadata', + 'template_required' => 'getTemplateRequired', + 'template_required_metadata' => 'getTemplateRequiredMetadata', + 'tooltip' => 'getTooltip', + 'tool_tip_metadata' => 'getToolTipMetadata', + 'use_background_as_canvas' => 'getUseBackgroundAsCanvas', + 'width' => 'getWidth', + 'width_metadata' => 'getWidthMetadata', + 'x_position' => 'getXPosition', + 'x_position_metadata' => 'getXPositionMetadata', + 'y_position' => 'getYPosition', + 'y_position_metadata' => 'getYPositionMetadata' + ]; + + 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['allow_signer_upload'] = isset($data['allow_signer_upload']) ? $data['allow_signer_upload'] : null; + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; + $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; + $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; + $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; + $this->container['anchor_horizontal_alignment_metadata'] = isset($data['anchor_horizontal_alignment_metadata']) ? $data['anchor_horizontal_alignment_metadata'] : null; + $this->container['anchor_ignore_if_not_present'] = isset($data['anchor_ignore_if_not_present']) ? $data['anchor_ignore_if_not_present'] : null; + $this->container['anchor_ignore_if_not_present_metadata'] = isset($data['anchor_ignore_if_not_present_metadata']) ? $data['anchor_ignore_if_not_present_metadata'] : null; + $this->container['anchor_match_whole_word'] = isset($data['anchor_match_whole_word']) ? $data['anchor_match_whole_word'] : null; + $this->container['anchor_match_whole_word_metadata'] = isset($data['anchor_match_whole_word_metadata']) ? $data['anchor_match_whole_word_metadata'] : null; + $this->container['anchor_string'] = isset($data['anchor_string']) ? $data['anchor_string'] : null; + $this->container['anchor_string_metadata'] = isset($data['anchor_string_metadata']) ? $data['anchor_string_metadata'] : null; + $this->container['anchor_tab_processor_version'] = isset($data['anchor_tab_processor_version']) ? $data['anchor_tab_processor_version'] : null; + $this->container['anchor_tab_processor_version_metadata'] = isset($data['anchor_tab_processor_version_metadata']) ? $data['anchor_tab_processor_version_metadata'] : null; + $this->container['anchor_units'] = isset($data['anchor_units']) ? $data['anchor_units'] : null; + $this->container['anchor_units_metadata'] = isset($data['anchor_units_metadata']) ? $data['anchor_units_metadata'] : null; + $this->container['anchor_x_offset'] = isset($data['anchor_x_offset']) ? $data['anchor_x_offset'] : null; + $this->container['anchor_x_offset_metadata'] = isset($data['anchor_x_offset_metadata']) ? $data['anchor_x_offset_metadata'] : null; + $this->container['anchor_y_offset'] = isset($data['anchor_y_offset']) ? $data['anchor_y_offset'] : null; + $this->container['anchor_y_offset_metadata'] = isset($data['anchor_y_offset_metadata']) ? $data['anchor_y_offset_metadata'] : null; + $this->container['conditional_parent_label'] = isset($data['conditional_parent_label']) ? $data['conditional_parent_label'] : null; + $this->container['conditional_parent_label_metadata'] = isset($data['conditional_parent_label_metadata']) ? $data['conditional_parent_label_metadata'] : null; + $this->container['conditional_parent_value'] = isset($data['conditional_parent_value']) ? $data['conditional_parent_value'] : null; + $this->container['conditional_parent_value_metadata'] = isset($data['conditional_parent_value_metadata']) ? $data['conditional_parent_value_metadata'] : null; + $this->container['custom_tab_id'] = isset($data['custom_tab_id']) ? $data['custom_tab_id'] : null; + $this->container['custom_tab_id_metadata'] = isset($data['custom_tab_id_metadata']) ? $data['custom_tab_id_metadata'] : null; + $this->container['document_id'] = isset($data['document_id']) ? $data['document_id'] : null; + $this->container['document_id_metadata'] = isset($data['document_id_metadata']) ? $data['document_id_metadata'] : null; + $this->container['error_details'] = isset($data['error_details']) ? $data['error_details'] : null; + $this->container['form_order'] = isset($data['form_order']) ? $data['form_order'] : null; + $this->container['form_order_metadata'] = isset($data['form_order_metadata']) ? $data['form_order_metadata'] : null; + $this->container['form_page_label'] = isset($data['form_page_label']) ? $data['form_page_label'] : null; + $this->container['form_page_label_metadata'] = isset($data['form_page_label_metadata']) ? $data['form_page_label_metadata'] : null; + $this->container['form_page_number'] = isset($data['form_page_number']) ? $data['form_page_number'] : null; + $this->container['form_page_number_metadata'] = isset($data['form_page_number_metadata']) ? $data['form_page_number_metadata'] : null; + $this->container['height'] = isset($data['height']) ? $data['height'] : null; + $this->container['height_metadata'] = isset($data['height_metadata']) ? $data['height_metadata'] : null; + $this->container['locked'] = isset($data['locked']) ? $data['locked'] : null; + $this->container['locked_metadata'] = isset($data['locked_metadata']) ? $data['locked_metadata'] : null; + $this->container['merge_field'] = isset($data['merge_field']) ? $data['merge_field'] : null; + $this->container['merge_field_xml'] = isset($data['merge_field_xml']) ? $data['merge_field_xml'] : null; + $this->container['page_number'] = isset($data['page_number']) ? $data['page_number'] : null; + $this->container['page_number_metadata'] = isset($data['page_number_metadata']) ? $data['page_number_metadata'] : null; + $this->container['recipient_id'] = isset($data['recipient_id']) ? $data['recipient_id'] : null; + $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; + $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; + $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['required'] = isset($data['required']) ? $data['required'] : null; + $this->container['required_metadata'] = isset($data['required_metadata']) ? $data['required_metadata'] : null; + $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; + $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; + $this->container['status'] = isset($data['status']) ? $data['status'] : null; + $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; + $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; + $this->container['tab_group_labels_metadata'] = isset($data['tab_group_labels_metadata']) ? $data['tab_group_labels_metadata'] : null; + $this->container['tab_id'] = isset($data['tab_id']) ? $data['tab_id'] : null; + $this->container['tab_id_metadata'] = isset($data['tab_id_metadata']) ? $data['tab_id_metadata'] : null; + $this->container['tab_label_metadata'] = isset($data['tab_label_metadata']) ? $data['tab_label_metadata'] : null; + $this->container['tab_order'] = isset($data['tab_order']) ? $data['tab_order'] : null; + $this->container['tab_order_metadata'] = isset($data['tab_order_metadata']) ? $data['tab_order_metadata'] : null; + $this->container['tab_type'] = isset($data['tab_type']) ? $data['tab_type'] : null; + $this->container['tab_type_metadata'] = isset($data['tab_type_metadata']) ? $data['tab_type_metadata'] : null; + $this->container['template_locked'] = isset($data['template_locked']) ? $data['template_locked'] : null; + $this->container['template_locked_metadata'] = isset($data['template_locked_metadata']) ? $data['template_locked_metadata'] : null; + $this->container['template_required'] = isset($data['template_required']) ? $data['template_required'] : null; + $this->container['template_required_metadata'] = isset($data['template_required_metadata']) ? $data['template_required_metadata'] : null; + $this->container['tooltip'] = isset($data['tooltip']) ? $data['tooltip'] : null; + $this->container['tool_tip_metadata'] = isset($data['tool_tip_metadata']) ? $data['tool_tip_metadata'] : null; + $this->container['use_background_as_canvas'] = isset($data['use_background_as_canvas']) ? $data['use_background_as_canvas'] : null; + $this->container['width'] = isset($data['width']) ? $data['width'] : null; + $this->container['width_metadata'] = isset($data['width_metadata']) ? $data['width_metadata'] : null; + $this->container['x_position'] = isset($data['x_position']) ? $data['x_position'] : null; + $this->container['x_position_metadata'] = isset($data['x_position_metadata']) ? $data['x_position_metadata'] : null; + $this->container['y_position'] = isset($data['y_position']) ? $data['y_position'] : null; + $this->container['y_position_metadata'] = isset($data['y_position_metadata']) ? $data['y_position_metadata'] : 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 allow_signer_upload + * @return string + */ + public function getAllowSignerUpload() + { + return $this->container['allow_signer_upload']; + } + + /** + * Sets allow_signer_upload + * @param string $allow_signer_upload + * @return $this + */ + public function setAllowSignerUpload($allow_signer_upload) + { + $this->container['allow_signer_upload'] = $allow_signer_upload; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + + /** + * Gets anchor_case_sensitive + * @return string + */ + public function getAnchorCaseSensitive() + { + return $this->container['anchor_case_sensitive']; + } + + /** + * Sets anchor_case_sensitive + * @param string $anchor_case_sensitive When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**. + * @return $this + */ + public function setAnchorCaseSensitive($anchor_case_sensitive) + { + $this->container['anchor_case_sensitive'] = $anchor_case_sensitive; + + return $this; + } + + /** + * Gets anchor_case_sensitive_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorCaseSensitiveMetadata() + { + return $this->container['anchor_case_sensitive_metadata']; + } + + /** + * Sets anchor_case_sensitive_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_case_sensitive_metadata + * @return $this + */ + public function setAnchorCaseSensitiveMetadata($anchor_case_sensitive_metadata) + { + $this->container['anchor_case_sensitive_metadata'] = $anchor_case_sensitive_metadata; + + return $this; + } + + /** + * Gets anchor_horizontal_alignment + * @return string + */ + public function getAnchorHorizontalAlignment() + { + return $this->container['anchor_horizontal_alignment']; + } + + /** + * Sets anchor_horizontal_alignment + * @param string $anchor_horizontal_alignment Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**. + * @return $this + */ + public function setAnchorHorizontalAlignment($anchor_horizontal_alignment) + { + $this->container['anchor_horizontal_alignment'] = $anchor_horizontal_alignment; + + return $this; + } + + /** + * Gets anchor_horizontal_alignment_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorHorizontalAlignmentMetadata() + { + return $this->container['anchor_horizontal_alignment_metadata']; + } + + /** + * Sets anchor_horizontal_alignment_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_horizontal_alignment_metadata + * @return $this + */ + public function setAnchorHorizontalAlignmentMetadata($anchor_horizontal_alignment_metadata) + { + $this->container['anchor_horizontal_alignment_metadata'] = $anchor_horizontal_alignment_metadata; + + return $this; + } + + /** + * Gets anchor_ignore_if_not_present + * @return string + */ + public function getAnchorIgnoreIfNotPresent() + { + return $this->container['anchor_ignore_if_not_present']; + } + + /** + * Sets anchor_ignore_if_not_present + * @param string $anchor_ignore_if_not_present When set to **true**, this tab is ignored if anchorString is not found in the document. + * @return $this + */ + public function setAnchorIgnoreIfNotPresent($anchor_ignore_if_not_present) + { + $this->container['anchor_ignore_if_not_present'] = $anchor_ignore_if_not_present; + + return $this; + } + + /** + * Gets anchor_ignore_if_not_present_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorIgnoreIfNotPresentMetadata() + { + return $this->container['anchor_ignore_if_not_present_metadata']; + } + + /** + * Sets anchor_ignore_if_not_present_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_ignore_if_not_present_metadata + * @return $this + */ + public function setAnchorIgnoreIfNotPresentMetadata($anchor_ignore_if_not_present_metadata) + { + $this->container['anchor_ignore_if_not_present_metadata'] = $anchor_ignore_if_not_present_metadata; + + return $this; + } + + /** + * Gets anchor_match_whole_word + * @return string + */ + public function getAnchorMatchWholeWord() + { + return $this->container['anchor_match_whole_word']; + } + + /** + * Sets anchor_match_whole_word + * @param string $anchor_match_whole_word When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**. + * @return $this + */ + public function setAnchorMatchWholeWord($anchor_match_whole_word) + { + $this->container['anchor_match_whole_word'] = $anchor_match_whole_word; + + return $this; + } + + /** + * Gets anchor_match_whole_word_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorMatchWholeWordMetadata() + { + return $this->container['anchor_match_whole_word_metadata']; + } + + /** + * Sets anchor_match_whole_word_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_match_whole_word_metadata + * @return $this + */ + public function setAnchorMatchWholeWordMetadata($anchor_match_whole_word_metadata) + { + $this->container['anchor_match_whole_word_metadata'] = $anchor_match_whole_word_metadata; + + return $this; + } + + /** + * Gets anchor_string + * @return string + */ + public function getAnchorString() + { + return $this->container['anchor_string']; + } + + /** + * Sets anchor_string + * @param string $anchor_string Anchor text information for a radio button. + * @return $this + */ + public function setAnchorString($anchor_string) + { + $this->container['anchor_string'] = $anchor_string; + + return $this; + } + + /** + * Gets anchor_string_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorStringMetadata() + { + return $this->container['anchor_string_metadata']; + } + + /** + * Sets anchor_string_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_string_metadata + * @return $this + */ + public function setAnchorStringMetadata($anchor_string_metadata) + { + $this->container['anchor_string_metadata'] = $anchor_string_metadata; + + return $this; + } + + /** + * Gets anchor_tab_processor_version + * @return string + */ + public function getAnchorTabProcessorVersion() + { + return $this->container['anchor_tab_processor_version']; + } + + /** + * Sets anchor_tab_processor_version + * @param string $anchor_tab_processor_version + * @return $this + */ + public function setAnchorTabProcessorVersion($anchor_tab_processor_version) + { + $this->container['anchor_tab_processor_version'] = $anchor_tab_processor_version; + + return $this; + } + + /** + * Gets anchor_tab_processor_version_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorTabProcessorVersionMetadata() + { + return $this->container['anchor_tab_processor_version_metadata']; + } + + /** + * Sets anchor_tab_processor_version_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_tab_processor_version_metadata + * @return $this + */ + public function setAnchorTabProcessorVersionMetadata($anchor_tab_processor_version_metadata) + { + $this->container['anchor_tab_processor_version_metadata'] = $anchor_tab_processor_version_metadata; + + return $this; + } + + /** + * Gets anchor_units + * @return string + */ + public function getAnchorUnits() + { + return $this->container['anchor_units']; + } + + /** + * Sets anchor_units + * @param string $anchor_units Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. + * @return $this + */ + public function setAnchorUnits($anchor_units) + { + $this->container['anchor_units'] = $anchor_units; + + return $this; + } + + /** + * Gets anchor_units_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorUnitsMetadata() + { + return $this->container['anchor_units_metadata']; + } + + /** + * Sets anchor_units_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_units_metadata + * @return $this + */ + public function setAnchorUnitsMetadata($anchor_units_metadata) + { + $this->container['anchor_units_metadata'] = $anchor_units_metadata; + + return $this; + } + + /** + * Gets anchor_x_offset + * @return string + */ + public function getAnchorXOffset() + { + return $this->container['anchor_x_offset']; + } + + /** + * Sets anchor_x_offset + * @param string $anchor_x_offset Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString. + * @return $this + */ + public function setAnchorXOffset($anchor_x_offset) + { + $this->container['anchor_x_offset'] = $anchor_x_offset; + + return $this; + } + + /** + * Gets anchor_x_offset_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorXOffsetMetadata() + { + return $this->container['anchor_x_offset_metadata']; + } + + /** + * Sets anchor_x_offset_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_x_offset_metadata + * @return $this + */ + public function setAnchorXOffsetMetadata($anchor_x_offset_metadata) + { + $this->container['anchor_x_offset_metadata'] = $anchor_x_offset_metadata; + + return $this; + } + + /** + * Gets anchor_y_offset + * @return string + */ + public function getAnchorYOffset() + { + return $this->container['anchor_y_offset']; + } + + /** + * Sets anchor_y_offset + * @param string $anchor_y_offset Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString. + * @return $this + */ + public function setAnchorYOffset($anchor_y_offset) + { + $this->container['anchor_y_offset'] = $anchor_y_offset; + + return $this; + } + + /** + * Gets anchor_y_offset_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorYOffsetMetadata() + { + return $this->container['anchor_y_offset_metadata']; + } + + /** + * Sets anchor_y_offset_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_y_offset_metadata + * @return $this + */ + public function setAnchorYOffsetMetadata($anchor_y_offset_metadata) + { + $this->container['anchor_y_offset_metadata'] = $anchor_y_offset_metadata; + + return $this; + } + + /** + * Gets conditional_parent_label + * @return string + */ + public function getConditionalParentLabel() + { + return $this->container['conditional_parent_label']; + } + + /** + * Sets conditional_parent_label + * @param string $conditional_parent_label For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility. + * @return $this + */ + public function setConditionalParentLabel($conditional_parent_label) + { + $this->container['conditional_parent_label'] = $conditional_parent_label; + + return $this; + } + + /** + * Gets conditional_parent_label_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getConditionalParentLabelMetadata() + { + return $this->container['conditional_parent_label_metadata']; + } + + /** + * Sets conditional_parent_label_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $conditional_parent_label_metadata + * @return $this + */ + public function setConditionalParentLabelMetadata($conditional_parent_label_metadata) + { + $this->container['conditional_parent_label_metadata'] = $conditional_parent_label_metadata; + + return $this; + } + + /** + * Gets conditional_parent_value + * @return string + */ + public function getConditionalParentValue() + { + return $this->container['conditional_parent_value']; + } + + /** + * Sets conditional_parent_value + * @param string $conditional_parent_value For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active. + * @return $this + */ + public function setConditionalParentValue($conditional_parent_value) + { + $this->container['conditional_parent_value'] = $conditional_parent_value; + + return $this; + } + + /** + * Gets conditional_parent_value_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getConditionalParentValueMetadata() + { + return $this->container['conditional_parent_value_metadata']; + } + + /** + * Sets conditional_parent_value_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $conditional_parent_value_metadata + * @return $this + */ + public function setConditionalParentValueMetadata($conditional_parent_value_metadata) + { + $this->container['conditional_parent_value_metadata'] = $conditional_parent_value_metadata; + + return $this; + } + + /** + * Gets custom_tab_id + * @return string + */ + public function getCustomTabId() + { + return $this->container['custom_tab_id']; + } + + /** + * Sets custom_tab_id + * @param string $custom_tab_id The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties. + * @return $this + */ + public function setCustomTabId($custom_tab_id) + { + $this->container['custom_tab_id'] = $custom_tab_id; + + return $this; + } + + /** + * Gets custom_tab_id_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getCustomTabIdMetadata() + { + return $this->container['custom_tab_id_metadata']; + } + + /** + * Sets custom_tab_id_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $custom_tab_id_metadata + * @return $this + */ + public function setCustomTabIdMetadata($custom_tab_id_metadata) + { + $this->container['custom_tab_id_metadata'] = $custom_tab_id_metadata; + + return $this; + } + + /** + * Gets document_id + * @return string + */ + public function getDocumentId() + { + return $this->container['document_id']; + } + + /** + * Sets document_id + * @param string $document_id Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute. + * @return $this + */ + public function setDocumentId($document_id) + { + $this->container['document_id'] = $document_id; + + return $this; + } + + /** + * Gets document_id_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getDocumentIdMetadata() + { + return $this->container['document_id_metadata']; + } + + /** + * Sets document_id_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $document_id_metadata + * @return $this + */ + public function setDocumentIdMetadata($document_id_metadata) + { + $this->container['document_id_metadata'] = $document_id_metadata; + + return $this; + } + + /** + * Gets error_details + * @return \DocuSign\eSign\Model\ErrorDetails + */ + public function getErrorDetails() + { + return $this->container['error_details']; + } + + /** + * Sets error_details + * @param \DocuSign\eSign\Model\ErrorDetails $error_details + * @return $this + */ + public function setErrorDetails($error_details) + { + $this->container['error_details'] = $error_details; + + return $this; + } + + /** + * Gets form_order + * @return string + */ + public function getFormOrder() + { + return $this->container['form_order']; + } + + /** + * Sets form_order + * @param string $form_order + * @return $this + */ + public function setFormOrder($form_order) + { + $this->container['form_order'] = $form_order; + + return $this; + } + + /** + * Gets form_order_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getFormOrderMetadata() + { + return $this->container['form_order_metadata']; + } + + /** + * Sets form_order_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $form_order_metadata + * @return $this + */ + public function setFormOrderMetadata($form_order_metadata) + { + $this->container['form_order_metadata'] = $form_order_metadata; + + return $this; + } + + /** + * Gets form_page_label + * @return string + */ + public function getFormPageLabel() + { + return $this->container['form_page_label']; + } + + /** + * Sets form_page_label + * @param string $form_page_label + * @return $this + */ + public function setFormPageLabel($form_page_label) + { + $this->container['form_page_label'] = $form_page_label; + + return $this; + } + + /** + * Gets form_page_label_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getFormPageLabelMetadata() + { + return $this->container['form_page_label_metadata']; + } + + /** + * Sets form_page_label_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $form_page_label_metadata + * @return $this + */ + public function setFormPageLabelMetadata($form_page_label_metadata) + { + $this->container['form_page_label_metadata'] = $form_page_label_metadata; + + return $this; + } + + /** + * Gets form_page_number + * @return string + */ + public function getFormPageNumber() + { + return $this->container['form_page_number']; + } + + /** + * Sets form_page_number + * @param string $form_page_number + * @return $this + */ + public function setFormPageNumber($form_page_number) + { + $this->container['form_page_number'] = $form_page_number; + + return $this; + } + + /** + * Gets form_page_number_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getFormPageNumberMetadata() + { + return $this->container['form_page_number_metadata']; + } + + /** + * Sets form_page_number_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $form_page_number_metadata + * @return $this + */ + public function setFormPageNumberMetadata($form_page_number_metadata) + { + $this->container['form_page_number_metadata'] = $form_page_number_metadata; + + return $this; + } + + /** + * Gets height + * @return string + */ + public function getHeight() + { + return $this->container['height']; + } + + /** + * Sets height + * @param string $height Height of the tab in pixels. + * @return $this + */ + public function setHeight($height) + { + $this->container['height'] = $height; + + return $this; + } + + /** + * Gets height_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getHeightMetadata() + { + return $this->container['height_metadata']; + } + + /** + * Sets height_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $height_metadata + * @return $this + */ + public function setHeightMetadata($height_metadata) + { + $this->container['height_metadata'] = $height_metadata; + + return $this; + } + + /** + * Gets locked + * @return string + */ + public function getLocked() + { + return $this->container['locked']; + } + + /** + * Sets locked + * @param string $locked When set to **true**, the signer cannot change the data of the custom tab. + * @return $this + */ + public function setLocked($locked) + { + $this->container['locked'] = $locked; + + return $this; + } + + /** + * Gets locked_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getLockedMetadata() + { + return $this->container['locked_metadata']; + } + + /** + * Sets locked_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $locked_metadata + * @return $this + */ + public function setLockedMetadata($locked_metadata) + { + $this->container['locked_metadata'] = $locked_metadata; + + return $this; + } + + /** + * Gets merge_field + * @return \DocuSign\eSign\Model\MergeField + */ + public function getMergeField() + { + return $this->container['merge_field']; + } + + /** + * Sets merge_field + * @param \DocuSign\eSign\Model\MergeField $merge_field + * @return $this + */ + public function setMergeField($merge_field) + { + $this->container['merge_field'] = $merge_field; + + return $this; + } + + /** + * Gets merge_field_xml + * @return string + */ + public function getMergeFieldXml() + { + return $this->container['merge_field_xml']; + } + + /** + * Sets merge_field_xml + * @param string $merge_field_xml + * @return $this + */ + public function setMergeFieldXml($merge_field_xml) + { + $this->container['merge_field_xml'] = $merge_field_xml; + + return $this; + } + + /** + * Gets page_number + * @return string + */ + public function getPageNumber() + { + return $this->container['page_number']; + } + + /** + * Sets page_number + * @param string $page_number Specifies the page number on which the tab is located. + * @return $this + */ + public function setPageNumber($page_number) + { + $this->container['page_number'] = $page_number; + + return $this; + } + + /** + * Gets page_number_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getPageNumberMetadata() + { + return $this->container['page_number_metadata']; + } + + /** + * Sets page_number_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $page_number_metadata + * @return $this + */ + public function setPageNumberMetadata($page_number_metadata) + { + $this->container['page_number_metadata'] = $page_number_metadata; + + return $this; + } + + /** + * Gets recipient_id + * @return string + */ + public function getRecipientId() + { + return $this->container['recipient_id']; + } + + /** + * Sets recipient_id + * @param string $recipient_id Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document. + * @return $this + */ + public function setRecipientId($recipient_id) + { + $this->container['recipient_id'] = $recipient_id; + + return $this; + } + + /** + * Gets recipient_id_guid + * @return string + */ + public function getRecipientIdGuid() + { + return $this->container['recipient_id_guid']; + } + + /** + * Sets recipient_id_guid + * @param string $recipient_id_guid + * @return $this + */ + public function setRecipientIdGuid($recipient_id_guid) + { + $this->container['recipient_id_guid'] = $recipient_id_guid; + + return $this; + } + + /** + * Gets recipient_id_guid_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getRecipientIdGuidMetadata() + { + return $this->container['recipient_id_guid_metadata']; + } + + /** + * Sets recipient_id_guid_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $recipient_id_guid_metadata + * @return $this + */ + public function setRecipientIdGuidMetadata($recipient_id_guid_metadata) + { + $this->container['recipient_id_guid_metadata'] = $recipient_id_guid_metadata; + + return $this; + } + + /** + * Gets recipient_id_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getRecipientIdMetadata() + { + return $this->container['recipient_id_metadata']; + } + + /** + * Sets recipient_id_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $recipient_id_metadata + * @return $this + */ + public function setRecipientIdMetadata($recipient_id_metadata) + { + $this->container['recipient_id_metadata'] = $recipient_id_metadata; + + return $this; + } + + /** + * Gets required + * @return string + */ + public function getRequired() + { + return $this->container['required']; + } + + /** + * Sets required + * @param string $required When set to **true**, the signer is required to fill out this tab + * @return $this + */ + public function setRequired($required) + { + $this->container['required'] = $required; + + return $this; + } + + /** + * Gets required_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getRequiredMetadata() + { + return $this->container['required_metadata']; + } + + /** + * Sets required_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $required_metadata + * @return $this + */ + public function setRequiredMetadata($required_metadata) + { + $this->container['required_metadata'] = $required_metadata; + + return $this; + } + + /** + * Gets shared + * @return string + */ + public function getShared() + { + return $this->container['shared']; + } + + /** + * Sets shared + * @param string $shared When set to **true**, this custom tab is shared. + * @return $this + */ + public function setShared($shared) + { + $this->container['shared'] = $shared; + + return $this; + } + + /** + * Gets shared_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getSharedMetadata() + { + return $this->container['shared_metadata']; + } + + /** + * Sets shared_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $shared_metadata + * @return $this + */ + public function setSharedMetadata($shared_metadata) + { + $this->container['shared_metadata'] = $shared_metadata; + + return $this; + } + + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + + /** + * Gets status + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * @param string $status Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + * @return $this + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } + + /** + * Gets status_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getStatusMetadata() + { + return $this->container['status_metadata']; + } + + /** + * Sets status_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $status_metadata + * @return $this + */ + public function setStatusMetadata($status_metadata) + { + $this->container['status_metadata'] = $status_metadata; + + return $this; + } + + /** + * Gets tab_group_labels + * @return string[] + */ + public function getTabGroupLabels() + { + return $this->container['tab_group_labels']; + } + + /** + * Sets tab_group_labels + * @param string[] $tab_group_labels + * @return $this + */ + public function setTabGroupLabels($tab_group_labels) + { + $this->container['tab_group_labels'] = $tab_group_labels; + + return $this; + } + + /** + * Gets tab_group_labels_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getTabGroupLabelsMetadata() + { + return $this->container['tab_group_labels_metadata']; + } + + /** + * Sets tab_group_labels_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $tab_group_labels_metadata + * @return $this + */ + public function setTabGroupLabelsMetadata($tab_group_labels_metadata) + { + $this->container['tab_group_labels_metadata'] = $tab_group_labels_metadata; + + return $this; + } + + /** + * Gets tab_id + * @return string + */ + public function getTabId() + { + return $this->container['tab_id']; + } + + /** + * Sets tab_id + * @param string $tab_id The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call]. + * @return $this + */ + public function setTabId($tab_id) + { + $this->container['tab_id'] = $tab_id; + + return $this; + } + + /** + * Gets tab_id_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getTabIdMetadata() + { + return $this->container['tab_id_metadata']; + } + + /** + * Sets tab_id_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $tab_id_metadata + * @return $this + */ + public function setTabIdMetadata($tab_id_metadata) + { + $this->container['tab_id_metadata'] = $tab_id_metadata; + + return $this; + } + + /** + * Gets tab_label_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getTabLabelMetadata() + { + return $this->container['tab_label_metadata']; + } + + /** + * Sets tab_label_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $tab_label_metadata + * @return $this + */ + public function setTabLabelMetadata($tab_label_metadata) + { + $this->container['tab_label_metadata'] = $tab_label_metadata; + + return $this; + } + + /** + * Gets tab_order + * @return string + */ + public function getTabOrder() + { + return $this->container['tab_order']; + } + + /** + * Sets tab_order + * @param string $tab_order + * @return $this + */ + public function setTabOrder($tab_order) + { + $this->container['tab_order'] = $tab_order; + + return $this; + } + + /** + * Gets tab_order_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getTabOrderMetadata() + { + return $this->container['tab_order_metadata']; + } + + /** + * Sets tab_order_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $tab_order_metadata + * @return $this + */ + public function setTabOrderMetadata($tab_order_metadata) + { + $this->container['tab_order_metadata'] = $tab_order_metadata; + + return $this; + } + + /** + * Gets tab_type + * @return string + */ + public function getTabType() + { + return $this->container['tab_type']; + } + + /** + * Sets tab_type + * @param string $tab_type + * @return $this + */ + public function setTabType($tab_type) + { + $this->container['tab_type'] = $tab_type; + + return $this; + } + + /** + * Gets tab_type_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getTabTypeMetadata() + { + return $this->container['tab_type_metadata']; + } + + /** + * Sets tab_type_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $tab_type_metadata + * @return $this + */ + public function setTabTypeMetadata($tab_type_metadata) + { + $this->container['tab_type_metadata'] = $tab_type_metadata; + + return $this; + } + + /** + * Gets template_locked + * @return string + */ + public function getTemplateLocked() + { + return $this->container['template_locked']; + } + + /** + * Sets template_locked + * @param string $template_locked When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients. + * @return $this + */ + public function setTemplateLocked($template_locked) + { + $this->container['template_locked'] = $template_locked; + + return $this; + } + + /** + * Gets template_locked_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getTemplateLockedMetadata() + { + return $this->container['template_locked_metadata']; + } + + /** + * Sets template_locked_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $template_locked_metadata + * @return $this + */ + public function setTemplateLockedMetadata($template_locked_metadata) + { + $this->container['template_locked_metadata'] = $template_locked_metadata; + + return $this; + } + + /** + * Gets template_required + * @return string + */ + public function getTemplateRequired() + { + return $this->container['template_required']; + } + + /** + * Sets template_required + * @param string $template_required When set to **true**, the sender may not remove the recipient. Used only when working with template recipients. + * @return $this + */ + public function setTemplateRequired($template_required) + { + $this->container['template_required'] = $template_required; + + return $this; + } + + /** + * Gets template_required_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getTemplateRequiredMetadata() + { + return $this->container['template_required_metadata']; + } + + /** + * Sets template_required_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $template_required_metadata + * @return $this + */ + public function setTemplateRequiredMetadata($template_required_metadata) + { + $this->container['template_required_metadata'] = $template_required_metadata; + + return $this; + } + + /** + * Gets tooltip + * @return string + */ + public function getTooltip() + { + return $this->container['tooltip']; + } + + /** + * Sets tooltip + * @param string $tooltip + * @return $this + */ + public function setTooltip($tooltip) + { + $this->container['tooltip'] = $tooltip; + + return $this; + } + + /** + * Gets tool_tip_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getToolTipMetadata() + { + return $this->container['tool_tip_metadata']; + } + + /** + * Sets tool_tip_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $tool_tip_metadata + * @return $this + */ + public function setToolTipMetadata($tool_tip_metadata) + { + $this->container['tool_tip_metadata'] = $tool_tip_metadata; + + return $this; + } + + /** + * Gets use_background_as_canvas + * @return string + */ + public function getUseBackgroundAsCanvas() + { + return $this->container['use_background_as_canvas']; + } + + /** + * Sets use_background_as_canvas + * @param string $use_background_as_canvas + * @return $this + */ + public function setUseBackgroundAsCanvas($use_background_as_canvas) + { + $this->container['use_background_as_canvas'] = $use_background_as_canvas; + + return $this; + } + + /** + * Gets width + * @return string + */ + public function getWidth() + { + return $this->container['width']; + } + + /** + * Sets width + * @param string $width Width of the tab in pixels. + * @return $this + */ + public function setWidth($width) + { + $this->container['width'] = $width; + + return $this; + } + + /** + * Gets width_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getWidthMetadata() + { + return $this->container['width_metadata']; + } + + /** + * Sets width_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $width_metadata + * @return $this + */ + public function setWidthMetadata($width_metadata) + { + $this->container['width_metadata'] = $width_metadata; + + return $this; + } + + /** + * Gets x_position + * @return string + */ + public function getXPosition() + { + return $this->container['x_position']; + } + + /** + * Sets x_position + * @param string $x_position This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position. + * @return $this + */ + public function setXPosition($x_position) + { + $this->container['x_position'] = $x_position; + + return $this; + } + + /** + * Gets x_position_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getXPositionMetadata() + { + return $this->container['x_position_metadata']; + } + + /** + * Sets x_position_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $x_position_metadata + * @return $this + */ + public function setXPositionMetadata($x_position_metadata) + { + $this->container['x_position_metadata'] = $x_position_metadata; + + return $this; + } + + /** + * Gets y_position + * @return string + */ + public function getYPosition() + { + return $this->container['y_position']; + } + + /** + * Sets y_position + * @param string $y_position This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position. + * @return $this + */ + public function setYPosition($y_position) + { + $this->container['y_position'] = $y_position; + + return $this; + } + + /** + * Gets y_position_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getYPositionMetadata() + { + return $this->container['y_position_metadata']; + } + + /** + * Sets y_position_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $y_position_metadata + * @return $this + */ + public function setYPositionMetadata($y_position_metadata) + { + $this->container['y_position_metadata'] = $y_position_metadata; + + 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/Editor.php b/src/Model/Editor.php index a46ccaae..40843823 100644 --- a/src/Model/Editor.php +++ b/src/Model/Editor.php @@ -57,6 +57,7 @@ class Editor implements ArrayAccess 'access_code' => 'string', 'access_code_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'add_access_code_to_email' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'client_user_id' => 'string', 'completed_count' => 'string', 'custom_fields' => 'string[]', @@ -65,6 +66,8 @@ class Editor implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -132,6 +135,7 @@ public static function swaggerTypes() 'access_code' => 'accessCode', 'access_code_metadata' => 'accessCodeMetadata', 'add_access_code_to_email' => 'addAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', 'custom_fields' => 'customFields', @@ -140,6 +144,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -203,6 +209,7 @@ public static function swaggerTypes() 'access_code' => 'setAccessCode', 'access_code_metadata' => 'setAccessCodeMetadata', 'add_access_code_to_email' => 'setAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', 'custom_fields' => 'setCustomFields', @@ -211,6 +218,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -274,6 +283,7 @@ public static function swaggerTypes() 'access_code' => 'getAccessCode', 'access_code_metadata' => 'getAccessCodeMetadata', 'add_access_code_to_email' => 'getAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', 'custom_fields' => 'getCustomFields', @@ -282,6 +292,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -370,6 +382,7 @@ public function __construct(array $data = null) $this->container['access_code'] = isset($data['access_code']) ? $data['access_code'] : null; $this->container['access_code_metadata'] = isset($data['access_code_metadata']) ? $data['access_code_metadata'] : null; $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; @@ -378,6 +391,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -518,6 +533,27 @@ public function setAddAccessCodeToEmail($add_access_code_to_email) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets client_user_id * @return string @@ -686,6 +722,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] diff --git a/src/Model/Email.php b/src/Model/Email.php index 1b94682d..104a50c5 100644 --- a/src/Model/Email.php +++ b/src/Model/Email.php @@ -54,6 +54,8 @@ class Email implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -130,6 +132,7 @@ class Email implements ArrayAccess 'sender_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -174,6 +177,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -250,6 +255,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'senderRequiredMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -290,6 +296,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -366,6 +374,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'setSenderRequiredMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -406,6 +415,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -482,6 +493,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'getSenderRequiredMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -547,6 +559,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -623,6 +637,7 @@ public function __construct(array $data = null) $this->container['sender_required_metadata'] = isset($data['sender_required_metadata']) ? $data['sender_required_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -680,6 +695,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2276,6 +2333,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/EmailAddress.php b/src/Model/EmailAddress.php index 20377a55..aca9f523 100644 --- a/src/Model/EmailAddress.php +++ b/src/Model/EmailAddress.php @@ -54,6 +54,8 @@ class EmailAddress implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -110,6 +112,7 @@ class EmailAddress implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -150,6 +153,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -206,6 +211,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -242,6 +248,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -298,6 +306,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -334,6 +343,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -390,6 +401,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -451,6 +463,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -507,6 +521,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -560,6 +575,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1736,6 +1793,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Envelope.php b/src/Model/Envelope.php index b2b96286..a4b136d6 100644 --- a/src/Model/Envelope.php +++ b/src/Model/Envelope.php @@ -69,6 +69,7 @@ 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', @@ -155,6 +156,7 @@ 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', @@ -237,6 +239,7 @@ 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', @@ -319,6 +322,7 @@ 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', @@ -426,6 +430,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_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; @@ -825,6 +830,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 diff --git a/src/Model/EnvelopeDefinition.php b/src/Model/EnvelopeDefinition.php index 65aec4d8..9040f598 100644 --- a/src/Model/EnvelopeDefinition.php +++ b/src/Model/EnvelopeDefinition.php @@ -73,6 +73,7 @@ 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', @@ -169,6 +170,7 @@ 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', @@ -261,6 +263,7 @@ 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', @@ -353,6 +356,7 @@ 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', @@ -470,6 +474,7 @@ 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; @@ -959,6 +964,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 diff --git a/src/Model/EnvelopeDocument.php b/src/Model/EnvelopeDocument.php index a95934e0..0b386d39 100644 --- a/src/Model/EnvelopeDocument.php +++ b/src/Model/EnvelopeDocument.php @@ -63,7 +63,6 @@ class EnvelopeDocument implements ArrayAccess 'display' => 'string', 'display_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'document_fields' => '\DocuSign\eSign\Model\NameValue[]', - 'document_group' => 'string', 'document_id' => 'string', 'document_id_guid' => 'string', 'error_details' => '\DocuSign\eSign\Model\ErrorDetails', @@ -75,6 +74,7 @@ class EnvelopeDocument implements ArrayAccess 'pages' => '\DocuSign\eSign\Model\Page[]', 'signer_must_acknowledge' => 'string', 'signer_must_acknowledge_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'size_bytes' => 'string', 'template_locked' => 'string', 'template_required' => 'string', 'type' => 'string', @@ -100,7 +100,6 @@ public static function swaggerTypes() 'display' => 'display', 'display_metadata' => 'displayMetadata', 'document_fields' => 'documentFields', - 'document_group' => 'documentGroup', 'document_id' => 'documentId', 'document_id_guid' => 'documentIdGuid', 'error_details' => 'errorDetails', @@ -112,6 +111,7 @@ public static function swaggerTypes() 'pages' => 'pages', 'signer_must_acknowledge' => 'signerMustAcknowledge', 'signer_must_acknowledge_metadata' => 'signerMustAcknowledgeMetadata', + 'size_bytes' => 'sizeBytes', 'template_locked' => 'templateLocked', 'template_required' => 'templateRequired', 'type' => 'type', @@ -133,7 +133,6 @@ public static function swaggerTypes() 'display' => 'setDisplay', 'display_metadata' => 'setDisplayMetadata', 'document_fields' => 'setDocumentFields', - 'document_group' => 'setDocumentGroup', 'document_id' => 'setDocumentId', 'document_id_guid' => 'setDocumentIdGuid', 'error_details' => 'setErrorDetails', @@ -145,6 +144,7 @@ public static function swaggerTypes() 'pages' => 'setPages', 'signer_must_acknowledge' => 'setSignerMustAcknowledge', 'signer_must_acknowledge_metadata' => 'setSignerMustAcknowledgeMetadata', + 'size_bytes' => 'setSizeBytes', 'template_locked' => 'setTemplateLocked', 'template_required' => 'setTemplateRequired', 'type' => 'setType', @@ -166,7 +166,6 @@ public static function swaggerTypes() 'display' => 'getDisplay', 'display_metadata' => 'getDisplayMetadata', 'document_fields' => 'getDocumentFields', - 'document_group' => 'getDocumentGroup', 'document_id' => 'getDocumentId', 'document_id_guid' => 'getDocumentIdGuid', 'error_details' => 'getErrorDetails', @@ -178,6 +177,7 @@ public static function swaggerTypes() 'pages' => 'getPages', 'signer_must_acknowledge' => 'getSignerMustAcknowledge', 'signer_must_acknowledge_metadata' => 'getSignerMustAcknowledgeMetadata', + 'size_bytes' => 'getSizeBytes', 'template_locked' => 'getTemplateLocked', 'template_required' => 'getTemplateRequired', 'type' => 'getType', @@ -224,7 +224,6 @@ public function __construct(array $data = null) $this->container['display'] = isset($data['display']) ? $data['display'] : null; $this->container['display_metadata'] = isset($data['display_metadata']) ? $data['display_metadata'] : 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['document_id_guid'] = isset($data['document_id_guid']) ? $data['document_id_guid'] : null; $this->container['error_details'] = isset($data['error_details']) ? $data['error_details'] : null; @@ -236,6 +235,7 @@ public function __construct(array $data = 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['signer_must_acknowledge_metadata'] = isset($data['signer_must_acknowledge_metadata']) ? $data['signer_must_acknowledge_metadata'] : null; + $this->container['size_bytes'] = isset($data['size_bytes']) ? $data['size_bytes'] : null; $this->container['template_locked'] = isset($data['template_locked']) ? $data['template_locked'] : null; $this->container['template_required'] = isset($data['template_required']) ? $data['template_required'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; @@ -454,27 +454,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 @@ -706,6 +685,27 @@ public function setSignerMustAcknowledgeMetadata($signer_must_acknowledge_metada 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 template_locked * @return string diff --git a/src/Model/EnvelopeId.php b/src/Model/EnvelopeId.php index 03d6e19b..437caa60 100644 --- a/src/Model/EnvelopeId.php +++ b/src/Model/EnvelopeId.php @@ -54,6 +54,8 @@ class EnvelopeId implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -110,6 +112,7 @@ class EnvelopeId implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -148,6 +151,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -204,6 +209,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -238,6 +244,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -294,6 +302,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -328,6 +337,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -384,6 +395,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -443,6 +455,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -499,6 +513,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -550,6 +565,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1726,6 +1783,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/EnvelopeTemplate.php b/src/Model/EnvelopeTemplate.php index dda0df84..b7d250a8 100644 --- a/src/Model/EnvelopeTemplate.php +++ b/src/Model/EnvelopeTemplate.php @@ -71,6 +71,7 @@ class EnvelopeTemplate 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', @@ -138,7 +139,6 @@ class EnvelopeTemplate implements ArrayAccess 'sender' => '\DocuSign\eSign\Model\UserInfo', 'sent_date_time' => 'string', 'shared' => 'string', - 'shared_with_me' => 'string', 'signer_can_sign_on_mobile' => 'string', 'signing_location' => 'string', 'status' => 'string', @@ -180,6 +180,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', @@ -247,7 +248,6 @@ public static function swaggerTypes() 'sender' => 'sender', 'sent_date_time' => 'sentDateTime', 'shared' => 'shared', - 'shared_with_me' => 'sharedWithMe', 'signer_can_sign_on_mobile' => 'signerCanSignOnMobile', 'signing_location' => 'signingLocation', 'status' => 'status', @@ -285,6 +285,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', @@ -352,7 +353,6 @@ public static function swaggerTypes() 'sender' => 'setSender', 'sent_date_time' => 'setSentDateTime', 'shared' => 'setShared', - 'shared_with_me' => 'setSharedWithMe', 'signer_can_sign_on_mobile' => 'setSignerCanSignOnMobile', 'signing_location' => 'setSigningLocation', 'status' => 'setStatus', @@ -390,6 +390,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', @@ -457,7 +458,6 @@ public static function swaggerTypes() 'sender' => 'getSender', 'sent_date_time' => 'getSentDateTime', 'shared' => 'getShared', - 'shared_with_me' => 'getSharedWithMe', 'signer_can_sign_on_mobile' => 'getSignerCanSignOnMobile', 'signing_location' => 'getSigningLocation', 'status' => 'getStatus', @@ -520,6 +520,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; @@ -587,7 +588,6 @@ public function __construct(array $data = null) $this->container['sender'] = isset($data['sender']) ? $data['sender'] : null; $this->container['sent_date_time'] = isset($data['sent_date_time']) ? $data['sent_date_time'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; - $this->container['shared_with_me'] = isset($data['shared_with_me']) ? $data['shared_with_me'] : null; $this->container['signer_can_sign_on_mobile'] = isset($data['signer_can_sign_on_mobile']) ? $data['signer_can_sign_on_mobile'] : null; $this->container['signing_location'] = isset($data['signing_location']) ? $data['signing_location'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; @@ -982,6 +982,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 @@ -2389,27 +2410,6 @@ public function setShared($shared) return $this; } - /** - * Gets shared_with_me - * @return string - */ - public function getSharedWithMe() - { - return $this->container['shared_with_me']; - } - - /** - * Sets shared_with_me - * @param string $shared_with_me - * @return $this - */ - public function setSharedWithMe($shared_with_me) - { - $this->container['shared_with_me'] = $shared_with_me; - - return $this; - } - /** * Gets signer_can_sign_on_mobile * @return string diff --git a/src/Model/EventNotification.php b/src/Model/EventNotification.php index 00657e2e..37c5bab6 100644 --- a/src/Model/EventNotification.php +++ b/src/Model/EventNotification.php @@ -56,6 +56,7 @@ class EventNotification implements ArrayAccess */ protected static $swaggerTypes = [ 'envelope_events' => '\DocuSign\eSign\Model\EnvelopeEvent[]', + 'event_data' => '\DocuSign\eSign\Model\ConnectEventData', 'include_certificate_of_completion' => 'string', 'include_certificate_with_soap' => 'string', 'include_document_fields' => 'string', @@ -84,6 +85,7 @@ public static function swaggerTypes() */ protected static $attributeMap = [ 'envelope_events' => 'envelopeEvents', + 'event_data' => 'eventData', 'include_certificate_of_completion' => 'includeCertificateOfCompletion', 'include_certificate_with_soap' => 'includeCertificateWithSoap', 'include_document_fields' => 'includeDocumentFields', @@ -108,6 +110,7 @@ public static function swaggerTypes() */ protected static $setters = [ 'envelope_events' => 'setEnvelopeEvents', + 'event_data' => 'setEventData', 'include_certificate_of_completion' => 'setIncludeCertificateOfCompletion', 'include_certificate_with_soap' => 'setIncludeCertificateWithSoap', 'include_document_fields' => 'setIncludeDocumentFields', @@ -132,6 +135,7 @@ public static function swaggerTypes() */ protected static $getters = [ 'envelope_events' => 'getEnvelopeEvents', + 'event_data' => 'getEventData', 'include_certificate_of_completion' => 'getIncludeCertificateOfCompletion', 'include_certificate_with_soap' => 'getIncludeCertificateWithSoap', 'include_document_fields' => 'getIncludeDocumentFields', @@ -181,6 +185,7 @@ public static function getters() public function __construct(array $data = null) { $this->container['envelope_events'] = isset($data['envelope_events']) ? $data['envelope_events'] : null; + $this->container['event_data'] = isset($data['event_data']) ? $data['event_data'] : null; $this->container['include_certificate_of_completion'] = isset($data['include_certificate_of_completion']) ? $data['include_certificate_of_completion'] : null; $this->container['include_certificate_with_soap'] = isset($data['include_certificate_with_soap']) ? $data['include_certificate_with_soap'] : null; $this->container['include_document_fields'] = isset($data['include_document_fields']) ? $data['include_document_fields'] : null; @@ -242,6 +247,27 @@ public function setEnvelopeEvents($envelope_events) return $this; } + /** + * Gets event_data + * @return \DocuSign\eSign\Model\ConnectEventData + */ + public function getEventData() + { + return $this->container['event_data']; + } + + /** + * Sets event_data + * @param \DocuSign\eSign\Model\ConnectEventData $event_data + * @return $this + */ + public function setEventData($event_data) + { + $this->container['event_data'] = $event_data; + + return $this; + } + /** * Gets include_certificate_of_completion * @return string diff --git a/src/Model/FirstName.php b/src/Model/FirstName.php index 5903e52f..3b60f72c 100644 --- a/src/Model/FirstName.php +++ b/src/Model/FirstName.php @@ -54,6 +54,8 @@ class FirstName implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -110,6 +112,7 @@ class FirstName implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -150,6 +153,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -206,6 +211,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -242,6 +248,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -298,6 +306,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -334,6 +343,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -390,6 +401,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -451,6 +463,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -507,6 +521,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -560,6 +575,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1736,6 +1793,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/FormulaTab.php b/src/Model/FormulaTab.php index 18624bd4..105ea82e 100644 --- a/src/Model/FormulaTab.php +++ b/src/Model/FormulaTab.php @@ -54,6 +54,8 @@ class FormulaTab implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -139,6 +141,7 @@ class FormulaTab implements ArrayAccess 'sender_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -183,6 +186,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -268,6 +273,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'senderRequiredMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -308,6 +314,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -393,6 +401,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'setSenderRequiredMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -433,6 +442,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -518,6 +529,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'getSenderRequiredMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -583,6 +595,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -668,6 +682,7 @@ public function __construct(array $data = null) $this->container['sender_required_metadata'] = isset($data['sender_required_metadata']) ? $data['sender_required_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -725,6 +740,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2510,6 +2567,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/FullName.php b/src/Model/FullName.php index 945567dc..eba8ef3b 100644 --- a/src/Model/FullName.php +++ b/src/Model/FullName.php @@ -54,6 +54,8 @@ class FullName implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -110,6 +112,7 @@ class FullName implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -150,6 +153,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -206,6 +211,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -242,6 +248,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -298,6 +306,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -334,6 +343,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -390,6 +401,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -451,6 +463,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -507,6 +521,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -560,6 +575,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1736,6 +1793,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/InPersonSigner.php b/src/Model/InPersonSigner.php index 489e1df5..a5894cd4 100644 --- a/src/Model/InPersonSigner.php +++ b/src/Model/InPersonSigner.php @@ -57,6 +57,7 @@ class InPersonSigner implements ArrayAccess 'access_code' => 'string', 'access_code_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'add_access_code_to_email' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'auto_navigation' => 'string', 'can_sign_offline' => 'string', 'client_user_id' => 'string', @@ -69,6 +70,8 @@ class InPersonSigner implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -156,6 +159,7 @@ public static function swaggerTypes() 'access_code' => 'accessCode', 'access_code_metadata' => 'accessCodeMetadata', 'add_access_code_to_email' => 'addAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'auto_navigation' => 'autoNavigation', 'can_sign_offline' => 'canSignOffline', 'client_user_id' => 'clientUserId', @@ -168,6 +172,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -251,6 +257,7 @@ public static function swaggerTypes() 'access_code' => 'setAccessCode', 'access_code_metadata' => 'setAccessCodeMetadata', 'add_access_code_to_email' => 'setAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'auto_navigation' => 'setAutoNavigation', 'can_sign_offline' => 'setCanSignOffline', 'client_user_id' => 'setClientUserId', @@ -263,6 +270,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -346,6 +355,7 @@ public static function swaggerTypes() 'access_code' => 'getAccessCode', 'access_code_metadata' => 'getAccessCodeMetadata', 'add_access_code_to_email' => 'getAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'auto_navigation' => 'getAutoNavigation', 'can_sign_offline' => 'getCanSignOffline', 'client_user_id' => 'getClientUserId', @@ -358,6 +368,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -466,6 +478,7 @@ public function __construct(array $data = null) $this->container['access_code'] = isset($data['access_code']) ? $data['access_code'] : null; $this->container['access_code_metadata'] = isset($data['access_code_metadata']) ? $data['access_code_metadata'] : null; $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['auto_navigation'] = isset($data['auto_navigation']) ? $data['auto_navigation'] : null; $this->container['can_sign_offline'] = isset($data['can_sign_offline']) ? $data['can_sign_offline'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; @@ -478,6 +491,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -638,6 +653,27 @@ public function setAddAccessCodeToEmail($add_access_code_to_email) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets auto_navigation * @return string @@ -890,6 +926,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] diff --git a/src/Model/InitialHere.php b/src/Model/InitialHere.php index 355ee253..824d2dbc 100644 --- a/src/Model/InitialHere.php +++ b/src/Model/InitialHere.php @@ -54,6 +54,8 @@ class InitialHere implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -103,6 +105,7 @@ class InitialHere implements ArrayAccess 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'scale_value' => 'string', 'scale_value_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -139,6 +142,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -188,6 +193,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'recipientIdMetadata', 'scale_value' => 'scaleValue', 'scale_value_metadata' => 'scaleValueMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -220,6 +226,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -269,6 +277,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'setRecipientIdMetadata', 'scale_value' => 'setScaleValue', 'scale_value_metadata' => 'setScaleValueMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -301,6 +310,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -350,6 +361,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'getRecipientIdMetadata', 'scale_value' => 'getScaleValue', 'scale_value_metadata' => 'getScaleValueMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -407,6 +419,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -456,6 +470,7 @@ public function __construct(array $data = null) $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; $this->container['scale_value'] = isset($data['scale_value']) ? $data['scale_value'] : null; $this->container['scale_value_metadata'] = isset($data['scale_value_metadata']) ? $data['scale_value_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -505,6 +520,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1534,6 +1591,27 @@ public function setScaleValueMetadata($scale_value_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Intermediary.php b/src/Model/Intermediary.php index 4bd14624..12ef12d8 100644 --- a/src/Model/Intermediary.php +++ b/src/Model/Intermediary.php @@ -57,6 +57,7 @@ class Intermediary implements ArrayAccess 'access_code' => 'string', 'access_code_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'add_access_code_to_email' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'client_user_id' => 'string', 'completed_count' => 'string', 'custom_fields' => 'string[]', @@ -65,6 +66,8 @@ class Intermediary implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -133,6 +136,7 @@ public static function swaggerTypes() 'access_code' => 'accessCode', 'access_code_metadata' => 'accessCodeMetadata', 'add_access_code_to_email' => 'addAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', 'custom_fields' => 'customFields', @@ -141,6 +145,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -205,6 +211,7 @@ public static function swaggerTypes() 'access_code' => 'setAccessCode', 'access_code_metadata' => 'setAccessCodeMetadata', 'add_access_code_to_email' => 'setAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', 'custom_fields' => 'setCustomFields', @@ -213,6 +220,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -277,6 +286,7 @@ public static function swaggerTypes() 'access_code' => 'getAccessCode', 'access_code_metadata' => 'getAccessCodeMetadata', 'add_access_code_to_email' => 'getAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', 'custom_fields' => 'getCustomFields', @@ -285,6 +295,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -374,6 +386,7 @@ public function __construct(array $data = null) $this->container['access_code'] = isset($data['access_code']) ? $data['access_code'] : null; $this->container['access_code_metadata'] = isset($data['access_code_metadata']) ? $data['access_code_metadata'] : null; $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; @@ -382,6 +395,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -523,6 +538,27 @@ public function setAddAccessCodeToEmail($add_access_code_to_email) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets client_user_id * @return string @@ -691,6 +727,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] diff --git a/src/Model/LastName.php b/src/Model/LastName.php index 8ddcac98..32a68409 100644 --- a/src/Model/LastName.php +++ b/src/Model/LastName.php @@ -54,6 +54,8 @@ class LastName implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -110,6 +112,7 @@ class LastName implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -150,6 +153,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -206,6 +211,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -242,6 +248,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -298,6 +306,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -334,6 +343,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -390,6 +401,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -451,6 +463,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -507,6 +521,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -560,6 +575,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1736,6 +1793,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/ModelList.php b/src/Model/ModelList.php index 8dcee796..73161526 100644 --- a/src/Model/ModelList.php +++ b/src/Model/ModelList.php @@ -54,6 +54,8 @@ class ModelList implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -123,6 +125,7 @@ class ModelList implements ArrayAccess 'sender_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -163,6 +166,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -232,6 +237,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'senderRequiredMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -268,6 +274,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -337,6 +345,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'setSenderRequiredMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -373,6 +382,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -442,6 +453,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'getSenderRequiredMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -503,6 +515,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -572,6 +586,7 @@ public function __construct(array $data = null) $this->container['sender_required_metadata'] = isset($data['sender_required_metadata']) ? $data['sender_required_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -625,6 +640,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2074,6 +2131,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Notarize.php b/src/Model/Notarize.php index 92ec41c6..f41015d6 100644 --- a/src/Model/Notarize.php +++ b/src/Model/Notarize.php @@ -54,6 +54,8 @@ class Notarize implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -101,6 +103,7 @@ class Notarize implements ArrayAccess 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'required' => 'string', 'required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -135,6 +138,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -182,6 +187,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'recipientIdMetadata', 'required' => 'required', 'required_metadata' => 'requiredMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -212,6 +218,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -259,6 +267,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'setRecipientIdMetadata', 'required' => 'setRequired', 'required_metadata' => 'setRequiredMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -289,6 +298,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -336,6 +347,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'getRecipientIdMetadata', 'required' => 'getRequired', 'required_metadata' => 'getRequiredMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -391,6 +403,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -438,6 +452,7 @@ public function __construct(array $data = null) $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; $this->container['required'] = isset($data['required']) ? $data['required'] : null; $this->container['required_metadata'] = isset($data['required_metadata']) ? $data['required_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -485,6 +500,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1472,6 +1529,27 @@ public function setRequiredMetadata($required_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Notary.php b/src/Model/Notary.php new file mode 100644 index 00000000..53000519 --- /dev/null +++ b/src/Model/Notary.php @@ -0,0 +1,305 @@ + 'string', + 'enabled' => 'string', + 'searchable' => 'string', + 'user_info' => '\DocuSign\eSign\Model\UserInformation' + ]; + + 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 = [ + 'created_date' => 'createdDate', + 'enabled' => 'enabled', + 'searchable' => 'searchable', + 'user_info' => 'userInfo' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'created_date' => 'setCreatedDate', + 'enabled' => 'setEnabled', + 'searchable' => 'setSearchable', + 'user_info' => 'setUserInfo' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'created_date' => 'getCreatedDate', + 'enabled' => 'getEnabled', + 'searchable' => 'getSearchable', + 'user_info' => 'getUserInfo' + ]; + + 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['created_date'] = isset($data['created_date']) ? $data['created_date'] : null; + $this->container['enabled'] = isset($data['enabled']) ? $data['enabled'] : null; + $this->container['searchable'] = isset($data['searchable']) ? $data['searchable'] : null; + $this->container['user_info'] = isset($data['user_info']) ? $data['user_info'] : 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 created_date + * @return string + */ + public function getCreatedDate() + { + return $this->container['created_date']; + } + + /** + * Sets created_date + * @param string $created_date + * @return $this + */ + public function setCreatedDate($created_date) + { + $this->container['created_date'] = $created_date; + + return $this; + } + + /** + * Gets enabled + * @return string + */ + public function getEnabled() + { + return $this->container['enabled']; + } + + /** + * Sets enabled + * @param string $enabled + * @return $this + */ + public function setEnabled($enabled) + { + $this->container['enabled'] = $enabled; + + return $this; + } + + /** + * Gets searchable + * @return string + */ + public function getSearchable() + { + return $this->container['searchable']; + } + + /** + * Sets searchable + * @param string $searchable + * @return $this + */ + public function setSearchable($searchable) + { + $this->container['searchable'] = $searchable; + + return $this; + } + + /** + * Gets user_info + * @return \DocuSign\eSign\Model\UserInformation + */ + public function getUserInfo() + { + return $this->container['user_info']; + } + + /** + * Sets user_info + * @param \DocuSign\eSign\Model\UserInformation $user_info + * @return $this + */ + public function setUserInfo($user_info) + { + $this->container['user_info'] = $user_info; + + 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/NotaryHost.php b/src/Model/NotaryHost.php index ab84b7bb..78d74f3a 100644 --- a/src/Model/NotaryHost.php +++ b/src/Model/NotaryHost.php @@ -57,6 +57,7 @@ class NotaryHost implements ArrayAccess 'access_code' => 'string', 'access_code_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'add_access_code_to_email' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'client_user_id' => 'string', 'completed_count' => 'string', 'custom_fields' => 'string[]', @@ -65,6 +66,8 @@ class NotaryHost implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -128,6 +131,7 @@ public static function swaggerTypes() 'access_code' => 'accessCode', 'access_code_metadata' => 'accessCodeMetadata', 'add_access_code_to_email' => 'addAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', 'custom_fields' => 'customFields', @@ -136,6 +140,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -195,6 +201,7 @@ public static function swaggerTypes() 'access_code' => 'setAccessCode', 'access_code_metadata' => 'setAccessCodeMetadata', 'add_access_code_to_email' => 'setAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', 'custom_fields' => 'setCustomFields', @@ -203,6 +210,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -262,6 +271,7 @@ public static function swaggerTypes() 'access_code' => 'getAccessCode', 'access_code_metadata' => 'getAccessCodeMetadata', 'add_access_code_to_email' => 'getAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', 'custom_fields' => 'getCustomFields', @@ -270,6 +280,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -354,6 +366,7 @@ public function __construct(array $data = null) $this->container['access_code'] = isset($data['access_code']) ? $data['access_code'] : null; $this->container['access_code_metadata'] = isset($data['access_code_metadata']) ? $data['access_code_metadata'] : null; $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; @@ -362,6 +375,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -498,6 +513,27 @@ public function setAddAccessCodeToEmail($add_access_code_to_email) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets client_user_id * @return string @@ -666,6 +702,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] diff --git a/src/Model/NotaryJurisdiction.php b/src/Model/NotaryJurisdiction.php new file mode 100644 index 00000000..cf7dd46c --- /dev/null +++ b/src/Model/NotaryJurisdiction.php @@ -0,0 +1,383 @@ + 'string', + 'commission_id' => 'string', + 'county' => 'string', + 'error_details' => '\DocuSign\eSign\Model\ErrorDetails', + 'jurisdiction' => '\DocuSign\eSign\Model\Jurisdiction', + 'registered_name' => 'string', + 'seal_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 = [ + 'commission_expiration' => 'commissionExpiration', + 'commission_id' => 'commissionId', + 'county' => 'county', + 'error_details' => 'errorDetails', + 'jurisdiction' => 'jurisdiction', + 'registered_name' => 'registeredName', + 'seal_type' => 'sealType' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'commission_expiration' => 'setCommissionExpiration', + 'commission_id' => 'setCommissionId', + 'county' => 'setCounty', + 'error_details' => 'setErrorDetails', + 'jurisdiction' => 'setJurisdiction', + 'registered_name' => 'setRegisteredName', + 'seal_type' => 'setSealType' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'commission_expiration' => 'getCommissionExpiration', + 'commission_id' => 'getCommissionId', + 'county' => 'getCounty', + 'error_details' => 'getErrorDetails', + 'jurisdiction' => 'getJurisdiction', + 'registered_name' => 'getRegisteredName', + 'seal_type' => 'getSealType' + ]; + + 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['commission_expiration'] = isset($data['commission_expiration']) ? $data['commission_expiration'] : null; + $this->container['commission_id'] = isset($data['commission_id']) ? $data['commission_id'] : null; + $this->container['county'] = isset($data['county']) ? $data['county'] : null; + $this->container['error_details'] = isset($data['error_details']) ? $data['error_details'] : null; + $this->container['jurisdiction'] = isset($data['jurisdiction']) ? $data['jurisdiction'] : null; + $this->container['registered_name'] = isset($data['registered_name']) ? $data['registered_name'] : null; + $this->container['seal_type'] = isset($data['seal_type']) ? $data['seal_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 commission_expiration + * @return string + */ + public function getCommissionExpiration() + { + return $this->container['commission_expiration']; + } + + /** + * Sets commission_expiration + * @param string $commission_expiration + * @return $this + */ + public function setCommissionExpiration($commission_expiration) + { + $this->container['commission_expiration'] = $commission_expiration; + + return $this; + } + + /** + * Gets commission_id + * @return string + */ + public function getCommissionId() + { + return $this->container['commission_id']; + } + + /** + * Sets commission_id + * @param string $commission_id + * @return $this + */ + public function setCommissionId($commission_id) + { + $this->container['commission_id'] = $commission_id; + + return $this; + } + + /** + * Gets county + * @return string + */ + public function getCounty() + { + return $this->container['county']; + } + + /** + * Sets county + * @param string $county + * @return $this + */ + public function setCounty($county) + { + $this->container['county'] = $county; + + return $this; + } + + /** + * Gets error_details + * @return \DocuSign\eSign\Model\ErrorDetails + */ + public function getErrorDetails() + { + return $this->container['error_details']; + } + + /** + * Sets error_details + * @param \DocuSign\eSign\Model\ErrorDetails $error_details + * @return $this + */ + public function setErrorDetails($error_details) + { + $this->container['error_details'] = $error_details; + + return $this; + } + + /** + * Gets jurisdiction + * @return \DocuSign\eSign\Model\Jurisdiction + */ + public function getJurisdiction() + { + return $this->container['jurisdiction']; + } + + /** + * Sets jurisdiction + * @param \DocuSign\eSign\Model\Jurisdiction $jurisdiction + * @return $this + */ + public function setJurisdiction($jurisdiction) + { + $this->container['jurisdiction'] = $jurisdiction; + + return $this; + } + + /** + * Gets registered_name + * @return string + */ + public function getRegisteredName() + { + return $this->container['registered_name']; + } + + /** + * Sets registered_name + * @param string $registered_name + * @return $this + */ + public function setRegisteredName($registered_name) + { + $this->container['registered_name'] = $registered_name; + + return $this; + } + + /** + * Gets seal_type + * @return string + */ + public function getSealType() + { + return $this->container['seal_type']; + } + + /** + * Sets seal_type + * @param string $seal_type + * @return $this + */ + public function setSealType($seal_type) + { + $this->container['seal_type'] = $seal_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/NotaryJurisdictionList.php b/src/Model/NotaryJurisdictionList.php new file mode 100644 index 00000000..8e4b3c80 --- /dev/null +++ b/src/Model/NotaryJurisdictionList.php @@ -0,0 +1,383 @@ + 'string', + 'next_uri' => 'string', + 'notary_jurisdictions' => '\DocuSign\eSign\Model\NotaryJurisdiction[]', + 'previous_uri' => 'string', + 'result_set_size' => 'string', + 'start_position' => 'string', + 'total_set_size' => '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 = [ + 'end_position' => 'endPosition', + 'next_uri' => 'nextUri', + 'notary_jurisdictions' => 'notaryJurisdictions', + 'previous_uri' => 'previousUri', + 'result_set_size' => 'resultSetSize', + 'start_position' => 'startPosition', + 'total_set_size' => 'totalSetSize' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'end_position' => 'setEndPosition', + 'next_uri' => 'setNextUri', + 'notary_jurisdictions' => 'setNotaryJurisdictions', + 'previous_uri' => 'setPreviousUri', + 'result_set_size' => 'setResultSetSize', + 'start_position' => 'setStartPosition', + 'total_set_size' => 'setTotalSetSize' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'end_position' => 'getEndPosition', + 'next_uri' => 'getNextUri', + 'notary_jurisdictions' => 'getNotaryJurisdictions', + 'previous_uri' => 'getPreviousUri', + 'result_set_size' => 'getResultSetSize', + 'start_position' => 'getStartPosition', + 'total_set_size' => 'getTotalSetSize' + ]; + + 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['end_position'] = isset($data['end_position']) ? $data['end_position'] : null; + $this->container['next_uri'] = isset($data['next_uri']) ? $data['next_uri'] : null; + $this->container['notary_jurisdictions'] = isset($data['notary_jurisdictions']) ? $data['notary_jurisdictions'] : null; + $this->container['previous_uri'] = isset($data['previous_uri']) ? $data['previous_uri'] : null; + $this->container['result_set_size'] = isset($data['result_set_size']) ? $data['result_set_size'] : null; + $this->container['start_position'] = isset($data['start_position']) ? $data['start_position'] : null; + $this->container['total_set_size'] = isset($data['total_set_size']) ? $data['total_set_size'] : 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 end_position + * @return string + */ + public function getEndPosition() + { + return $this->container['end_position']; + } + + /** + * Sets end_position + * @param string $end_position The last position in the result set. + * @return $this + */ + public function setEndPosition($end_position) + { + $this->container['end_position'] = $end_position; + + return $this; + } + + /** + * Gets next_uri + * @return string + */ + public function getNextUri() + { + return $this->container['next_uri']; + } + + /** + * Sets next_uri + * @param string $next_uri The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + * @return $this + */ + public function setNextUri($next_uri) + { + $this->container['next_uri'] = $next_uri; + + return $this; + } + + /** + * Gets notary_jurisdictions + * @return \DocuSign\eSign\Model\NotaryJurisdiction[] + */ + public function getNotaryJurisdictions() + { + return $this->container['notary_jurisdictions']; + } + + /** + * Sets notary_jurisdictions + * @param \DocuSign\eSign\Model\NotaryJurisdiction[] $notary_jurisdictions + * @return $this + */ + public function setNotaryJurisdictions($notary_jurisdictions) + { + $this->container['notary_jurisdictions'] = $notary_jurisdictions; + + return $this; + } + + /** + * Gets previous_uri + * @return string + */ + public function getPreviousUri() + { + return $this->container['previous_uri']; + } + + /** + * Sets previous_uri + * @param string $previous_uri The postal code for the billing address. + * @return $this + */ + public function setPreviousUri($previous_uri) + { + $this->container['previous_uri'] = $previous_uri; + + return $this; + } + + /** + * Gets result_set_size + * @return string + */ + public function getResultSetSize() + { + return $this->container['result_set_size']; + } + + /** + * Sets result_set_size + * @param string $result_set_size The number of results returned in this response. + * @return $this + */ + public function setResultSetSize($result_set_size) + { + $this->container['result_set_size'] = $result_set_size; + + return $this; + } + + /** + * Gets start_position + * @return string + */ + public function getStartPosition() + { + return $this->container['start_position']; + } + + /** + * Sets start_position + * @param string $start_position Starting position of the current result set. + * @return $this + */ + public function setStartPosition($start_position) + { + $this->container['start_position'] = $start_position; + + return $this; + } + + /** + * Gets total_set_size + * @return string + */ + public function getTotalSetSize() + { + return $this->container['total_set_size']; + } + + /** + * Sets total_set_size + * @param string $total_set_size The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + * @return $this + */ + public function setTotalSetSize($total_set_size) + { + $this->container['total_set_size'] = $total_set_size; + + 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/NotaryResult.php b/src/Model/NotaryResult.php new file mode 100644 index 00000000..64b0c52b --- /dev/null +++ b/src/Model/NotaryResult.php @@ -0,0 +1,253 @@ + '\DocuSign\eSign\Model\Jurisdiction[]', + 'notary' => '\DocuSign\eSign\Model\Notary' + ]; + + 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 = [ + 'jurisdictions' => 'jurisdictions', + 'notary' => 'notary' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'jurisdictions' => 'setJurisdictions', + 'notary' => 'setNotary' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'jurisdictions' => 'getJurisdictions', + 'notary' => 'getNotary' + ]; + + 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['jurisdictions'] = isset($data['jurisdictions']) ? $data['jurisdictions'] : null; + $this->container['notary'] = isset($data['notary']) ? $data['notary'] : 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 jurisdictions + * @return \DocuSign\eSign\Model\Jurisdiction[] + */ + public function getJurisdictions() + { + return $this->container['jurisdictions']; + } + + /** + * Sets jurisdictions + * @param \DocuSign\eSign\Model\Jurisdiction[] $jurisdictions + * @return $this + */ + public function setJurisdictions($jurisdictions) + { + $this->container['jurisdictions'] = $jurisdictions; + + return $this; + } + + /** + * Gets notary + * @return \DocuSign\eSign\Model\Notary + */ + public function getNotary() + { + return $this->container['notary']; + } + + /** + * Sets notary + * @param \DocuSign\eSign\Model\Notary $notary + * @return $this + */ + public function setNotary($notary) + { + $this->container['notary'] = $notary; + + 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/Note.php b/src/Model/Note.php index 428d7d35..37061913 100644 --- a/src/Model/Note.php +++ b/src/Model/Note.php @@ -54,6 +54,8 @@ class Note implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -112,6 +114,7 @@ class Note implements ArrayAccess 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -152,6 +155,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -210,6 +215,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'recipientIdMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -246,6 +252,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -304,6 +312,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'setRecipientIdMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -340,6 +349,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -398,6 +409,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'getRecipientIdMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -459,6 +471,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -517,6 +531,7 @@ public function __construct(array $data = null) $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -570,6 +585,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1788,6 +1845,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Number.php b/src/Model/Number.php index e7444ad2..06df9f81 100644 --- a/src/Model/Number.php +++ b/src/Model/Number.php @@ -54,6 +54,8 @@ class Number implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -134,6 +136,7 @@ class Number implements ArrayAccess 'sender_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -178,6 +181,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -258,6 +263,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'senderRequiredMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -298,6 +304,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -378,6 +386,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'setSenderRequiredMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -418,6 +427,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -498,6 +509,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'getSenderRequiredMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -563,6 +575,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -643,6 +657,7 @@ public function __construct(array $data = null) $this->container['sender_required_metadata'] = isset($data['sender_required_metadata']) ? $data['sender_required_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -700,6 +715,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2380,6 +2437,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/OcrRequest.php b/src/Model/OcrRequest.php new file mode 100644 index 00000000..25027414 --- /dev/null +++ b/src/Model/OcrRequest.php @@ -0,0 +1,357 @@ + 'string', + 'page_selection' => 'string', + 'set_page_orientation' => 'string', + 'show_frames' => 'string', + 'show_text' => 'string', + 'skip_pages_having_existing_extractable_text' => '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 = [ + 'ocr_language' => 'ocrLanguage', + 'page_selection' => 'pageSelection', + 'set_page_orientation' => 'setPageOrientation', + 'show_frames' => 'showFrames', + 'show_text' => 'showText', + 'skip_pages_having_existing_extractable_text' => 'skipPagesHavingExistingExtractableText' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'ocr_language' => 'setOcrLanguage', + 'page_selection' => 'setPageSelection', + 'set_page_orientation' => 'setSetPageOrientation', + 'show_frames' => 'setShowFrames', + 'show_text' => 'setShowText', + 'skip_pages_having_existing_extractable_text' => 'setSkipPagesHavingExistingExtractableText' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'ocr_language' => 'getOcrLanguage', + 'page_selection' => 'getPageSelection', + 'set_page_orientation' => 'getSetPageOrientation', + 'show_frames' => 'getShowFrames', + 'show_text' => 'getShowText', + 'skip_pages_having_existing_extractable_text' => 'getSkipPagesHavingExistingExtractableText' + ]; + + 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['ocr_language'] = isset($data['ocr_language']) ? $data['ocr_language'] : null; + $this->container['page_selection'] = isset($data['page_selection']) ? $data['page_selection'] : null; + $this->container['set_page_orientation'] = isset($data['set_page_orientation']) ? $data['set_page_orientation'] : null; + $this->container['show_frames'] = isset($data['show_frames']) ? $data['show_frames'] : null; + $this->container['show_text'] = isset($data['show_text']) ? $data['show_text'] : null; + $this->container['skip_pages_having_existing_extractable_text'] = isset($data['skip_pages_having_existing_extractable_text']) ? $data['skip_pages_having_existing_extractable_text'] : 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 ocr_language + * @return string + */ + public function getOcrLanguage() + { + return $this->container['ocr_language']; + } + + /** + * Sets ocr_language + * @param string $ocr_language + * @return $this + */ + public function setOcrLanguage($ocr_language) + { + $this->container['ocr_language'] = $ocr_language; + + return $this; + } + + /** + * Gets page_selection + * @return string + */ + public function getPageSelection() + { + return $this->container['page_selection']; + } + + /** + * Sets page_selection + * @param string $page_selection + * @return $this + */ + public function setPageSelection($page_selection) + { + $this->container['page_selection'] = $page_selection; + + return $this; + } + + /** + * Gets set_page_orientation + * @return string + */ + public function getSetPageOrientation() + { + return $this->container['set_page_orientation']; + } + + /** + * Sets set_page_orientation + * @param string $set_page_orientation + * @return $this + */ + public function setSetPageOrientation($set_page_orientation) + { + $this->container['set_page_orientation'] = $set_page_orientation; + + return $this; + } + + /** + * Gets show_frames + * @return string + */ + public function getShowFrames() + { + return $this->container['show_frames']; + } + + /** + * Sets show_frames + * @param string $show_frames + * @return $this + */ + public function setShowFrames($show_frames) + { + $this->container['show_frames'] = $show_frames; + + return $this; + } + + /** + * Gets show_text + * @return string + */ + public function getShowText() + { + return $this->container['show_text']; + } + + /** + * Sets show_text + * @param string $show_text + * @return $this + */ + public function setShowText($show_text) + { + $this->container['show_text'] = $show_text; + + return $this; + } + + /** + * Gets skip_pages_having_existing_extractable_text + * @return string + */ + public function getSkipPagesHavingExistingExtractableText() + { + return $this->container['skip_pages_having_existing_extractable_text']; + } + + /** + * Sets skip_pages_having_existing_extractable_text + * @param string $skip_pages_having_existing_extractable_text + * @return $this + */ + public function setSkipPagesHavingExistingExtractableText($skip_pages_having_existing_extractable_text) + { + $this->container['skip_pages_having_existing_extractable_text'] = $skip_pages_having_existing_extractable_text; + + 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/OfflineAttributes.php b/src/Model/OfflineAttributes.php new file mode 100644 index 00000000..7999904e --- /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/PolyLineOverlay.php b/src/Model/PolyLineOverlay.php index 511d72ca..12dd0049 100644 --- a/src/Model/PolyLineOverlay.php +++ b/src/Model/PolyLineOverlay.php @@ -54,6 +54,8 @@ class PolyLineOverlay implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -105,6 +107,7 @@ class PolyLineOverlay implements ArrayAccess 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -140,6 +143,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -191,6 +196,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'recipientIdMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -222,6 +228,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -273,6 +281,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'setRecipientIdMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -304,6 +313,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -355,6 +366,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'getRecipientIdMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -411,6 +423,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -462,6 +476,7 @@ public function __construct(array $data = null) $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -510,6 +525,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1581,6 +1638,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/ProofServiceResourceToken.php b/src/Model/ProofServiceResourceToken.php new file mode 100644 index 00000000..b9c11d77 --- /dev/null +++ b/src/Model/ProofServiceResourceToken.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 = [ + 'resource_token' => 'ResourceToken' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'resource_token' => 'setResourceToken' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'resource_token' => 'getResourceToken' + ]; + + 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['resource_token'] = isset($data['resource_token']) ? $data['resource_token'] : 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 resource_token + * @return string + */ + public function getResourceToken() + { + return $this->container['resource_token']; + } + + /** + * Sets resource_token + * @param string $resource_token + * @return $this + */ + public function setResourceToken($resource_token) + { + $this->container['resource_token'] = $resource_token; + + 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/ProofServiceViewLink.php b/src/Model/ProofServiceViewLink.php new file mode 100644 index 00000000..2f14e311 --- /dev/null +++ b/src/Model/ProofServiceViewLink.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 = [ + 'view_link' => 'ViewLink' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'view_link' => 'setViewLink' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'view_link' => 'getViewLink' + ]; + + 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['view_link'] = isset($data['view_link']) ? $data['view_link'] : 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 view_link + * @return string + */ + public function getViewLink() + { + return $this->container['view_link']; + } + + /** + * Sets view_link + * @param string $view_link + * @return $this + */ + public function setViewLink($view_link) + { + $this->container['view_link'] = $view_link; + + 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/Radio.php b/src/Model/Radio.php index d6271e35..06925916 100644 --- a/src/Model/Radio.php +++ b/src/Model/Radio.php @@ -54,6 +54,8 @@ class Radio implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -117,6 +119,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -176,6 +180,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -235,6 +241,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -319,6 +327,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -395,6 +405,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string diff --git a/src/Model/RecipientEmailNotification.php b/src/Model/RecipientEmailNotification.php index b6e7cb01..ce81c515 100644 --- a/src/Model/RecipientEmailNotification.php +++ b/src/Model/RecipientEmailNotification.php @@ -265,7 +265,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..68a6eb01 --- /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..f3278733 --- /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 index 3b736c7d..c948fc28 100644 --- a/src/Model/RecipientIdentityVerification.php +++ b/src/Model/RecipientIdentityVerification.php @@ -54,6 +54,7 @@ class RecipientIdentityVerification implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'input_options' => '\DocuSign\eSign\Model\RecipientIdentityInputOption[]', 'workflow_id' => 'string' ]; @@ -67,6 +68,7 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'input_options' => 'inputOptions', 'workflow_id' => 'workflowId' ]; @@ -76,6 +78,7 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'input_options' => 'setInputOptions', 'workflow_id' => 'setWorkflowId' ]; @@ -85,6 +88,7 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'input_options' => 'getInputOptions', 'workflow_id' => 'getWorkflowId' ]; @@ -119,6 +123,7 @@ public static function getters() */ 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; } @@ -145,6 +150,27 @@ public function valid() } + /** + * 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 diff --git a/src/Model/RecipientProofFile.php b/src/Model/RecipientProofFile.php new file mode 100644 index 00000000..6a462088 --- /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/Revision.php b/src/Model/Revision.php index fd218530..1152f01b 100644 --- a/src/Model/Revision.php +++ b/src/Model/Revision.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -57,6 +57,7 @@ class Revision implements ArrayAccess 'end_data' => 'string', 'field_name' => 'string', 'max_signature_length' => 'string', + 'signature_properties' => '\DocuSign\eSign\Model\SignatureProperties', 'signature_type' => 'string', 'start_data' => 'string' ]; @@ -74,6 +75,7 @@ public static function swaggerTypes() 'end_data' => 'endData', 'field_name' => 'fieldName', 'max_signature_length' => 'maxSignatureLength', + 'signature_properties' => 'signatureProperties', 'signature_type' => 'signatureType', 'start_data' => 'startData' ]; @@ -87,6 +89,7 @@ public static function swaggerTypes() 'end_data' => 'setEndData', 'field_name' => 'setFieldName', 'max_signature_length' => 'setMaxSignatureLength', + 'signature_properties' => 'setSignatureProperties', 'signature_type' => 'setSignatureType', 'start_data' => 'setStartData' ]; @@ -100,6 +103,7 @@ public static function swaggerTypes() 'end_data' => 'getEndData', 'field_name' => 'getFieldName', 'max_signature_length' => 'getMaxSignatureLength', + 'signature_properties' => 'getSignatureProperties', 'signature_type' => 'getSignatureType', 'start_data' => 'getStartData' ]; @@ -138,6 +142,7 @@ public function __construct(array $data = null) $this->container['end_data'] = isset($data['end_data']) ? $data['end_data'] : null; $this->container['field_name'] = isset($data['field_name']) ? $data['field_name'] : null; $this->container['max_signature_length'] = isset($data['max_signature_length']) ? $data['max_signature_length'] : null; + $this->container['signature_properties'] = isset($data['signature_properties']) ? $data['signature_properties'] : null; $this->container['signature_type'] = isset($data['signature_type']) ? $data['signature_type'] : null; $this->container['start_data'] = isset($data['start_data']) ? $data['start_data'] : null; } @@ -228,6 +233,27 @@ public function setMaxSignatureLength($max_signature_length) return $this; } + /** + * Gets signature_properties + * @return \DocuSign\eSign\Model\SignatureProperties + */ + public function getSignatureProperties() + { + return $this->container['signature_properties']; + } + + /** + * Sets signature_properties + * @param \DocuSign\eSign\Model\SignatureProperties $signature_properties + * @return $this + */ + public function setSignatureProperties($signature_properties) + { + $this->container['signature_properties'] = $signature_properties; + + return $this; + } + /** * Gets signature_type * @return string diff --git a/src/Model/SealSign.php b/src/Model/SealSign.php index 6b11ad0a..4d0ccfb6 100644 --- a/src/Model/SealSign.php +++ b/src/Model/SealSign.php @@ -57,6 +57,7 @@ class SealSign implements ArrayAccess 'access_code' => 'string', 'access_code_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'add_access_code_to_email' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'client_user_id' => 'string', 'completed_count' => 'string', 'custom_fields' => 'string[]', @@ -65,6 +66,8 @@ class SealSign implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email_notification' => '\DocuSign\eSign\Model\RecipientEmailNotification', 'embedded_recipient_start_url' => 'string', @@ -121,6 +124,7 @@ public static function swaggerTypes() 'access_code' => 'accessCode', 'access_code_metadata' => 'accessCodeMetadata', 'add_access_code_to_email' => 'addAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'client_user_id' => 'clientUserId', 'completed_count' => 'completedCount', 'custom_fields' => 'customFields', @@ -129,6 +133,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email_notification' => 'emailNotification', 'embedded_recipient_start_url' => 'embeddedRecipientStartURL', @@ -181,6 +187,7 @@ public static function swaggerTypes() 'access_code' => 'setAccessCode', 'access_code_metadata' => 'setAccessCodeMetadata', 'add_access_code_to_email' => 'setAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'setClientUserId', 'completed_count' => 'setCompletedCount', 'custom_fields' => 'setCustomFields', @@ -189,6 +196,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email_notification' => 'setEmailNotification', 'embedded_recipient_start_url' => 'setEmbeddedRecipientStartUrl', @@ -241,6 +250,7 @@ public static function swaggerTypes() 'access_code' => 'getAccessCode', 'access_code_metadata' => 'getAccessCodeMetadata', 'add_access_code_to_email' => 'getAddAccessCodeToEmail', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'client_user_id' => 'getClientUserId', 'completed_count' => 'getCompletedCount', 'custom_fields' => 'getCustomFields', @@ -249,6 +259,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email_notification' => 'getEmailNotification', 'embedded_recipient_start_url' => 'getEmbeddedRecipientStartUrl', @@ -326,6 +338,7 @@ public function __construct(array $data = null) $this->container['access_code'] = isset($data['access_code']) ? $data['access_code'] : null; $this->container['access_code_metadata'] = isset($data['access_code_metadata']) ? $data['access_code_metadata'] : null; $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['client_user_id'] = isset($data['client_user_id']) ? $data['client_user_id'] : null; $this->container['completed_count'] = isset($data['completed_count']) ? $data['completed_count'] : null; $this->container['custom_fields'] = isset($data['custom_fields']) ? $data['custom_fields'] : null; @@ -334,6 +347,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email_notification'] = isset($data['email_notification']) ? $data['email_notification'] : null; $this->container['embedded_recipient_start_url'] = isset($data['embedded_recipient_start_url']) ? $data['embedded_recipient_start_url'] : null; @@ -463,6 +478,27 @@ public function setAddAccessCodeToEmail($add_access_code_to_email) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets client_user_id * @return string @@ -631,6 +667,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] diff --git a/src/Model/Sender.php b/src/Model/Sender.php index a1f4a87c..7aee234e 100644 --- a/src/Model/Sender.php +++ b/src/Model/Sender.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/SignHashDocument.php b/src/Model/SignHashDocument.php index b70a5afe..8c71b9cd 100644 --- a/src/Model/SignHashDocument.php +++ b/src/Model/SignHashDocument.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -58,8 +58,9 @@ class SignHashDocument implements ArrayAccess 'document_id' => 'string', 'format' => 'string', 'name' => 'string', - 'remaining_signatures' => 'string', + 'remaining_signatures' => 'int', 'revisions' => '\DocuSign\eSign\Model\Revision[]', + 'signature_properties' => '\DocuSign\eSign\Model\SignatureProperties', 'signature_type' => 'string' ]; @@ -79,6 +80,7 @@ public static function swaggerTypes() 'name' => 'name', 'remaining_signatures' => 'remainingSignatures', 'revisions' => 'revisions', + 'signature_properties' => 'signatureProperties', 'signature_type' => 'signatureType' ]; @@ -94,6 +96,7 @@ public static function swaggerTypes() 'name' => 'setName', 'remaining_signatures' => 'setRemainingSignatures', 'revisions' => 'setRevisions', + 'signature_properties' => 'setSignatureProperties', 'signature_type' => 'setSignatureType' ]; @@ -109,6 +112,7 @@ public static function swaggerTypes() 'name' => 'getName', 'remaining_signatures' => 'getRemainingSignatures', 'revisions' => 'getRevisions', + 'signature_properties' => 'getSignatureProperties', 'signature_type' => 'getSignatureType' ]; @@ -149,6 +153,7 @@ public function __construct(array $data = null) $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['remaining_signatures'] = isset($data['remaining_signatures']) ? $data['remaining_signatures'] : null; $this->container['revisions'] = isset($data['revisions']) ? $data['revisions'] : null; + $this->container['signature_properties'] = isset($data['signature_properties']) ? $data['signature_properties'] : null; $this->container['signature_type'] = isset($data['signature_type']) ? $data['signature_type'] : null; } @@ -261,7 +266,7 @@ public function setName($name) /** * Gets remaining_signatures - * @return string + * @return int */ public function getRemainingSignatures() { @@ -270,7 +275,7 @@ public function getRemainingSignatures() /** * Sets remaining_signatures - * @param string $remaining_signatures + * @param int $remaining_signatures * @return $this */ public function setRemainingSignatures($remaining_signatures) @@ -301,6 +306,27 @@ public function setRevisions($revisions) return $this; } + /** + * Gets signature_properties + * @return \DocuSign\eSign\Model\SignatureProperties + */ + public function getSignatureProperties() + { + return $this->container['signature_properties']; + } + + /** + * Sets signature_properties + * @param \DocuSign\eSign\Model\SignatureProperties $signature_properties + * @return $this + */ + public function setSignatureProperties($signature_properties) + { + $this->container['signature_properties'] = $signature_properties; + + return $this; + } + /** * Gets signature_type * @return string diff --git a/src/Model/SignHashSessionInfoResponse.php b/src/Model/SignHashSessionInfoResponse.php index 45e84f40..72874124 100644 --- a/src/Model/SignHashSessionInfoResponse.php +++ b/src/Model/SignHashSessionInfoResponse.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -58,8 +58,9 @@ class SignHashSessionInfoResponse implements ArrayAccess 'envelope_id' => 'string', 'language' => 'string', 'redirection_url' => 'string', - 'remaining_signature_requests' => 'string', + 'remaining_signature_requests' => 'int', 'seal' => '\DocuSign\eSign\Model\Seal', + 'sender' => '\DocuSign\eSign\Model\Sender', 'user' => '\DocuSign\eSign\Model\User' ]; @@ -79,6 +80,7 @@ public static function swaggerTypes() 'redirection_url' => 'redirectionUrl', 'remaining_signature_requests' => 'remainingSignatureRequests', 'seal' => 'seal', + 'sender' => 'sender', 'user' => 'user' ]; @@ -94,6 +96,7 @@ public static function swaggerTypes() 'redirection_url' => 'setRedirectionUrl', 'remaining_signature_requests' => 'setRemainingSignatureRequests', 'seal' => 'setSeal', + 'sender' => 'setSender', 'user' => 'setUser' ]; @@ -109,6 +112,7 @@ public static function swaggerTypes() 'redirection_url' => 'getRedirectionUrl', 'remaining_signature_requests' => 'getRemainingSignatureRequests', 'seal' => 'getSeal', + 'sender' => 'getSender', 'user' => 'getUser' ]; @@ -149,6 +153,7 @@ public function __construct(array $data = null) $this->container['redirection_url'] = isset($data['redirection_url']) ? $data['redirection_url'] : null; $this->container['remaining_signature_requests'] = isset($data['remaining_signature_requests']) ? $data['remaining_signature_requests'] : null; $this->container['seal'] = isset($data['seal']) ? $data['seal'] : null; + $this->container['sender'] = isset($data['sender']) ? $data['sender'] : null; $this->container['user'] = isset($data['user']) ? $data['user'] : null; } @@ -261,7 +266,7 @@ public function setRedirectionUrl($redirection_url) /** * Gets remaining_signature_requests - * @return string + * @return int */ public function getRemainingSignatureRequests() { @@ -270,7 +275,7 @@ public function getRemainingSignatureRequests() /** * Sets remaining_signature_requests - * @param string $remaining_signature_requests + * @param int $remaining_signature_requests * @return $this */ public function setRemainingSignatureRequests($remaining_signature_requests) @@ -301,6 +306,27 @@ public function setSeal($seal) return $this; } + /** + * Gets sender + * @return \DocuSign\eSign\Model\Sender + */ + public function getSender() + { + return $this->container['sender']; + } + + /** + * Sets sender + * @param \DocuSign\eSign\Model\Sender $sender + * @return $this + */ + public function setSender($sender) + { + $this->container['sender'] = $sender; + + return $this; + } + /** * Gets user * @return \DocuSign\eSign\Model\User diff --git a/src/Model/SignHere.php b/src/Model/SignHere.php index 5638b7b7..0f574824 100644 --- a/src/Model/SignHere.php +++ b/src/Model/SignHere.php @@ -54,6 +54,8 @@ class SignHere implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -104,6 +106,8 @@ class SignHere implements ArrayAccess 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'scale_value' => 'string', 'scale_value_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', + 'stamp' => '\DocuSign\eSign\Model\Stamp', 'stamp_type' => 'string', 'stamp_type_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'status' => 'string', @@ -142,6 +146,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -192,6 +198,8 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'recipientIdMetadata', 'scale_value' => 'scaleValue', 'scale_value_metadata' => 'scaleValueMetadata', + 'smart_contract_information' => 'smartContractInformation', + 'stamp' => 'stamp', 'stamp_type' => 'stampType', 'stamp_type_metadata' => 'stampTypeMetadata', 'status' => 'status', @@ -226,6 +234,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -276,6 +286,8 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'setRecipientIdMetadata', 'scale_value' => 'setScaleValue', 'scale_value_metadata' => 'setScaleValueMetadata', + 'smart_contract_information' => 'setSmartContractInformation', + 'stamp' => 'setStamp', 'stamp_type' => 'setStampType', 'stamp_type_metadata' => 'setStampTypeMetadata', 'status' => 'setStatus', @@ -310,6 +322,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -360,6 +374,8 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'getRecipientIdMetadata', 'scale_value' => 'getScaleValue', 'scale_value_metadata' => 'getScaleValueMetadata', + 'smart_contract_information' => 'getSmartContractInformation', + 'stamp' => 'getStamp', 'stamp_type' => 'getStampType', 'stamp_type_metadata' => 'getStampTypeMetadata', 'status' => 'getStatus', @@ -419,6 +435,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -469,6 +487,8 @@ public function __construct(array $data = null) $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; $this->container['scale_value'] = isset($data['scale_value']) ? $data['scale_value'] : null; $this->container['scale_value_metadata'] = isset($data['scale_value_metadata']) ? $data['scale_value_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; + $this->container['stamp'] = isset($data['stamp']) ? $data['stamp'] : null; $this->container['stamp_type'] = isset($data['stamp_type']) ? $data['stamp_type'] : null; $this->container['stamp_type_metadata'] = isset($data['stamp_type_metadata']) ? $data['stamp_type_metadata'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; @@ -520,6 +540,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1570,6 +1632,48 @@ public function setScaleValueMetadata($scale_value_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + + /** + * Gets stamp + * @return \DocuSign\eSign\Model\Stamp + */ + public function getStamp() + { + return $this->container['stamp']; + } + + /** + * Sets stamp + * @param \DocuSign\eSign\Model\Stamp $stamp + * @return $this + */ + public function setStamp($stamp) + { + $this->container['stamp'] = $stamp; + + return $this; + } + /** * Gets stamp_type * @return string diff --git a/src/Model/SignSessionInfoRequest.php b/src/Model/SignSessionInfoRequest.php index 1cb2946f..4a0f5045 100644 --- a/src/Model/SignSessionInfoRequest.php +++ b/src/Model/SignSessionInfoRequest.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -55,6 +55,7 @@ class SignSessionInfoRequest implements ArrayAccess */ protected static $swaggerTypes = [ 'certificate' => 'string', + 'max_signature_length' => 'string', 'return_format' => 'string', 'signing_location' => 'string' ]; @@ -70,6 +71,7 @@ public static function swaggerTypes() */ protected static $attributeMap = [ 'certificate' => 'certificate', + 'max_signature_length' => 'maxSignatureLength', 'return_format' => 'returnFormat', 'signing_location' => 'signingLocation' ]; @@ -81,6 +83,7 @@ public static function swaggerTypes() */ protected static $setters = [ 'certificate' => 'setCertificate', + 'max_signature_length' => 'setMaxSignatureLength', 'return_format' => 'setReturnFormat', 'signing_location' => 'setSigningLocation' ]; @@ -92,6 +95,7 @@ public static function swaggerTypes() */ protected static $getters = [ 'certificate' => 'getCertificate', + 'max_signature_length' => 'getMaxSignatureLength', 'return_format' => 'getReturnFormat', 'signing_location' => 'getSigningLocation' ]; @@ -128,6 +132,7 @@ public static function getters() public function __construct(array $data = null) { $this->container['certificate'] = isset($data['certificate']) ? $data['certificate'] : null; + $this->container['max_signature_length'] = isset($data['max_signature_length']) ? $data['max_signature_length'] : null; $this->container['return_format'] = isset($data['return_format']) ? $data['return_format'] : null; $this->container['signing_location'] = isset($data['signing_location']) ? $data['signing_location'] : null; } @@ -176,6 +181,27 @@ public function setCertificate($certificate) return $this; } + /** + * Gets max_signature_length + * @return string + */ + public function getMaxSignatureLength() + { + return $this->container['max_signature_length']; + } + + /** + * Sets max_signature_length + * @param string $max_signature_length + * @return $this + */ + public function setMaxSignatureLength($max_signature_length) + { + $this->container['max_signature_length'] = $max_signature_length; + + return $this; + } + /** * Gets return_format * @return string diff --git a/src/Model/SignatureDataInfo.php b/src/Model/SignatureDataInfo.php index ddbeb176..7bca2b8b 100644 --- a/src/Model/SignatureDataInfo.php +++ b/src/Model/SignatureDataInfo.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/Signer.php b/src/Model/Signer.php index 73954697..fc0c5616 100644 --- a/src/Model/Signer.php +++ b/src/Model/Signer.php @@ -59,6 +59,7 @@ class Signer implements ArrayAccess 'add_access_code_to_email' => 'string', 'agent_can_edit_email' => 'string', 'agent_can_edit_name' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'auto_navigation' => 'string', 'bulk_recipients_uri' => 'string', 'can_sign_offline' => 'string', @@ -72,6 +73,8 @@ class Signer implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -102,6 +105,7 @@ class Signer implements ArrayAccess 'note_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', '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_feature_metadata' => '\DocuSign\eSign\Model\FeatureAvailableMetadata[]', @@ -155,6 +159,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'addAccessCodeToEmail', 'agent_can_edit_email' => 'agentCanEditEmail', 'agent_can_edit_name' => 'agentCanEditName', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'auto_navigation' => 'autoNavigation', 'bulk_recipients_uri' => 'bulkRecipientsUri', 'can_sign_offline' => 'canSignOffline', @@ -168,6 +173,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -198,6 +205,7 @@ public static function swaggerTypes() 'note_metadata' => 'noteMetadata', 'offline_attributes' => 'offlineAttributes', 'phone_authentication' => 'phoneAuthentication', + 'proof_file' => 'proofFile', 'recipient_attachments' => 'recipientAttachments', 'recipient_authentication_status' => 'recipientAuthenticationStatus', 'recipient_feature_metadata' => 'recipientFeatureMetadata', @@ -247,6 +255,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'setAddAccessCodeToEmail', 'agent_can_edit_email' => 'setAgentCanEditEmail', 'agent_can_edit_name' => 'setAgentCanEditName', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'auto_navigation' => 'setAutoNavigation', 'bulk_recipients_uri' => 'setBulkRecipientsUri', 'can_sign_offline' => 'setCanSignOffline', @@ -260,6 +269,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -290,6 +301,7 @@ public static function swaggerTypes() 'note_metadata' => 'setNoteMetadata', 'offline_attributes' => 'setOfflineAttributes', 'phone_authentication' => 'setPhoneAuthentication', + 'proof_file' => 'setProofFile', 'recipient_attachments' => 'setRecipientAttachments', 'recipient_authentication_status' => 'setRecipientAuthenticationStatus', 'recipient_feature_metadata' => 'setRecipientFeatureMetadata', @@ -339,6 +351,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'getAddAccessCodeToEmail', 'agent_can_edit_email' => 'getAgentCanEditEmail', 'agent_can_edit_name' => 'getAgentCanEditName', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'auto_navigation' => 'getAutoNavigation', 'bulk_recipients_uri' => 'getBulkRecipientsUri', 'can_sign_offline' => 'getCanSignOffline', @@ -352,6 +365,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -382,6 +397,7 @@ public static function swaggerTypes() 'note_metadata' => 'getNoteMetadata', 'offline_attributes' => 'getOfflineAttributes', 'phone_authentication' => 'getPhoneAuthentication', + 'proof_file' => 'getProofFile', 'recipient_attachments' => 'getRecipientAttachments', 'recipient_authentication_status' => 'getRecipientAuthenticationStatus', 'recipient_feature_metadata' => 'getRecipientFeatureMetadata', @@ -456,6 +472,7 @@ public function __construct(array $data = null) $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; $this->container['agent_can_edit_email'] = isset($data['agent_can_edit_email']) ? $data['agent_can_edit_email'] : null; $this->container['agent_can_edit_name'] = isset($data['agent_can_edit_name']) ? $data['agent_can_edit_name'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['auto_navigation'] = isset($data['auto_navigation']) ? $data['auto_navigation'] : null; $this->container['bulk_recipients_uri'] = isset($data['bulk_recipients_uri']) ? $data['bulk_recipients_uri'] : null; $this->container['can_sign_offline'] = isset($data['can_sign_offline']) ? $data['can_sign_offline'] : null; @@ -469,6 +486,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -499,6 +518,7 @@ public function __construct(array $data = null) $this->container['note_metadata'] = isset($data['note_metadata']) ? $data['note_metadata'] : 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_feature_metadata'] = isset($data['recipient_feature_metadata']) ? $data['recipient_feature_metadata'] : null; @@ -665,6 +685,27 @@ public function setAgentCanEditName($agent_can_edit_name) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets auto_navigation * @return string @@ -938,6 +979,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] @@ -1568,6 +1651,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[] @@ -1810,7 +1914,7 @@ public function getRequireSignerCertificate() /** * Sets require_signer_certificate - * @param string $require_signer_certificate Sets the type of signer certificate required for signing. If left blank, no certificate is required. Only one type of certificate can be set for a signer. The possible values are: * docusign_express – Requires a DocuSign Express certificate. * safe – Requires a SAFE-BioPharma certificate. * open_trust – Requires an OpenTrust certificate. **Important**: There are certain rules and restrictions that must be followed when requiring OpenTrust digital signatures. See [ML:OpenTrust Rules and Restrictions] for more information. + * @param string $require_signer_certificate Sets the type of signer certificate required for signing. If left blank, no certificate is required. Only one type of certificate can be set for a signer. The possible values are: * docusign_express - Requires a DocuSign Express certificate. * safe - Requires a SAFE-BioPharma certificate. * open_trust - Requires an OpenTrust certificate. **Important**: There are certain rules and restrictions that must be followed when requiring OpenTrust digital signatures. See [ML:OpenTrust Rules and Restrictions] for more information. * @return $this */ public function setRequireSignerCertificate($require_signer_certificate) diff --git a/src/Model/SignerAttachment.php b/src/Model/SignerAttachment.php index 600f7576..41d014dc 100644 --- a/src/Model/SignerAttachment.php +++ b/src/Model/SignerAttachment.php @@ -54,6 +54,8 @@ class SignerAttachment implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -103,6 +105,7 @@ class SignerAttachment implements ArrayAccess 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'scale_value' => 'string', 'scale_value_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -139,6 +142,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -188,6 +193,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'recipientIdMetadata', 'scale_value' => 'scaleValue', 'scale_value_metadata' => 'scaleValueMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -220,6 +226,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -269,6 +277,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'setRecipientIdMetadata', 'scale_value' => 'setScaleValue', 'scale_value_metadata' => 'setScaleValueMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -301,6 +310,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -350,6 +361,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'getRecipientIdMetadata', 'scale_value' => 'getScaleValue', 'scale_value_metadata' => 'getScaleValueMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -407,6 +419,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -456,6 +470,7 @@ public function __construct(array $data = null) $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; $this->container['scale_value'] = isset($data['scale_value']) ? $data['scale_value'] : null; $this->container['scale_value_metadata'] = isset($data['scale_value_metadata']) ? $data['scale_value_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -505,6 +520,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1534,6 +1591,27 @@ public function setScaleValueMetadata($scale_value_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/SmartContractInformation.php b/src/Model/SmartContractInformation.php new file mode 100644 index 00000000..cc347784 --- /dev/null +++ b/src/Model/SmartContractInformation.php @@ -0,0 +1,253 @@ + 'string', + 'uri' => '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 = [ + 'code' => 'code', + 'uri' => 'uri' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'code' => 'setCode', + 'uri' => 'setUri' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'code' => 'getCode', + 'uri' => 'getUri' + ]; + + 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['code'] = isset($data['code']) ? $data['code'] : null; + $this->container['uri'] = isset($data['uri']) ? $data['uri'] : 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 code + * @return string + */ + public function getCode() + { + return $this->container['code']; + } + + /** + * Sets code + * @param string $code + * @return $this + */ + public function setCode($code) + { + $this->container['code'] = $code; + + return $this; + } + + /** + * Gets uri + * @return string + */ + public function getUri() + { + return $this->container['uri']; + } + + /** + * Sets uri + * @param string $uri + * @return $this + */ + public function setUri($uri) + { + $this->container['uri'] = $uri; + + 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/SmartSection.php b/src/Model/SmartSection.php index 1a45d0fb..9c07e8c7 100644 --- a/src/Model/SmartSection.php +++ b/src/Model/SmartSection.php @@ -54,6 +54,8 @@ class SmartSection implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -109,6 +111,7 @@ class SmartSection implements ArrayAccess 'remove_start_anchor' => 'bool', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'start_anchor' => 'string', 'start_position' => '\DocuSign\eSign\Model\SmartSectionAnchorPosition', 'status' => 'string', @@ -146,6 +149,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -201,6 +206,7 @@ public static function swaggerTypes() 'remove_start_anchor' => 'removeStartAnchor', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'start_anchor' => 'startAnchor', 'start_position' => 'startPosition', 'status' => 'status', @@ -234,6 +240,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -289,6 +297,7 @@ public static function swaggerTypes() 'remove_start_anchor' => 'setRemoveStartAnchor', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'start_anchor' => 'setStartAnchor', 'start_position' => 'setStartPosition', 'status' => 'setStatus', @@ -322,6 +331,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -377,6 +388,7 @@ public static function swaggerTypes() 'remove_start_anchor' => 'getRemoveStartAnchor', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'start_anchor' => 'getStartAnchor', 'start_position' => 'getStartPosition', 'status' => 'getStatus', @@ -435,6 +447,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -490,6 +504,7 @@ public function __construct(array $data = null) $this->container['remove_start_anchor'] = isset($data['remove_start_anchor']) ? $data['remove_start_anchor'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['start_anchor'] = isset($data['start_anchor']) ? $data['start_anchor'] : null; $this->container['start_position'] = isset($data['start_position']) ? $data['start_position'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; @@ -540,6 +555,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1695,6 +1752,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets start_anchor * @return string diff --git a/src/Model/SmartSectionDisplaySettings.php b/src/Model/SmartSectionDisplaySettings.php index e4fb128d..4dd4cc5b 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/Ssn.php b/src/Model/Ssn.php index b7bd347d..8854bc98 100644 --- a/src/Model/Ssn.php +++ b/src/Model/Ssn.php @@ -54,6 +54,8 @@ class Ssn implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -130,6 +132,7 @@ class Ssn implements ArrayAccess 'sender_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -174,6 +177,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -250,6 +255,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'senderRequiredMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -290,6 +296,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -366,6 +374,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'setSenderRequiredMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -406,6 +415,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -482,6 +493,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'getSenderRequiredMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -547,6 +559,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -623,6 +637,7 @@ public function __construct(array $data = null) $this->container['sender_required_metadata'] = isset($data['sender_required_metadata']) ? $data['sender_required_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -680,6 +695,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2276,6 +2333,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Stamp.php b/src/Model/Stamp.php new file mode 100644 index 00000000..ed525d12 --- /dev/null +++ b/src/Model/Stamp.php @@ -0,0 +1,617 @@ + 'string', + 'created_date_time' => 'string', + 'custom_field' => 'string', + 'date_stamp_properties' => '\DocuSign\eSign\Model\DateStampProperties', + 'disallow_user_resize_stamp' => 'string', + 'error_details' => '\DocuSign\eSign\Model\ErrorDetails', + 'external_id' => 'string', + 'image_base64' => 'string', + 'image_type' => 'string', + 'last_modified_date_time' => 'string', + 'phonetic_name' => 'string', + 'signature_name' => 'string', + 'stamp_format' => 'string', + 'stamp_image_uri' => 'string', + 'stamp_size_mm' => 'string', + 'status' => '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 = [ + 'adopted_date_time' => 'adoptedDateTime', + 'created_date_time' => 'createdDateTime', + 'custom_field' => 'customField', + 'date_stamp_properties' => 'dateStampProperties', + 'disallow_user_resize_stamp' => 'disallowUserResizeStamp', + 'error_details' => 'errorDetails', + 'external_id' => 'externalID', + 'image_base64' => 'imageBase64', + 'image_type' => 'imageType', + 'last_modified_date_time' => 'lastModifiedDateTime', + 'phonetic_name' => 'phoneticName', + 'signature_name' => 'signatureName', + 'stamp_format' => 'stampFormat', + 'stamp_image_uri' => 'stampImageUri', + 'stamp_size_mm' => 'stampSizeMM', + 'status' => 'status' + ]; + + + /** + * Array of attributes to setter functions (for deserialization of responses) + * @var string[] + */ + protected static $setters = [ + 'adopted_date_time' => 'setAdoptedDateTime', + 'created_date_time' => 'setCreatedDateTime', + 'custom_field' => 'setCustomField', + 'date_stamp_properties' => 'setDateStampProperties', + 'disallow_user_resize_stamp' => 'setDisallowUserResizeStamp', + 'error_details' => 'setErrorDetails', + 'external_id' => 'setExternalId', + 'image_base64' => 'setImageBase64', + 'image_type' => 'setImageType', + 'last_modified_date_time' => 'setLastModifiedDateTime', + 'phonetic_name' => 'setPhoneticName', + 'signature_name' => 'setSignatureName', + 'stamp_format' => 'setStampFormat', + 'stamp_image_uri' => 'setStampImageUri', + 'stamp_size_mm' => 'setStampSizeMm', + 'status' => 'setStatus' + ]; + + + /** + * Array of attributes to getter functions (for serialization of requests) + * @var string[] + */ + protected static $getters = [ + 'adopted_date_time' => 'getAdoptedDateTime', + 'created_date_time' => 'getCreatedDateTime', + 'custom_field' => 'getCustomField', + 'date_stamp_properties' => 'getDateStampProperties', + 'disallow_user_resize_stamp' => 'getDisallowUserResizeStamp', + 'error_details' => 'getErrorDetails', + 'external_id' => 'getExternalId', + 'image_base64' => 'getImageBase64', + 'image_type' => 'getImageType', + 'last_modified_date_time' => 'getLastModifiedDateTime', + 'phonetic_name' => 'getPhoneticName', + 'signature_name' => 'getSignatureName', + 'stamp_format' => 'getStampFormat', + 'stamp_image_uri' => 'getStampImageUri', + 'stamp_size_mm' => 'getStampSizeMm', + 'status' => 'getStatus' + ]; + + 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['adopted_date_time'] = isset($data['adopted_date_time']) ? $data['adopted_date_time'] : null; + $this->container['created_date_time'] = isset($data['created_date_time']) ? $data['created_date_time'] : null; + $this->container['custom_field'] = isset($data['custom_field']) ? $data['custom_field'] : null; + $this->container['date_stamp_properties'] = isset($data['date_stamp_properties']) ? $data['date_stamp_properties'] : null; + $this->container['disallow_user_resize_stamp'] = isset($data['disallow_user_resize_stamp']) ? $data['disallow_user_resize_stamp'] : null; + $this->container['error_details'] = isset($data['error_details']) ? $data['error_details'] : null; + $this->container['external_id'] = isset($data['external_id']) ? $data['external_id'] : null; + $this->container['image_base64'] = isset($data['image_base64']) ? $data['image_base64'] : null; + $this->container['image_type'] = isset($data['image_type']) ? $data['image_type'] : null; + $this->container['last_modified_date_time'] = isset($data['last_modified_date_time']) ? $data['last_modified_date_time'] : null; + $this->container['phonetic_name'] = isset($data['phonetic_name']) ? $data['phonetic_name'] : null; + $this->container['signature_name'] = isset($data['signature_name']) ? $data['signature_name'] : null; + $this->container['stamp_format'] = isset($data['stamp_format']) ? $data['stamp_format'] : null; + $this->container['stamp_image_uri'] = isset($data['stamp_image_uri']) ? $data['stamp_image_uri'] : null; + $this->container['stamp_size_mm'] = isset($data['stamp_size_mm']) ? $data['stamp_size_mm'] : null; + $this->container['status'] = isset($data['status']) ? $data['status'] : 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 adopted_date_time + * @return string + */ + public function getAdoptedDateTime() + { + return $this->container['adopted_date_time']; + } + + /** + * Sets adopted_date_time + * @param string $adopted_date_time + * @return $this + */ + public function setAdoptedDateTime($adopted_date_time) + { + $this->container['adopted_date_time'] = $adopted_date_time; + + return $this; + } + + /** + * Gets created_date_time + * @return string + */ + public function getCreatedDateTime() + { + return $this->container['created_date_time']; + } + + /** + * Sets created_date_time + * @param string $created_date_time Indicates the date and time the item was created. + * @return $this + */ + public function setCreatedDateTime($created_date_time) + { + $this->container['created_date_time'] = $created_date_time; + + return $this; + } + + /** + * Gets custom_field + * @return string + */ + public function getCustomField() + { + return $this->container['custom_field']; + } + + /** + * Sets custom_field + * @param string $custom_field + * @return $this + */ + public function setCustomField($custom_field) + { + $this->container['custom_field'] = $custom_field; + + return $this; + } + + /** + * Gets date_stamp_properties + * @return \DocuSign\eSign\Model\DateStampProperties + */ + public function getDateStampProperties() + { + return $this->container['date_stamp_properties']; + } + + /** + * Sets date_stamp_properties + * @param \DocuSign\eSign\Model\DateStampProperties $date_stamp_properties + * @return $this + */ + public function setDateStampProperties($date_stamp_properties) + { + $this->container['date_stamp_properties'] = $date_stamp_properties; + + return $this; + } + + /** + * Gets disallow_user_resize_stamp + * @return string + */ + public function getDisallowUserResizeStamp() + { + return $this->container['disallow_user_resize_stamp']; + } + + /** + * Sets disallow_user_resize_stamp + * @param string $disallow_user_resize_stamp + * @return $this + */ + public function setDisallowUserResizeStamp($disallow_user_resize_stamp) + { + $this->container['disallow_user_resize_stamp'] = $disallow_user_resize_stamp; + + return $this; + } + + /** + * Gets error_details + * @return \DocuSign\eSign\Model\ErrorDetails + */ + public function getErrorDetails() + { + return $this->container['error_details']; + } + + /** + * Sets error_details + * @param \DocuSign\eSign\Model\ErrorDetails $error_details + * @return $this + */ + public function setErrorDetails($error_details) + { + $this->container['error_details'] = $error_details; + + return $this; + } + + /** + * Gets external_id + * @return string + */ + public function getExternalId() + { + return $this->container['external_id']; + } + + /** + * Sets external_id + * @param string $external_id + * @return $this + */ + public function setExternalId($external_id) + { + $this->container['external_id'] = $external_id; + + return $this; + } + + /** + * Gets image_base64 + * @return string + */ + public function getImageBase64() + { + return $this->container['image_base64']; + } + + /** + * Sets image_base64 + * @param string $image_base64 + * @return $this + */ + public function setImageBase64($image_base64) + { + $this->container['image_base64'] = $image_base64; + + return $this; + } + + /** + * Gets image_type + * @return string + */ + public function getImageType() + { + return $this->container['image_type']; + } + + /** + * Sets image_type + * @param string $image_type + * @return $this + */ + public function setImageType($image_type) + { + $this->container['image_type'] = $image_type; + + return $this; + } + + /** + * Gets last_modified_date_time + * @return string + */ + public function getLastModifiedDateTime() + { + return $this->container['last_modified_date_time']; + } + + /** + * Sets last_modified_date_time + * @param string $last_modified_date_time The date and time the item was last modified. + * @return $this + */ + public function setLastModifiedDateTime($last_modified_date_time) + { + $this->container['last_modified_date_time'] = $last_modified_date_time; + + return $this; + } + + /** + * Gets phonetic_name + * @return string + */ + public function getPhoneticName() + { + return $this->container['phonetic_name']; + } + + /** + * Sets phonetic_name + * @param string $phonetic_name + * @return $this + */ + public function setPhoneticName($phonetic_name) + { + $this->container['phonetic_name'] = $phonetic_name; + + return $this; + } + + /** + * Gets signature_name + * @return string + */ + public function getSignatureName() + { + return $this->container['signature_name']; + } + + /** + * Sets signature_name + * @param string $signature_name Specifies the user signature name. + * @return $this + */ + public function setSignatureName($signature_name) + { + $this->container['signature_name'] = $signature_name; + + return $this; + } + + /** + * Gets stamp_format + * @return string + */ + public function getStampFormat() + { + return $this->container['stamp_format']; + } + + /** + * Sets stamp_format + * @param string $stamp_format + * @return $this + */ + public function setStampFormat($stamp_format) + { + $this->container['stamp_format'] = $stamp_format; + + return $this; + } + + /** + * Gets stamp_image_uri + * @return string + */ + public function getStampImageUri() + { + return $this->container['stamp_image_uri']; + } + + /** + * Sets stamp_image_uri + * @param string $stamp_image_uri + * @return $this + */ + public function setStampImageUri($stamp_image_uri) + { + $this->container['stamp_image_uri'] = $stamp_image_uri; + + return $this; + } + + /** + * Gets stamp_size_mm + * @return string + */ + public function getStampSizeMm() + { + return $this->container['stamp_size_mm']; + } + + /** + * Sets stamp_size_mm + * @param string $stamp_size_mm + * @return $this + */ + public function setStampSizeMm($stamp_size_mm) + { + $this->container['stamp_size_mm'] = $stamp_size_mm; + + return $this; + } + + /** + * Gets status + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * @param string $status Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + * @return $this + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + 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/TabAccountSettings.php b/src/Model/TabAccountSettings.php index 3c938aef..0d44cda6 100644 --- a/src/Model/TabAccountSettings.php +++ b/src/Model/TabAccountSettings.php @@ -66,6 +66,8 @@ class TabAccountSettings implements ArrayAccess 'data_field_regex_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'data_field_size_enabled' => 'string', 'data_field_size_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', + 'draw_tabs_enabled' => 'string', + 'draw_tabs_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'first_last_email_tabs_enabled' => 'string', 'first_last_email_tabs_metadata' => '\DocuSign\eSign\Model\SettingsMetadata', 'list_tabs_enabled' => 'string', @@ -116,6 +118,8 @@ public static function swaggerTypes() 'data_field_regex_metadata' => 'dataFieldRegexMetadata', 'data_field_size_enabled' => 'dataFieldSizeEnabled', 'data_field_size_metadata' => 'dataFieldSizeMetadata', + 'draw_tabs_enabled' => 'drawTabsEnabled', + 'draw_tabs_metadata' => 'drawTabsMetadata', 'first_last_email_tabs_enabled' => 'firstLastEmailTabsEnabled', 'first_last_email_tabs_metadata' => 'firstLastEmailTabsMetadata', 'list_tabs_enabled' => 'listTabsEnabled', @@ -162,6 +166,8 @@ public static function swaggerTypes() 'data_field_regex_metadata' => 'setDataFieldRegexMetadata', 'data_field_size_enabled' => 'setDataFieldSizeEnabled', 'data_field_size_metadata' => 'setDataFieldSizeMetadata', + 'draw_tabs_enabled' => 'setDrawTabsEnabled', + 'draw_tabs_metadata' => 'setDrawTabsMetadata', 'first_last_email_tabs_enabled' => 'setFirstLastEmailTabsEnabled', 'first_last_email_tabs_metadata' => 'setFirstLastEmailTabsMetadata', 'list_tabs_enabled' => 'setListTabsEnabled', @@ -208,6 +214,8 @@ public static function swaggerTypes() 'data_field_regex_metadata' => 'getDataFieldRegexMetadata', 'data_field_size_enabled' => 'getDataFieldSizeEnabled', 'data_field_size_metadata' => 'getDataFieldSizeMetadata', + 'draw_tabs_enabled' => 'getDrawTabsEnabled', + 'draw_tabs_metadata' => 'getDrawTabsMetadata', 'first_last_email_tabs_enabled' => 'getFirstLastEmailTabsEnabled', 'first_last_email_tabs_metadata' => 'getFirstLastEmailTabsMetadata', 'list_tabs_enabled' => 'getListTabsEnabled', @@ -279,6 +287,8 @@ public function __construct(array $data = null) $this->container['data_field_regex_metadata'] = isset($data['data_field_regex_metadata']) ? $data['data_field_regex_metadata'] : null; $this->container['data_field_size_enabled'] = isset($data['data_field_size_enabled']) ? $data['data_field_size_enabled'] : null; $this->container['data_field_size_metadata'] = isset($data['data_field_size_metadata']) ? $data['data_field_size_metadata'] : null; + $this->container['draw_tabs_enabled'] = isset($data['draw_tabs_enabled']) ? $data['draw_tabs_enabled'] : null; + $this->container['draw_tabs_metadata'] = isset($data['draw_tabs_metadata']) ? $data['draw_tabs_metadata'] : null; $this->container['first_last_email_tabs_enabled'] = isset($data['first_last_email_tabs_enabled']) ? $data['first_last_email_tabs_enabled'] : null; $this->container['first_last_email_tabs_metadata'] = isset($data['first_last_email_tabs_metadata']) ? $data['first_last_email_tabs_metadata'] : null; $this->container['list_tabs_enabled'] = isset($data['list_tabs_enabled']) ? $data['list_tabs_enabled'] : null; @@ -582,6 +592,48 @@ public function setDataFieldSizeMetadata($data_field_size_metadata) return $this; } + /** + * Gets draw_tabs_enabled + * @return string + */ + public function getDrawTabsEnabled() + { + return $this->container['draw_tabs_enabled']; + } + + /** + * Sets draw_tabs_enabled + * @param string $draw_tabs_enabled + * @return $this + */ + public function setDrawTabsEnabled($draw_tabs_enabled) + { + $this->container['draw_tabs_enabled'] = $draw_tabs_enabled; + + return $this; + } + + /** + * Gets draw_tabs_metadata + * @return \DocuSign\eSign\Model\SettingsMetadata + */ + public function getDrawTabsMetadata() + { + return $this->container['draw_tabs_metadata']; + } + + /** + * Sets draw_tabs_metadata + * @param \DocuSign\eSign\Model\SettingsMetadata $draw_tabs_metadata + * @return $this + */ + public function setDrawTabsMetadata($draw_tabs_metadata) + { + $this->container['draw_tabs_metadata'] = $draw_tabs_metadata; + + return $this; + } + /** * Gets first_last_email_tabs_enabled * @return string diff --git a/src/Model/TabGroup.php b/src/Model/TabGroup.php index 55413840..9e1603ce 100644 --- a/src/Model/TabGroup.php +++ b/src/Model/TabGroup.php @@ -54,6 +54,8 @@ class TabGroup implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -105,6 +107,7 @@ class TabGroup implements ArrayAccess 'recipient_id_guid' => 'string', 'recipient_id_guid_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -143,6 +146,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -194,6 +199,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'recipientIdGuid', 'recipient_id_guid_metadata' => 'recipientIdGuidMetadata', 'recipient_id_metadata' => 'recipientIdMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -228,6 +234,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -279,6 +287,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'setRecipientIdGuid', 'recipient_id_guid_metadata' => 'setRecipientIdGuidMetadata', 'recipient_id_metadata' => 'setRecipientIdMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -313,6 +322,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -364,6 +375,7 @@ public static function swaggerTypes() 'recipient_id_guid' => 'getRecipientIdGuid', 'recipient_id_guid_metadata' => 'getRecipientIdGuidMetadata', 'recipient_id_metadata' => 'getRecipientIdMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -423,6 +435,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -474,6 +488,7 @@ public function __construct(array $data = null) $this->container['recipient_id_guid'] = isset($data['recipient_id_guid']) ? $data['recipient_id_guid'] : null; $this->container['recipient_id_guid_metadata'] = isset($data['recipient_id_guid_metadata']) ? $data['recipient_id_guid_metadata'] : null; $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -525,6 +540,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1596,6 +1653,27 @@ public function setRecipientIdMetadata($recipient_id_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Tabs.php b/src/Model/Tabs.php index d3209e42..b77770ae 100644 --- a/src/Model/Tabs.php +++ b/src/Model/Tabs.php @@ -61,6 +61,7 @@ class Tabs implements ArrayAccess 'date_signed_tabs' => '\DocuSign\eSign\Model\DateSigned[]', 'date_tabs' => '\DocuSign\eSign\Model\\DateTime[]', 'decline_tabs' => '\DocuSign\eSign\Model\Decline[]', + 'draw_tabs' => '\DocuSign\eSign\Model\Draw[]', 'email_address_tabs' => '\DocuSign\eSign\Model\EmailAddress[]', 'email_tabs' => '\DocuSign\eSign\Model\Email[]', 'envelope_id_tabs' => '\DocuSign\eSign\Model\EnvelopeId[]', @@ -103,6 +104,7 @@ public static function swaggerTypes() 'date_signed_tabs' => 'dateSignedTabs', 'date_tabs' => 'dateTabs', 'decline_tabs' => 'declineTabs', + 'draw_tabs' => 'drawTabs', 'email_address_tabs' => 'emailAddressTabs', 'email_tabs' => 'emailTabs', 'envelope_id_tabs' => 'envelopeIdTabs', @@ -141,6 +143,7 @@ public static function swaggerTypes() 'date_signed_tabs' => 'setDateSignedTabs', 'date_tabs' => 'setDateTabs', 'decline_tabs' => 'setDeclineTabs', + 'draw_tabs' => 'setDrawTabs', 'email_address_tabs' => 'setEmailAddressTabs', 'email_tabs' => 'setEmailTabs', 'envelope_id_tabs' => 'setEnvelopeIdTabs', @@ -179,6 +182,7 @@ public static function swaggerTypes() 'date_signed_tabs' => 'getDateSignedTabs', 'date_tabs' => 'getDateTabs', 'decline_tabs' => 'getDeclineTabs', + 'draw_tabs' => 'getDrawTabs', 'email_address_tabs' => 'getEmailAddressTabs', 'email_tabs' => 'getEmailTabs', 'envelope_id_tabs' => 'getEnvelopeIdTabs', @@ -242,6 +246,7 @@ public function __construct(array $data = null) $this->container['date_signed_tabs'] = isset($data['date_signed_tabs']) ? $data['date_signed_tabs'] : null; $this->container['date_tabs'] = isset($data['date_tabs']) ? $data['date_tabs'] : null; $this->container['decline_tabs'] = isset($data['decline_tabs']) ? $data['decline_tabs'] : null; + $this->container['draw_tabs'] = isset($data['draw_tabs']) ? $data['draw_tabs'] : null; $this->container['email_address_tabs'] = isset($data['email_address_tabs']) ? $data['email_address_tabs'] : null; $this->container['email_tabs'] = isset($data['email_tabs']) ? $data['email_tabs'] : null; $this->container['envelope_id_tabs'] = isset($data['envelope_id_tabs']) ? $data['envelope_id_tabs'] : null; @@ -437,6 +442,27 @@ public function setDeclineTabs($decline_tabs) return $this; } + /** + * Gets draw_tabs + * @return \DocuSign\eSign\Model\Draw[] + */ + public function getDrawTabs() + { + return $this->container['draw_tabs']; + } + + /** + * Sets draw_tabs + * @param \DocuSign\eSign\Model\Draw[] $draw_tabs + * @return $this + */ + public function setDrawTabs($draw_tabs) + { + $this->container['draw_tabs'] = $draw_tabs; + + return $this; + } + /** * Gets email_address_tabs * @return \DocuSign\eSign\Model\EmailAddress[] diff --git a/src/Model/TemplateTabs.php b/src/Model/TemplateTabs.php index ae3f4cb6..592ae335 100644 --- a/src/Model/TemplateTabs.php +++ b/src/Model/TemplateTabs.php @@ -61,6 +61,7 @@ class TemplateTabs implements ArrayAccess 'date_signed_tabs' => '\DocuSign\eSign\Model\DateSigned[]', 'date_tabs' => '\DocuSign\eSign\Model\\DateTime[]', 'decline_tabs' => '\DocuSign\eSign\Model\Decline[]', + 'draw_tabs' => '\DocuSign\eSign\Model\Draw[]', 'email_address_tabs' => '\DocuSign\eSign\Model\EmailAddress[]', 'email_tabs' => '\DocuSign\eSign\Model\Email[]', 'envelope_id_tabs' => '\DocuSign\eSign\Model\EnvelopeId[]', @@ -103,6 +104,7 @@ public static function swaggerTypes() 'date_signed_tabs' => 'dateSignedTabs', 'date_tabs' => 'dateTabs', 'decline_tabs' => 'declineTabs', + 'draw_tabs' => 'drawTabs', 'email_address_tabs' => 'emailAddressTabs', 'email_tabs' => 'emailTabs', 'envelope_id_tabs' => 'envelopeIdTabs', @@ -141,6 +143,7 @@ public static function swaggerTypes() 'date_signed_tabs' => 'setDateSignedTabs', 'date_tabs' => 'setDateTabs', 'decline_tabs' => 'setDeclineTabs', + 'draw_tabs' => 'setDrawTabs', 'email_address_tabs' => 'setEmailAddressTabs', 'email_tabs' => 'setEmailTabs', 'envelope_id_tabs' => 'setEnvelopeIdTabs', @@ -179,6 +182,7 @@ public static function swaggerTypes() 'date_signed_tabs' => 'getDateSignedTabs', 'date_tabs' => 'getDateTabs', 'decline_tabs' => 'getDeclineTabs', + 'draw_tabs' => 'getDrawTabs', 'email_address_tabs' => 'getEmailAddressTabs', 'email_tabs' => 'getEmailTabs', 'envelope_id_tabs' => 'getEnvelopeIdTabs', @@ -242,6 +246,7 @@ public function __construct(array $data = null) $this->container['date_signed_tabs'] = isset($data['date_signed_tabs']) ? $data['date_signed_tabs'] : null; $this->container['date_tabs'] = isset($data['date_tabs']) ? $data['date_tabs'] : null; $this->container['decline_tabs'] = isset($data['decline_tabs']) ? $data['decline_tabs'] : null; + $this->container['draw_tabs'] = isset($data['draw_tabs']) ? $data['draw_tabs'] : null; $this->container['email_address_tabs'] = isset($data['email_address_tabs']) ? $data['email_address_tabs'] : null; $this->container['email_tabs'] = isset($data['email_tabs']) ? $data['email_tabs'] : null; $this->container['envelope_id_tabs'] = isset($data['envelope_id_tabs']) ? $data['envelope_id_tabs'] : null; @@ -437,6 +442,27 @@ public function setDeclineTabs($decline_tabs) return $this; } + /** + * Gets draw_tabs + * @return \DocuSign\eSign\Model\Draw[] + */ + public function getDrawTabs() + { + return $this->container['draw_tabs']; + } + + /** + * Sets draw_tabs + * @param \DocuSign\eSign\Model\Draw[] $draw_tabs + * @return $this + */ + public function setDrawTabs($draw_tabs) + { + $this->container['draw_tabs'] = $draw_tabs; + + return $this; + } + /** * Gets email_address_tabs * @return \DocuSign\eSign\Model\EmailAddress[] diff --git a/src/Model/Text.php b/src/Model/Text.php index 5b60d09f..48a6e41f 100644 --- a/src/Model/Text.php +++ b/src/Model/Text.php @@ -54,6 +54,8 @@ class Text implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -134,6 +136,7 @@ class Text implements ArrayAccess 'sender_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -178,6 +181,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -258,6 +263,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'senderRequiredMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -298,6 +304,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -378,6 +386,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'setSenderRequiredMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -418,6 +427,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -498,6 +509,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'getSenderRequiredMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -563,6 +575,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -643,6 +657,7 @@ public function __construct(array $data = null) $this->container['sender_required_metadata'] = isset($data['sender_required_metadata']) ? $data['sender_required_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -700,6 +715,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2380,6 +2437,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/TimeStampField.php b/src/Model/TimeStampField.php index 4c3d6e7f..b3d66d1e 100644 --- a/src/Model/TimeStampField.php +++ b/src/Model/TimeStampField.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/Title.php b/src/Model/Title.php index 30fb572a..819655aa 100644 --- a/src/Model/Title.php +++ b/src/Model/Title.php @@ -54,6 +54,8 @@ class Title implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -122,6 +124,7 @@ class Title implements ArrayAccess 'recipient_id_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'required' => 'string', 'required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -162,6 +165,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -230,6 +235,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'recipientIdMetadata', 'required' => 'required', 'required_metadata' => 'requiredMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -266,6 +272,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -334,6 +342,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'setRecipientIdMetadata', 'required' => 'setRequired', 'required_metadata' => 'setRequiredMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -370,6 +379,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -438,6 +449,7 @@ public static function swaggerTypes() 'recipient_id_metadata' => 'getRecipientIdMetadata', 'required' => 'getRequired', 'required_metadata' => 'getRequiredMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -499,6 +511,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -567,6 +581,7 @@ public function __construct(array $data = null) $this->container['recipient_id_metadata'] = isset($data['recipient_id_metadata']) ? $data['recipient_id_metadata'] : null; $this->container['required'] = isset($data['required']) ? $data['required'] : null; $this->container['required_metadata'] = isset($data['required_metadata']) ? $data['required_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -620,6 +635,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2048,6 +2105,27 @@ public function setRequiredMetadata($required_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/TspHealthCheckRequest.php b/src/Model/TspHealthCheckRequest.php index f911d5c0..e9175a87 100644 --- a/src/Model/TspHealthCheckRequest.php +++ b/src/Model/TspHealthCheckRequest.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/TspHealthCheckStatusDescription.php b/src/Model/TspHealthCheckStatusDescription.php index 165ea02b..ce60063e 100644 --- a/src/Model/TspHealthCheckStatusDescription.php +++ b/src/Model/TspHealthCheckStatusDescription.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/UpdateTransactionRequest.php b/src/Model/UpdateTransactionRequest.php index 7c70bfe8..f49ee5f1 100644 --- a/src/Model/UpdateTransactionRequest.php +++ b/src/Model/UpdateTransactionRequest.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/UpdateTransactionResponse.php b/src/Model/UpdateTransactionResponse.php index b7433f3d..e89a9924 100644 --- a/src/Model/UpdateTransactionResponse.php +++ b/src/Model/UpdateTransactionResponse.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/UsageHistory.php b/src/Model/UsageHistory.php index 9df64b98..3a11bdc8 100644 --- a/src/Model/UsageHistory.php +++ b/src/Model/UsageHistory.php @@ -35,7 +35,7 @@ * UsageHistory Class Doc Comment * * @category Class - * @description A complex element consisting of: * lastSentDateTime – the date and time the user last sent an envelope. * lastSignedDateTime – the date and time the user last signed an envelope. * sentCount – the number of envelopes the user has sent. * signedCount – the number of envelopes the user has signed. + * @description A complex element consisting of: * lastSentDateTime - the date and time the user last sent an envelope. * lastSignedDateTime - the date and time the user last signed an envelope. * sentCount - the number of envelopes the user has sent. * signedCount - the number of envelopes the user has signed. * @package DocuSign\eSign * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen diff --git a/src/Model/User.php b/src/Model/User.php index 939f0d2e..3dd0d997 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * @@ -54,10 +54,12 @@ class User implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'cell_phone_number' => 'string', 'country_code' => 'string', 'credentials' => '\DocuSign\eSign\Model\Credential[]', 'display_name' => 'string', - 'email' => 'string' + 'email' => 'string', + 'external_claims' => '\DocuSign\eSign\Model\ExternalClaim[]' ]; public static function swaggerTypes() @@ -70,10 +72,12 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'cell_phone_number' => 'cellPhoneNumber', 'country_code' => 'countryCode', 'credentials' => 'credentials', 'display_name' => 'displayName', - 'email' => 'email' + 'email' => 'email', + 'external_claims' => 'externalClaims' ]; @@ -82,10 +86,12 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'cell_phone_number' => 'setCellPhoneNumber', 'country_code' => 'setCountryCode', 'credentials' => 'setCredentials', 'display_name' => 'setDisplayName', - 'email' => 'setEmail' + 'email' => 'setEmail', + 'external_claims' => 'setExternalClaims' ]; @@ -94,10 +100,12 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'cell_phone_number' => 'getCellPhoneNumber', 'country_code' => 'getCountryCode', 'credentials' => 'getCredentials', 'display_name' => 'getDisplayName', - 'email' => 'getEmail' + 'email' => 'getEmail', + 'external_claims' => 'getExternalClaims' ]; public static function attributeMap() @@ -131,10 +139,12 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['cell_phone_number'] = isset($data['cell_phone_number']) ? $data['cell_phone_number'] : null; $this->container['country_code'] = isset($data['country_code']) ? $data['country_code'] : null; $this->container['credentials'] = isset($data['credentials']) ? $data['credentials'] : null; $this->container['display_name'] = isset($data['display_name']) ? $data['display_name'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; + $this->container['external_claims'] = isset($data['external_claims']) ? $data['external_claims'] : null; } /** @@ -160,6 +170,27 @@ public function valid() } + /** + * Gets cell_phone_number + * @return string + */ + public function getCellPhoneNumber() + { + return $this->container['cell_phone_number']; + } + + /** + * Sets cell_phone_number + * @param string $cell_phone_number + * @return $this + */ + public function setCellPhoneNumber($cell_phone_number) + { + $this->container['cell_phone_number'] = $cell_phone_number; + + return $this; + } + /** * Gets country_code * @return string @@ -243,6 +274,27 @@ public function setEmail($email) return $this; } + + /** + * Gets external_claims + * @return \DocuSign\eSign\Model\ExternalClaim[] + */ + public function getExternalClaims() + { + return $this->container['external_claims']; + } + + /** + * Sets external_claims + * @param \DocuSign\eSign\Model\ExternalClaim[] $external_claims + * @return $this + */ + public function setExternalClaims($external_claims) + { + $this->container['external_claims'] = $external_claims; + + return $this; + } /** * Returns true if offset exists. False otherwise. * @param integer $offset Offset diff --git a/src/Model/UserInfoResponse.php b/src/Model/UserInfoResponse.php index 6a482fd5..79fc6d9b 100644 --- a/src/Model/UserInfoResponse.php +++ b/src/Model/UserInfoResponse.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * diff --git a/src/Model/UserInformation.php b/src/Model/UserInformation.php index c439e231..ec7cfef8 100644 --- a/src/Model/UserInformation.php +++ b/src/Model/UserInformation.php @@ -613,7 +613,7 @@ public function getGroupList() /** * Sets group_list - * @param \DocuSign\eSign\Model\Group[] $group_list A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId. The parameters are: * groupId – The DocuSign group ID for the group. * groupName – The name of the group * permissionProfileId – The ID of the permission profile associated with the group. * groupType – The group type. + * @param \DocuSign\eSign\Model\Group[] $group_list A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId. The parameters are: * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type. * @return $this */ public function setGroupList($group_list) diff --git a/src/Model/UserSignature.php b/src/Model/UserSignature.php index 4ea2dc0c..dbf07a81 100644 --- a/src/Model/UserSignature.php +++ b/src/Model/UserSignature.php @@ -82,7 +82,8 @@ class UserSignature implements ArrayAccess 'stamp_format' => 'string', 'stamp_image_uri' => 'string', 'stamp_size_mm' => 'string', - 'stamp_type' => 'string' + 'stamp_type' => 'string', + 'status' => 'string' ]; public static function swaggerTypes() @@ -123,7 +124,8 @@ public static function swaggerTypes() 'stamp_format' => 'stampFormat', 'stamp_image_uri' => 'stampImageUri', 'stamp_size_mm' => 'stampSizeMM', - 'stamp_type' => 'stampType' + 'stamp_type' => 'stampType', + 'status' => 'status' ]; @@ -160,7 +162,8 @@ public static function swaggerTypes() 'stamp_format' => 'setStampFormat', 'stamp_image_uri' => 'setStampImageUri', 'stamp_size_mm' => 'setStampSizeMm', - 'stamp_type' => 'setStampType' + 'stamp_type' => 'setStampType', + 'status' => 'setStatus' ]; @@ -197,7 +200,8 @@ public static function swaggerTypes() 'stamp_format' => 'getStampFormat', 'stamp_image_uri' => 'getStampImageUri', 'stamp_size_mm' => 'getStampSizeMm', - 'stamp_type' => 'getStampType' + 'stamp_type' => 'getStampType', + 'status' => 'getStatus' ]; public static function attributeMap() @@ -260,6 +264,7 @@ public function __construct(array $data = null) $this->container['stamp_image_uri'] = isset($data['stamp_image_uri']) ? $data['stamp_image_uri'] : null; $this->container['stamp_size_mm'] = isset($data['stamp_size_mm']) ? $data['stamp_size_mm'] : null; $this->container['stamp_type'] = isset($data['stamp_type']) ? $data['stamp_type'] : null; + $this->container['status'] = isset($data['status']) ? $data['status'] : null; } /** @@ -893,6 +898,27 @@ public function setStampType($stamp_type) return $this; } + + /** + * Gets status + * @return string + */ + public function getStatus() + { + return $this->container['status']; + } + + /** + * Sets status + * @param string $status Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. + * @return $this + */ + public function setStatus($status) + { + $this->container['status'] = $status; + + return $this; + } /** * Returns true if offset exists. False otherwise. * @param integer $offset Offset diff --git a/src/Model/View.php b/src/Model/View.php index de36165a..83750282 100644 --- a/src/Model/View.php +++ b/src/Model/View.php @@ -54,6 +54,8 @@ class View implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -113,6 +115,7 @@ class View implements ArrayAccess 'required' => 'string', 'required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'required_read' => 'string', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -151,6 +154,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -210,6 +215,7 @@ public static function swaggerTypes() 'required' => 'required', 'required_metadata' => 'requiredMetadata', 'required_read' => 'requiredRead', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -244,6 +250,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -303,6 +311,7 @@ public static function swaggerTypes() 'required' => 'setRequired', 'required_metadata' => 'setRequiredMetadata', 'required_read' => 'setRequiredRead', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -337,6 +346,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -396,6 +407,7 @@ public static function swaggerTypes() 'required' => 'getRequired', 'required_metadata' => 'getRequiredMetadata', 'required_read' => 'getRequiredRead', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -455,6 +467,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -514,6 +528,7 @@ public function __construct(array $data = null) $this->container['required'] = isset($data['required']) ? $data['required'] : null; $this->container['required_metadata'] = isset($data['required_metadata']) ? $data['required_metadata'] : null; $this->container['required_read'] = isset($data['required_read']) ? $data['required_read'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -565,6 +580,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -1804,6 +1861,27 @@ public function setRequiredRead($required_read) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/Model/Witness.php b/src/Model/Witness.php index 75fde733..08e84d16 100644 --- a/src/Model/Witness.php +++ b/src/Model/Witness.php @@ -59,6 +59,7 @@ class Witness implements ArrayAccess 'add_access_code_to_email' => 'string', 'agent_can_edit_email' => 'string', 'agent_can_edit_name' => 'string', + 'allow_system_override_for_locked_recipient' => 'string', 'auto_navigation' => 'string', 'bulk_recipients_uri' => 'string', 'can_sign_offline' => 'string', @@ -72,6 +73,8 @@ class Witness implements ArrayAccess 'delivered_date_time' => 'string', 'delivery_method' => 'string', 'delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'designator_id' => 'string', + 'designator_id_guid' => 'string', 'document_visibility' => '\DocuSign\eSign\Model\DocumentVisibility[]', 'email' => 'string', 'email_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', @@ -102,6 +105,7 @@ class Witness implements ArrayAccess 'note_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', '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_feature_metadata' => '\DocuSign\eSign\Model\FeatureAvailableMetadata[]', @@ -157,6 +161,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'addAccessCodeToEmail', 'agent_can_edit_email' => 'agentCanEditEmail', 'agent_can_edit_name' => 'agentCanEditName', + 'allow_system_override_for_locked_recipient' => 'allowSystemOverrideForLockedRecipient', 'auto_navigation' => 'autoNavigation', 'bulk_recipients_uri' => 'bulkRecipientsUri', 'can_sign_offline' => 'canSignOffline', @@ -170,6 +175,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'deliveredDateTime', 'delivery_method' => 'deliveryMethod', 'delivery_method_metadata' => 'deliveryMethodMetadata', + 'designator_id' => 'designatorId', + 'designator_id_guid' => 'designatorIdGuid', 'document_visibility' => 'documentVisibility', 'email' => 'email', 'email_metadata' => 'emailMetadata', @@ -200,6 +207,7 @@ public static function swaggerTypes() 'note_metadata' => 'noteMetadata', 'offline_attributes' => 'offlineAttributes', 'phone_authentication' => 'phoneAuthentication', + 'proof_file' => 'proofFile', 'recipient_attachments' => 'recipientAttachments', 'recipient_authentication_status' => 'recipientAuthenticationStatus', 'recipient_feature_metadata' => 'recipientFeatureMetadata', @@ -251,6 +259,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'setAddAccessCodeToEmail', 'agent_can_edit_email' => 'setAgentCanEditEmail', 'agent_can_edit_name' => 'setAgentCanEditName', + 'allow_system_override_for_locked_recipient' => 'setAllowSystemOverrideForLockedRecipient', 'auto_navigation' => 'setAutoNavigation', 'bulk_recipients_uri' => 'setBulkRecipientsUri', 'can_sign_offline' => 'setCanSignOffline', @@ -264,6 +273,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'setDeliveredDateTime', 'delivery_method' => 'setDeliveryMethod', 'delivery_method_metadata' => 'setDeliveryMethodMetadata', + 'designator_id' => 'setDesignatorId', + 'designator_id_guid' => 'setDesignatorIdGuid', 'document_visibility' => 'setDocumentVisibility', 'email' => 'setEmail', 'email_metadata' => 'setEmailMetadata', @@ -294,6 +305,7 @@ public static function swaggerTypes() 'note_metadata' => 'setNoteMetadata', 'offline_attributes' => 'setOfflineAttributes', 'phone_authentication' => 'setPhoneAuthentication', + 'proof_file' => 'setProofFile', 'recipient_attachments' => 'setRecipientAttachments', 'recipient_authentication_status' => 'setRecipientAuthenticationStatus', 'recipient_feature_metadata' => 'setRecipientFeatureMetadata', @@ -345,6 +357,7 @@ public static function swaggerTypes() 'add_access_code_to_email' => 'getAddAccessCodeToEmail', 'agent_can_edit_email' => 'getAgentCanEditEmail', 'agent_can_edit_name' => 'getAgentCanEditName', + 'allow_system_override_for_locked_recipient' => 'getAllowSystemOverrideForLockedRecipient', 'auto_navigation' => 'getAutoNavigation', 'bulk_recipients_uri' => 'getBulkRecipientsUri', 'can_sign_offline' => 'getCanSignOffline', @@ -358,6 +371,8 @@ public static function swaggerTypes() 'delivered_date_time' => 'getDeliveredDateTime', 'delivery_method' => 'getDeliveryMethod', 'delivery_method_metadata' => 'getDeliveryMethodMetadata', + 'designator_id' => 'getDesignatorId', + 'designator_id_guid' => 'getDesignatorIdGuid', 'document_visibility' => 'getDocumentVisibility', 'email' => 'getEmail', 'email_metadata' => 'getEmailMetadata', @@ -388,6 +403,7 @@ public static function swaggerTypes() 'note_metadata' => 'getNoteMetadata', 'offline_attributes' => 'getOfflineAttributes', 'phone_authentication' => 'getPhoneAuthentication', + 'proof_file' => 'getProofFile', 'recipient_attachments' => 'getRecipientAttachments', 'recipient_authentication_status' => 'getRecipientAuthenticationStatus', 'recipient_feature_metadata' => 'getRecipientFeatureMetadata', @@ -464,6 +480,7 @@ public function __construct(array $data = null) $this->container['add_access_code_to_email'] = isset($data['add_access_code_to_email']) ? $data['add_access_code_to_email'] : null; $this->container['agent_can_edit_email'] = isset($data['agent_can_edit_email']) ? $data['agent_can_edit_email'] : null; $this->container['agent_can_edit_name'] = isset($data['agent_can_edit_name']) ? $data['agent_can_edit_name'] : null; + $this->container['allow_system_override_for_locked_recipient'] = isset($data['allow_system_override_for_locked_recipient']) ? $data['allow_system_override_for_locked_recipient'] : null; $this->container['auto_navigation'] = isset($data['auto_navigation']) ? $data['auto_navigation'] : null; $this->container['bulk_recipients_uri'] = isset($data['bulk_recipients_uri']) ? $data['bulk_recipients_uri'] : null; $this->container['can_sign_offline'] = isset($data['can_sign_offline']) ? $data['can_sign_offline'] : null; @@ -477,6 +494,8 @@ public function __construct(array $data = null) $this->container['delivered_date_time'] = isset($data['delivered_date_time']) ? $data['delivered_date_time'] : null; $this->container['delivery_method'] = isset($data['delivery_method']) ? $data['delivery_method'] : null; $this->container['delivery_method_metadata'] = isset($data['delivery_method_metadata']) ? $data['delivery_method_metadata'] : null; + $this->container['designator_id'] = isset($data['designator_id']) ? $data['designator_id'] : null; + $this->container['designator_id_guid'] = isset($data['designator_id_guid']) ? $data['designator_id_guid'] : null; $this->container['document_visibility'] = isset($data['document_visibility']) ? $data['document_visibility'] : null; $this->container['email'] = isset($data['email']) ? $data['email'] : null; $this->container['email_metadata'] = isset($data['email_metadata']) ? $data['email_metadata'] : null; @@ -507,6 +526,7 @@ public function __construct(array $data = null) $this->container['note_metadata'] = isset($data['note_metadata']) ? $data['note_metadata'] : 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_feature_metadata'] = isset($data['recipient_feature_metadata']) ? $data['recipient_feature_metadata'] : null; @@ -675,6 +695,27 @@ public function setAgentCanEditName($agent_can_edit_name) return $this; } + /** + * Gets allow_system_override_for_locked_recipient + * @return string + */ + public function getAllowSystemOverrideForLockedRecipient() + { + return $this->container['allow_system_override_for_locked_recipient']; + } + + /** + * Sets allow_system_override_for_locked_recipient + * @param string $allow_system_override_for_locked_recipient + * @return $this + */ + public function setAllowSystemOverrideForLockedRecipient($allow_system_override_for_locked_recipient) + { + $this->container['allow_system_override_for_locked_recipient'] = $allow_system_override_for_locked_recipient; + + return $this; + } + /** * Gets auto_navigation * @return string @@ -948,6 +989,48 @@ public function setDeliveryMethodMetadata($delivery_method_metadata) return $this; } + /** + * Gets designator_id + * @return string + */ + public function getDesignatorId() + { + return $this->container['designator_id']; + } + + /** + * Sets designator_id + * @param string $designator_id + * @return $this + */ + public function setDesignatorId($designator_id) + { + $this->container['designator_id'] = $designator_id; + + return $this; + } + + /** + * Gets designator_id_guid + * @return string + */ + public function getDesignatorIdGuid() + { + return $this->container['designator_id_guid']; + } + + /** + * Sets designator_id_guid + * @param string $designator_id_guid + * @return $this + */ + public function setDesignatorIdGuid($designator_id_guid) + { + $this->container['designator_id_guid'] = $designator_id_guid; + + return $this; + } + /** * Gets document_visibility * @return \DocuSign\eSign\Model\DocumentVisibility[] @@ -1578,6 +1661,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/Zip.php b/src/Model/Zip.php index e41b32a6..2ea96cc8 100644 --- a/src/Model/Zip.php +++ b/src/Model/Zip.php @@ -54,6 +54,8 @@ class Zip implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ + 'anchor_allow_white_space_in_characters' => 'string', + 'anchor_allow_white_space_in_characters_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_case_sensitive' => 'string', 'anchor_case_sensitive_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'anchor_horizontal_alignment' => 'string', @@ -130,6 +132,7 @@ class Zip implements ArrayAccess 'sender_required_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'shared' => 'string', 'shared_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', + 'smart_contract_information' => '\DocuSign\eSign\Model\SmartContractInformation', 'status' => 'string', 'status_metadata' => '\DocuSign\eSign\Model\PropertyMetadata', 'tab_group_labels' => 'string[]', @@ -176,6 +179,8 @@ public static function swaggerTypes() * @var string[] */ protected static $attributeMap = [ + 'anchor_allow_white_space_in_characters' => 'anchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'anchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'anchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'anchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'anchorHorizontalAlignment', @@ -252,6 +257,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'senderRequiredMetadata', 'shared' => 'shared', 'shared_metadata' => 'sharedMetadata', + 'smart_contract_information' => 'smartContractInformation', 'status' => 'status', 'status_metadata' => 'statusMetadata', 'tab_group_labels' => 'tabGroupLabels', @@ -294,6 +300,8 @@ public static function swaggerTypes() * @var string[] */ protected static $setters = [ + 'anchor_allow_white_space_in_characters' => 'setAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'setAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'setAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'setAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'setAnchorHorizontalAlignment', @@ -370,6 +378,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'setSenderRequiredMetadata', 'shared' => 'setShared', 'shared_metadata' => 'setSharedMetadata', + 'smart_contract_information' => 'setSmartContractInformation', 'status' => 'setStatus', 'status_metadata' => 'setStatusMetadata', 'tab_group_labels' => 'setTabGroupLabels', @@ -412,6 +421,8 @@ public static function swaggerTypes() * @var string[] */ protected static $getters = [ + 'anchor_allow_white_space_in_characters' => 'getAnchorAllowWhiteSpaceInCharacters', + 'anchor_allow_white_space_in_characters_metadata' => 'getAnchorAllowWhiteSpaceInCharactersMetadata', 'anchor_case_sensitive' => 'getAnchorCaseSensitive', 'anchor_case_sensitive_metadata' => 'getAnchorCaseSensitiveMetadata', 'anchor_horizontal_alignment' => 'getAnchorHorizontalAlignment', @@ -488,6 +499,7 @@ public static function swaggerTypes() 'sender_required_metadata' => 'getSenderRequiredMetadata', 'shared' => 'getShared', 'shared_metadata' => 'getSharedMetadata', + 'smart_contract_information' => 'getSmartContractInformation', 'status' => 'getStatus', 'status_metadata' => 'getStatusMetadata', 'tab_group_labels' => 'getTabGroupLabels', @@ -555,6 +567,8 @@ public static function getters() */ public function __construct(array $data = null) { + $this->container['anchor_allow_white_space_in_characters'] = isset($data['anchor_allow_white_space_in_characters']) ? $data['anchor_allow_white_space_in_characters'] : null; + $this->container['anchor_allow_white_space_in_characters_metadata'] = isset($data['anchor_allow_white_space_in_characters_metadata']) ? $data['anchor_allow_white_space_in_characters_metadata'] : null; $this->container['anchor_case_sensitive'] = isset($data['anchor_case_sensitive']) ? $data['anchor_case_sensitive'] : null; $this->container['anchor_case_sensitive_metadata'] = isset($data['anchor_case_sensitive_metadata']) ? $data['anchor_case_sensitive_metadata'] : null; $this->container['anchor_horizontal_alignment'] = isset($data['anchor_horizontal_alignment']) ? $data['anchor_horizontal_alignment'] : null; @@ -631,6 +645,7 @@ public function __construct(array $data = null) $this->container['sender_required_metadata'] = isset($data['sender_required_metadata']) ? $data['sender_required_metadata'] : null; $this->container['shared'] = isset($data['shared']) ? $data['shared'] : null; $this->container['shared_metadata'] = isset($data['shared_metadata']) ? $data['shared_metadata'] : null; + $this->container['smart_contract_information'] = isset($data['smart_contract_information']) ? $data['smart_contract_information'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['status_metadata'] = isset($data['status_metadata']) ? $data['status_metadata'] : null; $this->container['tab_group_labels'] = isset($data['tab_group_labels']) ? $data['tab_group_labels'] : null; @@ -690,6 +705,48 @@ public function valid() } + /** + * Gets anchor_allow_white_space_in_characters + * @return string + */ + public function getAnchorAllowWhiteSpaceInCharacters() + { + return $this->container['anchor_allow_white_space_in_characters']; + } + + /** + * Sets anchor_allow_white_space_in_characters + * @param string $anchor_allow_white_space_in_characters + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharacters($anchor_allow_white_space_in_characters) + { + $this->container['anchor_allow_white_space_in_characters'] = $anchor_allow_white_space_in_characters; + + return $this; + } + + /** + * Gets anchor_allow_white_space_in_characters_metadata + * @return \DocuSign\eSign\Model\PropertyMetadata + */ + public function getAnchorAllowWhiteSpaceInCharactersMetadata() + { + return $this->container['anchor_allow_white_space_in_characters_metadata']; + } + + /** + * Sets anchor_allow_white_space_in_characters_metadata + * @param \DocuSign\eSign\Model\PropertyMetadata $anchor_allow_white_space_in_characters_metadata + * @return $this + */ + public function setAnchorAllowWhiteSpaceInCharactersMetadata($anchor_allow_white_space_in_characters_metadata) + { + $this->container['anchor_allow_white_space_in_characters_metadata'] = $anchor_allow_white_space_in_characters_metadata; + + return $this; + } + /** * Gets anchor_case_sensitive * @return string @@ -2286,6 +2343,27 @@ public function setSharedMetadata($shared_metadata) return $this; } + /** + * Gets smart_contract_information + * @return \DocuSign\eSign\Model\SmartContractInformation + */ + public function getSmartContractInformation() + { + return $this->container['smart_contract_information']; + } + + /** + * Sets smart_contract_information + * @param \DocuSign\eSign\Model\SmartContractInformation $smart_contract_information + * @return $this + */ + public function setSmartContractInformation($smart_contract_information) + { + $this->container['smart_contract_information'] = $smart_contract_information; + + return $this; + } + /** * Gets status * @return string diff --git a/src/ObjectSerializer.php b/src/ObjectSerializer.php index 8f0a7cf8..13a1a0b0 100644 --- a/src/ObjectSerializer.php +++ b/src/ObjectSerializer.php @@ -15,7 +15,7 @@ * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * - * OpenAPI spec version: v2 + * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * 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 +?>