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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build dropbox-sign.gemspec
- gem install ./dropbox-sign-1.7.0.gem
- gem install ./dropbox-sign-1.8.0.gem
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
dropbox-sign (1.7.0)
dropbox-sign (1.8.0)
typhoeus (~> 1.0, >= 1.0.1)

GEM
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ directory that corresponds to the file you want updated.
This SDK 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.RubyClientCodegen

Expand All @@ -47,15 +47,15 @@ gem build dropbox-sign.gemspec
Then install the gem locally:

```shell
gem install ./dropbox-sign-1.7.0.gem
gem install ./dropbox-sign-1.8.0.gem
```

(for development, run `gem install --dev ./dropbox-sign-1.7.0.gem` to install the development dependencies)
(for development, run `gem install --dev ./dropbox-sign-1.8.0.gem` to install the development dependencies)


Finally add this to the Gemfile:

gem 'dropbox-sign', '~> 1.7.0'
gem 'dropbox-sign', '~> 1.8.0'

### Install from Git

Expand Down
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 docs/BulkSendJobGetResponseSignatureRequests.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
| `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` | ```Object``` | The metadata attached to the signature request. | |
| `metadata` | ```Hash<String, Object>``` | The metadata attached to the signature request. | |
| `created_at` | ```Integer``` | Time the signature request was created. | |
| `expires_at` | ```Integer``` | 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` | ```Boolean``` | Whether or not the SignatureRequest has been fully executed by all signers. | |
Expand Down
7 changes: 4 additions & 3 deletions docs/FaxResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
| `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> | ```Hash<String, Object>``` | Fax Metadata | |
| `created_at`<sup>*_required_</sup> | ```Integer``` | Fax Created At Timestamp | |
| `sender`<sup>*_required_</sup> | ```String``` | Fax Sender Email | |
| `transmissions`<sup>*_required_</sup> | [```Array<FaxResponseTransmission>```](FaxResponseTransmission.md) | Fax Transmissions List | |
| `files_url`<sup>*_required_</sup> | ```String``` | Fax Files URL | |
| `transmissions`<sup>*_required_</sup> | [```Array<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 | |

1 change: 0 additions & 1 deletion docs/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` | ```Integer``` | Fax Transmission Sent Timestamp | |

2 changes: 1 addition & 1 deletion docs/SignatureRequestResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Contains information about a signature request.
| `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` | ```Object``` | The metadata attached to the signature request. | |
| `metadata` | ```Hash<String, Object>``` | The metadata attached to the signature request. | |
| `created_at` | ```Integer``` | Time the signature request was created. | |
| `expires_at` | ```Integer``` | 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` | ```Boolean``` | Whether or not the SignatureRequest has been fully executed by all signers. | |
Expand Down
1 change: 1 addition & 0 deletions docs/SignatureRequestResponseDataValueInitials.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
| ---- | ---- | ----------- | ----- |
| `type` | ```String``` | An input field for initials | [default to 'initials'] |
| `value` | ```String``` | The value of the form field. | |
| `is_signed` | ```Boolean``` | This field contains the boolean true if the field is signed. | |

1 change: 1 addition & 0 deletions docs/SignatureRequestResponseDataValueSignature.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
| ---- | ---- | ----------- | ----- |
| `type` | ```String``` | A signature input field | [default to 'signature'] |
| `value` | ```String``` | The value of the form field. | |
| `is_signed` | ```Boolean``` | This field contains the boolean true if the field is signed. | |

2 changes: 1 addition & 1 deletion docs/TemplateResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Contains information about the templates you and your team have created.
| `is_creator` | ```Boolean``` | `true` if you are the owner of this template, `false` if it&#39;s been shared with you by a team member. | |
| `can_edit` | ```Boolean``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that&#39;s you). | |
| `is_locked` | ```Boolean``` | 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` | ```Object``` | The metadata attached to the template. | |
| `metadata` | ```Hash<String, Object>``` | The metadata attached to the template. | |
| `signer_roles` | [```Array<TemplateResponseSignerRole>```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
| `cc_roles` | [```Array<TemplateResponseCCRole>```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
| `documents` | [```Array<TemplateResponseDocument>```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ module Dropbox
module Dropbox::Sign
class BulkSendJobGetResponseSignatureRequests
# Whether this is a test signature request. Test requests have no legal value. Defaults to `false`.
# @return [Boolean, nil]
# @return [Boolean]
attr_accessor :test_mode

# The id of the SignatureRequest.
# @return [String]
attr_accessor :signature_request_id

# The email address of the initiator of the SignatureRequest.
# @return [String]
# @return [String, nil]
attr_accessor :requester_email_address

# The title the specified Account uses for the SignatureRequest.
Expand All @@ -47,15 +47,15 @@ class BulkSendJobGetResponseSignatureRequests
attr_accessor :message

# The metadata attached to the signature request.
# @return [Object]
# @return [Hash<String, Object>]
attr_accessor :metadata

# Time the signature request was created.
# @return [Integer]
attr_accessor :created_at

# 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.
# @return [Integer]
# @return [Integer, nil]
attr_accessor :expires_at

# Whether or not the SignatureRequest has been fully executed by all signers.
Expand Down Expand Up @@ -164,7 +164,7 @@ def self.openapi_types
:'original_title' => :'String',
:'subject' => :'String',
:'message' => :'String',
:'metadata' => :'Object',
:'metadata' => :'Hash<String, Object>',
:'created_at' => :'Integer',
:'expires_at' => :'Integer',
:'is_complete' => :'Boolean',
Expand All @@ -188,9 +188,10 @@ def self.openapi_types
# List of attributes with nullable: true
def self.openapi_nullable
Set.new([
:'test_mode',
:'requester_email_address',
:'subject',
:'message',
:'expires_at',
:'signing_url',
:'signing_redirect_url',
:'final_copy_uri',
Expand Down Expand Up @@ -272,7 +273,9 @@ def initialize(attributes = {})
end

if attributes.key?(:'metadata')
self.metadata = attributes[:'metadata']
if (value = attributes[:'metadata']).is_a?(Hash)
self.metadata = value
end
end

if attributes.key?(:'created_at')
Expand Down
96 changes: 50 additions & 46 deletions lib/dropbox-sign/models/fax_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ class FaxResponse
# @return [String]
attr_accessor :original_title

# Fax Subject
# @return [String]
attr_accessor :subject

# Fax Message
# @return [String]
attr_accessor :message

# Fax Metadata
# @return [Hash<String, Object>]
attr_accessor :metadata
Expand All @@ -50,27 +42,40 @@ class FaxResponse
# @return [String]
attr_accessor :sender

# Fax Files URL
# @return [String]
attr_accessor :files_url

# Fax Transmissions List
# @return [Array<FaxResponseTransmission>]
attr_accessor :transmissions

# Fax Files URL
# @return [String]
attr_accessor :files_url
# Fax Subject
# @return [String, nil]
attr_accessor :subject

# Fax Message
# @return [String, nil]
attr_accessor :message

# The path where the completed document can be downloaded
# @return [String, nil]
attr_accessor :final_copy_uri

# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'fax_id' => :'fax_id',
:'title' => :'title',
:'original_title' => :'original_title',
:'subject' => :'subject',
:'message' => :'message',
:'metadata' => :'metadata',
:'created_at' => :'created_at',
:'sender' => :'sender',
:'files_url' => :'files_url',
:'transmissions' => :'transmissions',
:'files_url' => :'files_url'
:'subject' => :'subject',
:'message' => :'message',
:'final_copy_uri' => :'final_copy_uri'
}
end

Expand All @@ -85,19 +90,23 @@ def self.openapi_types
:'fax_id' => :'String',
:'title' => :'String',
:'original_title' => :'String',
:'subject' => :'String',
:'message' => :'String',
:'metadata' => :'Hash<String, Object>',
:'created_at' => :'Integer',
:'sender' => :'String',
:'files_url' => :'String',
:'transmissions' => :'Array<FaxResponseTransmission>',
:'files_url' => :'String'
:'subject' => :'String',
:'message' => :'String',
:'final_copy_uri' => :'String'
}
end

# List of attributes with nullable: true
def self.openapi_nullable
Set.new([
:'subject',
:'message',
:'final_copy_uri'
])
end

Expand Down Expand Up @@ -153,14 +162,6 @@ def initialize(attributes = {})
self.original_title = attributes[:'original_title']
end

if attributes.key?(:'subject')
self.subject = attributes[:'subject']
end

if attributes.key?(:'message')
self.message = attributes[:'message']
end

if attributes.key?(:'metadata')
if (value = attributes[:'metadata']).is_a?(Hash)
self.metadata = value
Expand All @@ -175,14 +176,26 @@ def initialize(attributes = {})
self.sender = attributes[:'sender']
end

if attributes.key?(:'files_url')
self.files_url = attributes[:'files_url']
end

if attributes.key?(:'transmissions')
if (value = attributes[:'transmissions']).is_a?(Array)
self.transmissions = value
end
end

if attributes.key?(:'files_url')
self.files_url = attributes[:'files_url']
if attributes.key?(:'subject')
self.subject = attributes[:'subject']
end

if attributes.key?(:'message')
self.message = attributes[:'message']
end

if attributes.key?(:'final_copy_uri')
self.final_copy_uri = attributes[:'final_copy_uri']
end
end

Expand All @@ -202,14 +215,6 @@ def list_invalid_properties
invalid_properties.push('invalid value for "original_title", original_title cannot be nil.')
end

if @subject.nil?
invalid_properties.push('invalid value for "subject", subject cannot be nil.')
end

if @message.nil?
invalid_properties.push('invalid value for "message", message cannot be nil.')
end

if @metadata.nil?
invalid_properties.push('invalid value for "metadata", metadata cannot be nil.')
end
Expand All @@ -222,14 +227,14 @@ def list_invalid_properties
invalid_properties.push('invalid value for "sender", sender cannot be nil.')
end

if @transmissions.nil?
invalid_properties.push('invalid value for "transmissions", transmissions cannot be nil.')
end

if @files_url.nil?
invalid_properties.push('invalid value for "files_url", files_url cannot be nil.')
end

if @transmissions.nil?
invalid_properties.push('invalid value for "transmissions", transmissions cannot be nil.')
end

invalid_properties
end

Expand All @@ -239,13 +244,11 @@ def valid?
return false if @fax_id.nil?
return false if @title.nil?
return false if @original_title.nil?
return false if @subject.nil?
return false if @message.nil?
return false if @metadata.nil?
return false if @created_at.nil?
return false if @sender.nil?
return false if @transmissions.nil?
return false if @files_url.nil?
return false if @transmissions.nil?
true
end

Expand All @@ -257,13 +260,14 @@ def ==(o)
fax_id == o.fax_id &&
title == o.title &&
original_title == o.original_title &&
subject == o.subject &&
message == o.message &&
metadata == o.metadata &&
created_at == o.created_at &&
sender == o.sender &&
files_url == o.files_url &&
transmissions == o.transmissions &&
files_url == o.files_url
subject == o.subject &&
message == o.message &&
final_copy_uri == o.final_copy_uri
end

# @see the `==` method
Expand All @@ -275,7 +279,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[fax_id, title, original_title, subject, message, metadata, created_at, sender, transmissions, files_url].hash
[fax_id, title, original_title, metadata, created_at, sender, files_url, transmissions, subject, message, final_copy_uri].hash
end

# Builds the object from hash
Expand Down
Loading