dropbox-sign 1.7.0 → 1.8.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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +4 -4
  4. data/VERSION +1 -1
  5. data/docs/BulkSendJobGetResponseSignatureRequests.md +1 -1
  6. data/docs/FaxResponse.md +4 -3
  7. data/docs/FaxResponseTransmission.md +0 -1
  8. data/docs/SignatureRequestResponse.md +1 -1
  9. data/docs/SignatureRequestResponseDataValueInitials.md +1 -0
  10. data/docs/SignatureRequestResponseDataValueSignature.md +1 -0
  11. data/docs/TemplateResponse.md +1 -1
  12. data/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +10 -7
  13. data/lib/dropbox-sign/models/fax_response.rb +50 -46
  14. data/lib/dropbox-sign/models/fax_response_transmission.rb +1 -17
  15. data/lib/dropbox-sign/models/signature_request_response.rb +10 -7
  16. data/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +2 -1
  17. data/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +16 -4
  18. data/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +16 -4
  19. data/lib/dropbox-sign/models/template_response.rb +5 -3
  20. data/lib/dropbox-sign/version.rb +1 -1
  21. data/openapi-config.yaml +1 -1
  22. data/openapi-sdk.yaml +31 -17
  23. data/test_fixtures/BulkSendJobGetResponse.json +9 -0
  24. data/test_fixtures/FaxGetResponse.json +9 -1
  25. data/test_fixtures/FaxListResponse.json +9 -1
  26. data/test_fixtures/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.json +7 -1
  27. data/test_fixtures/SignatureRequestBulkSendWithTemplateRequest.json +7 -1
  28. data/test_fixtures/SignatureRequestCreateEmbeddedRequest.json +7 -1
  29. data/test_fixtures/SignatureRequestCreateEmbeddedWithTemplateRequest.json +7 -1
  30. data/test_fixtures/SignatureRequestGetResponse.json +11 -1
  31. data/test_fixtures/SignatureRequestListResponse.json +9 -1
  32. data/test_fixtures/SignatureRequestSendRequest.json +5 -1
  33. data/test_fixtures/SignatureRequestSendWithTemplateRequest.json +7 -1
  34. data/test_fixtures/TemplateCreateEmbeddedDraftRequest.json +5 -0
  35. data/test_fixtures/TemplateCreateRequest.json +5 -0
  36. data/test_fixtures/TemplateGetResponse.json +9 -1
  37. data/test_fixtures/TemplateListResponse.json +9 -1
  38. data/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json +5 -0
  39. data/test_fixtures/UnclaimedDraftCreateEmbeddedWithTemplateRequest.json +5 -0
  40. data/test_fixtures/UnclaimedDraftCreateRequest.json +5 -0
  41. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4a4bf5fa059cb4f6ad1d44989afda4fe6cda83bea9692a2e73d50e8f0f8dc6c
4
- data.tar.gz: 6c6765e5adf2e5b4734ef7d5bed6d7fe329b20881b9b9df484b0e9594dae4bfd
3
+ metadata.gz: 0e64c9f5e87bb51e133c06c546b9eb4747739867caf0cd4e062d74a17e052762
4
+ data.tar.gz: f698e9b93152e1cbee38194acb69b64d64697a7d93fa9dc72b3cc45cf58ec2cd
5
5
  SHA512:
6
- metadata.gz: 7bdad2bf4c2d5e4d9d72e53d64c785140fc0e7fc4addb2187ccacb9795b29b2b1d7d6508a0fe4df705bb491dea7ce9547195490ab71a87f3315993965248f63d
7
- data.tar.gz: 26eaf172fb40a46bee4531e40fba88c35dce1a2326bab42efc5bc47b96a83ce24c98d71971ec47ee99a020410e04f25a0d0246b27408c3e162e32616625bd19a
6
+ metadata.gz: ef5f4840f660e312d30b0b6d6bc27c36341fc37ae675a63856a374bc3deb28f21ddc8fa79f72b9e41997d23ceefe73e1b0cd763070a95f7f9fc9e2c31ac5587d
7
+ data.tar.gz: 69e9db06937df1c18f78246c5e8a180da82ac20865a1c4658868e8d6dc50c8276f64d60b588402d88cd1d05876b256cfa1be1035ac6fbe6774faa415f516ca7a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dropbox-sign (1.7.0)
4
+ dropbox-sign (1.8.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
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.7.0
28
+ - Package version: 1.8.0
29
29
  - Generator version: 7.8.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.7.0.gem
50
+ gem install ./dropbox-sign-1.8.0.gem
51
51
  ```
52
52
 
53
- (for development, run `gem install --dev ./dropbox-sign-1.7.0.gem` to install the development dependencies)
53
+ (for development, run `gem install --dev ./dropbox-sign-1.8.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.7.0'
58
+ gem 'dropbox-sign', '~> 1.8.0'
59
59
 
60
60
  ### Install from Git
61
61
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.8.0
@@ -13,7 +13,7 @@
13
13
  | `original_title` | ```String``` | Default Label for account. | |
14
14
  | `subject` | ```String``` | The subject in the email that was initially sent to the signers. | |
15
15
  | `message` | ```String``` | The custom message in the email that was initially sent to the signers. | |
16
- | `metadata` | ```Object``` | The metadata attached to the signature request. | |
16
+ | `metadata` | ```Hash<String, Object>``` | The metadata attached to the signature request. | |
17
17
  | `created_at` | ```Integer``` | Time the signature request was created. | |
18
18
  | `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. | |
19
19
  | `is_complete` | ```Boolean``` | Whether or not the SignatureRequest has been fully executed by all signers. | |
data/docs/FaxResponse.md CHANGED
@@ -9,11 +9,12 @@
9
9
  | `fax_id`<sup>*_required_</sup> | ```String``` | Fax ID | |
10
10
  | `title`<sup>*_required_</sup> | ```String``` | Fax Title | |
11
11
  | `original_title`<sup>*_required_</sup> | ```String``` | Fax Original Title | |
12
- | `subject`<sup>*_required_</sup> | ```String``` | Fax Subject | |
13
- | `message`<sup>*_required_</sup> | ```String``` | Fax Message | |
14
12
  | `metadata`<sup>*_required_</sup> | ```Hash<String, Object>``` | Fax Metadata | |
15
13
  | `created_at`<sup>*_required_</sup> | ```Integer``` | Fax Created At Timestamp | |
16
14
  | `sender`<sup>*_required_</sup> | ```String``` | Fax Sender Email | |
17
- | `transmissions`<sup>*_required_</sup> | [```Array<FaxResponseTransmission>```](FaxResponseTransmission.md) | Fax Transmissions List | |
18
15
  | `files_url`<sup>*_required_</sup> | ```String``` | Fax Files URL | |
16
+ | `transmissions`<sup>*_required_</sup> | [```Array<FaxResponseTransmission>```](FaxResponseTransmission.md) | Fax Transmissions List | |
17
+ | `subject` | ```String``` | Fax Subject | |
18
+ | `message` | ```String``` | Fax Message | |
19
+ | `final_copy_uri` | ```String``` | The path where the completed document can be downloaded | |
19
20
 
@@ -7,7 +7,6 @@
7
7
  | Name | Type | Description | Notes |
8
8
  | ---- | ---- | ----------- | ----- |
9
9
  | `recipient`<sup>*_required_</sup> | ```String``` | Fax Transmission Recipient | |
10
- | `sender`<sup>*_required_</sup> | ```String``` | Fax Transmission Sender | |
11
10
  | `status_code`<sup>*_required_</sup> | ```String``` | Fax Transmission Status Code | |
12
11
  | `sent_at` | ```Integer``` | Fax Transmission Sent Timestamp | |
13
12
 
@@ -13,7 +13,7 @@ Contains information about a signature request.
13
13
  | `original_title` | ```String``` | Default Label for account. | |
14
14
  | `subject` | ```String``` | The subject in the email that was initially sent to the signers. | |
15
15
  | `message` | ```String``` | The custom message in the email that was initially sent to the signers. | |
16
- | `metadata` | ```Object``` | The metadata attached to the signature request. | |
16
+ | `metadata` | ```Hash<String, Object>``` | The metadata attached to the signature request. | |
17
17
  | `created_at` | ```Integer``` | Time the signature request was created. | |
18
18
  | `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. | |
19
19
  | `is_complete` | ```Boolean``` | Whether or not the SignatureRequest has been fully executed by all signers. | |
@@ -8,4 +8,5 @@
8
8
  | ---- | ---- | ----------- | ----- |
9
9
  | `type` | ```String``` | An input field for initials | [default to 'initials'] |
10
10
  | `value` | ```String``` | The value of the form field. | |
11
+ | `is_signed` | ```Boolean``` | This field contains the boolean true if the field is signed. | |
11
12
 
@@ -8,4 +8,5 @@
8
8
  | ---- | ---- | ----------- | ----- |
9
9
  | `type` | ```String``` | A signature input field | [default to 'signature'] |
10
10
  | `value` | ```String``` | The value of the form field. | |
11
+ | `is_signed` | ```Boolean``` | This field contains the boolean true if the field is signed. | |
11
12
 
@@ -14,7 +14,7 @@ Contains information about the templates you and your team have created.
14
14
  | `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. | |
15
15
  | `can_edit` | ```Boolean``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that&#39;s you). | |
16
16
  | `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. | |
17
- | `metadata` | ```Object``` | The metadata attached to the template. | |
17
+ | `metadata` | ```Hash<String, Object>``` | The metadata attached to the template. | |
18
18
  | `signer_roles` | [```Array<TemplateResponseSignerRole>```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
19
19
  | `cc_roles` | [```Array<TemplateResponseCCRole>```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
20
20
  | `documents` | [```Array<TemplateResponseDocument>```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
@@ -19,7 +19,7 @@ end
19
19
  module Dropbox::Sign
20
20
  class BulkSendJobGetResponseSignatureRequests
21
21
  # Whether this is a test signature request. Test requests have no legal value. Defaults to `false`.
22
- # @return [Boolean, nil]
22
+ # @return [Boolean]
23
23
  attr_accessor :test_mode
24
24
 
25
25
  # The id of the SignatureRequest.
@@ -27,7 +27,7 @@ module Dropbox::Sign
27
27
  attr_accessor :signature_request_id
28
28
 
29
29
  # The email address of the initiator of the SignatureRequest.
30
- # @return [String]
30
+ # @return [String, nil]
31
31
  attr_accessor :requester_email_address
32
32
 
33
33
  # The title the specified Account uses for the SignatureRequest.
@@ -47,7 +47,7 @@ module Dropbox::Sign
47
47
  attr_accessor :message
48
48
 
49
49
  # The metadata attached to the signature request.
50
- # @return [Object]
50
+ # @return [Hash<String, Object>]
51
51
  attr_accessor :metadata
52
52
 
53
53
  # Time the signature request was created.
@@ -55,7 +55,7 @@ module Dropbox::Sign
55
55
  attr_accessor :created_at
56
56
 
57
57
  # 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.
58
- # @return [Integer]
58
+ # @return [Integer, nil]
59
59
  attr_accessor :expires_at
60
60
 
61
61
  # Whether or not the SignatureRequest has been fully executed by all signers.
@@ -164,7 +164,7 @@ module Dropbox::Sign
164
164
  :'original_title' => :'String',
165
165
  :'subject' => :'String',
166
166
  :'message' => :'String',
167
- :'metadata' => :'Object',
167
+ :'metadata' => :'Hash<String, Object>',
168
168
  :'created_at' => :'Integer',
169
169
  :'expires_at' => :'Integer',
170
170
  :'is_complete' => :'Boolean',
@@ -188,9 +188,10 @@ module Dropbox::Sign
188
188
  # List of attributes with nullable: true
189
189
  def self.openapi_nullable
190
190
  Set.new([
191
- :'test_mode',
191
+ :'requester_email_address',
192
192
  :'subject',
193
193
  :'message',
194
+ :'expires_at',
194
195
  :'signing_url',
195
196
  :'signing_redirect_url',
196
197
  :'final_copy_uri',
@@ -272,7 +273,9 @@ module Dropbox::Sign
272
273
  end
273
274
 
274
275
  if attributes.key?(:'metadata')
275
- self.metadata = attributes[:'metadata']
276
+ if (value = attributes[:'metadata']).is_a?(Hash)
277
+ self.metadata = value
278
+ end
276
279
  end
277
280
 
278
281
  if attributes.key?(:'created_at')
@@ -30,14 +30,6 @@ module Dropbox::Sign
30
30
  # @return [String]
31
31
  attr_accessor :original_title
32
32
 
33
- # Fax Subject
34
- # @return [String]
35
- attr_accessor :subject
36
-
37
- # Fax Message
38
- # @return [String]
39
- attr_accessor :message
40
-
41
33
  # Fax Metadata
42
34
  # @return [Hash<String, Object>]
43
35
  attr_accessor :metadata
@@ -50,13 +42,25 @@ module Dropbox::Sign
50
42
  # @return [String]
51
43
  attr_accessor :sender
52
44
 
45
+ # Fax Files URL
46
+ # @return [String]
47
+ attr_accessor :files_url
48
+
53
49
  # Fax Transmissions List
54
50
  # @return [Array<FaxResponseTransmission>]
55
51
  attr_accessor :transmissions
56
52
 
57
- # Fax Files URL
58
- # @return [String]
59
- attr_accessor :files_url
53
+ # Fax Subject
54
+ # @return [String, nil]
55
+ attr_accessor :subject
56
+
57
+ # Fax Message
58
+ # @return [String, nil]
59
+ attr_accessor :message
60
+
61
+ # The path where the completed document can be downloaded
62
+ # @return [String, nil]
63
+ attr_accessor :final_copy_uri
60
64
 
61
65
  # Attribute mapping from ruby-style variable name to JSON key.
62
66
  def self.attribute_map
@@ -64,13 +68,14 @@ module Dropbox::Sign
64
68
  :'fax_id' => :'fax_id',
65
69
  :'title' => :'title',
66
70
  :'original_title' => :'original_title',
67
- :'subject' => :'subject',
68
- :'message' => :'message',
69
71
  :'metadata' => :'metadata',
70
72
  :'created_at' => :'created_at',
71
73
  :'sender' => :'sender',
74
+ :'files_url' => :'files_url',
72
75
  :'transmissions' => :'transmissions',
73
- :'files_url' => :'files_url'
76
+ :'subject' => :'subject',
77
+ :'message' => :'message',
78
+ :'final_copy_uri' => :'final_copy_uri'
74
79
  }
75
80
  end
76
81
 
@@ -85,19 +90,23 @@ module Dropbox::Sign
85
90
  :'fax_id' => :'String',
86
91
  :'title' => :'String',
87
92
  :'original_title' => :'String',
88
- :'subject' => :'String',
89
- :'message' => :'String',
90
93
  :'metadata' => :'Hash<String, Object>',
91
94
  :'created_at' => :'Integer',
92
95
  :'sender' => :'String',
96
+ :'files_url' => :'String',
93
97
  :'transmissions' => :'Array<FaxResponseTransmission>',
94
- :'files_url' => :'String'
98
+ :'subject' => :'String',
99
+ :'message' => :'String',
100
+ :'final_copy_uri' => :'String'
95
101
  }
96
102
  end
97
103
 
98
104
  # List of attributes with nullable: true
99
105
  def self.openapi_nullable
100
106
  Set.new([
107
+ :'subject',
108
+ :'message',
109
+ :'final_copy_uri'
101
110
  ])
102
111
  end
103
112
 
@@ -153,14 +162,6 @@ module Dropbox::Sign
153
162
  self.original_title = attributes[:'original_title']
154
163
  end
155
164
 
156
- if attributes.key?(:'subject')
157
- self.subject = attributes[:'subject']
158
- end
159
-
160
- if attributes.key?(:'message')
161
- self.message = attributes[:'message']
162
- end
163
-
164
165
  if attributes.key?(:'metadata')
165
166
  if (value = attributes[:'metadata']).is_a?(Hash)
166
167
  self.metadata = value
@@ -175,14 +176,26 @@ module Dropbox::Sign
175
176
  self.sender = attributes[:'sender']
176
177
  end
177
178
 
179
+ if attributes.key?(:'files_url')
180
+ self.files_url = attributes[:'files_url']
181
+ end
182
+
178
183
  if attributes.key?(:'transmissions')
179
184
  if (value = attributes[:'transmissions']).is_a?(Array)
180
185
  self.transmissions = value
181
186
  end
182
187
  end
183
188
 
184
- if attributes.key?(:'files_url')
185
- self.files_url = attributes[:'files_url']
189
+ if attributes.key?(:'subject')
190
+ self.subject = attributes[:'subject']
191
+ end
192
+
193
+ if attributes.key?(:'message')
194
+ self.message = attributes[:'message']
195
+ end
196
+
197
+ if attributes.key?(:'final_copy_uri')
198
+ self.final_copy_uri = attributes[:'final_copy_uri']
186
199
  end
187
200
  end
188
201
 
@@ -202,14 +215,6 @@ module Dropbox::Sign
202
215
  invalid_properties.push('invalid value for "original_title", original_title cannot be nil.')
203
216
  end
204
217
 
205
- if @subject.nil?
206
- invalid_properties.push('invalid value for "subject", subject cannot be nil.')
207
- end
208
-
209
- if @message.nil?
210
- invalid_properties.push('invalid value for "message", message cannot be nil.')
211
- end
212
-
213
218
  if @metadata.nil?
214
219
  invalid_properties.push('invalid value for "metadata", metadata cannot be nil.')
215
220
  end
@@ -222,14 +227,14 @@ module Dropbox::Sign
222
227
  invalid_properties.push('invalid value for "sender", sender cannot be nil.')
223
228
  end
224
229
 
225
- if @transmissions.nil?
226
- invalid_properties.push('invalid value for "transmissions", transmissions cannot be nil.')
227
- end
228
-
229
230
  if @files_url.nil?
230
231
  invalid_properties.push('invalid value for "files_url", files_url cannot be nil.')
231
232
  end
232
233
 
234
+ if @transmissions.nil?
235
+ invalid_properties.push('invalid value for "transmissions", transmissions cannot be nil.')
236
+ end
237
+
233
238
  invalid_properties
234
239
  end
235
240
 
@@ -239,13 +244,11 @@ module Dropbox::Sign
239
244
  return false if @fax_id.nil?
240
245
  return false if @title.nil?
241
246
  return false if @original_title.nil?
242
- return false if @subject.nil?
243
- return false if @message.nil?
244
247
  return false if @metadata.nil?
245
248
  return false if @created_at.nil?
246
249
  return false if @sender.nil?
247
- return false if @transmissions.nil?
248
250
  return false if @files_url.nil?
251
+ return false if @transmissions.nil?
249
252
  true
250
253
  end
251
254
 
@@ -257,13 +260,14 @@ module Dropbox::Sign
257
260
  fax_id == o.fax_id &&
258
261
  title == o.title &&
259
262
  original_title == o.original_title &&
260
- subject == o.subject &&
261
- message == o.message &&
262
263
  metadata == o.metadata &&
263
264
  created_at == o.created_at &&
264
265
  sender == o.sender &&
266
+ files_url == o.files_url &&
265
267
  transmissions == o.transmissions &&
266
- files_url == o.files_url
268
+ subject == o.subject &&
269
+ message == o.message &&
270
+ final_copy_uri == o.final_copy_uri
267
271
  end
268
272
 
269
273
  # @see the `==` method
@@ -275,7 +279,7 @@ module Dropbox::Sign
275
279
  # Calculates hash code according to all attributes.
276
280
  # @return [Integer] Hash code
277
281
  def hash
278
- [fax_id, title, original_title, subject, message, metadata, created_at, sender, transmissions, files_url].hash
282
+ [fax_id, title, original_title, metadata, created_at, sender, files_url, transmissions, subject, message, final_copy_uri].hash
279
283
  end
280
284
 
281
285
  # Builds the object from hash
@@ -22,10 +22,6 @@ module Dropbox::Sign
22
22
  # @return [String]
23
23
  attr_accessor :recipient
24
24
 
25
- # Fax Transmission Sender
26
- # @return [String]
27
- attr_accessor :sender
28
-
29
25
  # Fax Transmission Status Code
30
26
  # @return [String]
31
27
  attr_accessor :status_code
@@ -60,7 +56,6 @@ module Dropbox::Sign
60
56
  def self.attribute_map
61
57
  {
62
58
  :'recipient' => :'recipient',
63
- :'sender' => :'sender',
64
59
  :'status_code' => :'status_code',
65
60
  :'sent_at' => :'sent_at'
66
61
  }
@@ -75,7 +70,6 @@ module Dropbox::Sign
75
70
  def self.openapi_types
76
71
  {
77
72
  :'recipient' => :'String',
78
- :'sender' => :'String',
79
73
  :'status_code' => :'String',
80
74
  :'sent_at' => :'Integer'
81
75
  }
@@ -131,10 +125,6 @@ module Dropbox::Sign
131
125
  self.recipient = attributes[:'recipient']
132
126
  end
133
127
 
134
- if attributes.key?(:'sender')
135
- self.sender = attributes[:'sender']
136
- end
137
-
138
128
  if attributes.key?(:'status_code')
139
129
  self.status_code = attributes[:'status_code']
140
130
  end
@@ -152,10 +142,6 @@ module Dropbox::Sign
152
142
  invalid_properties.push('invalid value for "recipient", recipient cannot be nil.')
153
143
  end
154
144
 
155
- if @sender.nil?
156
- invalid_properties.push('invalid value for "sender", sender cannot be nil.')
157
- end
158
-
159
145
  if @status_code.nil?
160
146
  invalid_properties.push('invalid value for "status_code", status_code cannot be nil.')
161
147
  end
@@ -167,7 +153,6 @@ module Dropbox::Sign
167
153
  # @return true if the model is valid
168
154
  def valid?
169
155
  return false if @recipient.nil?
170
- return false if @sender.nil?
171
156
  return false if @status_code.nil?
172
157
  status_code_validator = EnumAttributeValidator.new('String', ["success", "transmitting", "error_could_not_fax", "error_unknown", "error_busy", "error_no_answer", "error_disconnected", "error_bad_destination"])
173
158
  return false unless status_code_validator.valid?(@status_code)
@@ -190,7 +175,6 @@ module Dropbox::Sign
190
175
  return true if self.equal?(o)
191
176
  self.class == o.class &&
192
177
  recipient == o.recipient &&
193
- sender == o.sender &&
194
178
  status_code == o.status_code &&
195
179
  sent_at == o.sent_at
196
180
  end
@@ -204,7 +188,7 @@ module Dropbox::Sign
204
188
  # Calculates hash code according to all attributes.
205
189
  # @return [Integer] Hash code
206
190
  def hash
207
- [recipient, sender, status_code, sent_at].hash
191
+ [recipient, status_code, sent_at].hash
208
192
  end
209
193
 
210
194
  # Builds the object from hash
@@ -20,7 +20,7 @@ module Dropbox::Sign
20
20
  # Contains information about a signature request.
21
21
  class SignatureRequestResponse
22
22
  # Whether this is a test signature request. Test requests have no legal value. Defaults to `false`.
23
- # @return [Boolean, nil]
23
+ # @return [Boolean]
24
24
  attr_accessor :test_mode
25
25
 
26
26
  # The id of the SignatureRequest.
@@ -28,7 +28,7 @@ module Dropbox::Sign
28
28
  attr_accessor :signature_request_id
29
29
 
30
30
  # The email address of the initiator of the SignatureRequest.
31
- # @return [String]
31
+ # @return [String, nil]
32
32
  attr_accessor :requester_email_address
33
33
 
34
34
  # The title the specified Account uses for the SignatureRequest.
@@ -48,7 +48,7 @@ module Dropbox::Sign
48
48
  attr_accessor :message
49
49
 
50
50
  # The metadata attached to the signature request.
51
- # @return [Object]
51
+ # @return [Hash<String, Object>]
52
52
  attr_accessor :metadata
53
53
 
54
54
  # Time the signature request was created.
@@ -56,7 +56,7 @@ module Dropbox::Sign
56
56
  attr_accessor :created_at
57
57
 
58
58
  # 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.
59
- # @return [Integer]
59
+ # @return [Integer, nil]
60
60
  attr_accessor :expires_at
61
61
 
62
62
  # Whether or not the SignatureRequest has been fully executed by all signers.
@@ -165,7 +165,7 @@ module Dropbox::Sign
165
165
  :'original_title' => :'String',
166
166
  :'subject' => :'String',
167
167
  :'message' => :'String',
168
- :'metadata' => :'Object',
168
+ :'metadata' => :'Hash<String, Object>',
169
169
  :'created_at' => :'Integer',
170
170
  :'expires_at' => :'Integer',
171
171
  :'is_complete' => :'Boolean',
@@ -189,9 +189,10 @@ module Dropbox::Sign
189
189
  # List of attributes with nullable: true
190
190
  def self.openapi_nullable
191
191
  Set.new([
192
- :'test_mode',
192
+ :'requester_email_address',
193
193
  :'subject',
194
194
  :'message',
195
+ :'expires_at',
195
196
  :'signing_url',
196
197
  :'signing_redirect_url',
197
198
  :'final_copy_uri',
@@ -274,7 +275,9 @@ module Dropbox::Sign
274
275
  end
275
276
 
276
277
  if attributes.key?(:'metadata')
277
- self.metadata = attributes[:'metadata']
278
+ if (value = attributes[:'metadata']).is_a?(Hash)
279
+ self.metadata = value
280
+ end
278
281
  end
279
282
 
280
283
  if attributes.key?(:'created_at')
@@ -36,7 +36,7 @@ module Dropbox::Sign
36
36
  attr_accessor :api_id
37
37
 
38
38
  # The name of the Role that is able to edit this field.
39
- # @return [String]
39
+ # @return [String, nil]
40
40
  attr_accessor :editor
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -69,6 +69,7 @@ module Dropbox::Sign
69
69
  # List of attributes with nullable: true
70
70
  def self.openapi_nullable
71
71
  Set.new([
72
+ :'editor'
72
73
  ])
73
74
  end
74
75
 
@@ -26,11 +26,16 @@ module Dropbox::Sign
26
26
  # @return [String]
27
27
  attr_accessor :value
28
28
 
29
+ # This field contains the boolean true if the field is signed.
30
+ # @return [Boolean, nil]
31
+ attr_accessor :is_signed
32
+
29
33
  # Attribute mapping from ruby-style variable name to JSON key.
30
34
  def self.attribute_map
31
35
  {
32
36
  :'type' => :'type',
33
- :'value' => :'value'
37
+ :'value' => :'value',
38
+ :'is_signed' => :'is_signed'
34
39
  }
35
40
  end
36
41
 
@@ -43,13 +48,15 @@ module Dropbox::Sign
43
48
  def self.openapi_types
44
49
  {
45
50
  :'type' => :'String',
46
- :'value' => :'String'
51
+ :'value' => :'String',
52
+ :'is_signed' => :'Boolean'
47
53
  }
48
54
  end
49
55
 
50
56
  # List of attributes with nullable: true
51
57
  def self.openapi_nullable
52
58
  Set.new([
59
+ :'is_signed'
53
60
  ])
54
61
  end
55
62
 
@@ -105,6 +112,10 @@ module Dropbox::Sign
105
112
  if attributes.key?(:'value')
106
113
  self.value = attributes[:'value']
107
114
  end
115
+
116
+ if attributes.key?(:'is_signed')
117
+ self.is_signed = attributes[:'is_signed']
118
+ end
108
119
  end
109
120
 
110
121
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -126,7 +137,8 @@ module Dropbox::Sign
126
137
  return true if self.equal?(o)
127
138
  self.class == o.class &&
128
139
  type == o.type &&
129
- value == o.value && super(o)
140
+ value == o.value &&
141
+ is_signed == o.is_signed && super(o)
130
142
  end
131
143
 
132
144
  # @see the `==` method
@@ -138,7 +150,7 @@ module Dropbox::Sign
138
150
  # Calculates hash code according to all attributes.
139
151
  # @return [Integer] Hash code
140
152
  def hash
141
- [type, value].hash
153
+ [type, value, is_signed].hash
142
154
  end
143
155
 
144
156
  # Builds the object from hash
@@ -26,11 +26,16 @@ module Dropbox::Sign
26
26
  # @return [String]
27
27
  attr_accessor :value
28
28
 
29
+ # This field contains the boolean true if the field is signed.
30
+ # @return [Boolean, nil]
31
+ attr_accessor :is_signed
32
+
29
33
  # Attribute mapping from ruby-style variable name to JSON key.
30
34
  def self.attribute_map
31
35
  {
32
36
  :'type' => :'type',
33
- :'value' => :'value'
37
+ :'value' => :'value',
38
+ :'is_signed' => :'is_signed'
34
39
  }
35
40
  end
36
41
 
@@ -43,13 +48,15 @@ module Dropbox::Sign
43
48
  def self.openapi_types
44
49
  {
45
50
  :'type' => :'String',
46
- :'value' => :'String'
51
+ :'value' => :'String',
52
+ :'is_signed' => :'Boolean'
47
53
  }
48
54
  end
49
55
 
50
56
  # List of attributes with nullable: true
51
57
  def self.openapi_nullable
52
58
  Set.new([
59
+ :'is_signed'
53
60
  ])
54
61
  end
55
62
 
@@ -105,6 +112,10 @@ module Dropbox::Sign
105
112
  if attributes.key?(:'value')
106
113
  self.value = attributes[:'value']
107
114
  end
115
+
116
+ if attributes.key?(:'is_signed')
117
+ self.is_signed = attributes[:'is_signed']
118
+ end
108
119
  end
109
120
 
110
121
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -126,7 +137,8 @@ module Dropbox::Sign
126
137
  return true if self.equal?(o)
127
138
  self.class == o.class &&
128
139
  type == o.type &&
129
- value == o.value && super(o)
140
+ value == o.value &&
141
+ is_signed == o.is_signed && super(o)
130
142
  end
131
143
 
132
144
  # @see the `==` method
@@ -138,7 +150,7 @@ module Dropbox::Sign
138
150
  # Calculates hash code according to all attributes.
139
151
  # @return [Integer] Hash code
140
152
  def hash
141
- [type, value].hash
153
+ [type, value, is_signed].hash
142
154
  end
143
155
 
144
156
  # Builds the object from hash
@@ -52,7 +52,7 @@ module Dropbox::Sign
52
52
  attr_accessor :is_locked
53
53
 
54
54
  # The metadata attached to the template.
55
- # @return [Object]
55
+ # @return [Hash<String, Object>]
56
56
  attr_accessor :metadata
57
57
 
58
58
  # An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.
@@ -121,7 +121,7 @@ module Dropbox::Sign
121
121
  :'is_creator' => :'Boolean',
122
122
  :'can_edit' => :'Boolean',
123
123
  :'is_locked' => :'Boolean',
124
- :'metadata' => :'Object',
124
+ :'metadata' => :'Hash<String, Object>',
125
125
  :'signer_roles' => :'Array<TemplateResponseSignerRole>',
126
126
  :'cc_roles' => :'Array<TemplateResponseCCRole>',
127
127
  :'documents' => :'Array<TemplateResponseDocument>',
@@ -214,7 +214,9 @@ module Dropbox::Sign
214
214
  end
215
215
 
216
216
  if attributes.key?(:'metadata')
217
- self.metadata = attributes[:'metadata']
217
+ if (value = attributes[:'metadata']).is_a?(Hash)
218
+ self.metadata = value
219
+ end
218
220
  end
219
221
 
220
222
  if attributes.key?(:'signer_roles')
@@ -14,5 +14,5 @@ module Dropbox
14
14
  end
15
15
 
16
16
  module Dropbox::Sign
17
- VERSION = '1.7.0'
17
+ VERSION = '1.8.0'
18
18
  end
data/openapi-config.yaml CHANGED
@@ -9,7 +9,7 @@ additionalProperties:
9
9
  gemName: dropbox-sign
10
10
  gemRequiredRubyVersion: '>= 2.7'
11
11
  moduleName: "Dropbox::Sign"
12
- gemVersion: 1.7.0
12
+ gemVersion: 1.8.0
13
13
  sortModelPropertiesByRequiredFlag: true
14
14
  legacyDiscriminatorBehavior: true
15
15
  gitUserId: hellosign
data/openapi-sdk.yaml CHANGED
@@ -11173,6 +11173,10 @@ components:
11173
11173
  bulk_send_job_id:
11174
11174
  description: 'The id of the BulkSendJob.'
11175
11175
  type: string
11176
+ metadata:
11177
+ description: 'The metadata attached to the signature request.'
11178
+ type: object
11179
+ additionalProperties: {}
11176
11180
  x-internal-class: true
11177
11181
  EmbeddedEditUrlResponseEmbedded:
11178
11182
  description: 'An embedded template object.'
@@ -11217,13 +11221,11 @@ components:
11217
11221
  - fax_id
11218
11222
  - title
11219
11223
  - original_title
11220
- - subject
11221
- - message
11222
11224
  - metadata
11223
11225
  - created_at
11224
11226
  - sender
11225
- - transmissions
11226
11227
  - files_url
11228
+ - transmissions
11227
11229
  properties:
11228
11230
  fax_id:
11229
11231
  description: 'Fax ID'
@@ -11237,9 +11239,11 @@ components:
11237
11239
  subject:
11238
11240
  description: 'Fax Subject'
11239
11241
  type: string
11242
+ nullable: true
11240
11243
  message:
11241
11244
  description: 'Fax Message'
11242
11245
  type: string
11246
+ nullable: true
11243
11247
  metadata:
11244
11248
  description: 'Fax Metadata'
11245
11249
  type: object
@@ -11250,14 +11254,18 @@ components:
11250
11254
  sender:
11251
11255
  description: 'Fax Sender Email'
11252
11256
  type: string
11257
+ files_url:
11258
+ description: 'Fax Files URL'
11259
+ type: string
11260
+ final_copy_uri:
11261
+ description: 'The path where the completed document can be downloaded'
11262
+ type: string
11263
+ nullable: true
11253
11264
  transmissions:
11254
11265
  description: 'Fax Transmissions List'
11255
11266
  type: array
11256
11267
  items:
11257
11268
  $ref: '#/components/schemas/FaxResponseTransmission'
11258
- files_url:
11259
- description: 'Fax Files URL'
11260
- type: string
11261
11269
  type: object
11262
11270
  x-internal-class: true
11263
11271
  FaxLineResponseFaxLine:
@@ -11280,15 +11288,11 @@ components:
11280
11288
  FaxResponseTransmission:
11281
11289
  required:
11282
11290
  - recipient
11283
- - sender
11284
11291
  - status_code
11285
11292
  properties:
11286
11293
  recipient:
11287
11294
  description: 'Fax Transmission Recipient'
11288
11295
  type: string
11289
- sender:
11290
- description: 'Fax Transmission Sender'
11291
- type: string
11292
11296
  status_code:
11293
11297
  description: 'Fax Transmission Status Code'
11294
11298
  type: string
@@ -11352,13 +11356,13 @@ components:
11352
11356
  description: 'Whether this is a test signature request. Test requests have no legal value. Defaults to `false`.'
11353
11357
  type: boolean
11354
11358
  default: false
11355
- nullable: true
11356
11359
  signature_request_id:
11357
11360
  description: 'The id of the SignatureRequest.'
11358
11361
  type: string
11359
11362
  requester_email_address:
11360
11363
  description: 'The email address of the initiator of the SignatureRequest.'
11361
11364
  type: string
11365
+ nullable: true
11362
11366
  title:
11363
11367
  description: 'The title the specified Account uses for the SignatureRequest.'
11364
11368
  type: string
@@ -11376,12 +11380,14 @@ components:
11376
11380
  metadata:
11377
11381
  description: 'The metadata attached to the signature request.'
11378
11382
  type: object
11383
+ additionalProperties: {}
11379
11384
  created_at:
11380
11385
  description: 'Time the signature request was created.'
11381
11386
  type: integer
11382
11387
  expires_at:
11383
11388
  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.'
11384
11389
  type: integer
11390
+ nullable: true
11385
11391
  is_complete:
11386
11392
  description: 'Whether or not the SignatureRequest has been fully executed by all signers.'
11387
11393
  type: boolean
@@ -11509,6 +11515,7 @@ components:
11509
11515
  editor:
11510
11516
  description: 'The name of the Role that is able to edit this field.'
11511
11517
  type: string
11518
+ nullable: true
11512
11519
  type: object
11513
11520
  discriminator:
11514
11521
  propertyName: type
@@ -11519,13 +11526,12 @@ components:
11519
11526
  x-base-class: true
11520
11527
  SignatureRequestResponseCustomFieldCheckbox:
11521
11528
  description: 'This class extends `SignatureRequestResponseCustomFieldBase`.'
11529
+ required:
11530
+ - type
11522
11531
  allOf:
11523
11532
  -
11524
11533
  $ref: '#/components/schemas/SignatureRequestResponseCustomFieldBase'
11525
11534
  -
11526
- required:
11527
- - name
11528
- - type
11529
11535
  properties:
11530
11536
  type:
11531
11537
  description: 'The type of this Custom Field. Only ''text'' and ''checkbox'' are currently supported.'
@@ -11537,13 +11543,12 @@ components:
11537
11543
  type: object
11538
11544
  SignatureRequestResponseCustomFieldText:
11539
11545
  description: 'This class extends `SignatureRequestResponseCustomFieldBase`.'
11546
+ required:
11547
+ - type
11540
11548
  allOf:
11541
11549
  -
11542
11550
  $ref: '#/components/schemas/SignatureRequestResponseCustomFieldBase'
11543
11551
  -
11544
- required:
11545
- - name
11546
- - type
11547
11552
  properties:
11548
11553
  type:
11549
11554
  description: 'The type of this Custom Field. Only ''text'' and ''checkbox'' are currently supported.'
@@ -11671,6 +11676,10 @@ components:
11671
11676
  value:
11672
11677
  description: 'The value of the form field.'
11673
11678
  type: string
11679
+ is_signed:
11680
+ description: 'This field contains the boolean true if the field is signed.'
11681
+ type: boolean
11682
+ nullable: true
11674
11683
  type: object
11675
11684
  SignatureRequestResponseDataValueRadio:
11676
11685
  allOf:
@@ -11699,6 +11708,10 @@ components:
11699
11708
  value:
11700
11709
  description: 'The value of the form field.'
11701
11710
  type: string
11711
+ is_signed:
11712
+ description: 'This field contains the boolean true if the field is signed.'
11713
+ type: boolean
11714
+ nullable: true
11702
11715
  type: object
11703
11716
  SignatureRequestResponseDataValueText:
11704
11717
  allOf:
@@ -11936,6 +11949,7 @@ components:
11936
11949
  metadata:
11937
11950
  description: 'The metadata attached to the template.'
11938
11951
  type: object
11952
+ additionalProperties: {}
11939
11953
  signer_roles:
11940
11954
  description: 'An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.'
11941
11955
  type: array
@@ -24,6 +24,15 @@
24
24
  "custom_fields": [],
25
25
  "created_at": 0,
26
26
  "expires_at": 0,
27
+ "metadata": {
28
+ "metadata_name_1": "metadata_value_1",
29
+ "metadata_name_2": {
30
+ "metadata_name_2_a": "metadata_value_2_a"
31
+ },
32
+ "metadata_name_3": "metadata_value_3",
33
+ "custom_id": 1234,
34
+ "custom_text": "NDA #9"
35
+ },
27
36
  "response_data": [
28
37
  {
29
38
  "api_id": "80c678_1",
@@ -6,7 +6,15 @@
6
6
  "original_title": "example original title",
7
7
  "subject": "example subject",
8
8
  "message": "example message",
9
- "metadata": [],
9
+ "metadata": {
10
+ "metadata_name_1": "metadata_value_1",
11
+ "metadata_name_2": {
12
+ "metadata_name_2_a": "metadata_value_2_a"
13
+ },
14
+ "metadata_name_3": "metadata_value_3",
15
+ "custom_id": 1234,
16
+ "custom_text": "NDA #9"
17
+ },
10
18
  "created_at": 1726774555,
11
19
  "sender": "me@dropboxsign.com",
12
20
  "transmissions": [
@@ -13,7 +13,15 @@
13
13
  "original_title": "example original title",
14
14
  "subject": "example subject",
15
15
  "message": "example message",
16
- "metadata": [],
16
+ "metadata": {
17
+ "metadata_name_1": "metadata_value_1",
18
+ "metadata_name_2": {
19
+ "metadata_name_2_a": "metadata_value_2_a"
20
+ },
21
+ "metadata_name_3": "metadata_value_3",
22
+ "custom_id": 1234,
23
+ "custom_text": "NDA #9"
24
+ },
17
25
  "created_at": 1726774555,
18
26
  "sender": "me@dropboxsign.com",
19
27
  "transmissions": [
@@ -18,7 +18,13 @@
18
18
  ],
19
19
  "message": "Glad we could come to an agreement.",
20
20
  "metadata": {
21
- "field1": "value1"
21
+ "metadata_name_1": "metadata_value_1",
22
+ "metadata_name_2": {
23
+ "metadata_name_2_a": "metadata_value_2_a"
24
+ },
25
+ "metadata_name_3": "metadata_value_3",
26
+ "custom_id": 1234,
27
+ "custom_text": "NDA #9"
22
28
  },
23
29
  "signer_list": [
24
30
  {
@@ -17,7 +17,13 @@
17
17
  ],
18
18
  "message": "Glad we could come to an agreement.",
19
19
  "metadata": {
20
- "field1": "value1"
20
+ "metadata_name_1": "metadata_value_1",
21
+ "metadata_name_2": {
22
+ "metadata_name_2_a": "metadata_value_2_a"
23
+ },
24
+ "metadata_name_3": "metadata_value_3",
25
+ "custom_id": 1234,
26
+ "custom_text": "NDA #9"
21
27
  },
22
28
  "signer_list": [
23
29
  {
@@ -90,7 +90,13 @@
90
90
  "hide_text_tags": false,
91
91
  "message": "Please sign this NDA and then we can discuss more. Let me know if you have any questions.",
92
92
  "metadata": {
93
- "field1": "value1"
93
+ "metadata_name_1": "metadata_value_1",
94
+ "metadata_name_2": {
95
+ "metadata_name_2_a": "metadata_value_2_a"
96
+ },
97
+ "metadata_name_3": "metadata_value_3",
98
+ "custom_id": 1234,
99
+ "custom_text": "NDA #9"
94
100
  },
95
101
  "populate_auto_fill_fields": false,
96
102
  "signers": [
@@ -21,7 +21,13 @@
21
21
  ],
22
22
  "message": "Glad we could come to an agreement.",
23
23
  "metadata": {
24
- "field1": "value1"
24
+ "metadata_name_1": "metadata_value_1",
25
+ "metadata_name_2": {
26
+ "metadata_name_2_a": "metadata_value_2_a"
27
+ },
28
+ "metadata_name_3": "metadata_value_3",
29
+ "custom_id": 1234,
30
+ "custom_text": "NDA #9"
25
31
  },
26
32
  "populate_auto_fill_fields": false,
27
33
  "signers": [
@@ -6,7 +6,15 @@
6
6
  "original_title": "The NDA we talked about",
7
7
  "subject": "The NDA we talked about",
8
8
  "message": "Please sign this NDA and then we can discuss more. Let me know if you have any questions.",
9
- "metadata": {},
9
+ "metadata": {
10
+ "metadata_name_1": "metadata_value_1",
11
+ "metadata_name_2": {
12
+ "metadata_name_2_a": "metadata_value_2_a"
13
+ },
14
+ "metadata_name_3": "metadata_value_3",
15
+ "custom_id": 1234,
16
+ "custom_text": "NDA #9"
17
+ },
10
18
  "created_at": 1570471067,
11
19
  "is_complete": false,
12
20
  "is_declined": false,
@@ -91,6 +99,7 @@
91
99
  "required": true,
92
100
  "api_id": "initial__1",
93
101
  "value": "YM",
102
+ "is_signed": true,
94
103
  "signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
95
104
  },
96
105
  {
@@ -107,6 +116,7 @@
107
116
  "required": true,
108
117
  "api_id": "signature__1",
109
118
  "value": "John Doe",
119
+ "is_signed": true,
110
120
  "signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
111
121
  }
112
122
  ],
@@ -13,7 +13,15 @@
13
13
  "original_title": "FHA",
14
14
  "subject": "FHA",
15
15
  "message": "Let me know if you two have any questions.",
16
- "metadata": {},
16
+ "metadata": {
17
+ "metadata_name_1": "metadata_value_1",
18
+ "metadata_name_2": {
19
+ "metadata_name_2_a": "metadata_value_2_a"
20
+ },
21
+ "metadata_name_3": "metadata_value_3",
22
+ "custom_id": 1234,
23
+ "custom_text": "NDA #9"
24
+ },
17
25
  "created_at": 1570471067,
18
26
  "expires_at": 0,
19
27
  "is_complete": false,
@@ -192,6 +192,11 @@
192
192
  "is_eid": false,
193
193
  "message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
194
194
  "metadata": {
195
+ "metadata_name_1": "metadata_value_1",
196
+ "metadata_name_2": {
197
+ "metadata_name_2_a": "metadata_value_2_a"
198
+ },
199
+ "metadata_name_3": "metadata_value_3",
195
200
  "custom_id": 1234,
196
201
  "custom_text": "NDA #9"
197
202
  },
@@ -472,4 +477,3 @@
472
477
  "use_text_tags": true
473
478
  }
474
479
  }
475
-
@@ -20,7 +20,13 @@
20
20
  "is_eid": false,
21
21
  "message": "Glad we could come to an agreement.",
22
22
  "metadata": {
23
- "field1": "value1"
23
+ "metadata_name_1": "metadata_value_1",
24
+ "metadata_name_2": {
25
+ "metadata_name_2_a": "metadata_value_2_a"
26
+ },
27
+ "metadata_name_3": "metadata_value_3",
28
+ "custom_id": 1234,
29
+ "custom_text": "NDA #9"
24
30
  },
25
31
  "signers": [
26
32
  {
@@ -96,6 +96,11 @@
96
96
  ],
97
97
  "message": "For your approval",
98
98
  "metadata": {
99
+ "metadata_name_1": "metadata_value_1",
100
+ "metadata_name_2": {
101
+ "metadata_name_2_a": "metadata_value_2_a"
102
+ },
103
+ "metadata_name_3": "metadata_value_3",
99
104
  "custom_id": 1234,
100
105
  "custom_text": "NDA #9"
101
106
  },
@@ -96,6 +96,11 @@
96
96
  ],
97
97
  "message": "For your approval",
98
98
  "metadata": {
99
+ "metadata_name_1": "metadata_value_1",
100
+ "metadata_name_2": {
101
+ "metadata_name_2_a": "metadata_value_2_a"
102
+ },
103
+ "metadata_name_3": "metadata_value_3",
99
104
  "custom_id": 1234,
100
105
  "custom_text": "NDA #9"
101
106
  },
@@ -9,7 +9,15 @@
9
9
  "is_creator": true,
10
10
  "is_embedded": false,
11
11
  "is_locked": false,
12
- "metadata": {},
12
+ "metadata": {
13
+ "metadata_name_1": "metadata_value_1",
14
+ "metadata_name_2": {
15
+ "metadata_name_2_a": "metadata_value_2_a"
16
+ },
17
+ "metadata_name_3": "metadata_value_3",
18
+ "custom_id": 1234,
19
+ "custom_text": "NDA #9"
20
+ },
13
21
  "signer_roles": [
14
22
  {
15
23
  "name": "Outside Vendor",
@@ -16,7 +16,15 @@
16
16
  "is_creator": true,
17
17
  "is_embedded": false,
18
18
  "is_locked": false,
19
- "metadata": {},
19
+ "metadata": {
20
+ "metadata_name_1": "metadata_value_1",
21
+ "metadata_name_2": {
22
+ "metadata_name_2_a": "metadata_value_2_a"
23
+ },
24
+ "metadata_name_3": "metadata_value_3",
25
+ "custom_id": 1234,
26
+ "custom_text": "NDA #9"
27
+ },
20
28
  "signer_roles": [
21
29
  {
22
30
  "name": "Client",
@@ -99,6 +99,11 @@
99
99
  "is_for_embedded_signing": true,
100
100
  "message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
101
101
  "metadata": {
102
+ "metadata_name_1": "metadata_value_1",
103
+ "metadata_name_2": {
104
+ "metadata_name_2_a": "metadata_value_2_a"
105
+ },
106
+ "metadata_name_3": "metadata_value_3",
102
107
  "custom_id": 1234,
103
108
  "custom_text": "NDA #9"
104
109
  },
@@ -33,6 +33,11 @@
33
33
  "is_for_embedded_signing": true,
34
34
  "message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
35
35
  "metadata": {
36
+ "metadata_name_1": "metadata_value_1",
37
+ "metadata_name_2": {
38
+ "metadata_name_2_a": "metadata_value_2_a"
39
+ },
40
+ "metadata_name_3": "metadata_value_3",
36
41
  "custom_id": 1234,
37
42
  "custom_text": "NDA #9"
38
43
  },
@@ -88,6 +88,11 @@
88
88
  "hide_text_tags": true,
89
89
  "message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
90
90
  "metadata": {
91
+ "metadata_name_1": "metadata_value_1",
92
+ "metadata_name_2": {
93
+ "metadata_name_2_a": "metadata_value_2_a"
94
+ },
95
+ "metadata_name_3": "metadata_value_3",
91
96
  "custom_id": 1234,
92
97
  "custom_text": "NDA #9"
93
98
  },
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.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dropbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-29 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus