Skip to content

Commit

Permalink
Version 6.17.0-rc-v2.1-23.3.00.00 release (#205)
Browse files Browse the repository at this point in the history
Co-authored-by: root <[email protected]>
  • Loading branch information
InbarGazit and root authored Aug 23, 2023
1 parent 5ce019e commit 73b3551
Show file tree
Hide file tree
Showing 16 changed files with 1,722 additions and 74 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ 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.

## [v6.17.0-rc] - eSignature API v2.1-23.3.00.00 - 2023-08-21
### Changed
- Added support for version v2.1-23.3.00.00 of the DocuSign ESignature API.
- Updated the SDK release version.

## [v6.16.0] - eSignature API v2.1-23.2.00.00 - 2023-06-27
### Changed
- Added support for version v2.1-23.2.00.00 of the DocuSign ESignature API.
Expand Down
120 changes: 110 additions & 10 deletions src/Api/AccountsApi.php

Large diffs are not rendered by default.

48 changes: 41 additions & 7 deletions src/Api/EnvelopesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2605,6 +2605,33 @@ public function setRequesterDateFormat(?string $requester_date_format): self
$this->requester_date_format = $requester_date_format;
return $this;
}
/**
* $search_mode
* @var ?string
*/
protected ?string $search_mode = null;

/**
* Gets search_mode
*
* @return ?string
*/
public function getSearchMode(): ?string
{
return $this->search_mode;
}

/**
* Sets search_mode
* @param ?string $search_mode
*
* @return self
*/
public function setSearchMode(?string $search_mode): self
{
$this->search_mode = $search_mode;
return $this;
}
/**
* $search_text
* @var ?string
Expand Down Expand Up @@ -8647,7 +8674,7 @@ public function deleteTemplatesFromDocumentWithHttpInfo($account_id, $document_i
* @param ?string $envelope_id The envelopeId Guid of the envelope being accessed.
*
* @throws ApiException on non-2xx response
* @return mixed
* @return \SplFileObject
*/
public function getAttachment($account_id, $attachment_id, $envelope_id)
{
Expand All @@ -8665,7 +8692,7 @@ public function getAttachment($account_id, $attachment_id, $envelope_id)
* @param ?string $envelope_id The envelopeId Guid of the envelope being accessed.
*
* @throws ApiException on non-2xx response
* @return array of null, HTTP status code, HTTP response headers (array of strings)
* @return array of \SplFileObject, HTTP status code, HTTP response headers (array of strings)
*/
public function getAttachmentWithHttpInfo($account_id, $attachment_id, $envelope_id): array
{
Expand All @@ -8685,7 +8712,7 @@ public function getAttachmentWithHttpInfo($account_id, $attachment_id, $envelope
$resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}";
$httpBody = $_tempBody ?? ''; // $_tempBody is the method argument, if present
$queryParams = $headerParams = $formParams = [];
$headerParams['Accept'] ??= $this->apiClient->selectHeaderAccept(['application/json']);
$headerParams['Accept'] ??= $this->apiClient->selectHeaderAccept(['application/octet-stream']);
$headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);


Expand Down Expand Up @@ -8723,13 +8750,17 @@ public function getAttachmentWithHttpInfo($account_id, $attachment_id, $envelope
$queryParams,
$httpBody,
$headerParams,
null,
'\SplFileObject',
'/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}'
);

return [null, $statusCode, $httpHeader];
return [$this->apiClient->getSerializer()->deserialize($response, '\SplFileObject', $httpHeader), $statusCode, $httpHeader];
} catch (ApiException $e) {
switch ($e->getCode()) {
case 200:
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SplFileObject', $e->getResponseHeaders());
$e->setResponseObject($data);
break;
case 400:
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
$e->setResponseObject($data);
Expand Down Expand Up @@ -9056,7 +9087,7 @@ public function getCommentsTranscriptWithHttpInfo($account_id, $envelope_id, \Do
*
* @param ?string $account_id The external account number (int) or account ID Guid.
* @param ?string $envelope_id The envelopeId Guid of the envelope being accessed.
* @param ?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), 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 $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 \DocuSign\eSign\Api\EnvelopesApi\GetConsumerDisclosureOptions $options for modifying the behavior of the function. (optional)
*
Expand All @@ -9076,7 +9107,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), Armenian (hy), 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 $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 \DocuSign\eSign\Api\EnvelopesApi\GetConsumerDisclosureOptions $options for modifying the behavior of the function. (optional)
*
Expand Down Expand Up @@ -13081,6 +13112,9 @@ public function listStatusChangesWithHttpInfo($account_id, \DocuSign\eSign\Api\E
if ($options->getRequesterDateFormat() != 'null') {
$queryParams['requester_date_format'] = $this->apiClient->getSerializer()->toQueryValue($options->getRequesterDateFormat());
}
if ($options->getSearchMode() != 'null') {
$queryParams['search_mode'] = $this->apiClient->getSerializer()->toQueryValue($options->getSearchMode());
}
if ($options->getSearchText() != 'null') {
$queryParams['search_text'] = $this->apiClient->getSerializer()->toQueryValue($options->getSearchText());
}
Expand Down
30 changes: 30 additions & 0 deletions src/Api/TemplatesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,33 @@ public function setEncrypt(?string $encrypt): self
$this->encrypt = $encrypt;
return $this;
}
/**
* $file_type
* @var ?string
*/
protected ?string $file_type = null;

/**
* Gets file_type
*
* @return ?string
*/
public function getFileType(): ?string
{
return $this->file_type;
}

/**
* Sets file_type
* @param ?string $file_type
*
* @return self
*/
public function setFileType(?string $file_type): self
{
$this->file_type = $file_type;
return $this;
}
/**
* $show_changes
* @var ?string
Expand Down Expand Up @@ -4004,6 +4031,9 @@ public function getDocumentWithHttpInfo($account_id, $document_id, $template_id,
if ($options->getEncrypt() != 'null') {
$queryParams['encrypt'] = $this->apiClient->getSerializer()->toQueryValue($options->getEncrypt());
}
if ($options->getFileType() != 'null') {
$queryParams['file_type'] = $this->apiClient->getSerializer()->toQueryValue($options->getFileType());
}
if ($options->getShowChanges() != 'null') {
$queryParams['show_changes'] = $this->apiClient->getSerializer()->toQueryValue($options->getShowChanges());
}
Expand Down
60 changes: 60 additions & 0 deletions src/Model/AccountIdentityVerificationWorkflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class AccountIdentityVerificationWorkflow implements ModelInterface, ArrayAccess
'default_description' => '?string',
'default_name' => '?string',
'input_options' => '\DocuSign\eSign\Model\AccountIdentityInputOption[]',
'is_disabled' => '?string',
'owner_type' => '?string',
'signature_provider' => '\DocuSign\eSign\Model\AccountSignatureProvider',
'steps' => '\DocuSign\eSign\Model\AccountIdentityVerificationStep[]',
'workflow_id' => '?string',
Expand All @@ -79,6 +81,8 @@ class AccountIdentityVerificationWorkflow implements ModelInterface, ArrayAccess
'default_description' => null,
'default_name' => null,
'input_options' => null,
'is_disabled' => null,
'owner_type' => null,
'signature_provider' => null,
'steps' => null,
'workflow_id' => null,
Expand Down Expand Up @@ -116,6 +120,8 @@ public static function swaggerFormats()
'default_description' => 'defaultDescription',
'default_name' => 'defaultName',
'input_options' => 'inputOptions',
'is_disabled' => 'isDisabled',
'owner_type' => 'ownerType',
'signature_provider' => 'signatureProvider',
'steps' => 'steps',
'workflow_id' => 'workflowId',
Expand All @@ -132,6 +138,8 @@ public static function swaggerFormats()
'default_description' => 'setDefaultDescription',
'default_name' => 'setDefaultName',
'input_options' => 'setInputOptions',
'is_disabled' => 'setIsDisabled',
'owner_type' => 'setOwnerType',
'signature_provider' => 'setSignatureProvider',
'steps' => 'setSteps',
'workflow_id' => 'setWorkflowId',
Expand All @@ -148,6 +156,8 @@ public static function swaggerFormats()
'default_description' => 'getDefaultDescription',
'default_name' => 'getDefaultName',
'input_options' => 'getInputOptions',
'is_disabled' => 'getIsDisabled',
'owner_type' => 'getOwnerType',
'signature_provider' => 'getSignatureProvider',
'steps' => 'getSteps',
'workflow_id' => 'getWorkflowId',
Expand Down Expand Up @@ -218,6 +228,8 @@ 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['is_disabled'] = isset($data['is_disabled']) ? $data['is_disabled'] : null;
$this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : 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;
Expand Down Expand Up @@ -321,6 +333,54 @@ public function setInputOptions($input_options)
return $this;
}

/**
* Gets is_disabled
*
* @return ?string
*/
public function getIsDisabled()
{
return $this->container['is_disabled'];
}

/**
* Sets is_disabled
*
* @param ?string $is_disabled
*
* @return $this
*/
public function setIsDisabled($is_disabled)
{
$this->container['is_disabled'] = $is_disabled;

return $this;
}

/**
* Gets owner_type
*
* @return ?string
*/
public function getOwnerType()
{
return $this->container['owner_type'];
}

/**
* Sets owner_type
*
* @param ?string $owner_type
*
* @return $this
*/
public function setOwnerType($owner_type)
{
$this->container['owner_type'] = $owner_type;

return $this;
}

/**
* Gets signature_provider
*
Expand Down
Loading

0 comments on commit 73b3551

Please sign in to comment.