Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,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.
## [4.2.0] - eSignature API v2-20.1.00 - 2020-03-13
### Changed
* The SDK now supports version 20.1.00 of the DocuSign eSignature API.
* SDK Release Version updated.git chec

## [4.1.0] - eSignature API v2-19.2.02 - 2019-09-28
### Changed
* The SDK now supports version 19.2.02 of the DocuSign eSignature API.
Expand Down
60 changes: 49 additions & 11 deletions src/Api/AccountsApi.php

Large diffs are not rendered by default.

28 changes: 16 additions & 12 deletions src/Api/BulkEnvelopesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function setCount($count)
return $this;
}
/**
* $include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status.
* $include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=\"failed,queued\") Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent - This only returns entries with a sent status.
* @var string
*/
protected $include;
Expand All @@ -150,7 +150,7 @@ public function getInclude()

/**
* Sets include
* @param string $include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status.
* @param string $include Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=\"failed,queued\") Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent - This only returns entries with a sent status.
* @return $this
*/
public function setInclude($include)
Expand Down Expand Up @@ -785,14 +785,14 @@ public function getRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_
*
* Adds or replaces envelope bulk recipients.
*
* @param string $account_id The external account number (int) or account ID Guid.
* @param string $envelope_id The envelopeId Guid of the envelope being accessed.
* @param string $recipient_id The ID of the recipient being accessed.
* @param \DocuSign\eSign\Model\BulkRecipientsRequest $bulk_recipients_request (optional)
* @param string $account_id The external account number (int) or account id GUID.
* @param string $envelope_id The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec
* @param string $recipient_id The `recipientId` used when the envelope or template was created.
* @param string $bulk_recipients_request (required)
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return \DocuSign\eSign\Model\BulkRecipientsSummaryResponse
*/
public function updateRecipients($account_id, $envelope_id, $recipient_id, $bulk_recipients_request = null)
public function updateRecipients($account_id, $envelope_id, $recipient_id, $bulk_recipients_request)
{
list($response) = $this->updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_id, $bulk_recipients_request);
return $response;
Expand All @@ -803,14 +803,14 @@ public function updateRecipients($account_id, $envelope_id, $recipient_id, $bulk
*
* Adds or replaces envelope bulk recipients.
*
* @param string $account_id The external account number (int) or account ID Guid.
* @param string $envelope_id The envelopeId Guid of the envelope being accessed.
* @param string $recipient_id The ID of the recipient being accessed.
* @param \DocuSign\eSign\Model\BulkRecipientsRequest $bulk_recipients_request (optional)
* @param string $account_id The external account number (int) or account id GUID.
* @param string $envelope_id The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec
* @param string $recipient_id The `recipientId` used when the envelope or template was created.
* @param string $bulk_recipients_request (required)
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
* @return array of \DocuSign\eSign\Model\BulkRecipientsSummaryResponse, HTTP status code, HTTP response headers (array of strings)
*/
public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_id, $bulk_recipients_request = null)
public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipient_id, $bulk_recipients_request)
{
// verify the required parameter 'account_id' is set
if ($account_id === null) {
Expand All @@ -824,6 +824,10 @@ public function updateRecipientsWithHttpInfo($account_id, $envelope_id, $recipie
if ($recipient_id === null) {
throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling updateRecipients');
}
// verify the required parameter 'bulk_recipients_request' is set
if ($bulk_recipients_request === null) {
throw new \InvalidArgumentException('Missing the required parameter $bulk_recipients_request when calling updateRecipients');
}
// parse inputs
$resourcePath = "/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients";
$httpBody = '';
Expand Down
Loading