dropbox-sign 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/VERSION +1 -1
- data/docs/OAuthTokenRefreshRequest.md +2 -2
- data/docs/TemplateResponseDocumentFormFieldText.md +2 -0
- data/lib/dropbox-sign/models/api_app_create_request.rb +5 -5
- data/lib/dropbox-sign/models/api_app_update_request.rb +5 -5
- data/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +2 -2
- data/lib/dropbox-sign/models/template_response_document_form_field_text.rb +25 -1
- data/lib/dropbox-sign/version.rb +1 -1
- data/openapi-config.yaml +1 -1
- data/openapi-sdk.yaml +14 -4
- data/spec/api/fax_api_spec.rb +69 -0
- data/spec/api/fax_line_api_spec.rb +67 -0
- data/test_fixtures/FaxGetResponse.json +1 -2
- data/test_fixtures/FaxLineCreateRequest.json +6 -0
- data/test_fixtures/FaxLineListResponse.json +26 -0
- data/test_fixtures/FaxLineResponse.json +18 -0
- data/test_fixtures/FaxListResponse.json +1 -2
- data/test_fixtures/FaxResponse.json +24 -0
- metadata +13 -6
- data/test_fixtures/FaxSendResponse.json +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 658cd13873defe21b2bb1abdb854d39494a769d4b67e1debb06ccd34bcb56d84
|
4
|
+
data.tar.gz: 91f087be8a111a7176fcb8eb19eb8ae11aef29e4bf501e038f956f08b9a000bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50c35972931981401e102c4cf615569a83654e75a893474275489d6cc7e354f9f3dcdb7e0c794ffbab82b08dbdb04eb963ce95fcd9584bf66fd965c5e61f303
|
7
|
+
data.tar.gz: 327b4f666afb49f4869e7922cdf3baae55b8499be31a8320b64a97b7deb30eccf3227ff1bd63ced7b2930fd0967c0789622e0f5d617972ba40e25c4af5bceff5
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -25,7 +25,7 @@ directory that corresponds to the file you want updated.
|
|
25
25
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
26
26
|
|
27
27
|
- API version: 3.0.0
|
28
|
-
- Package version: 1.
|
28
|
+
- Package version: 1.10.0
|
29
29
|
- Generator version: 7.12.0
|
30
30
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
31
31
|
|
@@ -47,15 +47,15 @@ gem build dropbox-sign.gemspec
|
|
47
47
|
Then install the gem locally:
|
48
48
|
|
49
49
|
```shell
|
50
|
-
gem install ./dropbox-sign-1.
|
50
|
+
gem install ./dropbox-sign-1.10.0.gem
|
51
51
|
```
|
52
52
|
|
53
|
-
(for development, run `gem install --dev ./dropbox-sign-1.
|
53
|
+
(for development, run `gem install --dev ./dropbox-sign-1.10.0.gem` to install the development dependencies)
|
54
54
|
|
55
55
|
|
56
56
|
Finally add this to the Gemfile:
|
57
57
|
|
58
|
-
gem 'dropbox-sign', '~> 1.
|
58
|
+
gem 'dropbox-sign', '~> 1.10.0'
|
59
59
|
|
60
60
|
### Install from Git
|
61
61
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
@@ -8,6 +8,6 @@
|
|
8
8
|
| ---- | ---- | ----------- | ----- |
|
9
9
|
| `grant_type`<sup>*_required_</sup> | ```String``` | When refreshing an existing token use `refresh_token`. | [default to 'refresh_token'] |
|
10
10
|
| `refresh_token`<sup>*_required_</sup> | ```String``` | The token provided when you got the expired access token. | |
|
11
|
-
| `client_id` | ```String``` | The client ID for your API app.
|
12
|
-
| `client_secret` | ```String``` | The client secret for your API app.
|
11
|
+
| `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. | |
|
12
|
+
| `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. | |
|
13
13
|
|
@@ -12,5 +12,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
|
|
12
12
|
| `original_font_size` | ```Integer``` | Original font size used in this form field's text. | |
|
13
13
|
| `font_family` | ```String``` | Font family used in this form field's text. | |
|
14
14
|
| `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. | |
|
15
|
+
| `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. | |
|
16
|
+
| `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. | |
|
15
17
|
| `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. | |
|
16
18
|
|
@@ -165,8 +165,8 @@ module Dropbox::Sign
|
|
165
165
|
invalid_properties.push('invalid value for "domains", domains cannot be nil.')
|
166
166
|
end
|
167
167
|
|
168
|
-
if @domains.length >
|
169
|
-
invalid_properties.push('invalid value for "domains", number of items must be less than or equal to
|
168
|
+
if @domains.length > 10
|
169
|
+
invalid_properties.push('invalid value for "domains", number of items must be less than or equal to 10.')
|
170
170
|
end
|
171
171
|
|
172
172
|
if @domains.length < 1
|
@@ -184,7 +184,7 @@ module Dropbox::Sign
|
|
184
184
|
# @return true if the model is valid
|
185
185
|
def valid?
|
186
186
|
return false if @domains.nil?
|
187
|
-
return false if @domains.length >
|
187
|
+
return false if @domains.length > 10
|
188
188
|
return false if @domains.length < 1
|
189
189
|
return false if @name.nil?
|
190
190
|
true
|
@@ -196,8 +196,8 @@ module Dropbox::Sign
|
|
196
196
|
if domains.nil?
|
197
197
|
fail ArgumentError, 'domains cannot be nil'
|
198
198
|
end
|
199
|
-
if domains.length >
|
200
|
-
fail ArgumentError, 'invalid value for "domains", number of items must be less than or equal to
|
199
|
+
if domains.length > 10
|
200
|
+
fail ArgumentError, 'invalid value for "domains", number of items must be less than or equal to 10.'
|
201
201
|
end
|
202
202
|
|
203
203
|
if domains.length < 1
|
@@ -161,8 +161,8 @@ module Dropbox::Sign
|
|
161
161
|
# @return Array for valid properties with the reasons
|
162
162
|
def list_invalid_properties
|
163
163
|
invalid_properties = Array.new
|
164
|
-
if !@domains.nil? && @domains.length >
|
165
|
-
invalid_properties.push('invalid value for "domains", number of items must be less than or equal to
|
164
|
+
if !@domains.nil? && @domains.length > 10
|
165
|
+
invalid_properties.push('invalid value for "domains", number of items must be less than or equal to 10.')
|
166
166
|
end
|
167
167
|
|
168
168
|
invalid_properties
|
@@ -171,15 +171,15 @@ module Dropbox::Sign
|
|
171
171
|
# Check to see if the all the properties in the model are valid
|
172
172
|
# @return true if the model is valid
|
173
173
|
def valid?
|
174
|
-
return false if !@domains.nil? && @domains.length >
|
174
|
+
return false if !@domains.nil? && @domains.length > 10
|
175
175
|
true
|
176
176
|
end
|
177
177
|
|
178
178
|
# Custom attribute writer method with validation
|
179
179
|
# @param [Object] domains Value to be assigned
|
180
180
|
def domains=(domains)
|
181
|
-
if domains.length >
|
182
|
-
fail ArgumentError, 'invalid value for "domains", number of items must be less than or equal to
|
181
|
+
if domains.length > 10
|
182
|
+
fail ArgumentError, 'invalid value for "domains", number of items must be less than or equal to 10.'
|
183
183
|
end
|
184
184
|
|
185
185
|
@domains = domains
|
@@ -26,11 +26,11 @@ module Dropbox::Sign
|
|
26
26
|
# @return [String]
|
27
27
|
attr_accessor :refresh_token
|
28
28
|
|
29
|
-
# The client ID for your API app.
|
29
|
+
# 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.
|
30
30
|
# @return [String]
|
31
31
|
attr_accessor :client_id
|
32
32
|
|
33
|
-
# The client secret for your API app.
|
33
|
+
# 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.
|
34
34
|
# @return [String]
|
35
35
|
attr_accessor :client_secret
|
36
36
|
|
@@ -42,6 +42,14 @@ module Dropbox::Sign
|
|
42
42
|
# @return [String, nil]
|
43
43
|
attr_accessor :validation_type
|
44
44
|
|
45
|
+
# When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field.
|
46
|
+
# @return [String, nil]
|
47
|
+
attr_accessor :validation_custom_regex
|
48
|
+
|
49
|
+
# 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.
|
50
|
+
# @return [String, nil]
|
51
|
+
attr_accessor :validation_custom_regex_format_label
|
52
|
+
|
45
53
|
# The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
|
46
54
|
# @return [String, nil]
|
47
55
|
attr_accessor :group
|
@@ -77,6 +85,8 @@ module Dropbox::Sign
|
|
77
85
|
:'original_font_size' => :'originalFontSize',
|
78
86
|
:'font_family' => :'fontFamily',
|
79
87
|
:'validation_type' => :'validation_type',
|
88
|
+
:'validation_custom_regex' => :'validation_custom_regex',
|
89
|
+
:'validation_custom_regex_format_label' => :'validation_custom_regex_format_label',
|
80
90
|
:'group' => :'group'
|
81
91
|
}
|
82
92
|
end
|
@@ -100,6 +110,8 @@ module Dropbox::Sign
|
|
100
110
|
:'original_font_size' => :'Integer',
|
101
111
|
:'font_family' => :'String',
|
102
112
|
:'validation_type' => :'String',
|
113
|
+
:'validation_custom_regex' => :'String',
|
114
|
+
:'validation_custom_regex_format_label' => :'String',
|
103
115
|
:'group' => :'String'
|
104
116
|
}
|
105
117
|
end
|
@@ -108,6 +120,8 @@ module Dropbox::Sign
|
|
108
120
|
def self.openapi_nullable
|
109
121
|
Set.new([
|
110
122
|
:'validation_type',
|
123
|
+
:'validation_custom_regex',
|
124
|
+
:'validation_custom_regex_format_label',
|
111
125
|
:'group'
|
112
126
|
])
|
113
127
|
end
|
@@ -182,6 +196,14 @@ module Dropbox::Sign
|
|
182
196
|
self.validation_type = attributes[:'validation_type']
|
183
197
|
end
|
184
198
|
|
199
|
+
if attributes.key?(:'validation_custom_regex')
|
200
|
+
self.validation_custom_regex = attributes[:'validation_custom_regex']
|
201
|
+
end
|
202
|
+
|
203
|
+
if attributes.key?(:'validation_custom_regex_format_label')
|
204
|
+
self.validation_custom_regex_format_label = attributes[:'validation_custom_regex_format_label']
|
205
|
+
end
|
206
|
+
|
185
207
|
if attributes.key?(:'group')
|
186
208
|
self.group = attributes[:'group']
|
187
209
|
end
|
@@ -238,6 +260,8 @@ module Dropbox::Sign
|
|
238
260
|
original_font_size == o.original_font_size &&
|
239
261
|
font_family == o.font_family &&
|
240
262
|
validation_type == o.validation_type &&
|
263
|
+
validation_custom_regex == o.validation_custom_regex &&
|
264
|
+
validation_custom_regex_format_label == o.validation_custom_regex_format_label &&
|
241
265
|
group == o.group && super(o)
|
242
266
|
end
|
243
267
|
|
@@ -250,7 +274,7 @@ module Dropbox::Sign
|
|
250
274
|
# Calculates hash code according to all attributes.
|
251
275
|
# @return [Integer] Hash code
|
252
276
|
def hash
|
253
|
-
[type, avg_text_length, is_multiline, original_font_size, font_family, validation_type, group].hash
|
277
|
+
[type, avg_text_length, is_multiline, original_font_size, font_family, validation_type, validation_custom_regex, validation_custom_regex_format_label, group].hash
|
254
278
|
end
|
255
279
|
|
256
280
|
# Builds the object from hash
|
data/lib/dropbox-sign/version.rb
CHANGED
data/openapi-config.yaml
CHANGED
data/openapi-sdk.yaml
CHANGED
@@ -7797,7 +7797,7 @@ components:
|
|
7797
7797
|
type: array
|
7798
7798
|
items:
|
7799
7799
|
type: string
|
7800
|
-
maxItems:
|
7800
|
+
maxItems: 10
|
7801
7801
|
minItems: 1
|
7802
7802
|
name:
|
7803
7803
|
description: 'The name you want to assign to the ApiApp.'
|
@@ -7823,7 +7823,7 @@ components:
|
|
7823
7823
|
type: array
|
7824
7824
|
items:
|
7825
7825
|
type: string
|
7826
|
-
maxItems:
|
7826
|
+
maxItems: 10
|
7827
7827
|
name:
|
7828
7828
|
description: 'The name you want to assign to the ApiApp.'
|
7829
7829
|
type: string
|
@@ -8112,10 +8112,10 @@ components:
|
|
8112
8112
|
description: 'The token provided when you got the expired access token.'
|
8113
8113
|
type: string
|
8114
8114
|
client_id:
|
8115
|
-
description: 'The client ID for your API app.
|
8115
|
+
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.'
|
8116
8116
|
type: string
|
8117
8117
|
client_secret:
|
8118
|
-
description: 'The client secret for your API app.
|
8118
|
+
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.'
|
8119
8119
|
type: string
|
8120
8120
|
type: object
|
8121
8121
|
ReportCreateRequest:
|
@@ -8135,6 +8135,7 @@ components:
|
|
8135
8135
|
enum:
|
8136
8136
|
- user_activity
|
8137
8137
|
- document_status
|
8138
|
+
- sms_activity
|
8138
8139
|
maxItems: 2
|
8139
8140
|
minItems: 1
|
8140
8141
|
start_date:
|
@@ -11964,6 +11965,7 @@ components:
|
|
11964
11965
|
enum:
|
11965
11966
|
- user_activity
|
11966
11967
|
- document_status
|
11968
|
+
- sms_activity
|
11967
11969
|
type: object
|
11968
11970
|
x-internal-class: true
|
11969
11971
|
SignatureRequestResponse:
|
@@ -13130,6 +13132,14 @@ components:
|
|
13130
13132
|
- employer_identification_number
|
13131
13133
|
- custom_regex
|
13132
13134
|
nullable: true
|
13135
|
+
validation_custom_regex:
|
13136
|
+
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.'
|
13137
|
+
type: string
|
13138
|
+
nullable: true
|
13139
|
+
validation_custom_regex_format_label:
|
13140
|
+
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.'
|
13141
|
+
type: string
|
13142
|
+
nullable: true
|
13133
13143
|
group:
|
13134
13144
|
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.'
|
13135
13145
|
type: string
|
@@ -0,0 +1,69 @@
|
|
1
|
+
=begin
|
2
|
+
#Dropbox Sign API
|
3
|
+
|
4
|
+
#Dropbox Sign v3 API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
|
+
Contact: apisupport@hellosign.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json_spec'
|
15
|
+
require_relative '../test_utils'
|
16
|
+
|
17
|
+
root_file_path = __dir__ + "/../../test_fixtures"
|
18
|
+
|
19
|
+
describe Dropbox::Sign::FaxApi do
|
20
|
+
context 'FaxApiTest' do
|
21
|
+
api = Dropbox::Sign::FaxApi.new
|
22
|
+
|
23
|
+
it 'testFaxSend' do
|
24
|
+
request_class = 'FaxSendRequest'
|
25
|
+
request_data = get_fixture_data(request_class)[:default]
|
26
|
+
|
27
|
+
response_class = 'FaxGetResponse'
|
28
|
+
response_data = get_fixture_data(response_class)[:default]
|
29
|
+
|
30
|
+
set_expected_response(200, JSON.dump(response_data))
|
31
|
+
expected = Dropbox::Sign::FaxGetResponse.init(response_data)
|
32
|
+
obj = Dropbox::Sign::FaxSendRequest.init(request_data)
|
33
|
+
obj.files = [File.new("#{root_file_path}/pdf-sample.pdf", "r")]
|
34
|
+
|
35
|
+
result = api.fax_send(obj)
|
36
|
+
|
37
|
+
expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}")
|
38
|
+
expect(result.to_json).to be_json_eql(JSON.dump(expected))
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'testFaxGet' do
|
42
|
+
signature_request_id = 'c2e9691c85d9d6fa6ae773842e3680b2b8650f1d'
|
43
|
+
|
44
|
+
response_class = 'FaxGetResponse'
|
45
|
+
response_data = get_fixture_data(response_class)[:default]
|
46
|
+
|
47
|
+
set_expected_response(200, JSON.dump(response_data))
|
48
|
+
expected = Dropbox::Sign::FaxGetResponse.init(response_data)
|
49
|
+
|
50
|
+
result = api.fax_get(signature_request_id)
|
51
|
+
|
52
|
+
expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}")
|
53
|
+
expect(result.to_json).to be_json_eql(JSON.dump(expected))
|
54
|
+
end
|
55
|
+
|
56
|
+
it 'testFaxList' do
|
57
|
+
response_class = 'FaxListResponse'
|
58
|
+
response_data = get_fixture_data(response_class)[:default]
|
59
|
+
|
60
|
+
set_expected_response(200, JSON.dump(response_data))
|
61
|
+
expected = Dropbox::Sign::FaxListResponse.init(response_data)
|
62
|
+
|
63
|
+
result = api.fax_list()
|
64
|
+
|
65
|
+
expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}")
|
66
|
+
expect(result.to_json).to be_json_eql(JSON.dump(expected))
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
=begin
|
2
|
+
#Dropbox Sign API
|
3
|
+
|
4
|
+
#Dropbox Sign v3 API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
|
+
Contact: apisupport@hellosign.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json_spec'
|
15
|
+
require_relative '../test_utils'
|
16
|
+
|
17
|
+
root_file_path = __dir__ + "/../../test_fixtures"
|
18
|
+
|
19
|
+
describe Dropbox::Sign::FaxApi do
|
20
|
+
context 'FaxLineApiTest' do
|
21
|
+
api = Dropbox::Sign::FaxLineApi.new
|
22
|
+
|
23
|
+
it 'testFaxLineCreate' do
|
24
|
+
request_class = 'FaxLineCreateRequest'
|
25
|
+
request_data = get_fixture_data(request_class)[:default]
|
26
|
+
|
27
|
+
response_class = 'FaxLineResponse'
|
28
|
+
response_data = get_fixture_data(response_class)[:default]
|
29
|
+
|
30
|
+
set_expected_response(200, JSON.dump(response_data))
|
31
|
+
expected = Dropbox::Sign::FaxLineResponse.init(response_data)
|
32
|
+
|
33
|
+
result = api.fax_line_create(request_data)
|
34
|
+
|
35
|
+
expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}")
|
36
|
+
expect(result.to_json).to be_json_eql(JSON.dump(expected))
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'testFaxLineGet' do
|
40
|
+
fax_line_number = '14155557897'
|
41
|
+
|
42
|
+
response_class = 'FaxLineResponse'
|
43
|
+
response_data = get_fixture_data(response_class)[:default]
|
44
|
+
|
45
|
+
set_expected_response(200, JSON.dump(response_data))
|
46
|
+
expected = Dropbox::Sign::FaxLineResponse.init(response_data)
|
47
|
+
|
48
|
+
result = api.fax_line_get(fax_line_number)
|
49
|
+
|
50
|
+
expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}")
|
51
|
+
expect(result.to_json).to be_json_eql(JSON.dump(expected))
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'testFaxLineList' do
|
55
|
+
response_class = 'FaxLineListResponse'
|
56
|
+
response_data = get_fixture_data(response_class)[:default]
|
57
|
+
|
58
|
+
set_expected_response(200, JSON.dump(response_data))
|
59
|
+
expected = Dropbox::Sign::FaxLineListResponse.init(response_data)
|
60
|
+
|
61
|
+
result = api.fax_line_list()
|
62
|
+
|
63
|
+
expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}")
|
64
|
+
expect(result.to_json).to be_json_eql(JSON.dump(expected))
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -20,12 +20,11 @@
|
|
20
20
|
"transmissions": [
|
21
21
|
{
|
22
22
|
"recipient": "recipient@dropboxsign.com",
|
23
|
-
"sender": "me@dropboxsign.com",
|
24
23
|
"sent_at": 1723231831,
|
25
24
|
"status_code": "success"
|
26
25
|
}
|
27
26
|
],
|
28
|
-
"files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2"
|
27
|
+
"files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2"
|
29
28
|
}
|
30
29
|
}
|
31
30
|
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"default": {
|
3
|
+
"list_info": {
|
4
|
+
"num_pages": 1,
|
5
|
+
"num_results": 1,
|
6
|
+
"page": 1,
|
7
|
+
"page_size": 1
|
8
|
+
},
|
9
|
+
"fax_lines": [
|
10
|
+
{
|
11
|
+
"number": "14155557897",
|
12
|
+
"created_at": 1750196223,
|
13
|
+
"updated_at": 1750196223,
|
14
|
+
"accounts": [
|
15
|
+
{
|
16
|
+
"account_id": "a3367a4130f3624687ea7de6f09df951a44923dd",
|
17
|
+
"email_address": "me@dropboxsign.com",
|
18
|
+
"is_locked": false,
|
19
|
+
"is_paid_hs": false,
|
20
|
+
"is_paid_hf": true
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"default": {
|
3
|
+
"fax_line": {
|
4
|
+
"number": "14155557897",
|
5
|
+
"created_at": 1750196223,
|
6
|
+
"updated_at": 1750196223,
|
7
|
+
"accounts": [
|
8
|
+
{
|
9
|
+
"account_id": "a3367a4130f3624687ea7de6f09df951a44923dd",
|
10
|
+
"email_address": "me@dropboxsign.com",
|
11
|
+
"is_locked": false,
|
12
|
+
"is_paid_hs": false,
|
13
|
+
"is_paid_hf": true
|
14
|
+
}
|
15
|
+
]
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
@@ -27,12 +27,11 @@
|
|
27
27
|
"transmissions": [
|
28
28
|
{
|
29
29
|
"recipient": "recipient@dropboxsign.com",
|
30
|
-
"sender": "me@dropboxsign.com",
|
31
30
|
"sent_at": 1723231831,
|
32
31
|
"status_code": "success"
|
33
32
|
}
|
34
33
|
],
|
35
|
-
"files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2"
|
34
|
+
"files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2"
|
36
35
|
}
|
37
36
|
]
|
38
37
|
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"default": {
|
3
|
+
"fax": {
|
4
|
+
"fax_id": "c2e9691c85d9d6fa6ae773842e3680b2b8650f1d",
|
5
|
+
"title": "example title",
|
6
|
+
"original_title": "example original title",
|
7
|
+
"metadata": {},
|
8
|
+
"created_at": 1750105080,
|
9
|
+
"sender": "14155557068",
|
10
|
+
"files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2",
|
11
|
+
"final_copy_uri": "/v3/transmission/final_copy/c2e9691c85d9d6fa6ae773842e3680b2b8650f1d",
|
12
|
+
"transmissions": [
|
13
|
+
{
|
14
|
+
"recipient": "18005550199",
|
15
|
+
"status_code": "transmitting"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"transmission_id": "c2e9691c85d9d6fa6ae773842e3680b2b8650f1d",
|
19
|
+
"from": "14155557068",
|
20
|
+
"test_mode": false
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropbox-sign
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dropbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -587,6 +587,8 @@ files:
|
|
587
587
|
- spec/api/api_app_api_spec.rb
|
588
588
|
- spec/api/bulk_send_job_api_spec.rb
|
589
589
|
- spec/api/embedded_api_spec.rb
|
590
|
+
- spec/api/fax_api_spec.rb
|
591
|
+
- spec/api/fax_line_api_spec.rb
|
590
592
|
- spec/api/oauth_api_spec.rb
|
591
593
|
- spec/api/report_api_spec.rb
|
592
594
|
- spec/api/signature_request_api_spec.rb
|
@@ -659,9 +661,12 @@ files:
|
|
659
661
|
- test_fixtures/EventCallbackHelper_AccountCallbacks.json
|
660
662
|
- test_fixtures/EventCallbackHelper_AppCallbacks.json
|
661
663
|
- test_fixtures/FaxGetResponse.json
|
664
|
+
- test_fixtures/FaxLineCreateRequest.json
|
665
|
+
- test_fixtures/FaxLineListResponse.json
|
666
|
+
- test_fixtures/FaxLineResponse.json
|
662
667
|
- test_fixtures/FaxListResponse.json
|
668
|
+
- test_fixtures/FaxResponse.json
|
663
669
|
- test_fixtures/FaxSendRequest.json
|
664
|
-
- test_fixtures/FaxSendResponse.json
|
665
670
|
- test_fixtures/FileResponse.json
|
666
671
|
- test_fixtures/OAuthTokenGenerateRequest.json
|
667
672
|
- test_fixtures/OAuthTokenRefreshRequest.json
|
@@ -726,16 +731,18 @@ signing_key:
|
|
726
731
|
specification_version: 4
|
727
732
|
summary: Dropbox Sign API Ruby Gem
|
728
733
|
test_files:
|
729
|
-
- spec/api/oauth_api_spec.rb
|
730
734
|
- spec/api/unclaimed_draft_api_spec.rb
|
735
|
+
- spec/api/fax_line_api_spec.rb
|
736
|
+
- spec/api/report_api_spec.rb
|
731
737
|
- spec/api/template_api_spec.rb
|
732
738
|
- spec/api/team_api_spec.rb
|
739
|
+
- spec/api/oauth_api_spec.rb
|
740
|
+
- spec/api/api_app_api_spec.rb
|
733
741
|
- spec/api/embedded_api_spec.rb
|
734
742
|
- spec/api/account_api_spec.rb
|
735
743
|
- spec/api/signature_request_api_spec.rb
|
736
744
|
- spec/api/bulk_send_job_api_spec.rb
|
737
|
-
- spec/api/
|
738
|
-
- spec/api/report_api_spec.rb
|
745
|
+
- spec/api/fax_api_spec.rb
|
739
746
|
- spec/api_client_spec.rb
|
740
747
|
- spec/configuration_spec.rb
|
741
748
|
- spec/event_callback_helper_spec.rb
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"default": {
|
3
|
-
"fax": {
|
4
|
-
"fax_id": "c2e9691c85d9d6fa6ae773842e3680b2b8650f1d",
|
5
|
-
"title": "example title",
|
6
|
-
"original_title": "example original title",
|
7
|
-
"subject": "example subject",
|
8
|
-
"message": "example message",
|
9
|
-
"metadata": [ ],
|
10
|
-
"created_at": 1726774555,
|
11
|
-
"sender": "me@dropboxsign.com",
|
12
|
-
"transmissions": [],
|
13
|
-
"files_url": "https://api.hellosign.com/v3/fax/files/2b388914e3ae3b738bd4e2ee2850c677e6dc53d2"
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|