diff --git a/README.md b/README.md index 3eae3ac..94dc893 100644 --- a/README.md +++ b/README.md @@ -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" } @@ -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 @@ -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` diff --git a/VERSION b/VERSION index f8e233b..81c871d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.9.0 +1.10.0 diff --git a/docs/Model/OAuthTokenRefreshRequest.md b/docs/Model/OAuthTokenRefreshRequest.md index 9ba09db..590ca4b 100644 --- a/docs/Model/OAuthTokenRefreshRequest.md +++ b/docs/Model/OAuthTokenRefreshRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- | `grant_type`*_required_ | ```string``` | When refreshing an existing token use `refresh_token`. | [default to 'refresh_token'] | | `refresh_token`*_required_ | ```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 "Client Credentials Required" 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 "Client Credentials Required" 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) diff --git a/docs/Model/TemplateResponseDocumentFormFieldText.md b/docs/Model/TemplateResponseDocumentFormFieldText.md index e6af0e0..630c7a0 100644 --- a/docs/Model/TemplateResponseDocumentFormFieldText.md +++ b/docs/Model/TemplateResponseDocumentFormFieldText.md @@ -12,6 +12,8 @@ Name | Type | Description | Notes | `original_font_size` | ```int``` | Original font size used in this form field's text. | | | `font_family` | ```string``` | Font family used in this form field'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) diff --git a/openapi-config.yaml b/openapi-config.yaml index 5227ee1..8db1fea 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -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 diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index c832450..c123c2e 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -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.' @@ -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 @@ -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: @@ -8135,6 +8135,7 @@ components: enum: - user_activity - document_status + - sms_activity maxItems: 2 minItems: 1 start_date: @@ -11964,6 +11965,7 @@ components: enum: - user_activity - document_status + - sms_activity type: object x-internal-class: true SignatureRequestResponse: @@ -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 diff --git a/src/Configuration.php b/src/Configuration.php index 2a2839c..684acca 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -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) @@ -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; diff --git a/src/Model/AccountCreateRequest.php b/src/Model/AccountCreateRequest.php index 7a48414..c5d7d28 100644 --- a/src/Model/AccountCreateRequest.php +++ b/src/Model/AccountCreateRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountCreateResponse.php b/src/Model/AccountCreateResponse.php index 619bf49..bd28ca3 100644 --- a/src/Model/AccountCreateResponse.php +++ b/src/Model/AccountCreateResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountCreateResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountGetResponse.php b/src/Model/AccountGetResponse.php index 5005bc4..fa4404d 100644 --- a/src/Model/AccountGetResponse.php +++ b/src/Model/AccountGetResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountGetResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountResponse.php b/src/Model/AccountResponse.php index 6c3370e..251546b 100644 --- a/src/Model/AccountResponse.php +++ b/src/Model/AccountResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountResponseQuotas.php b/src/Model/AccountResponseQuotas.php index 119733b..467ee66 100644 --- a/src/Model/AccountResponseQuotas.php +++ b/src/Model/AccountResponseQuotas.php @@ -38,7 +38,7 @@ * @category Class * @description Details concerning remaining monthly quotas. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountResponseQuotas implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountResponseUsage.php b/src/Model/AccountResponseUsage.php index 90cb9bb..813c912 100644 --- a/src/Model/AccountResponseUsage.php +++ b/src/Model/AccountResponseUsage.php @@ -38,7 +38,7 @@ * @category Class * @description Details concerning monthly usage * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountResponseUsage implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountUpdateRequest.php b/src/Model/AccountUpdateRequest.php index cc7e7df..47b5c37 100644 --- a/src/Model/AccountUpdateRequest.php +++ b/src/Model/AccountUpdateRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountUpdateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountVerifyRequest.php b/src/Model/AccountVerifyRequest.php index 8383f65..6b1f188 100644 --- a/src/Model/AccountVerifyRequest.php +++ b/src/Model/AccountVerifyRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountVerifyRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountVerifyResponse.php b/src/Model/AccountVerifyResponse.php index 359be63..6d01346 100644 --- a/src/Model/AccountVerifyResponse.php +++ b/src/Model/AccountVerifyResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountVerifyResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/AccountVerifyResponseAccount.php b/src/Model/AccountVerifyResponseAccount.php index 2c4bf22..12eb769 100644 --- a/src/Model/AccountVerifyResponseAccount.php +++ b/src/Model/AccountVerifyResponseAccount.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class AccountVerifyResponseAccount implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ApiAppCreateRequest.php b/src/Model/ApiAppCreateRequest.php index c6d0cc9..87ca45a 100644 --- a/src/Model/ApiAppCreateRequest.php +++ b/src/Model/ApiAppCreateRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable { @@ -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) { @@ -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.'); diff --git a/src/Model/ApiAppGetResponse.php b/src/Model/ApiAppGetResponse.php index 3d9dc5d..97f83a4 100644 --- a/src/Model/ApiAppGetResponse.php +++ b/src/Model/ApiAppGetResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppGetResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ApiAppListResponse.php b/src/Model/ApiAppListResponse.php index 02e2483..02fd9cb 100644 --- a/src/Model/ApiAppListResponse.php +++ b/src/Model/ApiAppListResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppListResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ApiAppResponse.php b/src/Model/ApiAppResponse.php index c283d86..1cc11be 100644 --- a/src/Model/ApiAppResponse.php +++ b/src/Model/ApiAppResponse.php @@ -39,7 +39,7 @@ * @category Class * @description Contains information about an API App. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ApiAppResponseOAuth.php b/src/Model/ApiAppResponseOAuth.php index 6c84b43..a72ba71 100644 --- a/src/Model/ApiAppResponseOAuth.php +++ b/src/Model/ApiAppResponseOAuth.php @@ -39,7 +39,7 @@ * @category Class * @description An object describing the app's OAuth properties, or null if OAuth is not configured for the app. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppResponseOAuth implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ApiAppResponseOptions.php b/src/Model/ApiAppResponseOptions.php index 46466cb..94e0cf6 100644 --- a/src/Model/ApiAppResponseOptions.php +++ b/src/Model/ApiAppResponseOptions.php @@ -39,7 +39,7 @@ * @category Class * @description An object with options that override account settings. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppResponseOptions implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ApiAppResponseOwnerAccount.php b/src/Model/ApiAppResponseOwnerAccount.php index db9e8e0..438799c 100644 --- a/src/Model/ApiAppResponseOwnerAccount.php +++ b/src/Model/ApiAppResponseOwnerAccount.php @@ -39,7 +39,7 @@ * @category Class * @description An object describing the app's owner * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppResponseOwnerAccount implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ApiAppResponseWhiteLabelingOptions.php b/src/Model/ApiAppResponseWhiteLabelingOptions.php index b010c59..64c21a3 100644 --- a/src/Model/ApiAppResponseWhiteLabelingOptions.php +++ b/src/Model/ApiAppResponseWhiteLabelingOptions.php @@ -39,7 +39,7 @@ * @category Class * @description An object with options to customize the app's signer page * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppResponseWhiteLabelingOptions implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ApiAppUpdateRequest.php b/src/Model/ApiAppUpdateRequest.php index 323f28d..2f0ba95 100644 --- a/src/Model/ApiAppUpdateRequest.php +++ b/src/Model/ApiAppUpdateRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ApiAppUpdateRequest implements ModelInterface, ArrayAccess, JsonSerializable { @@ -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; @@ -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; diff --git a/src/Model/BulkSendJobGetResponse.php b/src/Model/BulkSendJobGetResponse.php index a0699b4..affadf1 100644 --- a/src/Model/BulkSendJobGetResponse.php +++ b/src/Model/BulkSendJobGetResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class BulkSendJobGetResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/BulkSendJobGetResponseSignatureRequests.php b/src/Model/BulkSendJobGetResponseSignatureRequests.php index a68be1c..f40d42b 100644 --- a/src/Model/BulkSendJobGetResponseSignatureRequests.php +++ b/src/Model/BulkSendJobGetResponseSignatureRequests.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class BulkSendJobGetResponseSignatureRequests implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/BulkSendJobListResponse.php b/src/Model/BulkSendJobListResponse.php index ee12f4f..0b4d494 100644 --- a/src/Model/BulkSendJobListResponse.php +++ b/src/Model/BulkSendJobListResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class BulkSendJobListResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/BulkSendJobResponse.php b/src/Model/BulkSendJobResponse.php index 987a9bd..a503c75 100644 --- a/src/Model/BulkSendJobResponse.php +++ b/src/Model/BulkSendJobResponse.php @@ -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 + * @implements ArrayAccess */ class BulkSendJobResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/BulkSendJobSendResponse.php b/src/Model/BulkSendJobSendResponse.php index 945a1a5..b503daa 100644 --- a/src/Model/BulkSendJobSendResponse.php +++ b/src/Model/BulkSendJobSendResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class BulkSendJobSendResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/EmbeddedEditUrlRequest.php b/src/Model/EmbeddedEditUrlRequest.php index d5252f0..4a76a2c 100644 --- a/src/Model/EmbeddedEditUrlRequest.php +++ b/src/Model/EmbeddedEditUrlRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class EmbeddedEditUrlRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/EmbeddedEditUrlResponse.php b/src/Model/EmbeddedEditUrlResponse.php index 865768d..7a18ae8 100644 --- a/src/Model/EmbeddedEditUrlResponse.php +++ b/src/Model/EmbeddedEditUrlResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class EmbeddedEditUrlResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/EmbeddedEditUrlResponseEmbedded.php b/src/Model/EmbeddedEditUrlResponseEmbedded.php index bda80cf..c02df31 100644 --- a/src/Model/EmbeddedEditUrlResponseEmbedded.php +++ b/src/Model/EmbeddedEditUrlResponseEmbedded.php @@ -39,7 +39,7 @@ * @category Class * @description An embedded template object. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class EmbeddedEditUrlResponseEmbedded implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/EmbeddedSignUrlResponse.php b/src/Model/EmbeddedSignUrlResponse.php index 8b2c9af..2162bc5 100644 --- a/src/Model/EmbeddedSignUrlResponse.php +++ b/src/Model/EmbeddedSignUrlResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class EmbeddedSignUrlResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/EmbeddedSignUrlResponseEmbedded.php b/src/Model/EmbeddedSignUrlResponseEmbedded.php index 54fffcb..d4f1b1c 100644 --- a/src/Model/EmbeddedSignUrlResponseEmbedded.php +++ b/src/Model/EmbeddedSignUrlResponseEmbedded.php @@ -39,7 +39,7 @@ * @category Class * @description An object that contains necessary information to set up embedded signing. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class EmbeddedSignUrlResponseEmbedded implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ErrorResponse.php b/src/Model/ErrorResponse.php index 108b8e6..17faeeb 100644 --- a/src/Model/ErrorResponse.php +++ b/src/Model/ErrorResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ErrorResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ErrorResponseError.php b/src/Model/ErrorResponseError.php index 6bb4b86..65c09c1 100644 --- a/src/Model/ErrorResponseError.php +++ b/src/Model/ErrorResponseError.php @@ -39,7 +39,7 @@ * @category Class * @description Contains information about an error that occurred. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ErrorResponseError implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/EventCallbackRequest.php b/src/Model/EventCallbackRequest.php index a3b4a18..894600a 100644 --- a/src/Model/EventCallbackRequest.php +++ b/src/Model/EventCallbackRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class EventCallbackRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/EventCallbackRequestEvent.php b/src/Model/EventCallbackRequestEvent.php index 2501307..98683c8 100644 --- a/src/Model/EventCallbackRequestEvent.php +++ b/src/Model/EventCallbackRequestEvent.php @@ -39,7 +39,7 @@ * @category Class * @description Basic information about the event that occurred. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class EventCallbackRequestEvent implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/EventCallbackRequestEventMetadata.php b/src/Model/EventCallbackRequestEventMetadata.php index 9116a54..a738a68 100644 --- a/src/Model/EventCallbackRequestEventMetadata.php +++ b/src/Model/EventCallbackRequestEventMetadata.php @@ -38,7 +38,7 @@ * @category Class * @description Specific metadata about the event. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class EventCallbackRequestEventMetadata implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxGetResponse.php b/src/Model/FaxGetResponse.php index ee85f3d..3664569 100644 --- a/src/Model/FaxGetResponse.php +++ b/src/Model/FaxGetResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxGetResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxLineAddUserRequest.php b/src/Model/FaxLineAddUserRequest.php index 4bada1b..740aad7 100644 --- a/src/Model/FaxLineAddUserRequest.php +++ b/src/Model/FaxLineAddUserRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxLineAddUserRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxLineAreaCodeGetResponse.php b/src/Model/FaxLineAreaCodeGetResponse.php index c4e650c..aa6b96b 100644 --- a/src/Model/FaxLineAreaCodeGetResponse.php +++ b/src/Model/FaxLineAreaCodeGetResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxLineAreaCodeGetResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxLineCreateRequest.php b/src/Model/FaxLineCreateRequest.php index 1f9504a..0cfac5e 100644 --- a/src/Model/FaxLineCreateRequest.php +++ b/src/Model/FaxLineCreateRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxLineCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxLineDeleteRequest.php b/src/Model/FaxLineDeleteRequest.php index c3946e2..759313a 100644 --- a/src/Model/FaxLineDeleteRequest.php +++ b/src/Model/FaxLineDeleteRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxLineDeleteRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxLineListResponse.php b/src/Model/FaxLineListResponse.php index 904c477..324078f 100644 --- a/src/Model/FaxLineListResponse.php +++ b/src/Model/FaxLineListResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxLineListResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxLineRemoveUserRequest.php b/src/Model/FaxLineRemoveUserRequest.php index 43bcce5..12336cd 100644 --- a/src/Model/FaxLineRemoveUserRequest.php +++ b/src/Model/FaxLineRemoveUserRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxLineRemoveUserRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxLineResponse.php b/src/Model/FaxLineResponse.php index 7b84af2..0a3eaca 100644 --- a/src/Model/FaxLineResponse.php +++ b/src/Model/FaxLineResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxLineResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxLineResponseFaxLine.php b/src/Model/FaxLineResponseFaxLine.php index bde8875..c48c13a 100644 --- a/src/Model/FaxLineResponseFaxLine.php +++ b/src/Model/FaxLineResponseFaxLine.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxLineResponseFaxLine implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxListResponse.php b/src/Model/FaxListResponse.php index bb402e8..e0b18f0 100644 --- a/src/Model/FaxListResponse.php +++ b/src/Model/FaxListResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxListResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxResponse.php b/src/Model/FaxResponse.php index ebe08f4..3db2cd0 100644 --- a/src/Model/FaxResponse.php +++ b/src/Model/FaxResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxResponseTransmission.php b/src/Model/FaxResponseTransmission.php index 4407739..1a7e4e8 100644 --- a/src/Model/FaxResponseTransmission.php +++ b/src/Model/FaxResponseTransmission.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxResponseTransmission implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FaxSendRequest.php b/src/Model/FaxSendRequest.php index 4923a51..6bcbf95 100644 --- a/src/Model/FaxSendRequest.php +++ b/src/Model/FaxSendRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FaxSendRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FileResponse.php b/src/Model/FileResponse.php index 82f84a6..3deb3bd 100644 --- a/src/Model/FileResponse.php +++ b/src/Model/FileResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FileResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/FileResponseDataUri.php b/src/Model/FileResponseDataUri.php index 98e37dd..a18618a 100644 --- a/src/Model/FileResponseDataUri.php +++ b/src/Model/FileResponseDataUri.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class FileResponseDataUri implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ListInfoResponse.php b/src/Model/ListInfoResponse.php index a036c6d..0c0fc96 100644 --- a/src/Model/ListInfoResponse.php +++ b/src/Model/ListInfoResponse.php @@ -39,7 +39,7 @@ * @category Class * @description Contains pagination information about the data returned. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ListInfoResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/OAuthTokenGenerateRequest.php b/src/Model/OAuthTokenGenerateRequest.php index c8e7609..8574b0f 100644 --- a/src/Model/OAuthTokenGenerateRequest.php +++ b/src/Model/OAuthTokenGenerateRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class OAuthTokenGenerateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/OAuthTokenRefreshRequest.php b/src/Model/OAuthTokenRefreshRequest.php index d923650..8736361 100644 --- a/src/Model/OAuthTokenRefreshRequest.php +++ b/src/Model/OAuthTokenRefreshRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class OAuthTokenRefreshRequest implements ModelInterface, ArrayAccess, JsonSerializable { @@ -391,7 +391,7 @@ public function getClientId() /** * Sets client_id * - * @param string|null $client_id 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. + * @param string|null $client_id 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. * * @return self */ @@ -418,7 +418,7 @@ public function getClientSecret() /** * Sets client_secret * - * @param string|null $client_secret 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. + * @param string|null $client_secret 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. * * @return self */ diff --git a/src/Model/OAuthTokenResponse.php b/src/Model/OAuthTokenResponse.php index 72b8993..9b87870 100644 --- a/src/Model/OAuthTokenResponse.php +++ b/src/Model/OAuthTokenResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class OAuthTokenResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ReportCreateRequest.php b/src/Model/ReportCreateRequest.php index f2aefab..a52ef7b 100644 --- a/src/Model/ReportCreateRequest.php +++ b/src/Model/ReportCreateRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ReportCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable { @@ -234,6 +234,7 @@ public function getModelName() public const REPORT_TYPE_USER_ACTIVITY = 'user_activity'; public const REPORT_TYPE_DOCUMENT_STATUS = 'document_status'; + public const REPORT_TYPE_SMS_ACTIVITY = 'sms_activity'; /** * Gets allowable values of the enum @@ -245,6 +246,7 @@ public function getReportTypeAllowableValues() return [ self::REPORT_TYPE_USER_ACTIVITY, self::REPORT_TYPE_DOCUMENT_STATUS, + self::REPORT_TYPE_SMS_ACTIVITY, ]; } diff --git a/src/Model/ReportCreateResponse.php b/src/Model/ReportCreateResponse.php index bc712c9..e6972d5 100644 --- a/src/Model/ReportCreateResponse.php +++ b/src/Model/ReportCreateResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ReportCreateResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/ReportResponse.php b/src/Model/ReportResponse.php index 537eb92..29122ed 100644 --- a/src/Model/ReportResponse.php +++ b/src/Model/ReportResponse.php @@ -39,7 +39,7 @@ * @category Class * @description Contains information about the report request. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class ReportResponse implements ModelInterface, ArrayAccess, JsonSerializable { @@ -241,6 +241,7 @@ public function getModelName() public const REPORT_TYPE_USER_ACTIVITY = 'user_activity'; public const REPORT_TYPE_DOCUMENT_STATUS = 'document_status'; + public const REPORT_TYPE_SMS_ACTIVITY = 'sms_activity'; /** * Gets allowable values of the enum @@ -252,6 +253,7 @@ public function getReportTypeAllowableValues() return [ self::REPORT_TYPE_USER_ACTIVITY, self::REPORT_TYPE_DOCUMENT_STATUS, + self::REPORT_TYPE_SMS_ACTIVITY, ]; } diff --git a/src/Model/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.php b/src/Model/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.php index 1874fd2..b5f51a5 100644 --- a/src/Model/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.php +++ b/src/Model/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestBulkCreateEmbeddedWithTemplateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestBulkSendWithTemplateRequest.php b/src/Model/SignatureRequestBulkSendWithTemplateRequest.php index 1e85b44..3ad0b37 100644 --- a/src/Model/SignatureRequestBulkSendWithTemplateRequest.php +++ b/src/Model/SignatureRequestBulkSendWithTemplateRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestBulkSendWithTemplateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestCreateEmbeddedRequest.php b/src/Model/SignatureRequestCreateEmbeddedRequest.php index badc3ea..1a7cda1 100644 --- a/src/Model/SignatureRequestCreateEmbeddedRequest.php +++ b/src/Model/SignatureRequestCreateEmbeddedRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestCreateEmbeddedWithTemplateRequest.php b/src/Model/SignatureRequestCreateEmbeddedWithTemplateRequest.php index 4f5b84e..b903962 100644 --- a/src/Model/SignatureRequestCreateEmbeddedWithTemplateRequest.php +++ b/src/Model/SignatureRequestCreateEmbeddedWithTemplateRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestCreateEmbeddedWithTemplateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestEditEmbeddedRequest.php b/src/Model/SignatureRequestEditEmbeddedRequest.php index cb0190f..2795f5a 100644 --- a/src/Model/SignatureRequestEditEmbeddedRequest.php +++ b/src/Model/SignatureRequestEditEmbeddedRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestEditEmbeddedWithTemplateRequest.php b/src/Model/SignatureRequestEditEmbeddedWithTemplateRequest.php index ac58ec0..05fbee5 100644 --- a/src/Model/SignatureRequestEditEmbeddedWithTemplateRequest.php +++ b/src/Model/SignatureRequestEditEmbeddedWithTemplateRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestEditEmbeddedWithTemplateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestEditRequest.php b/src/Model/SignatureRequestEditRequest.php index 131a3e4..8763f7d 100644 --- a/src/Model/SignatureRequestEditRequest.php +++ b/src/Model/SignatureRequestEditRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestEditWithTemplateRequest.php b/src/Model/SignatureRequestEditWithTemplateRequest.php index c7f839f..b27cec8 100644 --- a/src/Model/SignatureRequestEditWithTemplateRequest.php +++ b/src/Model/SignatureRequestEditWithTemplateRequest.php @@ -40,7 +40,7 @@ * @category Class * @description * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestEditWithTemplateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestGetResponse.php b/src/Model/SignatureRequestGetResponse.php index d976e49..341dbe5 100644 --- a/src/Model/SignatureRequestGetResponse.php +++ b/src/Model/SignatureRequestGetResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestGetResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestListResponse.php b/src/Model/SignatureRequestListResponse.php index 5d9a269..f67e7ed 100644 --- a/src/Model/SignatureRequestListResponse.php +++ b/src/Model/SignatureRequestListResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestListResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestRemindRequest.php b/src/Model/SignatureRequestRemindRequest.php index 1c5eaef..18e8e89 100644 --- a/src/Model/SignatureRequestRemindRequest.php +++ b/src/Model/SignatureRequestRemindRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestRemindRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestResponse.php b/src/Model/SignatureRequestResponse.php index 16a8fcc..6993121 100644 --- a/src/Model/SignatureRequestResponse.php +++ b/src/Model/SignatureRequestResponse.php @@ -39,7 +39,7 @@ * @category Class * @description Contains information about a signature request. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestResponseAttachment.php b/src/Model/SignatureRequestResponseAttachment.php index 8a91a0b..4d2c170 100644 --- a/src/Model/SignatureRequestResponseAttachment.php +++ b/src/Model/SignatureRequestResponseAttachment.php @@ -39,7 +39,7 @@ * @category Class * @description Signer attachments. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseAttachment implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestResponseCustomFieldBase.php b/src/Model/SignatureRequestResponseCustomFieldBase.php index 9d88d03..ef7c53b 100644 --- a/src/Model/SignatureRequestResponseCustomFieldBase.php +++ b/src/Model/SignatureRequestResponseCustomFieldBase.php @@ -39,7 +39,7 @@ * @category Class * @description An array of Custom Field objects containing the name and type of each custom field. * Text Field uses `SignatureRequestResponseCustomFieldText` * Checkbox Field uses `SignatureRequestResponseCustomFieldCheckbox` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseCustomFieldBase implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestResponseCustomFieldCheckbox.php b/src/Model/SignatureRequestResponseCustomFieldCheckbox.php index 983134b..644d9b0 100644 --- a/src/Model/SignatureRequestResponseCustomFieldCheckbox.php +++ b/src/Model/SignatureRequestResponseCustomFieldCheckbox.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SignatureRequestResponseCustomFieldBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseCustomFieldCheckbox extends SignatureRequestResponseCustomFieldBase { diff --git a/src/Model/SignatureRequestResponseCustomFieldText.php b/src/Model/SignatureRequestResponseCustomFieldText.php index 6c4a943..4bc5e31 100644 --- a/src/Model/SignatureRequestResponseCustomFieldText.php +++ b/src/Model/SignatureRequestResponseCustomFieldText.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SignatureRequestResponseCustomFieldBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseCustomFieldText extends SignatureRequestResponseCustomFieldBase { diff --git a/src/Model/SignatureRequestResponseDataBase.php b/src/Model/SignatureRequestResponseDataBase.php index 063b8a1..376d103 100644 --- a/src/Model/SignatureRequestResponseDataBase.php +++ b/src/Model/SignatureRequestResponseDataBase.php @@ -39,7 +39,7 @@ * @category Class * @description An array of form field objects containing the name, value, and type of each textbox or checkmark field filled in by the signers. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataBase implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestResponseDataValueCheckbox.php b/src/Model/SignatureRequestResponseDataValueCheckbox.php index e295a3a..514dc1c 100644 --- a/src/Model/SignatureRequestResponseDataValueCheckbox.php +++ b/src/Model/SignatureRequestResponseDataValueCheckbox.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueCheckbox extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseDataValueCheckboxMerge.php b/src/Model/SignatureRequestResponseDataValueCheckboxMerge.php index bb808a6..6d2125d 100644 --- a/src/Model/SignatureRequestResponseDataValueCheckboxMerge.php +++ b/src/Model/SignatureRequestResponseDataValueCheckboxMerge.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueCheckboxMerge extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseDataValueDateSigned.php b/src/Model/SignatureRequestResponseDataValueDateSigned.php index b422b6f..9de94db 100644 --- a/src/Model/SignatureRequestResponseDataValueDateSigned.php +++ b/src/Model/SignatureRequestResponseDataValueDateSigned.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueDateSigned extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseDataValueDropdown.php b/src/Model/SignatureRequestResponseDataValueDropdown.php index e912013..554a523 100644 --- a/src/Model/SignatureRequestResponseDataValueDropdown.php +++ b/src/Model/SignatureRequestResponseDataValueDropdown.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueDropdown extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseDataValueInitials.php b/src/Model/SignatureRequestResponseDataValueInitials.php index 9cd07e0..1dc12cd 100644 --- a/src/Model/SignatureRequestResponseDataValueInitials.php +++ b/src/Model/SignatureRequestResponseDataValueInitials.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueInitials extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseDataValueRadio.php b/src/Model/SignatureRequestResponseDataValueRadio.php index fcd4570..a4f6b00 100644 --- a/src/Model/SignatureRequestResponseDataValueRadio.php +++ b/src/Model/SignatureRequestResponseDataValueRadio.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueRadio extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseDataValueSignature.php b/src/Model/SignatureRequestResponseDataValueSignature.php index 223ca96..f166fbc 100644 --- a/src/Model/SignatureRequestResponseDataValueSignature.php +++ b/src/Model/SignatureRequestResponseDataValueSignature.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueSignature extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseDataValueText.php b/src/Model/SignatureRequestResponseDataValueText.php index 7c1c97b..efdc08a 100644 --- a/src/Model/SignatureRequestResponseDataValueText.php +++ b/src/Model/SignatureRequestResponseDataValueText.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueText extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseDataValueTextMerge.php b/src/Model/SignatureRequestResponseDataValueTextMerge.php index d8ea246..ae1221e 100644 --- a/src/Model/SignatureRequestResponseDataValueTextMerge.php +++ b/src/Model/SignatureRequestResponseDataValueTextMerge.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -36,7 +37,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseDataValueTextMerge extends SignatureRequestResponseDataBase { diff --git a/src/Model/SignatureRequestResponseSignatures.php b/src/Model/SignatureRequestResponseSignatures.php index fa7653f..b8271d4 100644 --- a/src/Model/SignatureRequestResponseSignatures.php +++ b/src/Model/SignatureRequestResponseSignatures.php @@ -39,7 +39,7 @@ * @category Class * @description An array of signature objects, 1 for each signer. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestResponseSignatures implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestSendRequest.php b/src/Model/SignatureRequestSendRequest.php index f381a8d..1d4379e 100644 --- a/src/Model/SignatureRequestSendRequest.php +++ b/src/Model/SignatureRequestSendRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestSendWithTemplateRequest.php b/src/Model/SignatureRequestSendWithTemplateRequest.php index 6f4cd28..a353109 100644 --- a/src/Model/SignatureRequestSendWithTemplateRequest.php +++ b/src/Model/SignatureRequestSendWithTemplateRequest.php @@ -40,7 +40,7 @@ * @category Class * @description * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestSendWithTemplateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SignatureRequestUpdateRequest.php b/src/Model/SignatureRequestUpdateRequest.php index c946720..dd412e8 100644 --- a/src/Model/SignatureRequestUpdateRequest.php +++ b/src/Model/SignatureRequestUpdateRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SignatureRequestUpdateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubAttachment.php b/src/Model/SubAttachment.php index ab6bfb5..0d34a80 100644 --- a/src/Model/SubAttachment.php +++ b/src/Model/SubAttachment.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubAttachment implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubBulkSignerList.php b/src/Model/SubBulkSignerList.php index 1ac8d78..795441c 100644 --- a/src/Model/SubBulkSignerList.php +++ b/src/Model/SubBulkSignerList.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubBulkSignerList implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubBulkSignerListCustomField.php b/src/Model/SubBulkSignerListCustomField.php index 1f15805..c614f52 100644 --- a/src/Model/SubBulkSignerListCustomField.php +++ b/src/Model/SubBulkSignerListCustomField.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubBulkSignerListCustomField implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubCC.php b/src/Model/SubCC.php index 2febceb..a2ddd60 100644 --- a/src/Model/SubCC.php +++ b/src/Model/SubCC.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubCC implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubCustomField.php b/src/Model/SubCustomField.php index 4cf6ddd..6bb11a5 100644 --- a/src/Model/SubCustomField.php +++ b/src/Model/SubCustomField.php @@ -39,7 +39,7 @@ * @category Class * @description When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubCustomField implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubEditorOptions.php b/src/Model/SubEditorOptions.php index dc6d1e5..82cd02d 100644 --- a/src/Model/SubEditorOptions.php +++ b/src/Model/SubEditorOptions.php @@ -39,7 +39,7 @@ * @category Class * @description This allows the requester to specify editor options when a preparing a document * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubEditorOptions implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubFieldOptions.php b/src/Model/SubFieldOptions.php index a74afbd..3fa684a 100644 --- a/src/Model/SubFieldOptions.php +++ b/src/Model/SubFieldOptions.php @@ -39,7 +39,7 @@ * @category Class * @description This allows the requester to specify field options for a signature request. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFieldOptions implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubFormFieldGroup.php b/src/Model/SubFormFieldGroup.php index ba06d9b..d9a8d0d 100644 --- a/src/Model/SubFormFieldGroup.php +++ b/src/Model/SubFormFieldGroup.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldGroup implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubFormFieldRule.php b/src/Model/SubFormFieldRule.php index 41c47e6..0f42be2 100644 --- a/src/Model/SubFormFieldRule.php +++ b/src/Model/SubFormFieldRule.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldRule implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubFormFieldRuleAction.php b/src/Model/SubFormFieldRuleAction.php index 39e7c0c..cb99265 100644 --- a/src/Model/SubFormFieldRuleAction.php +++ b/src/Model/SubFormFieldRuleAction.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldRuleAction implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubFormFieldRuleTrigger.php b/src/Model/SubFormFieldRuleTrigger.php index 75fecd3..9ca3953 100644 --- a/src/Model/SubFormFieldRuleTrigger.php +++ b/src/Model/SubFormFieldRuleTrigger.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldRuleTrigger implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubFormFieldsPerDocumentBase.php b/src/Model/SubFormFieldsPerDocumentBase.php index 085791e..c80d788 100644 --- a/src/Model/SubFormFieldsPerDocumentBase.php +++ b/src/Model/SubFormFieldsPerDocumentBase.php @@ -39,7 +39,7 @@ * @category Class * @description The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentBase implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubFormFieldsPerDocumentCheckbox.php b/src/Model/SubFormFieldsPerDocumentCheckbox.php index c7610df..228dfad 100644 --- a/src/Model/SubFormFieldsPerDocumentCheckbox.php +++ b/src/Model/SubFormFieldsPerDocumentCheckbox.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentCheckbox extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentCheckboxMerge.php b/src/Model/SubFormFieldsPerDocumentCheckboxMerge.php index 24ddfbf..9f60bf6 100644 --- a/src/Model/SubFormFieldsPerDocumentCheckboxMerge.php +++ b/src/Model/SubFormFieldsPerDocumentCheckboxMerge.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentCheckboxMerge extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentDateSigned.php b/src/Model/SubFormFieldsPerDocumentDateSigned.php index 1e917ae..d7b9770 100644 --- a/src/Model/SubFormFieldsPerDocumentDateSigned.php +++ b/src/Model/SubFormFieldsPerDocumentDateSigned.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentDateSigned extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentDropdown.php b/src/Model/SubFormFieldsPerDocumentDropdown.php index f26d663..e57b50b 100644 --- a/src/Model/SubFormFieldsPerDocumentDropdown.php +++ b/src/Model/SubFormFieldsPerDocumentDropdown.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentDropdown extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentHyperlink.php b/src/Model/SubFormFieldsPerDocumentHyperlink.php index f9c9353..fad1fa8 100644 --- a/src/Model/SubFormFieldsPerDocumentHyperlink.php +++ b/src/Model/SubFormFieldsPerDocumentHyperlink.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentHyperlink extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentInitials.php b/src/Model/SubFormFieldsPerDocumentInitials.php index d74b4ad..1afccce 100644 --- a/src/Model/SubFormFieldsPerDocumentInitials.php +++ b/src/Model/SubFormFieldsPerDocumentInitials.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentInitials extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentRadio.php b/src/Model/SubFormFieldsPerDocumentRadio.php index 962382c..6a29610 100644 --- a/src/Model/SubFormFieldsPerDocumentRadio.php +++ b/src/Model/SubFormFieldsPerDocumentRadio.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentRadio extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentSignature.php b/src/Model/SubFormFieldsPerDocumentSignature.php index b4c228b..fe944e6 100644 --- a/src/Model/SubFormFieldsPerDocumentSignature.php +++ b/src/Model/SubFormFieldsPerDocumentSignature.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentSignature extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentText.php b/src/Model/SubFormFieldsPerDocumentText.php index 1cb1f6e..90794ef 100644 --- a/src/Model/SubFormFieldsPerDocumentText.php +++ b/src/Model/SubFormFieldsPerDocumentText.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentText extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubFormFieldsPerDocumentTextMerge.php b/src/Model/SubFormFieldsPerDocumentTextMerge.php index 2f1fb28..4fe9e34 100644 --- a/src/Model/SubFormFieldsPerDocumentTextMerge.php +++ b/src/Model/SubFormFieldsPerDocumentTextMerge.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `SubFormFieldsPerDocumentBase`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubFormFieldsPerDocumentTextMerge extends SubFormFieldsPerDocumentBase { diff --git a/src/Model/SubMergeField.php b/src/Model/SubMergeField.php index 3b72a78..2880c9a 100644 --- a/src/Model/SubMergeField.php +++ b/src/Model/SubMergeField.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubMergeField implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubOAuth.php b/src/Model/SubOAuth.php index 39c24d8..ea8ef7c 100644 --- a/src/Model/SubOAuth.php +++ b/src/Model/SubOAuth.php @@ -39,7 +39,7 @@ * @category Class * @description OAuth related parameters. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubOAuth implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubOptions.php b/src/Model/SubOptions.php index 4493687..a3e433e 100644 --- a/src/Model/SubOptions.php +++ b/src/Model/SubOptions.php @@ -39,7 +39,7 @@ * @category Class * @description Additional options supported by API App. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubOptions implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubSignatureRequestGroupedSigners.php b/src/Model/SubSignatureRequestGroupedSigners.php index 5405a11..98a9cc8 100644 --- a/src/Model/SubSignatureRequestGroupedSigners.php +++ b/src/Model/SubSignatureRequestGroupedSigners.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubSignatureRequestGroupedSigners implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubSignatureRequestSigner.php b/src/Model/SubSignatureRequestSigner.php index 23043b1..e64799e 100644 --- a/src/Model/SubSignatureRequestSigner.php +++ b/src/Model/SubSignatureRequestSigner.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubSignatureRequestSigner implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubSignatureRequestTemplateSigner.php b/src/Model/SubSignatureRequestTemplateSigner.php index caf7d90..adcdf88 100644 --- a/src/Model/SubSignatureRequestTemplateSigner.php +++ b/src/Model/SubSignatureRequestTemplateSigner.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubSignatureRequestTemplateSigner implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubSigningOptions.php b/src/Model/SubSigningOptions.php index bdb9f4e..51185a7 100644 --- a/src/Model/SubSigningOptions.php +++ b/src/Model/SubSigningOptions.php @@ -39,7 +39,7 @@ * @category Class * @description This allows the requester to specify the types allowed for creating a signature. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubSigningOptions implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubTeamResponse.php b/src/Model/SubTeamResponse.php index def81af..127f49e 100644 --- a/src/Model/SubTeamResponse.php +++ b/src/Model/SubTeamResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubTeamResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubTemplateRole.php b/src/Model/SubTemplateRole.php index 489a376..835a1eb 100644 --- a/src/Model/SubTemplateRole.php +++ b/src/Model/SubTemplateRole.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubTemplateRole implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubUnclaimedDraftSigner.php b/src/Model/SubUnclaimedDraftSigner.php index 4d9b3ec..2a5db01 100644 --- a/src/Model/SubUnclaimedDraftSigner.php +++ b/src/Model/SubUnclaimedDraftSigner.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubUnclaimedDraftSigner implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubUnclaimedDraftTemplateSigner.php b/src/Model/SubUnclaimedDraftTemplateSigner.php index 52544c1..9b9c824 100644 --- a/src/Model/SubUnclaimedDraftTemplateSigner.php +++ b/src/Model/SubUnclaimedDraftTemplateSigner.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubUnclaimedDraftTemplateSigner implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/SubWhiteLabelingOptions.php b/src/Model/SubWhiteLabelingOptions.php index 5eafd34..f4ce707 100644 --- a/src/Model/SubWhiteLabelingOptions.php +++ b/src/Model/SubWhiteLabelingOptions.php @@ -39,7 +39,7 @@ * @category Class * @description An array of elements and values serialized to a string, to be used to customize the app's signer page. (Only applies to some API plans) Take a look at our [white labeling guide](https://developers.hellosign.com/api/reference/premium-branding/) to learn more. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class SubWhiteLabelingOptions implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamAddMemberRequest.php b/src/Model/TeamAddMemberRequest.php index c1fbe01..146ae4f 100644 --- a/src/Model/TeamAddMemberRequest.php +++ b/src/Model/TeamAddMemberRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamAddMemberRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamCreateRequest.php b/src/Model/TeamCreateRequest.php index 791ab93..452badc 100644 --- a/src/Model/TeamCreateRequest.php +++ b/src/Model/TeamCreateRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamGetInfoResponse.php b/src/Model/TeamGetInfoResponse.php index 58c58f6..d14d4aa 100644 --- a/src/Model/TeamGetInfoResponse.php +++ b/src/Model/TeamGetInfoResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamGetInfoResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamGetResponse.php b/src/Model/TeamGetResponse.php index 05624a1..28d96ff 100644 --- a/src/Model/TeamGetResponse.php +++ b/src/Model/TeamGetResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamGetResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamInfoResponse.php b/src/Model/TeamInfoResponse.php index 7deb94a..13499bb 100644 --- a/src/Model/TeamInfoResponse.php +++ b/src/Model/TeamInfoResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamInfoResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamInviteResponse.php b/src/Model/TeamInviteResponse.php index b9d9165..78dbf92 100644 --- a/src/Model/TeamInviteResponse.php +++ b/src/Model/TeamInviteResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamInviteResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamInvitesResponse.php b/src/Model/TeamInvitesResponse.php index 5ad2014..2ee6b90 100644 --- a/src/Model/TeamInvitesResponse.php +++ b/src/Model/TeamInvitesResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamInvitesResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamMemberResponse.php b/src/Model/TeamMemberResponse.php index 89141eb..b413072 100644 --- a/src/Model/TeamMemberResponse.php +++ b/src/Model/TeamMemberResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamMemberResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamMembersResponse.php b/src/Model/TeamMembersResponse.php index 87a3fda..dce3325 100644 --- a/src/Model/TeamMembersResponse.php +++ b/src/Model/TeamMembersResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamMembersResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamParentResponse.php b/src/Model/TeamParentResponse.php index bfd6cc6..ccc57f8 100644 --- a/src/Model/TeamParentResponse.php +++ b/src/Model/TeamParentResponse.php @@ -39,7 +39,7 @@ * @category Class * @description Information about the parent team if a team has one, set to `null` otherwise. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamParentResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamRemoveMemberRequest.php b/src/Model/TeamRemoveMemberRequest.php index 6c411d5..8d994a3 100644 --- a/src/Model/TeamRemoveMemberRequest.php +++ b/src/Model/TeamRemoveMemberRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamRemoveMemberRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamResponse.php b/src/Model/TeamResponse.php index 922c408..ca161d7 100644 --- a/src/Model/TeamResponse.php +++ b/src/Model/TeamResponse.php @@ -39,7 +39,7 @@ * @category Class * @description Contains information about your team and its members * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamSubTeamsResponse.php b/src/Model/TeamSubTeamsResponse.php index 367149d..fa68935 100644 --- a/src/Model/TeamSubTeamsResponse.php +++ b/src/Model/TeamSubTeamsResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamSubTeamsResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TeamUpdateRequest.php b/src/Model/TeamUpdateRequest.php index c631146..a8787a9 100644 --- a/src/Model/TeamUpdateRequest.php +++ b/src/Model/TeamUpdateRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TeamUpdateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateAddUserRequest.php b/src/Model/TemplateAddUserRequest.php index fa235f3..c55c3ed 100644 --- a/src/Model/TemplateAddUserRequest.php +++ b/src/Model/TemplateAddUserRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateAddUserRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateCreateEmbeddedDraftRequest.php b/src/Model/TemplateCreateEmbeddedDraftRequest.php index 79ce3b2..9d151a1 100644 --- a/src/Model/TemplateCreateEmbeddedDraftRequest.php +++ b/src/Model/TemplateCreateEmbeddedDraftRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateCreateEmbeddedDraftResponse.php b/src/Model/TemplateCreateEmbeddedDraftResponse.php index ca85bf0..4ef1c7c 100644 --- a/src/Model/TemplateCreateEmbeddedDraftResponse.php +++ b/src/Model/TemplateCreateEmbeddedDraftResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateCreateEmbeddedDraftResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateCreateEmbeddedDraftResponseTemplate.php b/src/Model/TemplateCreateEmbeddedDraftResponseTemplate.php index 324766d..fb6238e 100644 --- a/src/Model/TemplateCreateEmbeddedDraftResponseTemplate.php +++ b/src/Model/TemplateCreateEmbeddedDraftResponseTemplate.php @@ -39,7 +39,7 @@ * @category Class * @description Template object with parameters: `template_id`, `edit_url`, `expires_at`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateCreateEmbeddedDraftResponseTemplate implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateCreateRequest.php b/src/Model/TemplateCreateRequest.php index ddeab02..87e69a2 100644 --- a/src/Model/TemplateCreateRequest.php +++ b/src/Model/TemplateCreateRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateCreateResponse.php b/src/Model/TemplateCreateResponse.php index 3fe65f1..db35aec 100644 --- a/src/Model/TemplateCreateResponse.php +++ b/src/Model/TemplateCreateResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateCreateResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateCreateResponseTemplate.php b/src/Model/TemplateCreateResponseTemplate.php index 7baaf00..6777be7 100644 --- a/src/Model/TemplateCreateResponseTemplate.php +++ b/src/Model/TemplateCreateResponseTemplate.php @@ -39,7 +39,7 @@ * @category Class * @description Template object with parameters: `template_id`. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateCreateResponseTemplate implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateEditResponse.php b/src/Model/TemplateEditResponse.php index 3374ff2..6250245 100644 --- a/src/Model/TemplateEditResponse.php +++ b/src/Model/TemplateEditResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateEditResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateGetResponse.php b/src/Model/TemplateGetResponse.php index 321b667..b9f006f 100644 --- a/src/Model/TemplateGetResponse.php +++ b/src/Model/TemplateGetResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateGetResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateListResponse.php b/src/Model/TemplateListResponse.php index df656f2..4d4b367 100644 --- a/src/Model/TemplateListResponse.php +++ b/src/Model/TemplateListResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateListResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateRemoveUserRequest.php b/src/Model/TemplateRemoveUserRequest.php index 29407ca..1e5f3ab 100644 --- a/src/Model/TemplateRemoveUserRequest.php +++ b/src/Model/TemplateRemoveUserRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateRemoveUserRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponse.php b/src/Model/TemplateResponse.php index 69492ed..3eac210 100644 --- a/src/Model/TemplateResponse.php +++ b/src/Model/TemplateResponse.php @@ -39,7 +39,7 @@ * @category Class * @description Contains information about the templates you and your team have created. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseAccount.php b/src/Model/TemplateResponseAccount.php index c2cc5fb..126b68d 100644 --- a/src/Model/TemplateResponseAccount.php +++ b/src/Model/TemplateResponseAccount.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseAccount implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseAccountQuota.php b/src/Model/TemplateResponseAccountQuota.php index f88bd93..24b7421 100644 --- a/src/Model/TemplateResponseAccountQuota.php +++ b/src/Model/TemplateResponseAccountQuota.php @@ -39,7 +39,7 @@ * @category Class * @description An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseAccountQuota implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseCCRole.php b/src/Model/TemplateResponseCCRole.php index a9db018..8a0f435 100644 --- a/src/Model/TemplateResponseCCRole.php +++ b/src/Model/TemplateResponseCCRole.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseCCRole implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseDocument.php b/src/Model/TemplateResponseDocument.php index c2f75fc..26887c9 100644 --- a/src/Model/TemplateResponseDocument.php +++ b/src/Model/TemplateResponseDocument.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocument implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseDocumentCustomFieldBase.php b/src/Model/TemplateResponseDocumentCustomFieldBase.php index 30dcb7f..28ebc62 100644 --- a/src/Model/TemplateResponseDocumentCustomFieldBase.php +++ b/src/Model/TemplateResponseDocumentCustomFieldBase.php @@ -39,7 +39,7 @@ * @category Class * @description An array of Form Field objects containing the name and type of each named field. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentCustomFieldBase implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseDocumentCustomFieldCheckbox.php b/src/Model/TemplateResponseDocumentCustomFieldCheckbox.php index 28b195c..bc054a3 100644 --- a/src/Model/TemplateResponseDocumentCustomFieldCheckbox.php +++ b/src/Model/TemplateResponseDocumentCustomFieldCheckbox.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentCustomFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentCustomFieldCheckbox extends TemplateResponseDocumentCustomFieldBase { diff --git a/src/Model/TemplateResponseDocumentCustomFieldText.php b/src/Model/TemplateResponseDocumentCustomFieldText.php index 84beb6e..4b9ef0f 100644 --- a/src/Model/TemplateResponseDocumentCustomFieldText.php +++ b/src/Model/TemplateResponseDocumentCustomFieldText.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentCustomFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentCustomFieldText extends TemplateResponseDocumentCustomFieldBase { diff --git a/src/Model/TemplateResponseDocumentFieldGroup.php b/src/Model/TemplateResponseDocumentFieldGroup.php index b58429d..9e7266a 100644 --- a/src/Model/TemplateResponseDocumentFieldGroup.php +++ b/src/Model/TemplateResponseDocumentFieldGroup.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFieldGroup implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseDocumentFieldGroupRule.php b/src/Model/TemplateResponseDocumentFieldGroupRule.php index 6c9324b..ce4cbbe 100644 --- a/src/Model/TemplateResponseDocumentFieldGroupRule.php +++ b/src/Model/TemplateResponseDocumentFieldGroupRule.php @@ -39,7 +39,7 @@ * @category Class * @description The rule used to validate checkboxes in the form field group. See [checkbox field grouping](/api/reference/constants/#checkbox-field-grouping). * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFieldGroupRule implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseDocumentFormFieldBase.php b/src/Model/TemplateResponseDocumentFormFieldBase.php index 2562903..9158def 100644 --- a/src/Model/TemplateResponseDocumentFormFieldBase.php +++ b/src/Model/TemplateResponseDocumentFormFieldBase.php @@ -39,7 +39,7 @@ * @category Class * @description An array of Form Field objects containing the name and type of each named field. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldBase implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseDocumentFormFieldCheckbox.php b/src/Model/TemplateResponseDocumentFormFieldCheckbox.php index 3b72e3c..5c09e72 100644 --- a/src/Model/TemplateResponseDocumentFormFieldCheckbox.php +++ b/src/Model/TemplateResponseDocumentFormFieldCheckbox.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentFormFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldCheckbox extends TemplateResponseDocumentFormFieldBase { diff --git a/src/Model/TemplateResponseDocumentFormFieldDateSigned.php b/src/Model/TemplateResponseDocumentFormFieldDateSigned.php index 342281d..04b0ba0 100644 --- a/src/Model/TemplateResponseDocumentFormFieldDateSigned.php +++ b/src/Model/TemplateResponseDocumentFormFieldDateSigned.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentFormFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldDateSigned extends TemplateResponseDocumentFormFieldBase { diff --git a/src/Model/TemplateResponseDocumentFormFieldDropdown.php b/src/Model/TemplateResponseDocumentFormFieldDropdown.php index dd4cfc0..9760912 100644 --- a/src/Model/TemplateResponseDocumentFormFieldDropdown.php +++ b/src/Model/TemplateResponseDocumentFormFieldDropdown.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentFormFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldDropdown extends TemplateResponseDocumentFormFieldBase { diff --git a/src/Model/TemplateResponseDocumentFormFieldHyperlink.php b/src/Model/TemplateResponseDocumentFormFieldHyperlink.php index 01e3b91..136d33a 100644 --- a/src/Model/TemplateResponseDocumentFormFieldHyperlink.php +++ b/src/Model/TemplateResponseDocumentFormFieldHyperlink.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentFormFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldHyperlink extends TemplateResponseDocumentFormFieldBase { diff --git a/src/Model/TemplateResponseDocumentFormFieldInitials.php b/src/Model/TemplateResponseDocumentFormFieldInitials.php index f20e10d..3f26239 100644 --- a/src/Model/TemplateResponseDocumentFormFieldInitials.php +++ b/src/Model/TemplateResponseDocumentFormFieldInitials.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentFormFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldInitials extends TemplateResponseDocumentFormFieldBase { diff --git a/src/Model/TemplateResponseDocumentFormFieldRadio.php b/src/Model/TemplateResponseDocumentFormFieldRadio.php index 5052ea6..3e3bbc9 100644 --- a/src/Model/TemplateResponseDocumentFormFieldRadio.php +++ b/src/Model/TemplateResponseDocumentFormFieldRadio.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentFormFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldRadio extends TemplateResponseDocumentFormFieldBase { diff --git a/src/Model/TemplateResponseDocumentFormFieldSignature.php b/src/Model/TemplateResponseDocumentFormFieldSignature.php index 6ba169c..0358b8a 100644 --- a/src/Model/TemplateResponseDocumentFormFieldSignature.php +++ b/src/Model/TemplateResponseDocumentFormFieldSignature.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentFormFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldSignature extends TemplateResponseDocumentFormFieldBase { diff --git a/src/Model/TemplateResponseDocumentFormFieldText.php b/src/Model/TemplateResponseDocumentFormFieldText.php index afb4331..72820f6 100644 --- a/src/Model/TemplateResponseDocumentFormFieldText.php +++ b/src/Model/TemplateResponseDocumentFormFieldText.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentFormFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentFormFieldText extends TemplateResponseDocumentFormFieldBase { @@ -62,6 +63,8 @@ class TemplateResponseDocumentFormFieldText extends TemplateResponseDocumentForm 'original_font_size' => 'int', 'font_family' => 'string', 'validation_type' => 'string', + 'validation_custom_regex' => 'string', + 'validation_custom_regex_format_label' => 'string', 'group' => 'string', ]; @@ -79,6 +82,8 @@ class TemplateResponseDocumentFormFieldText extends TemplateResponseDocumentForm 'original_font_size' => null, 'font_family' => null, 'validation_type' => null, + 'validation_custom_regex' => null, + 'validation_custom_regex_format_label' => null, 'group' => null, ]; @@ -94,6 +99,8 @@ class TemplateResponseDocumentFormFieldText extends TemplateResponseDocumentForm 'original_font_size' => false, 'font_family' => false, 'validation_type' => true, + 'validation_custom_regex' => true, + 'validation_custom_regex_format_label' => true, 'group' => true, ]; @@ -181,6 +188,8 @@ public function isNullableSetToNull(string $property): bool 'original_font_size' => 'originalFontSize', 'font_family' => 'fontFamily', 'validation_type' => 'validation_type', + 'validation_custom_regex' => 'validation_custom_regex', + 'validation_custom_regex_format_label' => 'validation_custom_regex_format_label', 'group' => 'group', ]; @@ -196,6 +205,8 @@ public function isNullableSetToNull(string $property): bool 'original_font_size' => 'setOriginalFontSize', 'font_family' => 'setFontFamily', 'validation_type' => 'setValidationType', + 'validation_custom_regex' => 'setValidationCustomRegex', + 'validation_custom_regex_format_label' => 'setValidationCustomRegexFormatLabel', 'group' => 'setGroup', ]; @@ -211,6 +222,8 @@ public function isNullableSetToNull(string $property): bool 'original_font_size' => 'getOriginalFontSize', 'font_family' => 'getFontFamily', 'validation_type' => 'getValidationType', + 'validation_custom_regex' => 'getValidationCustomRegex', + 'validation_custom_regex_format_label' => 'getValidationCustomRegexFormatLabel', 'group' => 'getGroup', ]; @@ -303,6 +316,8 @@ public function __construct(?array $data = null) $this->setIfExists('original_font_size', $data ?? [], null); $this->setIfExists('font_family', $data ?? [], null); $this->setIfExists('validation_type', $data ?? [], null); + $this->setIfExists('validation_custom_regex', $data ?? [], null); + $this->setIfExists('validation_custom_regex_format_label', $data ?? [], null); $this->setIfExists('group', $data ?? [], null); } @@ -556,6 +571,74 @@ public function setValidationType(?string $validation_type) return $this; } + /** + * Gets validation_custom_regex + * + * @return string|null + */ + public function getValidationCustomRegex() + { + return $this->container['validation_custom_regex']; + } + + /** + * Sets validation_custom_regex + * + * @param string|null $validation_custom_regex when `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field + * + * @return self + */ + public function setValidationCustomRegex(?string $validation_custom_regex) + { + if (is_null($validation_custom_regex)) { + array_push($this->openAPINullablesSetToNull, 'validation_custom_regex'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('validation_custom_regex', $nullablesSetToNull); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['validation_custom_regex'] = $validation_custom_regex; + + return $this; + } + + /** + * Gets validation_custom_regex_format_label + * + * @return string|null + */ + public function getValidationCustomRegexFormatLabel() + { + return $this->container['validation_custom_regex_format_label']; + } + + /** + * Sets validation_custom_regex_format_label + * + * @param string|null $validation_custom_regex_format_label 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 + * + * @return self + */ + public function setValidationCustomRegexFormatLabel(?string $validation_custom_regex_format_label) + { + if (is_null($validation_custom_regex_format_label)) { + array_push($this->openAPINullablesSetToNull, 'validation_custom_regex_format_label'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('validation_custom_regex_format_label', $nullablesSetToNull); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['validation_custom_regex_format_label'] = $validation_custom_regex_format_label; + + return $this; + } + /** * Gets group * diff --git a/src/Model/TemplateResponseDocumentStaticFieldBase.php b/src/Model/TemplateResponseDocumentStaticFieldBase.php index fc632b9..cf8391b 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldBase.php +++ b/src/Model/TemplateResponseDocumentStaticFieldBase.php @@ -39,7 +39,7 @@ * @category Class * @description An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldBase implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseDocumentStaticFieldCheckbox.php b/src/Model/TemplateResponseDocumentStaticFieldCheckbox.php index 1f583ce..3fea149 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldCheckbox.php +++ b/src/Model/TemplateResponseDocumentStaticFieldCheckbox.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentStaticFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldCheckbox extends TemplateResponseDocumentStaticFieldBase { diff --git a/src/Model/TemplateResponseDocumentStaticFieldDateSigned.php b/src/Model/TemplateResponseDocumentStaticFieldDateSigned.php index 5ae56b5..a8b175e 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldDateSigned.php +++ b/src/Model/TemplateResponseDocumentStaticFieldDateSigned.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentStaticFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldDateSigned extends TemplateResponseDocumentStaticFieldBase { diff --git a/src/Model/TemplateResponseDocumentStaticFieldDropdown.php b/src/Model/TemplateResponseDocumentStaticFieldDropdown.php index 8c424a9..f3f6458 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldDropdown.php +++ b/src/Model/TemplateResponseDocumentStaticFieldDropdown.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentStaticFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldDropdown extends TemplateResponseDocumentStaticFieldBase { diff --git a/src/Model/TemplateResponseDocumentStaticFieldHyperlink.php b/src/Model/TemplateResponseDocumentStaticFieldHyperlink.php index 218bbb0..1b56266 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldHyperlink.php +++ b/src/Model/TemplateResponseDocumentStaticFieldHyperlink.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentStaticFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldHyperlink extends TemplateResponseDocumentStaticFieldBase { diff --git a/src/Model/TemplateResponseDocumentStaticFieldInitials.php b/src/Model/TemplateResponseDocumentStaticFieldInitials.php index ce77013..010bbfb 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldInitials.php +++ b/src/Model/TemplateResponseDocumentStaticFieldInitials.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentStaticFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldInitials extends TemplateResponseDocumentStaticFieldBase { diff --git a/src/Model/TemplateResponseDocumentStaticFieldRadio.php b/src/Model/TemplateResponseDocumentStaticFieldRadio.php index ae47e8a..2791f7c 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldRadio.php +++ b/src/Model/TemplateResponseDocumentStaticFieldRadio.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentStaticFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldRadio extends TemplateResponseDocumentStaticFieldBase { diff --git a/src/Model/TemplateResponseDocumentStaticFieldSignature.php b/src/Model/TemplateResponseDocumentStaticFieldSignature.php index c0da5a2..93e8d34 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldSignature.php +++ b/src/Model/TemplateResponseDocumentStaticFieldSignature.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentStaticFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldSignature extends TemplateResponseDocumentStaticFieldBase { diff --git a/src/Model/TemplateResponseDocumentStaticFieldText.php b/src/Model/TemplateResponseDocumentStaticFieldText.php index 246a22d..df03f7b 100644 --- a/src/Model/TemplateResponseDocumentStaticFieldText.php +++ b/src/Model/TemplateResponseDocumentStaticFieldText.php @@ -27,6 +27,7 @@ namespace Dropbox\Sign\Model; +use ArrayAccess; use Dropbox\Sign\ObjectSerializer; use InvalidArgumentException; use ReturnTypeWillChange; @@ -37,7 +38,7 @@ * @category Class * @description This class extends `TemplateResponseDocumentStaticFieldBase` * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseDocumentStaticFieldText extends TemplateResponseDocumentStaticFieldBase { diff --git a/src/Model/TemplateResponseFieldAvgTextLength.php b/src/Model/TemplateResponseFieldAvgTextLength.php index 6fbb12d..75a0943 100644 --- a/src/Model/TemplateResponseFieldAvgTextLength.php +++ b/src/Model/TemplateResponseFieldAvgTextLength.php @@ -39,7 +39,7 @@ * @category Class * @description Average text length in this field. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseFieldAvgTextLength implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateResponseSignerRole.php b/src/Model/TemplateResponseSignerRole.php index 9d62bf4..f32dbad 100644 --- a/src/Model/TemplateResponseSignerRole.php +++ b/src/Model/TemplateResponseSignerRole.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateResponseSignerRole implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateUpdateFilesRequest.php b/src/Model/TemplateUpdateFilesRequest.php index 2f87773..0fea668 100644 --- a/src/Model/TemplateUpdateFilesRequest.php +++ b/src/Model/TemplateUpdateFilesRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateUpdateFilesRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateUpdateFilesResponse.php b/src/Model/TemplateUpdateFilesResponse.php index de4fb8b..6cc46e0 100644 --- a/src/Model/TemplateUpdateFilesResponse.php +++ b/src/Model/TemplateUpdateFilesResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateUpdateFilesResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/TemplateUpdateFilesResponseTemplate.php b/src/Model/TemplateUpdateFilesResponseTemplate.php index 4f112b6..122928e 100644 --- a/src/Model/TemplateUpdateFilesResponseTemplate.php +++ b/src/Model/TemplateUpdateFilesResponseTemplate.php @@ -39,7 +39,7 @@ * @category Class * @description Contains template id * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class TemplateUpdateFilesResponseTemplate implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/UnclaimedDraftCreateEmbeddedRequest.php b/src/Model/UnclaimedDraftCreateEmbeddedRequest.php index 9d42586..fa78f95 100644 --- a/src/Model/UnclaimedDraftCreateEmbeddedRequest.php +++ b/src/Model/UnclaimedDraftCreateEmbeddedRequest.php @@ -40,7 +40,7 @@ * @category Class * @description * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/UnclaimedDraftCreateEmbeddedWithTemplateRequest.php b/src/Model/UnclaimedDraftCreateEmbeddedWithTemplateRequest.php index b96ad7c..ced869b 100644 --- a/src/Model/UnclaimedDraftCreateEmbeddedWithTemplateRequest.php +++ b/src/Model/UnclaimedDraftCreateEmbeddedWithTemplateRequest.php @@ -39,7 +39,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class UnclaimedDraftCreateEmbeddedWithTemplateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/UnclaimedDraftCreateRequest.php b/src/Model/UnclaimedDraftCreateRequest.php index 89b665f..ed00604 100644 --- a/src/Model/UnclaimedDraftCreateRequest.php +++ b/src/Model/UnclaimedDraftCreateRequest.php @@ -40,7 +40,7 @@ * @category Class * @description * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/UnclaimedDraftCreateResponse.php b/src/Model/UnclaimedDraftCreateResponse.php index d6c1043..65ab8ad 100644 --- a/src/Model/UnclaimedDraftCreateResponse.php +++ b/src/Model/UnclaimedDraftCreateResponse.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class UnclaimedDraftCreateResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/UnclaimedDraftEditAndResendRequest.php b/src/Model/UnclaimedDraftEditAndResendRequest.php index 56a60c5..c386152 100644 --- a/src/Model/UnclaimedDraftEditAndResendRequest.php +++ b/src/Model/UnclaimedDraftEditAndResendRequest.php @@ -38,7 +38,7 @@ * * @category Class * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class UnclaimedDraftEditAndResendRequest implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/UnclaimedDraftResponse.php b/src/Model/UnclaimedDraftResponse.php index 774aae3..634d99b 100644 --- a/src/Model/UnclaimedDraftResponse.php +++ b/src/Model/UnclaimedDraftResponse.php @@ -39,7 +39,7 @@ * @category Class * @description A group of documents that a user can take ownership of via the claim URL. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class UnclaimedDraftResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/src/Model/WarningResponse.php b/src/Model/WarningResponse.php index 3092773..cd95bc1 100644 --- a/src/Model/WarningResponse.php +++ b/src/Model/WarningResponse.php @@ -39,7 +39,7 @@ * @category Class * @description A list of warnings. * @see https://openapi-generator.tech - * @implements \ArrayAccess + * @implements ArrayAccess */ class WarningResponse implements ModelInterface, ArrayAccess, JsonSerializable { diff --git a/test/Api/FaxApiTest.php b/test/Api/FaxApiTest.php new file mode 100644 index 0000000..fe40e1e --- /dev/null +++ b/test/Api/FaxApiTest.php @@ -0,0 +1,90 @@ +client = new GuzzleHttp\Client([ + 'handler' => GuzzleHttp\HandlerStack::create($this->handler), + ]); + + $this->api = new Api\FaxApi( + Configuration::getDefaultConfiguration(), + $this->client, + ); + } + + public function testFaxSend() + { + $requestClass = Model\FaxSendRequest::class; + $requestData = TestUtils::getFixtureData($requestClass)['default']; + + $responseClass = Model\FaxGetResponse::class; + $responseData = TestUtils::getFixtureData($responseClass)['default']; + + $this->setExpectedResponse($responseData); + + $obj = Model\FaxSendRequest::init( + $requestData + ); + $obj->setFiles([ + new SplFileObject(self::ROOT_FILE_PATH . '/pdf-sample.pdf'), + ]); + + $response = $this->api->faxSend($obj); + $serialized = TestUtils::toArray($response); + + $this->assertInstanceOf($responseClass, $response); + $this->assertEquals($responseData, $serialized); + $this->assertEquals($responseData, TestUtils::toArray($response)); + } + + public function testFaxList() + { + $responseClass = Model\FaxListResponse::class; + $responseData = TestUtils::getFixtureData($responseClass)['default']; + + $this->setExpectedResponse($responseData); + + $response = $this->api->faxList(); + $serialized = TestUtils::toArray($response); + + $this->assertInstanceOf($responseClass, $response); + $this->assertEquals($responseData, $serialized); + $this->assertEquals($responseData, TestUtils::toArray($response)); + } + + public function testFaxGet() + { + $faxId = 'c2e9691c85d9d6fa6ae773842e3680b2b8650f1d'; + + $responseClass = Model\FaxGetResponse::class; + $responseData = TestUtils::getFixtureData($responseClass)['default']; + + $this->setExpectedResponse($responseData); + + $response = $this->api->faxGet($faxId); + $serialized = TestUtils::toArray($response); + + $this->assertInstanceOf($responseClass, $response); + $this->assertEquals($responseData, $serialized); + $this->assertEquals($responseData, TestUtils::toArray($response)); + } +} diff --git a/test/Api/FaxLineApiTest.php b/test/Api/FaxLineApiTest.php new file mode 100644 index 0000000..82e5b2f --- /dev/null +++ b/test/Api/FaxLineApiTest.php @@ -0,0 +1,87 @@ +client = new GuzzleHttp\Client([ + 'handler' => GuzzleHttp\HandlerStack::create($this->handler), + ]); + + $this->api = new Api\FaxLineApi( + Configuration::getDefaultConfiguration(), + $this->client, + ); + } + + public function testFaxSend() + { + $requestClass = Model\FaxLineCreateRequest::class; + $requestData = TestUtils::getFixtureData($requestClass)['default']; + + $responseClass = Model\FaxLineResponse::class; + $responseData = TestUtils::getFixtureData($responseClass)['default']; + + $this->setExpectedResponse($responseData); + + $obj = Model\FaxLineCreateRequest::init( + $requestData + ); + + $response = $this->api->faxLineCreate($obj); + $serialized = TestUtils::toArray($response); + + $this->assertInstanceOf($responseClass, $response); + $this->assertEquals($responseData, $serialized); + $this->assertEquals($responseData, TestUtils::toArray($response)); + } + + public function testFaxLineList() + { + $responseClass = Model\FaxLineListResponse::class; + $responseData = TestUtils::getFixtureData($responseClass)['default']; + + $this->setExpectedResponse($responseData); + + $response = $this->api->faxLineList(); + $serialized = TestUtils::toArray($response); + + $this->assertInstanceOf($responseClass, $response); + $this->assertEquals($responseData, $serialized); + $this->assertEquals($responseData, TestUtils::toArray($response)); + } + + public function testFaxLineGet() + { + $faxLineNumber = '14155557897'; + + $responseClass = Model\FaxLineResponse::class; + $responseData = TestUtils::getFixtureData($responseClass)['default']; + + $this->setExpectedResponse($responseData); + + $response = $this->api->faxLineGet($faxLineNumber); + $serialized = TestUtils::toArray($response); + + $this->assertInstanceOf($responseClass, $response); + $this->assertEquals($responseData, $serialized); + $this->assertEquals($responseData, TestUtils::toArray($response)); + } +} diff --git a/test_fixtures/FaxGetResponse.json b/test_fixtures/FaxGetResponse.json index 2eda936..0d668e0 100644 --- a/test_fixtures/FaxGetResponse.json +++ b/test_fixtures/FaxGetResponse.json @@ -20,12 +20,11 @@ "transmissions": [ { "recipient": "recipient@dropboxsign.com", - "sender": "me@dropboxsign.com", "sent_at": 1723231831, "status_code": "success" } ], - "files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2", + "files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2" } } } diff --git a/test_fixtures/FaxLineCreateRequest.json b/test_fixtures/FaxLineCreateRequest.json new file mode 100644 index 0000000..91d11c8 --- /dev/null +++ b/test_fixtures/FaxLineCreateRequest.json @@ -0,0 +1,6 @@ +{ + "default": { + "country": "US", + "area_code": 949 + } +} diff --git a/test_fixtures/FaxLineListResponse.json b/test_fixtures/FaxLineListResponse.json new file mode 100644 index 0000000..c241c1b --- /dev/null +++ b/test_fixtures/FaxLineListResponse.json @@ -0,0 +1,26 @@ +{ + "default": { + "list_info": { + "num_pages": 1, + "num_results": 1, + "page": 1, + "page_size": 1 + }, + "fax_lines": [ + { + "number": "14155557897", + "created_at": 1750196223, + "updated_at": 1750196223, + "accounts": [ + { + "account_id": "a3367a4130f3624687ea7de6f09df951a44923dd", + "email_address": "me@dropboxsign.com", + "is_locked": false, + "is_paid_hs": false, + "is_paid_hf": true + } + ] + } + ] + } +} diff --git a/test_fixtures/FaxLineResponse.json b/test_fixtures/FaxLineResponse.json new file mode 100644 index 0000000..3855a8a --- /dev/null +++ b/test_fixtures/FaxLineResponse.json @@ -0,0 +1,18 @@ +{ + "default": { + "fax_line": { + "number": "14155557897", + "created_at": 1750196223, + "updated_at": 1750196223, + "accounts": [ + { + "account_id": "a3367a4130f3624687ea7de6f09df951a44923dd", + "email_address": "me@dropboxsign.com", + "is_locked": false, + "is_paid_hs": false, + "is_paid_hf": true + } + ] + } + } +} diff --git a/test_fixtures/FaxListResponse.json b/test_fixtures/FaxListResponse.json index a9ebf63..d0ce7fe 100644 --- a/test_fixtures/FaxListResponse.json +++ b/test_fixtures/FaxListResponse.json @@ -27,12 +27,11 @@ "transmissions": [ { "recipient": "recipient@dropboxsign.com", - "sender": "me@dropboxsign.com", "sent_at": 1723231831, "status_code": "success" } ], - "files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2", + "files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2" } ] } diff --git a/test_fixtures/FaxResponse.json b/test_fixtures/FaxResponse.json new file mode 100644 index 0000000..32a44d5 --- /dev/null +++ b/test_fixtures/FaxResponse.json @@ -0,0 +1,24 @@ +{ + "default": { + "fax": { + "fax_id": "c2e9691c85d9d6fa6ae773842e3680b2b8650f1d", + "title": "example title", + "original_title": "example original title", + "metadata": {}, + "created_at": 1750105080, + "sender": "14155557068", + "files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2", + "final_copy_uri": "/v3/transmission/final_copy/c2e9691c85d9d6fa6ae773842e3680b2b8650f1d", + "transmissions": [ + { + "recipient": "18005550199", + "status_code": "transmitting" + } + ], + "transmission_id": "c2e9691c85d9d6fa6ae773842e3680b2b8650f1d", + "from": "14155557068", + "test_mode": false + } + } +} + diff --git a/test_fixtures/FaxSendResponse.json b/test_fixtures/FaxSendResponse.json deleted file mode 100644 index b651c78..0000000 --- a/test_fixtures/FaxSendResponse.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "default": { - "fax": { - "fax_id": "c2e9691c85d9d6fa6ae773842e3680b2b8650f1d", - "title": "example title", - "original_title": "example original title", - "subject": "example subject", - "message": "example message", - "metadata": [ ], - "created_at": 1726774555, - "sender": "me@dropboxsign.com", - "transmissions": [], - "files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2" - } - } -}