Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Release 1.8.0 #15

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow
```json
{
"require": {
"dropbox/sign": "^1.7.0"
"dropbox/sign": "^1.8.0"
},
"minimum-stability": "dev"
}
Expand All @@ -64,7 +64,7 @@ Then run `composer install`
Alternatively, install directly with

```
composer require dropbox/sign:^1.7.0
composer require dropbox/sign:^1.8.0
```

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

- API version: `3.0.0`
- Package version: `1.7.0`
- Package version: `1.8.0`
- Generator version: `7.8.0`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0
1.8.0
2 changes: 1 addition & 1 deletion bin/php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DIR=$(cd `dirname $0` && pwd)
ROOT_DIR="${DIR}/.."
WORKING_DIR="/app/php"

if [[ -z "$PHP_USE_NATIVE" ]]; then
if [[ "$PHP_USE_NATIVE" -ne 1 ]]; then
docker run --rm \
-v "${ROOT_DIR}:${WORKING_DIR}" \
-v "dropbox-sign-sdk-composer-cache:/.composer" \
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/BulkSendJobGetResponseSignatureRequests.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
| `original_title` | ```string``` | Default Label for account. | |
| `subject` | ```string``` | The subject in the email that was initially sent to the signers. | |
| `message` | ```string``` | The custom message in the email that was initially sent to the signers. | |
| `metadata` | ```array``` | The metadata attached to the signature request. | |
| `metadata` | ```array<string,mixed>``` | The metadata attached to the signature request. | |
| `created_at` | ```int``` | Time the signature request was created. | |
| `expires_at` | ```int``` | The time when the signature request will expire unsigned signatures. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | |
| `is_complete` | ```bool``` | Whether or not the SignatureRequest has been fully executed by all signers. | |
Expand Down
7 changes: 4 additions & 3 deletions docs/Model/FaxResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ Name | Type | Description | Notes
| `fax_id`<sup>*_required_</sup> | ```string``` | Fax ID | |
| `title`<sup>*_required_</sup> | ```string``` | Fax Title | |
| `original_title`<sup>*_required_</sup> | ```string``` | Fax Original Title | |
| `subject`<sup>*_required_</sup> | ```string``` | Fax Subject | |
| `message`<sup>*_required_</sup> | ```string``` | Fax Message | |
| `metadata`<sup>*_required_</sup> | ```array<string,mixed>``` | Fax Metadata | |
| `created_at`<sup>*_required_</sup> | ```int``` | Fax Created At Timestamp | |
| `sender`<sup>*_required_</sup> | ```string``` | Fax Sender Email | |
| `transmissions`<sup>*_required_</sup> | [```\Dropbox\Sign\Model\FaxResponseTransmission[]```](FaxResponseTransmission.md) | Fax Transmissions List | |
| `files_url`<sup>*_required_</sup> | ```string``` | Fax Files URL | |
| `transmissions`<sup>*_required_</sup> | [```\Dropbox\Sign\Model\FaxResponseTransmission[]```](FaxResponseTransmission.md) | Fax Transmissions List | |
| `subject` | ```string``` | Fax Subject | |
| `message` | ```string``` | Fax Message | |
| `final_copy_uri` | ```string``` | The path where the completed document can be downloaded | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
1 change: 0 additions & 1 deletion docs/Model/FaxResponseTransmission.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `recipient`<sup>*_required_</sup> | ```string``` | Fax Transmission Recipient | |
| `sender`<sup>*_required_</sup> | ```string``` | Fax Transmission Sender | |
| `status_code`<sup>*_required_</sup> | ```string``` | Fax Transmission Status Code | |
| `sent_at` | ```int``` | Fax Transmission Sent Timestamp | |

Expand Down
2 changes: 1 addition & 1 deletion docs/Model/SignatureRequestResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
| `original_title` | ```string``` | Default Label for account. | |
| `subject` | ```string``` | The subject in the email that was initially sent to the signers. | |
| `message` | ```string``` | The custom message in the email that was initially sent to the signers. | |
| `metadata` | ```array``` | The metadata attached to the signature request. | |
| `metadata` | ```array<string,mixed>``` | The metadata attached to the signature request. | |
| `created_at` | ```int``` | Time the signature request was created. | |
| `expires_at` | ```int``` | The time when the signature request will expire unsigned signatures. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | |
| `is_complete` | ```bool``` | Whether or not the SignatureRequest has been fully executed by all signers. | |
Expand Down
1 change: 1 addition & 0 deletions docs/Model/SignatureRequestResponseDataValueInitials.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type` | ```string``` | An input field for initials | [default to 'initials'] |
| `value` | ```string``` | The value of the form field. | |
| `is_signed` | ```bool``` | This field contains the boolean true if the field is signed. | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
1 change: 1 addition & 0 deletions docs/Model/SignatureRequestResponseDataValueSignature.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type` | ```string``` | A signature input field | [default to 'signature'] |
| `value` | ```string``` | The value of the form field. | |
| `is_signed` | ```bool``` | This field contains the boolean true if the field is signed. | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
2 changes: 1 addition & 1 deletion docs/Model/TemplateResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
| `is_creator` | ```bool``` | `true` if you are the owner of this template, `false` if it&#39;s been shared with you by a team member. | |
| `can_edit` | ```bool``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that&#39;s you). | |
| `is_locked` | ```bool``` | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | |
| `metadata` | ```array``` | The metadata attached to the template. | |
| `metadata` | ```array<string,mixed>``` | The metadata attached to the template. | |
| `signer_roles` | [```\Dropbox\Sign\Model\TemplateResponseSignerRole[]```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
| `cc_roles` | [```\Dropbox\Sign\Model\TemplateResponseCCRole[]```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
| `documents` | [```\Dropbox\Sign\Model\TemplateResponseDocument[]```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
Expand Down
6 changes: 2 additions & 4 deletions openapi-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
generatorName: php
typeMappings:
"object": "array"
additionalProperties:
packageName: dropbox/sign
packageVersion: "^1.7.0"
artifactVersion: 1.7.0
packageVersion: "^1.8.0"
artifactVersion: 1.8.0
invokerPackage: "Dropbox\\Sign"
sortModelPropertiesByRequiredFlag: true
srcBasePath: src
Expand Down
48 changes: 31 additions & 17 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11173,6 +11173,10 @@ components:
bulk_send_job_id:
description: 'The id of the BulkSendJob.'
type: string
metadata:
description: 'The metadata attached to the signature request.'
type: object
additionalProperties: {}
x-internal-class: true
EmbeddedEditUrlResponseEmbedded:
description: 'An embedded template object.'
Expand Down Expand Up @@ -11217,13 +11221,11 @@ components:
- fax_id
- title
- original_title
- subject
- message
- metadata
- created_at
- sender
- transmissions
- files_url
- transmissions
properties:
fax_id:
description: 'Fax ID'
Expand All @@ -11237,9 +11239,11 @@ components:
subject:
description: 'Fax Subject'
type: string
nullable: true
message:
description: 'Fax Message'
type: string
nullable: true
metadata:
description: 'Fax Metadata'
type: object
Expand All @@ -11250,14 +11254,18 @@ components:
sender:
description: 'Fax Sender Email'
type: string
files_url:
description: 'Fax Files URL'
type: string
final_copy_uri:
description: 'The path where the completed document can be downloaded'
type: string
nullable: true
transmissions:
description: 'Fax Transmissions List'
type: array
items:
$ref: '#/components/schemas/FaxResponseTransmission'
files_url:
description: 'Fax Files URL'
type: string
type: object
x-internal-class: true
FaxLineResponseFaxLine:
Expand All @@ -11280,15 +11288,11 @@ components:
FaxResponseTransmission:
required:
- recipient
- sender
- status_code
properties:
recipient:
description: 'Fax Transmission Recipient'
type: string
sender:
description: 'Fax Transmission Sender'
type: string
status_code:
description: 'Fax Transmission Status Code'
type: string
Expand Down Expand Up @@ -11352,13 +11356,13 @@ components:
description: 'Whether this is a test signature request. Test requests have no legal value. Defaults to `false`.'
type: boolean
default: false
nullable: true
signature_request_id:
description: 'The id of the SignatureRequest.'
type: string
requester_email_address:
description: 'The email address of the initiator of the SignatureRequest.'
type: string
nullable: true
title:
description: 'The title the specified Account uses for the SignatureRequest.'
type: string
Expand All @@ -11376,12 +11380,14 @@ components:
metadata:
description: 'The metadata attached to the signature request.'
type: object
additionalProperties: {}
created_at:
description: 'Time the signature request was created.'
type: integer
expires_at:
description: 'The time when the signature request will expire unsigned signatures. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.'
type: integer
nullable: true
is_complete:
description: 'Whether or not the SignatureRequest has been fully executed by all signers.'
type: boolean
Expand Down Expand Up @@ -11509,6 +11515,7 @@ components:
editor:
description: 'The name of the Role that is able to edit this field.'
type: string
nullable: true
type: object
discriminator:
propertyName: type
Expand All @@ -11519,13 +11526,12 @@ components:
x-base-class: true
SignatureRequestResponseCustomFieldCheckbox:
description: 'This class extends `SignatureRequestResponseCustomFieldBase`.'
required:
- type
allOf:
-
$ref: '#/components/schemas/SignatureRequestResponseCustomFieldBase'
-
required:
- name
- type
properties:
type:
description: 'The type of this Custom Field. Only ''text'' and ''checkbox'' are currently supported.'
Expand All @@ -11537,13 +11543,12 @@ components:
type: object
SignatureRequestResponseCustomFieldText:
description: 'This class extends `SignatureRequestResponseCustomFieldBase`.'
required:
- type
allOf:
-
$ref: '#/components/schemas/SignatureRequestResponseCustomFieldBase'
-
required:
- name
- type
properties:
type:
description: 'The type of this Custom Field. Only ''text'' and ''checkbox'' are currently supported.'
Expand Down Expand Up @@ -11671,6 +11676,10 @@ components:
value:
description: 'The value of the form field.'
type: string
is_signed:
description: 'This field contains the boolean true if the field is signed.'
type: boolean
nullable: true
type: object
SignatureRequestResponseDataValueRadio:
allOf:
Expand Down Expand Up @@ -11699,6 +11708,10 @@ components:
value:
description: 'The value of the form field.'
type: string
is_signed:
description: 'This field contains the boolean true if the field is signed.'
type: boolean
nullable: true
type: object
SignatureRequestResponseDataValueText:
allOf:
Expand Down Expand Up @@ -11936,6 +11949,7 @@ components:
metadata:
description: 'The metadata attached to the template.'
type: object
additionalProperties: {}
signer_roles:
description: 'An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.'
type: array
Expand Down
2 changes: 1 addition & 1 deletion run-build
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if [[ -z "$GITHUB_ACTIONS" ]]; then
fi

printf "Running unit tests ...\n"
bash "${DIR}/bin/php" ./vendor/bin/phpunit
PHP_USE_NATIVE=0 bash "${DIR}/bin/php" ./vendor/bin/phpunit
printf "\n\n"

printf "Success!\n"
4 changes: 2 additions & 2 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'OpenAPI-Generator/1.7.0/PHP';
protected $userAgent = 'OpenAPI-Generator/1.8.0/PHP';

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

return $report;
Expand Down
Loading