signrequest_client 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/Document.md +1 -0
- data/docs/DocumentSignerTemplateConf.md +4 -4
- data/docs/DocumentSignrequest.md +1 -1
- data/docs/InlineDocumentSignerIntegrationData.md +1 -1
- data/docs/InlineIntegrationData.md +1 -1
- data/docs/InlineSignRequest.md +1 -1
- data/docs/SignRequest.md +2 -2
- data/docs/SignRequestQuickCreate.md +2 -2
- data/docs/Signer.md +4 -4
- data/lib/signrequest_client.rb +1 -1
- data/lib/signrequest_client/api/api_tokens_api.rb +1 -1
- data/lib/signrequest_client/api/document_attachments_api.rb +1 -1
- data/lib/signrequest_client/api/documents_api.rb +1 -1
- data/lib/signrequest_client/api/documents_search_api.rb +1 -1
- data/lib/signrequest_client/api/events_api.rb +1 -1
- data/lib/signrequest_client/api/signrequest_quick_create_api.rb +1 -1
- data/lib/signrequest_client/api/signrequests_api.rb +1 -1
- data/lib/signrequest_client/api/team_members_api.rb +1 -1
- data/lib/signrequest_client/api/teams_api.rb +1 -1
- data/lib/signrequest_client/api/templates_api.rb +1 -1
- data/lib/signrequest_client/api/webhooks_api.rb +1 -1
- data/lib/signrequest_client/api_client.rb +1 -1
- data/lib/signrequest_client/api_error.rb +1 -1
- data/lib/signrequest_client/configuration.rb +1 -1
- data/lib/signrequest_client/models/auth_token.rb +1 -1
- data/lib/signrequest_client/models/document.rb +15 -5
- data/lib/signrequest_client/models/document_attachment.rb +1 -1
- data/lib/signrequest_client/models/document_search.rb +1 -1
- data/lib/signrequest_client/models/document_signer_template_conf.rb +5 -1
- data/lib/signrequest_client/models/document_signing_log.rb +1 -1
- data/lib/signrequest_client/models/document_signrequest.rb +2 -17
- data/lib/signrequest_client/models/document_team.rb +1 -1
- data/lib/signrequest_client/models/event.rb +1 -1
- data/lib/signrequest_client/models/file_from_sf.rb +1 -1
- data/lib/signrequest_client/models/inline_document_signer_integration_data.rb +4 -4
- data/lib/signrequest_client/models/inline_integration_data.rb +4 -4
- data/lib/signrequest_client/models/inline_prefill_tags.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_1.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_2.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_3.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_4.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_5.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_6.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_7.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_8.rb +1 -1
- data/lib/signrequest_client/models/inline_response_200_9.rb +1 -1
- data/lib/signrequest_client/models/inline_response_201.rb +1 -1
- data/lib/signrequest_client/models/inline_response_201_1.rb +1 -1
- data/lib/signrequest_client/models/inline_sign_request.rb +2 -17
- data/lib/signrequest_client/models/inline_team.rb +1 -1
- data/lib/signrequest_client/models/inline_team_member.rb +1 -1
- data/lib/signrequest_client/models/invite_member.rb +1 -1
- data/lib/signrequest_client/models/placeholder.rb +1 -1
- data/lib/signrequest_client/models/required_attachment.rb +1 -1
- data/lib/signrequest_client/models/sign_request.rb +5 -5
- data/lib/signrequest_client/models/sign_request_quick_create.rb +5 -5
- data/lib/signrequest_client/models/signer.rb +5 -1
- data/lib/signrequest_client/models/signer_attachment.rb +1 -1
- data/lib/signrequest_client/models/signer_inputs.rb +1 -1
- data/lib/signrequest_client/models/signing_log.rb +1 -1
- data/lib/signrequest_client/models/team.rb +1 -1
- data/lib/signrequest_client/models/team_member.rb +1 -1
- data/lib/signrequest_client/models/template.rb +1 -1
- data/lib/signrequest_client/models/user.rb +1 -1
- data/lib/signrequest_client/models/webhook_subscription.rb +3 -3
- data/lib/signrequest_client/version.rb +2 -2
- data/signrequest_client.gemspec +1 -1
- metadata +3 -4
- data/signrequest_client-1.0.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0e9517ac15318e2f825bc34b8ec100c681960db8424fe8e5bdd8a63f07be142
|
4
|
+
data.tar.gz: 355903157f92265e0f79ca16f95cad1353c2514a7fc9701ea9d106744ab831bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 933010204662655e4126eb1bcb3759820fd5ce89e19d2484ea89757d76f46e562ca1f749785f3746c05179286f4aa7a7f2768128f01d5eacf892d10eac4b716f
|
7
|
+
data.tar.gz: f7c81ec8fda10af60a30ec2ccb6a888171f1f6a380777bea244d54223a59ae03e369d3bc85ddad4d15a4b47e4012226dc7495dc68ad2342c2c0fbf4532294082
|
data/README.md
CHANGED
data/docs/Document.md
CHANGED
@@ -32,5 +32,6 @@ Name | Type | Description | Notes
|
|
32
32
|
**auto_delete_after** | **DateTime** | Date and time calculated using `auto_delete_days` after which a finished document (signed/cancelled/declined) will be automatically deleted | [optional]
|
33
33
|
**sandbox** | **BOOLEAN** | Indicates whether document was created as part of a sandbox team | [optional]
|
34
34
|
**auto_expire_after** | **DateTime** | Date and time calculated using `auto_expire_days` after which a non finished document will be automatically expired | [optional]
|
35
|
+
**processing** | **BOOLEAN** | Indicates whether a change to the document is processing and the PDF may be out of date. It is recommended to wait until processing has finished before downloading the PDF. Webhooks are not sent until processing has been completed. | [optional]
|
35
36
|
|
36
37
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**signer_index** | **Integer** | | [optional]
|
7
|
-
**needs_to_sign** | **BOOLEAN** |
|
8
|
-
**approve_only** | **BOOLEAN** |
|
9
|
-
**notify_only** | **BOOLEAN** |
|
10
|
-
**in_person** | **BOOLEAN** |
|
7
|
+
**needs_to_sign** | **BOOLEAN** | When `false` user does not need to sign, but will receive a copy of the signed document and signing log, see: [Copy only](#section/Additional-signing-methods/Copy-only) | [optional]
|
8
|
+
**approve_only** | **BOOLEAN** | Require user to approve the document (without adding a signature), see: [Approve only](#section/Additional-signing-methods/Approve-only) | [optional]
|
9
|
+
**notify_only** | **BOOLEAN** | Send notifications about the document and a copy of the signed document and signing log, but don't require them to take any action, see: [Notify only](#section/Additional-signing-methods/Notify-only) | [optional]
|
10
|
+
**in_person** | **BOOLEAN** | When used in combination with an embed url on the sender, after sender has signed, they will be redirected to the next `in_person` signer, see: [In person signing](#section/Additional-signing-methods/In-person-signing) | [optional]
|
11
11
|
**order** | **Integer** | | [optional]
|
12
12
|
**placeholders** | [**Array<Placeholder>**](Placeholder.md) | | [optional]
|
13
13
|
|
data/docs/DocumentSignrequest.md
CHANGED
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
|
|
21
21
|
**subject** | **String** | Subject of SignRequest email | [optional]
|
22
22
|
**message** | **String** | Message to include in SignRequest email, may contain the following html tags: `a`, `abbr`, `acronym`, `b`, `blockquote`, `code`, `em`, `i`, `ul`, `li`, `ol`, and `strong` | [optional]
|
23
23
|
**who** | **String** | `m`: only me, `mo`: me and others, `o`: only others | [optional]
|
24
|
-
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document | [optional]
|
24
|
+
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document, see: [automatic reminders](#section/Working-with-a-SignRequest/Automatic-reminders) | [optional]
|
25
25
|
**signers** | [**Array<Signer>**](Signer.md) | | [optional]
|
26
26
|
**uuid** | **String** | | [optional]
|
27
27
|
|
data/docs/InlineSignRequest.md
CHANGED
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
|
|
21
21
|
**subject** | **String** | Subject of SignRequest email | [optional]
|
22
22
|
**message** | **String** | Message to include in SignRequest email, may contain the following html tags: `a`, `abbr`, `acronym`, `b`, `blockquote`, `code`, `em`, `i`, `ul`, `li`, `ol`, and `strong` | [optional]
|
23
23
|
**who** | **String** | `m`: only me, `mo`: me and others, `o`: only others | [optional]
|
24
|
-
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document | [optional]
|
24
|
+
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document, see: [automatic reminders](#section/Working-with-a-SignRequest/Automatic-reminders) | [optional]
|
25
25
|
**signers** | [**Array<Signer>**](Signer.md) | | [optional]
|
26
26
|
**uuid** | **String** | | [optional]
|
27
27
|
|
data/docs/SignRequest.md
CHANGED
@@ -21,12 +21,12 @@ Name | Type | Description | Notes
|
|
21
21
|
**subject** | **String** | Subject of SignRequest email | [optional]
|
22
22
|
**message** | **String** | Message to include in SignRequest email, may contain the following html tags: `a`, `abbr`, `acronym`, `b`, `blockquote`, `code`, `em`, `i`, `ul`, `li`, `ol`, and `strong` | [optional]
|
23
23
|
**who** | **String** | `m`: only me, `mo`: me and others, `o`: only others | [optional] [default to 'o']
|
24
|
-
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document | [optional]
|
24
|
+
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document, see: [automatic reminders](#section/Working-with-a-SignRequest/Automatic-reminders) | [optional]
|
25
25
|
**signers** | [**Array<Signer>**](Signer.md) | |
|
26
26
|
**uuid** | **String** | | [optional]
|
27
27
|
**url** | **String** | | [optional]
|
28
28
|
**document** | **String** | |
|
29
29
|
**integration** | **String** | | [optional]
|
30
|
-
**integration_data** | **
|
30
|
+
**integration_data** | **Object** | | [optional]
|
31
31
|
|
32
32
|
|
@@ -21,13 +21,13 @@ Name | Type | Description | Notes
|
|
21
21
|
**subject** | **String** | Subject of SignRequest email | [optional]
|
22
22
|
**message** | **String** | Message to include in SignRequest email, may contain the following html tags: `a`, `abbr`, `acronym`, `b`, `blockquote`, `code`, `em`, `i`, `ul`, `li`, `ol`, and `strong` | [optional]
|
23
23
|
**who** | **String** | `m`: only me, `mo`: me and others, `o`: only others | [optional] [default to 'o']
|
24
|
-
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document | [optional]
|
24
|
+
**send_reminders** | **BOOLEAN** | Automatically remind signers to sign a document, see: [automatic reminders](#section/Working-with-a-SignRequest/Automatic-reminders) | [optional]
|
25
25
|
**signers** | [**Array<Signer>**](Signer.md) | |
|
26
26
|
**uuid** | **String** | | [optional]
|
27
27
|
**url** | **String** | | [optional]
|
28
28
|
**document** | **String** | | [optional]
|
29
29
|
**integration** | **String** | | [optional]
|
30
|
-
**integration_data** | **
|
30
|
+
**integration_data** | **Object** | | [optional]
|
31
31
|
**name** | **String** | Defaults to filename, including extension | [optional]
|
32
32
|
**external_id** | **String** | ID used to reference document in external system | [optional]
|
33
33
|
**frontend_id** | **String** | Shared secret used in conjunction with <a href=\"#section/Frontend-API/SignRequest-js-client-(beta)\">SignRequest-js client</a> to grant user access to a document that's not a member of the document's team | [optional]
|
data/docs/Signer.md
CHANGED
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
|
|
12
12
|
**signed** | **BOOLEAN** | | [optional]
|
13
13
|
**downloaded** | **BOOLEAN** | | [optional]
|
14
14
|
**signed_on** | **DateTime** | | [optional]
|
15
|
-
**needs_to_sign** | **BOOLEAN** |
|
16
|
-
**approve_only** | **BOOLEAN** |
|
17
|
-
**notify_only** | **BOOLEAN** |
|
18
|
-
**in_person** | **BOOLEAN** |
|
15
|
+
**needs_to_sign** | **BOOLEAN** | When `false` user does not need to sign, but will receive a copy of the signed document and signing log, see: [Copy only](#section/Additional-signing-methods/Copy-only) | [optional] [default to true]
|
16
|
+
**approve_only** | **BOOLEAN** | Require user to approve the document (without adding a signature), see: [Approve only](#section/Additional-signing-methods/Approve-only) | [optional]
|
17
|
+
**notify_only** | **BOOLEAN** | Send notifications about the document and a copy of the signed document and signing log, but don't require them to take any action, see: [Notify only](#section/Additional-signing-methods/Notify-only) | [optional]
|
18
|
+
**in_person** | **BOOLEAN** | When used in combination with an embed url on the sender, after sender has signed, they will be redirected to the next `in_person` signer, see: [In person signing](#section/Additional-signing-methods/In-person-signing) | [optional]
|
19
19
|
**order** | **Integer** | | [optional]
|
20
20
|
**language** | **String** | | [optional]
|
21
21
|
**force_language** | **BOOLEAN** | | [optional]
|
data/lib/signrequest_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -91,6 +91,9 @@ module SignRequestClient
|
|
91
91
|
# Date and time calculated using `auto_expire_days` after which a non finished document will be automatically expired
|
92
92
|
attr_accessor :auto_expire_after
|
93
93
|
|
94
|
+
# Indicates whether a change to the document is processing and the PDF may be out of date. It is recommended to wait until processing has finished before downloading the PDF. Webhooks are not sent until processing has been completed.
|
95
|
+
attr_accessor :processing
|
96
|
+
|
94
97
|
class EnumAttributeValidator
|
95
98
|
attr_reader :datatype
|
96
99
|
attr_reader :allowable_values
|
@@ -144,7 +147,8 @@ module SignRequestClient
|
|
144
147
|
:'attachments' => :'attachments',
|
145
148
|
:'auto_delete_after' => :'auto_delete_after',
|
146
149
|
:'sandbox' => :'sandbox',
|
147
|
-
:'auto_expire_after' => :'auto_expire_after'
|
150
|
+
:'auto_expire_after' => :'auto_expire_after',
|
151
|
+
:'processing' => :'processing'
|
148
152
|
}
|
149
153
|
end
|
150
154
|
|
@@ -179,7 +183,8 @@ module SignRequestClient
|
|
179
183
|
:'attachments' => :'Array<DocumentAttachment>',
|
180
184
|
:'auto_delete_after' => :'DateTime',
|
181
185
|
:'sandbox' => :'BOOLEAN',
|
182
|
-
:'auto_expire_after' => :'DateTime'
|
186
|
+
:'auto_expire_after' => :'DateTime',
|
187
|
+
:'processing' => :'BOOLEAN'
|
183
188
|
}
|
184
189
|
end
|
185
190
|
|
@@ -312,6 +317,10 @@ module SignRequestClient
|
|
312
317
|
if attributes.has_key?(:'auto_expire_after')
|
313
318
|
self.auto_expire_after = attributes[:'auto_expire_after']
|
314
319
|
end
|
320
|
+
|
321
|
+
if attributes.has_key?(:'processing')
|
322
|
+
self.processing = attributes[:'processing']
|
323
|
+
end
|
315
324
|
end
|
316
325
|
|
317
326
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -540,7 +549,8 @@ module SignRequestClient
|
|
540
549
|
attachments == o.attachments &&
|
541
550
|
auto_delete_after == o.auto_delete_after &&
|
542
551
|
sandbox == o.sandbox &&
|
543
|
-
auto_expire_after == o.auto_expire_after
|
552
|
+
auto_expire_after == o.auto_expire_after &&
|
553
|
+
processing == o.processing
|
544
554
|
end
|
545
555
|
|
546
556
|
# @see the `==` method
|
@@ -552,7 +562,7 @@ module SignRequestClient
|
|
552
562
|
# Calculates hash code according to all attributes.
|
553
563
|
# @return [Fixnum] Hash code
|
554
564
|
def hash
|
555
|
-
[url, team, uuid, user, file_as_pdf, name, external_id, frontend_id, file, file_from_url, events_callback_url, file_from_content, file_from_content_name, template, prefill_tags, integrations, file_from_sf, auto_delete_days, auto_expire_days, pdf, status, signrequest, api_used, signing_log, security_hash, attachments, auto_delete_after, sandbox, auto_expire_after].hash
|
565
|
+
[url, team, uuid, user, file_as_pdf, name, external_id, frontend_id, file, file_from_url, events_callback_url, file_from_content, file_from_content_name, template, prefill_tags, integrations, file_from_sf, auto_delete_days, auto_expire_days, pdf, status, signrequest, api_used, signing_log, security_hash, attachments, auto_delete_after, sandbox, auto_expire_after, processing].hash
|
556
566
|
end
|
557
567
|
|
558
568
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -16,12 +16,16 @@ module SignRequestClient
|
|
16
16
|
class DocumentSignerTemplateConf
|
17
17
|
attr_accessor :signer_index
|
18
18
|
|
19
|
+
# When `false` user does not need to sign, but will receive a copy of the signed document and signing log, see: [Copy only](#section/Additional-signing-methods/Copy-only)
|
19
20
|
attr_accessor :needs_to_sign
|
20
21
|
|
22
|
+
# Require user to approve the document (without adding a signature), see: [Approve only](#section/Additional-signing-methods/Approve-only)
|
21
23
|
attr_accessor :approve_only
|
22
24
|
|
25
|
+
# Send notifications about the document and a copy of the signed document and signing log, but don't require them to take any action, see: [Notify only](#section/Additional-signing-methods/Notify-only)
|
23
26
|
attr_accessor :notify_only
|
24
27
|
|
28
|
+
# When used in combination with an embed url on the sender, after sender has signed, they will be redirected to the next `in_person` signer, see: [In person signing](#section/Additional-signing-methods/In-person-signing)
|
25
29
|
attr_accessor :in_person
|
26
30
|
|
27
31
|
attr_accessor :order
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -66,7 +66,7 @@ module SignRequestClient
|
|
66
66
|
# `m`: only me, `mo`: me and others, `o`: only others
|
67
67
|
attr_accessor :who
|
68
68
|
|
69
|
-
# Automatically remind signers to sign a document
|
69
|
+
# Automatically remind signers to sign a document, see: [automatic reminders](#section/Working-with-a-SignRequest/Automatic-reminders)
|
70
70
|
attr_accessor :send_reminders
|
71
71
|
|
72
72
|
attr_accessor :signers
|
@@ -250,10 +250,6 @@ module SignRequestClient
|
|
250
250
|
# @return Array for valid properties with the reasons
|
251
251
|
def list_invalid_properties
|
252
252
|
invalid_properties = Array.new
|
253
|
-
if !@from_email.nil? && @from_email.to_s.length < 1
|
254
|
-
invalid_properties.push('invalid value for "from_email", the character length must be great than or equal to 1.')
|
255
|
-
end
|
256
|
-
|
257
253
|
if !@from_email_name.nil? && @from_email_name.to_s.length < 1
|
258
254
|
invalid_properties.push('invalid value for "from_email_name", the character length must be great than or equal to 1.')
|
259
255
|
end
|
@@ -288,7 +284,6 @@ module SignRequestClient
|
|
288
284
|
# Check to see if the all the properties in the model are valid
|
289
285
|
# @return true if the model is valid
|
290
286
|
def valid?
|
291
|
-
return false if !@from_email.nil? && @from_email.to_s.length < 1
|
292
287
|
return false if !@from_email_name.nil? && @from_email_name.to_s.length < 1
|
293
288
|
return false if !@prepare_url.nil? && @prepare_url.to_s.length < 1
|
294
289
|
return false if !@redirect_url.nil? && @redirect_url.to_s.length < 1
|
@@ -301,16 +296,6 @@ module SignRequestClient
|
|
301
296
|
true
|
302
297
|
end
|
303
298
|
|
304
|
-
# Custom attribute writer method with validation
|
305
|
-
# @param [Object] from_email Value to be assigned
|
306
|
-
def from_email=(from_email)
|
307
|
-
if !from_email.nil? && from_email.to_s.length < 1
|
308
|
-
fail ArgumentError, 'invalid value for "from_email", the character length must be great than or equal to 1.'
|
309
|
-
end
|
310
|
-
|
311
|
-
@from_email = from_email
|
312
|
-
end
|
313
|
-
|
314
299
|
# Custom attribute writer method with validation
|
315
300
|
# @param [Object] from_email_name Value to be assigned
|
316
301
|
def from_email_name=(from_email_name)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -52,7 +52,7 @@ module SignRequestClient
|
|
52
52
|
def self.swagger_types
|
53
53
|
{
|
54
54
|
:'integration' => :'String',
|
55
|
-
:'integration_data' => :'
|
55
|
+
:'integration_data' => :'Object'
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
@@ -83,7 +83,7 @@ module SignRequestClient
|
|
83
83
|
# Check to see if the all the properties in the model are valid
|
84
84
|
# @return true if the model is valid
|
85
85
|
def valid?
|
86
|
-
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
86
|
+
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
87
87
|
return false unless integration_validator.valid?(@integration)
|
88
88
|
true
|
89
89
|
end
|
@@ -91,7 +91,7 @@ module SignRequestClient
|
|
91
91
|
# Custom attribute writer method checking allowed values (enum).
|
92
92
|
# @param [Object] integration Object to be assigned
|
93
93
|
def integration=(integration)
|
94
|
-
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
94
|
+
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
95
95
|
unless validator.valid?(integration)
|
96
96
|
fail ArgumentError, 'invalid value for "integration", must be one of #{validator.allowable_values}.'
|
97
97
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -52,7 +52,7 @@ module SignRequestClient
|
|
52
52
|
def self.swagger_types
|
53
53
|
{
|
54
54
|
:'integration' => :'String',
|
55
|
-
:'integration_data' => :'
|
55
|
+
:'integration_data' => :'Object'
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
@@ -83,7 +83,7 @@ module SignRequestClient
|
|
83
83
|
# Check to see if the all the properties in the model are valid
|
84
84
|
# @return true if the model is valid
|
85
85
|
def valid?
|
86
|
-
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
86
|
+
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
87
87
|
return false unless integration_validator.valid?(@integration)
|
88
88
|
true
|
89
89
|
end
|
@@ -91,7 +91,7 @@ module SignRequestClient
|
|
91
91
|
# Custom attribute writer method checking allowed values (enum).
|
92
92
|
# @param [Object] integration Object to be assigned
|
93
93
|
def integration=(integration)
|
94
|
-
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
94
|
+
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
95
95
|
unless validator.valid?(integration)
|
96
96
|
fail ArgumentError, 'invalid value for "integration", must be one of #{validator.allowable_values}.'
|
97
97
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -66,7 +66,7 @@ module SignRequestClient
|
|
66
66
|
# `m`: only me, `mo`: me and others, `o`: only others
|
67
67
|
attr_accessor :who
|
68
68
|
|
69
|
-
# Automatically remind signers to sign a document
|
69
|
+
# Automatically remind signers to sign a document, see: [automatic reminders](#section/Working-with-a-SignRequest/Automatic-reminders)
|
70
70
|
attr_accessor :send_reminders
|
71
71
|
|
72
72
|
attr_accessor :signers
|
@@ -250,10 +250,6 @@ module SignRequestClient
|
|
250
250
|
# @return Array for valid properties with the reasons
|
251
251
|
def list_invalid_properties
|
252
252
|
invalid_properties = Array.new
|
253
|
-
if !@from_email.nil? && @from_email.to_s.length < 1
|
254
|
-
invalid_properties.push('invalid value for "from_email", the character length must be great than or equal to 1.')
|
255
|
-
end
|
256
|
-
|
257
253
|
if !@from_email_name.nil? && @from_email_name.to_s.length < 1
|
258
254
|
invalid_properties.push('invalid value for "from_email_name", the character length must be great than or equal to 1.')
|
259
255
|
end
|
@@ -288,7 +284,6 @@ module SignRequestClient
|
|
288
284
|
# Check to see if the all the properties in the model are valid
|
289
285
|
# @return true if the model is valid
|
290
286
|
def valid?
|
291
|
-
return false if !@from_email.nil? && @from_email.to_s.length < 1
|
292
287
|
return false if !@from_email_name.nil? && @from_email_name.to_s.length < 1
|
293
288
|
return false if !@prepare_url.nil? && @prepare_url.to_s.length < 1
|
294
289
|
return false if !@redirect_url.nil? && @redirect_url.to_s.length < 1
|
@@ -301,16 +296,6 @@ module SignRequestClient
|
|
301
296
|
true
|
302
297
|
end
|
303
298
|
|
304
|
-
# Custom attribute writer method with validation
|
305
|
-
# @param [Object] from_email Value to be assigned
|
306
|
-
def from_email=(from_email)
|
307
|
-
if !from_email.nil? && from_email.to_s.length < 1
|
308
|
-
fail ArgumentError, 'invalid value for "from_email", the character length must be great than or equal to 1.'
|
309
|
-
end
|
310
|
-
|
311
|
-
@from_email = from_email
|
312
|
-
end
|
313
|
-
|
314
299
|
# Custom attribute writer method with validation
|
315
300
|
# @param [Object] from_email_name Value to be assigned
|
316
301
|
def from_email_name=(from_email_name)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -67,7 +67,7 @@ module SignRequestClient
|
|
67
67
|
# `m`: only me, `mo`: me and others, `o`: only others
|
68
68
|
attr_accessor :who
|
69
69
|
|
70
|
-
# Automatically remind signers to sign a document
|
70
|
+
# Automatically remind signers to sign a document, see: [automatic reminders](#section/Working-with-a-SignRequest/Automatic-reminders)
|
71
71
|
attr_accessor :send_reminders
|
72
72
|
|
73
73
|
attr_accessor :signers
|
@@ -162,7 +162,7 @@ module SignRequestClient
|
|
162
162
|
:'url' => :'String',
|
163
163
|
:'document' => :'String',
|
164
164
|
:'integration' => :'String',
|
165
|
-
:'integration_data' => :'
|
165
|
+
:'integration_data' => :'Object'
|
166
166
|
}
|
167
167
|
end
|
168
168
|
|
@@ -343,7 +343,7 @@ module SignRequestClient
|
|
343
343
|
return false if @signers.nil?
|
344
344
|
return false if !@uuid.nil? && @uuid.to_s.length < 1
|
345
345
|
return false if @document.nil?
|
346
|
-
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
346
|
+
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
347
347
|
return false unless integration_validator.valid?(@integration)
|
348
348
|
true
|
349
349
|
end
|
@@ -435,7 +435,7 @@ module SignRequestClient
|
|
435
435
|
# Custom attribute writer method checking allowed values (enum).
|
436
436
|
# @param [Object] integration Object to be assigned
|
437
437
|
def integration=(integration)
|
438
|
-
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
438
|
+
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
439
439
|
unless validator.valid?(integration)
|
440
440
|
fail ArgumentError, 'invalid value for "integration", must be one of #{validator.allowable_values}.'
|
441
441
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -67,7 +67,7 @@ module SignRequestClient
|
|
67
67
|
# `m`: only me, `mo`: me and others, `o`: only others
|
68
68
|
attr_accessor :who
|
69
69
|
|
70
|
-
# Automatically remind signers to sign a document
|
70
|
+
# Automatically remind signers to sign a document, see: [automatic reminders](#section/Working-with-a-SignRequest/Automatic-reminders)
|
71
71
|
attr_accessor :send_reminders
|
72
72
|
|
73
73
|
attr_accessor :signers
|
@@ -215,7 +215,7 @@ module SignRequestClient
|
|
215
215
|
:'url' => :'String',
|
216
216
|
:'document' => :'String',
|
217
217
|
:'integration' => :'String',
|
218
|
-
:'integration_data' => :'
|
218
|
+
:'integration_data' => :'Object',
|
219
219
|
:'name' => :'String',
|
220
220
|
:'external_id' => :'String',
|
221
221
|
:'frontend_id' => :'String',
|
@@ -501,7 +501,7 @@ module SignRequestClient
|
|
501
501
|
return false unless who_validator.valid?(@who)
|
502
502
|
return false if @signers.nil?
|
503
503
|
return false if !@uuid.nil? && @uuid.to_s.length < 1
|
504
|
-
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
504
|
+
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
505
505
|
return false unless integration_validator.valid?(@integration)
|
506
506
|
return false if !@name.nil? && @name.to_s.length > 255
|
507
507
|
return false if !@external_id.nil? && @external_id.to_s.length > 255
|
@@ -602,7 +602,7 @@ module SignRequestClient
|
|
602
602
|
# Custom attribute writer method checking allowed values (enum).
|
603
603
|
# @param [Object] integration Object to be assigned
|
604
604
|
def integration=(integration)
|
605
|
-
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
605
|
+
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
606
606
|
unless validator.valid?(integration)
|
607
607
|
fail ArgumentError, 'invalid value for "integration", must be one of #{validator.allowable_values}.'
|
608
608
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,12 +32,16 @@ module SignRequestClient
|
|
32
32
|
|
33
33
|
attr_accessor :signed_on
|
34
34
|
|
35
|
+
# When `false` user does not need to sign, but will receive a copy of the signed document and signing log, see: [Copy only](#section/Additional-signing-methods/Copy-only)
|
35
36
|
attr_accessor :needs_to_sign
|
36
37
|
|
38
|
+
# Require user to approve the document (without adding a signature), see: [Approve only](#section/Additional-signing-methods/Approve-only)
|
37
39
|
attr_accessor :approve_only
|
38
40
|
|
41
|
+
# Send notifications about the document and a copy of the signed document and signing log, but don't require them to take any action, see: [Notify only](#section/Additional-signing-methods/Notify-only)
|
39
42
|
attr_accessor :notify_only
|
40
43
|
|
44
|
+
# When used in combination with an embed url on the sender, after sender has signed, they will be redirected to the next `in_person` signer, see: [In person signing](#section/Additional-signing-methods/In-person-signing)
|
41
45
|
attr_accessor :in_person
|
42
46
|
|
43
47
|
attr_accessor :order
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -164,7 +164,7 @@ module SignRequestClient
|
|
164
164
|
return false if @callback_url.nil?
|
165
165
|
return false if @callback_url.to_s.length > 2100
|
166
166
|
return false if @callback_url.to_s.length < 1
|
167
|
-
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
167
|
+
integration_validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
168
168
|
return false unless integration_validator.valid?(@integration)
|
169
169
|
true
|
170
170
|
end
|
@@ -220,7 +220,7 @@ module SignRequestClient
|
|
220
220
|
# Custom attribute writer method checking allowed values (enum).
|
221
221
|
# @param [Object] integration Object to be assigned
|
222
222
|
def integration=(integration)
|
223
|
-
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'
|
223
|
+
validator = EnumAttributeValidator.new('String', ['mfiles', 'salesforce', 'formdesk', 'zapier'])
|
224
224
|
unless validator.valid?(integration)
|
225
225
|
fail ArgumentError, 'invalid value for "integration", must be one of #{validator.allowable_values}.'
|
226
226
|
end
|
@@ -6,10 +6,10 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
Contact: tech-support@signrequest.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.11
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module SignRequestClient
|
14
|
-
VERSION = '1.
|
14
|
+
VERSION = '1.2.0'
|
15
15
|
end
|
data/signrequest_client.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: signrequest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SignRequest
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -315,7 +315,6 @@ files:
|
|
315
315
|
- lib/signrequest_client/models/webhook_subscription.rb
|
316
316
|
- lib/signrequest_client/version.rb
|
317
317
|
- pkg/signrequest_client-0.1.0.gem
|
318
|
-
- signrequest_client-1.0.0.gem
|
319
318
|
- signrequest_client.gemspec
|
320
319
|
- spec/api/api_tokens_api_spec.rb
|
321
320
|
- spec/api/document_attachments_api_spec.rb
|
@@ -392,7 +391,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
392
391
|
- !ruby/object:Gem::Version
|
393
392
|
version: '0'
|
394
393
|
requirements: []
|
395
|
-
rubygems_version: 3.0.
|
394
|
+
rubygems_version: 3.0.6
|
396
395
|
signing_key:
|
397
396
|
specification_version: 4
|
398
397
|
summary: A ruby wrapper for the SignRequest API
|
Binary file
|