Skip to content

Version 2.1.0 release #10

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
@@ -1,3 +1,8 @@
## [v2.1.0] - WebForms API v1.1.0-1.0.5 - 2025-07-15
### Changed
- Added support for version v1.1.0-1.0.5 of the DocuSign WebForms API.
- Updated the SDK release version.

## [v2.0.0] - WebForms API v1.1.0-1.0.4 - 2024-11-20
### Changed
- Added support for version v1.1.0-1.0.4 of the DocuSign WebForms API.
Expand Down
4 changes: 2 additions & 2 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'Swagger-Codegen/1.1.0/2.0.0/php/' . PHP_VERSION;
protected $userAgent = 'Swagger-Codegen/1.1.0/2.1.0/php/' . PHP_VERSION;

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -774,7 +774,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' OpenAPI Spec Version: 1.1.0' . PHP_EOL;
$report .= ' SDK Package Version: 2.0.0' . PHP_EOL;
$report .= ' SDK Package Version: 2.1.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
63 changes: 60 additions & 3 deletions src/Model/CreateInstanceRequestBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class CreateInstanceRequestBody implements ModelInterface, ArrayAccess
'security_domain' => '?string',
'return_url' => '?string',
'expiration_offset' => 'int',
'send_option' => '\DocuSign\WebForms\Model\SendOption',
'recipients' => '\DocuSign\WebForms\Model\CreateInstanceRequestBodyRecipients[]',
'tags' => '?string[]'
];

Expand All @@ -85,6 +87,8 @@ class CreateInstanceRequestBody implements ModelInterface, ArrayAccess
'security_domain' => null,
'return_url' => null,
'expiration_offset' => null,
'send_option' => null,
'recipients' => null,
'tags' => null
];

Expand Down Expand Up @@ -123,6 +127,8 @@ public static function swaggerFormats()
'security_domain' => 'securityDomain',
'return_url' => 'returnUrl',
'expiration_offset' => 'expirationOffset',
'send_option' => 'sendOption',
'recipients' => 'recipients',
'tags' => 'tags'
];

Expand All @@ -140,6 +146,8 @@ public static function swaggerFormats()
'security_domain' => 'setSecurityDomain',
'return_url' => 'setReturnUrl',
'expiration_offset' => 'setExpirationOffset',
'send_option' => 'setSendOption',
'recipients' => 'setRecipients',
'tags' => 'setTags'
];

Expand All @@ -157,6 +165,8 @@ public static function swaggerFormats()
'security_domain' => 'getSecurityDomain',
'return_url' => 'getReturnUrl',
'expiration_offset' => 'getExpirationOffset',
'send_option' => 'getSendOption',
'recipients' => 'getRecipients',
'tags' => 'getTags'
];

Expand Down Expand Up @@ -228,6 +238,8 @@ public function __construct(array $data = null)
$this->container['security_domain'] = isset($data['security_domain']) ? $data['security_domain'] : null;
$this->container['return_url'] = isset($data['return_url']) ? $data['return_url'] : null;
$this->container['expiration_offset'] = isset($data['expiration_offset']) ? $data['expiration_offset'] : null;
$this->container['send_option'] = isset($data['send_option']) ? $data['send_option'] : null;
$this->container['recipients'] = isset($data['recipients']) ? $data['recipients'] : null;
$this->container['tags'] = isset($data['tags']) ? $data['tags'] : null;
}

Expand All @@ -240,9 +252,6 @@ public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['client_user_id'] === null) {
$invalidProperties[] = "'client_user_id' can't be null";
}
return $invalidProperties;
}

Expand Down Expand Up @@ -450,6 +459,54 @@ public function setExpirationOffset($expiration_offset)
return $this;
}

/**
* Gets send_option
*
* @return \DocuSign\WebForms\Model\SendOption
*/
public function getSendOption()
{
return $this->container['send_option'];
}

/**
* Sets send_option
*
* @param \DocuSign\WebForms\Model\SendOption $send_option send_option
*
* @return $this
*/
public function setSendOption($send_option)
{
$this->container['send_option'] = $send_option;

return $this;
}

/**
* Gets recipients
*
* @return \DocuSign\WebForms\Model\CreateInstanceRequestBodyRecipients[]
*/
public function getRecipients()
{
return $this->container['recipients'];
}

/**
* Sets recipients
*
* @param \DocuSign\WebForms\Model\CreateInstanceRequestBodyRecipients[] $recipients The recipients who will receive the form in email
*
* @return $this
*/
public function setRecipients($recipients)
{
$this->container['recipients'] = $recipients;

return $this;
}

/**
* Gets tags
*
Expand Down
Loading