Skip to content

Commit 4838a25

Browse files
Release 1.9.0 (#17)
* Release 1.9.0 * Add edit&resend to OpenAPI docs, and note that it uses quota
1 parent 44ace8a commit 4838a25

File tree

411 files changed

+14765
-6239
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

411 files changed

+14765
-6239
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ script:
88
- bundle install --path vendor/bundle
99
- bundle exec rspec
1010
- gem build dropbox-sign.gemspec
11-
- gem install ./dropbox-sign-1.8.0.gem
11+
- gem install ./dropbox-sign-1.9.0.gem

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
dropbox-sign (1.8.0)
4+
dropbox-sign (1.9.0)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM
@@ -13,10 +13,10 @@ GEM
1313
diff-lcs (1.5.1)
1414
ethon (0.16.0)
1515
ffi (>= 1.15.0)
16-
ffi (1.17.0-aarch64-linux-gnu)
17-
ffi (1.17.0-arm64-darwin)
18-
ffi (1.17.0-x86_64-darwin)
19-
ffi (1.17.0-x86_64-linux-gnu)
16+
ffi (1.17.2-aarch64-linux-gnu)
17+
ffi (1.17.2-arm64-darwin)
18+
ffi (1.17.2-x86_64-darwin)
19+
ffi (1.17.2-x86_64-linux-gnu)
2020
json (2.7.2)
2121
json_spec (1.1.5)
2222
multi_json (~> 1.0)

README.md

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ directory that corresponds to the file you want updated.
2525
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
2626

2727
- API version: 3.0.0
28-
- Package version: 1.8.0
29-
- Generator version: 7.8.0
28+
- Package version: 1.9.0
29+
- Generator version: 7.12.0
3030
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
3131

3232
## Installation
@@ -47,15 +47,15 @@ gem build dropbox-sign.gemspec
4747
Then install the gem locally:
4848

4949
```shell
50-
gem install ./dropbox-sign-1.8.0.gem
50+
gem install ./dropbox-sign-1.9.0.gem
5151
```
5252

53-
(for development, run `gem install --dev ./dropbox-sign-1.8.0.gem` to install the development dependencies)
53+
(for development, run `gem install --dev ./dropbox-sign-1.9.0.gem` to install the development dependencies)
5454

5555

5656
Finally add this to the Gemfile:
5757

58-
gem 'dropbox-sign', '~> 1.8.0'
58+
gem 'dropbox-sign', '~> 1.9.0'
5959

6060
### Install from Git
6161

@@ -77,26 +77,25 @@ Please follow the [installation](#installation) procedure and then run the follo
7777

7878

7979
```ruby
80+
require "json"
8081
require "dropbox-sign"
8182

8283
Dropbox::Sign.configure do |config|
83-
# Configure HTTP basic authorization: api_key
8484
config.username = "YOUR_API_KEY"
85-
86-
# or, configure Bearer (JWT) authorization: oauth2
8785
# config.access_token = "YOUR_ACCESS_TOKEN"
8886
end
8987

90-
account_api = Dropbox::Sign::AccountApi.new
91-
92-
data = Dropbox::Sign::AccountCreateRequest.new
93-
data.email_address = "newuser@dropboxsign.com"
88+
account_create_request = Dropbox::Sign::AccountCreateRequest.new
89+
account_create_request.email_address = "newuser@dropboxsign.com"
9490

9591
begin
96-
result = account_api.account_create(data)
97-
p result
92+
response = Dropbox::Sign::AccountApi.new.account_create(
93+
account_create_request,
94+
)
95+
96+
p response
9897
rescue Dropbox::Sign::ApiError => e
99-
puts "Exception when calling Dropbox Sign API: #{e}"
98+
puts "Exception when calling AccountApi#account_create: #{e}"
10099
end
101100

102101
```
@@ -122,7 +121,7 @@ All URIs are relative to *https://api.hellosign.com/v3*
122121
|*Dropbox::Sign::EmbeddedApi* | [**embedded_edit_url**](docs/EmbeddedApi.md#embedded_edit_url) | **POST** /embedded/edit_url/{template_id} | Get Embedded Template Edit URL |
123122
|*Dropbox::Sign::EmbeddedApi* | [**embedded_sign_url**](docs/EmbeddedApi.md#embedded_sign_url) | **GET** /embedded/sign_url/{signature_id} | Get Embedded Sign URL |
124123
|*Dropbox::Sign::FaxApi* | [**fax_delete**](docs/FaxApi.md#fax_delete) | **DELETE** /fax/{fax_id} | Delete Fax |
125-
|*Dropbox::Sign::FaxApi* | [**fax_files**](docs/FaxApi.md#fax_files) | **GET** /fax/files/{fax_id} | List Fax Files |
124+
|*Dropbox::Sign::FaxApi* | [**fax_files**](docs/FaxApi.md#fax_files) | **GET** /fax/files/{fax_id} | Download Fax Files |
126125
|*Dropbox::Sign::FaxApi* | [**fax_get**](docs/FaxApi.md#fax_get) | **GET** /fax/{fax_id} | Get Fax |
127126
|*Dropbox::Sign::FaxApi* | [**fax_list**](docs/FaxApi.md#fax_list) | **GET** /fax/list | Lists Faxes |
128127
|*Dropbox::Sign::FaxApi* | [**fax_send**](docs/FaxApi.md#fax_send) | **POST** /fax/send | Send Fax |
@@ -141,6 +140,10 @@ All URIs are relative to *https://api.hellosign.com/v3*
141140
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_cancel**](docs/SignatureRequestApi.md#signature_request_cancel) | **POST** /signature_request/cancel/{signature_request_id} | Cancel Incomplete Signature Request |
142141
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_create_embedded**](docs/SignatureRequestApi.md#signature_request_create_embedded) | **POST** /signature_request/create_embedded | Create Embedded Signature Request |
143142
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_create_embedded_with_template**](docs/SignatureRequestApi.md#signature_request_create_embedded_with_template) | **POST** /signature_request/create_embedded_with_template | Create Embedded Signature Request with Template |
143+
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_edit**](docs/SignatureRequestApi.md#signature_request_edit) | **PUT** /signature_request/edit/{signature_request_id} | Edit Signature Request |
144+
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_edit_embedded**](docs/SignatureRequestApi.md#signature_request_edit_embedded) | **PUT** /signature_request/edit_embedded/{signature_request_id} | Edit Embedded Signature Request |
145+
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_edit_embedded_with_template**](docs/SignatureRequestApi.md#signature_request_edit_embedded_with_template) | **PUT** /signature_request/edit_embedded_with_template/{signature_request_id} | Edit Embedded Signature Request with Template |
146+
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_edit_with_template**](docs/SignatureRequestApi.md#signature_request_edit_with_template) | **PUT** /signature_request/edit_with_template/{signature_request_id} | Edit Signature Request With Template |
144147
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_files**](docs/SignatureRequestApi.md#signature_request_files) | **GET** /signature_request/files/{signature_request_id} | Download Files |
145148
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_files_as_data_uri**](docs/SignatureRequestApi.md#signature_request_files_as_data_uri) | **GET** /signature_request/files_as_data_uri/{signature_request_id} | Download Files as Data Uri |
146149
|*Dropbox::Sign::SignatureRequestApi* | [**signature_request_files_as_file_url**](docs/SignatureRequestApi.md#signature_request_files_as_file_url) | **GET** /signature_request/files_as_file_url/{signature_request_id} | Download Files as File Url |
@@ -244,6 +247,10 @@ All URIs are relative to *https://api.hellosign.com/v3*
244247
- [Dropbox::Sign::SignatureRequestBulkSendWithTemplateRequest](docs/SignatureRequestBulkSendWithTemplateRequest.md)
245248
- [Dropbox::Sign::SignatureRequestCreateEmbeddedRequest](docs/SignatureRequestCreateEmbeddedRequest.md)
246249
- [Dropbox::Sign::SignatureRequestCreateEmbeddedWithTemplateRequest](docs/SignatureRequestCreateEmbeddedWithTemplateRequest.md)
250+
- [Dropbox::Sign::SignatureRequestEditEmbeddedRequest](docs/SignatureRequestEditEmbeddedRequest.md)
251+
- [Dropbox::Sign::SignatureRequestEditEmbeddedWithTemplateRequest](docs/SignatureRequestEditEmbeddedWithTemplateRequest.md)
252+
- [Dropbox::Sign::SignatureRequestEditRequest](docs/SignatureRequestEditRequest.md)
253+
- [Dropbox::Sign::SignatureRequestEditWithTemplateRequest](docs/SignatureRequestEditWithTemplateRequest.md)
247254
- [Dropbox::Sign::SignatureRequestGetResponse](docs/SignatureRequestGetResponse.md)
248255
- [Dropbox::Sign::SignatureRequestListResponse](docs/SignatureRequestListResponse.md)
249256
- [Dropbox::Sign::SignatureRequestRemindRequest](docs/SignatureRequestRemindRequest.md)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.0
1+
1.9.0

docs/AccountApi.md

Lines changed: 33 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,25 @@ Creates a new Dropbox Sign Account that is associated with the specified `email_
2121
### Examples
2222

2323
```ruby
24+
require "json"
2425
require "dropbox-sign"
2526

2627
Dropbox::Sign.configure do |config|
27-
# Configure HTTP basic authorization: api_key
2828
config.username = "YOUR_API_KEY"
29-
30-
# or, configure Bearer (JWT) authorization: oauth2
3129
# config.access_token = "YOUR_ACCESS_TOKEN"
3230
end
3331

34-
account_api = Dropbox::Sign::AccountApi.new
35-
36-
data = Dropbox::Sign::AccountCreateRequest.new
37-
data.email_address = "newuser@dropboxsign.com"
32+
account_create_request = Dropbox::Sign::AccountCreateRequest.new
33+
account_create_request.email_address = "newuser@dropboxsign.com"
3834

3935
begin
40-
result = account_api.account_create(data)
41-
p result
36+
response = Dropbox::Sign::AccountApi.new.account_create(
37+
account_create_request,
38+
)
39+
40+
p response
4241
rescue Dropbox::Sign::ApiError => e
43-
puts "Exception when calling Dropbox Sign API: #{e}"
42+
puts "Exception when calling AccountApi#account_create: #{e}"
4443
end
4544

4645
```
@@ -94,23 +93,20 @@ Returns the properties and settings of your Account.
9493
### Examples
9594

9695
```ruby
96+
require "json"
9797
require "dropbox-sign"
9898

9999
Dropbox::Sign.configure do |config|
100-
# Configure HTTP basic authorization: api_key
101100
config.username = "YOUR_API_KEY"
102-
103-
# or, configure Bearer (JWT) authorization: oauth2
104101
# config.access_token = "YOUR_ACCESS_TOKEN"
105102
end
106103

107-
account_api = Dropbox::Sign::AccountApi.new
108-
109104
begin
110-
result = account_api.account_get({ email_address: "jack@example.com" })
111-
p result
105+
response = Dropbox::Sign::AccountApi.new.account_get
106+
107+
p response
112108
rescue Dropbox::Sign::ApiError => e
113-
puts "Exception when calling Dropbox Sign API: #{e}"
109+
puts "Exception when calling AccountApi#account_get: #{e}"
114110
end
115111

116112
```
@@ -165,26 +161,26 @@ Updates the properties and settings of your Account. Currently only allows for u
165161
### Examples
166162

167163
```ruby
164+
require "json"
168165
require "dropbox-sign"
169166

170167
Dropbox::Sign.configure do |config|
171-
# Configure HTTP basic authorization: api_key
172168
config.username = "YOUR_API_KEY"
173-
174-
# or, configure Bearer (JWT) authorization: oauth2
175169
# config.access_token = "YOUR_ACCESS_TOKEN"
176170
end
177171

178-
account_api = Dropbox::Sign::AccountApi.new
179-
180-
data = Dropbox::Sign::AccountUpdateRequest.new
181-
data.callback_url = "https://www.example.com/callback"
172+
account_update_request = Dropbox::Sign::AccountUpdateRequest.new
173+
account_update_request.callback_url = "https://www.example.com/callback"
174+
account_update_request.locale = "en-US"
182175

183176
begin
184-
result = account_api.account_update(data)
185-
p result
177+
response = Dropbox::Sign::AccountApi.new.account_update(
178+
account_update_request,
179+
)
180+
181+
p response
186182
rescue Dropbox::Sign::ApiError => e
187-
puts "Exception when calling Dropbox Sign API: #{e}"
183+
puts "Exception when calling AccountApi#account_update: #{e}"
188184
end
189185

190186
```
@@ -238,26 +234,25 @@ Verifies whether an Dropbox Sign Account exists for the given email address.
238234
### Examples
239235

240236
```ruby
237+
require "json"
241238
require "dropbox-sign"
242239

243240
Dropbox::Sign.configure do |config|
244-
# Configure HTTP basic authorization: api_key
245241
config.username = "YOUR_API_KEY"
246-
247-
# or, configure Bearer (JWT) authorization: oauth2
248242
# config.access_token = "YOUR_ACCESS_TOKEN"
249243
end
250244

251-
account_api = Dropbox::Sign::AccountApi.new
252-
253-
data = Dropbox::Sign::AccountVerifyRequest.new
254-
data.email_address = "some_user@dropboxsign.com"
245+
account_verify_request = Dropbox::Sign::AccountVerifyRequest.new
246+
account_verify_request.email_address = "some_user@dropboxsign.com"
255247

256248
begin
257-
result = account_api.account_verify(data)
258-
p result
249+
response = Dropbox::Sign::AccountApi.new.account_verify(
250+
account_verify_request,
251+
)
252+
253+
p response
259254
rescue Dropbox::Sign::ApiError => e
260-
puts "Exception when calling Dropbox Sign API: #{e}"
255+
puts "Exception when calling AccountApi#account_verify: #{e}"
261256
end
262257

263258
```

0 commit comments

Comments
 (0)