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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow
```json
{
"require": {
"dropbox/sign": "^1.9.0"
"dropbox/sign": "^1.10.0"
},
"minimum-stability": "dev"
}
Expand All @@ -64,7 +64,7 @@ Then run `composer install`
Alternatively, install directly with

```
composer require dropbox/sign:^1.9.0
composer require dropbox/sign:^1.10.0
```

## Getting Started
Expand Down Expand Up @@ -447,6 +447,6 @@ apisupport@hellosign.com
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `3.0.0`
- Package version: `1.9.0`
- Package version: `1.10.0`
- Generator version: `7.12.0`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.0
1.10.0
4 changes: 2 additions & 2 deletions docs/Model/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `grant_type`<sup>*_required_</sup> | ```string``` | When refreshing an existing token use `refresh_token`. | [default to 'refresh_token'] |
| `refresh_token`<sup>*_required_</sup> | ```string``` | The token provided when you got the expired access token. | |
| `client_id` | ```string``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `client_secret` | ```string``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `client_id` | ```string``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
| `client_secret` | ```string``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
2 changes: 2 additions & 0 deletions docs/Model/TemplateResponseDocumentFormFieldText.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Name | Type | Description | Notes
| `original_font_size` | ```int``` | Original font size used in this form field&#39;s text. | |
| `font_family` | ```string``` | Font family used in this form field&#39;s text. | |
| `validation_type` | ```string``` | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | |
| `validation_custom_regex` | ```string``` | When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field. | |
| `validation_custom_regex_format_label` | ```string``` | When `validation_type` is set to `custom_regex`, this specifies the error message displayed to the signer when the text does not match the provided regex pattern. | |
| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
4 changes: 2 additions & 2 deletions openapi-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
generatorName: php
additionalProperties:
packageName: dropbox/sign
packageVersion: "^1.9.0"
artifactVersion: 1.9.0
packageVersion: "^1.10.0"
artifactVersion: 1.10.0
invokerPackage: "Dropbox\\Sign"
sortModelPropertiesByRequiredFlag: true
srcBasePath: src
Expand Down
18 changes: 14 additions & 4 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7797,7 +7797,7 @@ components:
type: array
items:
type: string
maxItems: 2
maxItems: 10
minItems: 1
name:
description: 'The name you want to assign to the ApiApp.'
Expand All @@ -7823,7 +7823,7 @@ components:
type: array
items:
type: string
maxItems: 2
maxItems: 10
name:
description: 'The name you want to assign to the ApiApp.'
type: string
Expand Down Expand Up @@ -8112,10 +8112,10 @@ components:
description: 'The token provided when you got the expired access token.'
type: string
client_id:
description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
client_secret:
description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
type: object
ReportCreateRequest:
Expand All @@ -8135,6 +8135,7 @@ components:
enum:
- user_activity
- document_status
- sms_activity
maxItems: 2
minItems: 1
start_date:
Expand Down Expand Up @@ -11964,6 +11965,7 @@ components:
enum:
- user_activity
- document_status
- sms_activity
type: object
x-internal-class: true
SignatureRequestResponse:
Expand Down Expand Up @@ -13130,6 +13132,14 @@ components:
- employer_identification_number
- custom_regex
nullable: true
validation_custom_regex:
description: 'When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field.'
type: string
nullable: true
validation_custom_regex_format_label:
description: 'When `validation_type` is set to `custom_regex`, this specifies the error message displayed to the signer when the text does not match the provided regex pattern.'
type: string
nullable: true
group:
description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
type: string
Expand Down
4 changes: 2 additions & 2 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'OpenAPI-Generator/1.9.0/PHP';
protected $userAgent = 'OpenAPI-Generator/1.10.0/PHP';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -438,7 +438,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: 3.0.0' . PHP_EOL;
$report .= ' SDK Package Version: 1.9.0' . PHP_EOL;
$report .= ' SDK Package Version: 1.10.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountCreateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountCreateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountCreateResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountGetResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountGetResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountResponseQuotas.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @category Class
* @description Details concerning remaining monthly quotas.
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountResponseQuotas implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountResponseUsage.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @category Class
* @description Details concerning monthly usage
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountResponseUsage implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountUpdateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountUpdateRequest implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountVerifyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountVerifyRequest implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountVerifyResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountVerifyResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/AccountVerifyResponseAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class AccountVerifyResponseAccount implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
10 changes: 5 additions & 5 deletions src/Model/ApiAppCreateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down Expand Up @@ -329,8 +329,8 @@ public function listInvalidProperties()
if ($this->container['domains'] === null) {
$invalidProperties[] = "'domains' can't be null";
}
if (count($this->container['domains']) > 2) {
$invalidProperties[] = "invalid value for 'domains', number of items must be less than or equal to 2.";
if (count($this->container['domains']) > 10) {
$invalidProperties[] = "invalid value for 'domains', number of items must be less than or equal to 10.";
}

if (count($this->container['domains']) < 1) {
Expand Down Expand Up @@ -377,8 +377,8 @@ public function setDomains(array $domains)
throw new InvalidArgumentException('non-nullable domains cannot be null');
}

if (count($domains) > 2) {
throw new InvalidArgumentException('invalid value for $domains when calling ApiAppCreateRequest., number of items must be less than or equal to 2.');
if (count($domains) > 10) {
throw new InvalidArgumentException('invalid value for $domains when calling ApiAppCreateRequest., number of items must be less than or equal to 10.');
}
if (count($domains) < 1) {
throw new InvalidArgumentException('invalid length for $domains when calling ApiAppCreateRequest., number of items must be greater than or equal to 1.');
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ApiAppGetResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppGetResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ApiAppListResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppListResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ApiAppResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @category Class
* @description Contains information about an API App.
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ApiAppResponseOAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @category Class
* @description An object describing the app&#39;s OAuth properties, or null if OAuth is not configured for the app.
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppResponseOAuth implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ApiAppResponseOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @category Class
* @description An object with options that override account settings.
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppResponseOptions implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ApiAppResponseOwnerAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @category Class
* @description An object describing the app&#39;s owner
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppResponseOwnerAccount implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/ApiAppResponseWhiteLabelingOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @category Class
* @description An object with options to customize the app&#39;s signer page
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppResponseWhiteLabelingOptions implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
10 changes: 5 additions & 5 deletions src/Model/ApiAppUpdateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class ApiAppUpdateRequest implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down Expand Up @@ -326,8 +326,8 @@ public function listInvalidProperties()
{
$invalidProperties = [];

if (!is_null($this->container['domains']) && (count($this->container['domains']) > 2)) {
$invalidProperties[] = "invalid value for 'domains', number of items must be less than or equal to 2.";
if (!is_null($this->container['domains']) && (count($this->container['domains']) > 10)) {
$invalidProperties[] = "invalid value for 'domains', number of items must be less than or equal to 10.";
}

return $invalidProperties;
Expand Down Expand Up @@ -421,8 +421,8 @@ public function setDomains(?array $domains)
throw new InvalidArgumentException('non-nullable domains cannot be null');
}

if (count($domains) > 2) {
throw new InvalidArgumentException('invalid value for $domains when calling ApiAppUpdateRequest., number of items must be less than or equal to 2.');
if (count($domains) > 10) {
throw new InvalidArgumentException('invalid value for $domains when calling ApiAppUpdateRequest., number of items must be less than or equal to 10.');
}
$this->container['domains'] = $domains;

Expand Down
2 changes: 1 addition & 1 deletion src/Model/BulkSendJobGetResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class BulkSendJobGetResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/BulkSendJobGetResponseSignatureRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class BulkSendJobGetResponseSignatureRequests implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/BulkSendJobListResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class BulkSendJobListResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/BulkSendJobResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @category Class
* @description Contains information about the BulkSendJob such as when it was created and how many signature requests are queued.
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class BulkSendJobResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion src/Model/BulkSendJobSendResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @category Class
* @see https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
* @implements ArrayAccess<string, mixed>
*/
class BulkSendJobSendResponse implements ModelInterface, ArrayAccess, JsonSerializable
{
Expand Down
Loading