docusign_click 1.2.2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/docusign_click.gemspec +1 -1
  4. data/lib/docusign_click/api/accounts_api.rb +242 -188
  5. data/lib/docusign_click/client/api_client.rb +2 -2
  6. data/lib/docusign_click/client/api_error.rb +1 -1
  7. data/lib/docusign_click/configuration.rb +1 -1
  8. data/lib/docusign_click/models/bulk_clickwrap_request.rb +205 -0
  9. data/lib/docusign_click/models/clickwrap_agreements_response.rb +6 -6
  10. data/lib/docusign_click/models/clickwrap_delete_response.rb +7 -6
  11. data/lib/docusign_click/models/clickwrap_request.rb +16 -13
  12. data/lib/docusign_click/models/clickwrap_scheduled_reacceptance.rb +4 -4
  13. data/lib/docusign_click/models/clickwrap_transfer_request.rb +4 -3
  14. data/lib/docusign_click/models/clickwrap_version.rb +13 -12
  15. data/lib/docusign_click/models/clickwrap_version_delete_response.rb +15 -14
  16. data/lib/docusign_click/models/clickwrap_version_response.rb +18 -16
  17. data/lib/docusign_click/models/clickwrap_version_summary_response.rb +16 -15
  18. data/lib/docusign_click/models/clickwrap_versions_delete_response.rb +4 -4
  19. data/lib/docusign_click/models/clickwrap_versions_paged_response.rb +9 -8
  20. data/lib/docusign_click/models/clickwrap_versions_response.rb +6 -5
  21. data/lib/docusign_click/models/clickwraps_delete_response.rb +2 -2
  22. data/lib/docusign_click/models/data_field.rb +1 -1
  23. data/lib/docusign_click/models/display_settings.rb +20 -19
  24. data/lib/docusign_click/models/document.rb +10 -9
  25. data/lib/docusign_click/models/error_details.rb +4 -3
  26. data/lib/docusign_click/models/service_information.rb +7 -7
  27. data/lib/docusign_click/models/service_version.rb +3 -3
  28. data/lib/docusign_click/models/user_agreement_request.rb +19 -8
  29. data/lib/docusign_click/models/user_agreement_response.rb +43 -20
  30. data/lib/docusign_click/version.rb +2 -2
  31. data/lib/docusign_click.rb +2 -1
  32. metadata +3 -2
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -35,7 +35,7 @@ module DocuSign_Click
35
35
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
36
36
  def initialize(config = Configuration.default)
37
37
  @config = config
38
- @user_agent = "Swagger-Codegen/1.2.2/ruby"
38
+ @user_agent = "Swagger-Codegen/1.3.0/ruby"
39
39
  @default_headers = {
40
40
  'Content-Type' => "application/json",
41
41
  'User-Agent' => @user_agent
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -0,0 +1,205 @@
1
+ =begin
2
+ #DocuSign Click API
3
+
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module DocuSign_Click
15
+ # Data used to start a bulk agreements export.
16
+ class BulkClickwrapRequest
17
+ # The earliest date to return agreements from.
18
+ attr_accessor :from_date
19
+
20
+ # User agreement status. One of: - `agreed` - `declined`
21
+ attr_accessor :status
22
+
23
+ # The latest date to return agreements from.
24
+ attr_accessor :to_date
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'from_date' => :'fromDate',
30
+ :'status' => :'status',
31
+ :'to_date' => :'toDate'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ :'from_date' => :'Object',
39
+ :'status' => :'String',
40
+ :'to_date' => :'Object'
41
+ }
42
+ end
43
+
44
+ # Initializes the object
45
+ # @param [Hash] attributes Model attributes in the form of hash
46
+ def initialize(attributes = {})
47
+ return unless attributes.is_a?(Hash)
48
+
49
+ # convert string to symbol for hash key
50
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
51
+
52
+ if attributes.has_key?(:'fromDate')
53
+ self.from_date = attributes[:'fromDate']
54
+ end
55
+
56
+ if attributes.has_key?(:'status')
57
+ self.status = attributes[:'status']
58
+ end
59
+
60
+ if attributes.has_key?(:'toDate')
61
+ self.to_date = attributes[:'toDate']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ invalid_properties = Array.new
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ true
76
+ end
77
+
78
+ # Checks equality by comparing each attribute.
79
+ # @param [Object] Object to be compared
80
+ def ==(o)
81
+ return true if self.equal?(o)
82
+ self.class == o.class &&
83
+ from_date == o.from_date &&
84
+ status == o.status &&
85
+ to_date == o.to_date
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Fixnum] Hash code
96
+ def hash
97
+ [from_date, status, to_date].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def build_from_hash(attributes)
104
+ return nil unless attributes.is_a?(Hash)
105
+ self.class.swagger_types.each_pair do |key, type|
106
+ if type =~ /\AArray<(.*)>/i
107
+ # check to ensure the input is an array given that the attribute
108
+ # is documented as an array but the input is not
109
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
110
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
111
+ end
112
+ elsif !attributes[self.class.attribute_map[key]].nil?
113
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
114
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
115
+ end
116
+
117
+ self
118
+ end
119
+
120
+ # Deserializes the data based on type
121
+ # @param string type Data type
122
+ # @param string value Value to be deserialized
123
+ # @return [Object] Deserialized data
124
+ def _deserialize(type, value)
125
+ case type.to_sym
126
+ when :DateTime
127
+ DateTime.parse(value)
128
+ when :Date
129
+ Date.parse(value)
130
+ when :String
131
+ value.to_s
132
+ when :Integer
133
+ value.to_i
134
+ when :Float
135
+ value.to_f
136
+ when :BOOLEAN
137
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
138
+ true
139
+ else
140
+ false
141
+ end
142
+ when :Object
143
+ # generic object (usually a Hash), return directly
144
+ value
145
+ when /\AArray<(?<inner_type>.+)>\z/
146
+ inner_type = Regexp.last_match[:inner_type]
147
+ value.map { |v| _deserialize(inner_type, v) }
148
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
149
+ k_type = Regexp.last_match[:k_type]
150
+ v_type = Regexp.last_match[:v_type]
151
+ {}.tap do |hash|
152
+ value.each do |k, v|
153
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
154
+ end
155
+ end
156
+ else # model
157
+ temp_model = DocuSign_Click.const_get(type).new
158
+ temp_model.build_from_hash(value)
159
+ end
160
+ end
161
+
162
+ # Returns the string representation of the object
163
+ # @return [String] String presentation of the object
164
+ def to_s
165
+ to_hash.to_s
166
+ end
167
+
168
+ # to_body is an alias to to_hash (backward compatibility)
169
+ # @return [Hash] Returns the object in the form of hash
170
+ def to_body
171
+ to_hash
172
+ end
173
+
174
+ # Returns the object in the form of hash
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_hash
177
+ hash = {}
178
+ self.class.attribute_map.each_pair do |attr, param|
179
+ value = self.send(attr)
180
+ next if value.nil?
181
+ hash[param] = _to_hash(value)
182
+ end
183
+ hash
184
+ end
185
+
186
+ # Outputs non-array value in the form of hash
187
+ # For object, use to_hash. Otherwise, just return the value
188
+ # @param [Object] value Any valid value
189
+ # @return [Hash] Returns the value in the form of hash
190
+ def _to_hash(value)
191
+ if value.is_a?(Array)
192
+ value.compact.map { |v| _to_hash(v) }
193
+ elsif value.is_a?(Hash)
194
+ {}.tap do |hash|
195
+ value.each { |k, v| hash[k] = _to_hash(v) }
196
+ end
197
+ elsif value.respond_to? :to_hash
198
+ value.to_hash
199
+ else
200
+ value
201
+ end
202
+ end
203
+
204
+ end
205
+ end
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -13,19 +13,19 @@ require 'date'
13
13
 
14
14
  module DocuSign_Click
15
15
  class ClickwrapAgreementsResponse
16
- #
16
+ # User agreements from this datetime.
17
17
  attr_accessor :begin_created_on
18
18
 
19
- #
19
+ # Number of pages remaining in the response.
20
20
  attr_accessor :minimum_pages_remaining
21
21
 
22
- #
22
+ # The number of the current page.
23
23
  attr_accessor :page
24
24
 
25
- #
25
+ # The number of items per page.
26
26
  attr_accessor :page_size
27
27
 
28
- #
28
+ # An array of user agreements.
29
29
  attr_accessor :user_agreements
30
30
 
31
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -12,20 +12,21 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_Click
15
+ # The result of a clickwrap deletion request.
15
16
  class ClickwrapDeleteResponse
16
- #
17
+ # The ID of the clickwrap.
17
18
  attr_accessor :clickwrap_id
18
19
 
19
- #
20
+ # The name of the clickwrap.
20
21
  attr_accessor :clickwrap_name
21
22
 
22
- #
23
+ # A message describing the result of deletion request. One of: - `alreadyDeleted`: Clickwrap is already deleted. - `deletionSuccess`: Successfully deleted the clickwrap. - `deletionFailure`: Failed to delete the clickwrap. - `cannotDelete`: Active clickwrap version cannot be deleted.
23
24
  attr_accessor :deletion_message
24
25
 
25
- #
26
+ # **True** if the clickwrap was deleted successfully. **False** otherwise.
26
27
  attr_accessor :deletion_success
27
28
 
28
- #
29
+ # Clickwrap status. Possible values: - `active` - `inactive` - `deleted`
29
30
  attr_accessor :status
30
31
 
31
32
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -12,45 +12,48 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_Click
15
+ # Request body for working with clickwrap.
15
16
  class ClickwrapRequest
16
- #
17
+ # The name of the clickwrap. This field is required.
17
18
  attr_accessor :clickwrap_name
18
19
 
19
- #
20
+ # An array of data fields available to be inserted into the documents.
20
21
  attr_accessor :data_fields
21
22
 
23
+ # Display settings for the clickwrap. This object is required.
22
24
  attr_accessor :display_settings
23
25
 
24
- #
26
+ # An array of documents. This object is required.
25
27
  attr_accessor :documents
26
28
 
27
- #
29
+ # Specifies whether `scheduledReacceptance` and `scheduledDate` should be cleared. May be one of: - `\"scheduledReacceptance\"` - `\"scheduledDate\"` - `\"scheduledReacceptance,scheduledDate\"`
28
30
  attr_accessor :fields_to_null
29
31
 
30
- #
32
+ # Not used.
31
33
  attr_accessor :is_major_version
32
34
 
33
- #
35
+ # When **true,** indicates that the clickwrap is shared with one or more users in the account.
34
36
  attr_accessor :is_shared
35
37
 
36
- #
38
+ # Not used.
37
39
  attr_accessor :name
38
40
 
39
- #
41
+ # When **true,** requires signers who have previously agreed to this clickwrap to sign again. The version number is incremented.
40
42
  attr_accessor :require_reacceptance
41
43
 
42
- #
44
+ # The time and date when this clickwrap is activated.
43
45
  attr_accessor :scheduled_date
44
46
 
47
+ # Specifies the interval between reacceptances in days, weeks, months, or years.
45
48
  attr_accessor :scheduled_reacceptance
46
49
 
47
- #
50
+ # Clickwrap status. This property is read-only. Possible values: - `active` - `inactive` - `deleted`
48
51
  attr_accessor :status
49
52
 
50
- #
53
+ # Not used. To update the user ID of a clickwrap, use the [updateClickwrap](/docs/click-api/reference/accounts/clickwraps/updateclickwrap/) endpoint.
51
54
  attr_accessor :transfer_from_user_id
52
55
 
53
- #
56
+ # Not used. To update the user ID of a clickwrap, use the [updateClickwrap](/docs/click-api/reference/accounts/clickwraps/updateclickwrap/) endpoint.
54
57
  attr_accessor :transfer_to_user_id
55
58
 
56
59
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -13,13 +13,13 @@ require 'date'
13
13
 
14
14
  module DocuSign_Click
15
15
  class ClickwrapScheduledReacceptance
16
- #
16
+ # The time between recurrences specified in `recurrenceIntervalType` units. The minimum and maximum values depend on `recurrenceIntervalType`: - `days`: 1 - 365 - `weeks`: 1 - 52 - `months`: 1 - 12 - `years`: 1
17
17
  attr_accessor :recurrence_interval
18
18
 
19
- #
19
+ # The units of the `recurrenceInterval`. Must be one of: - `days` - `weeks` - `month` - `years`
20
20
  attr_accessor :recurrence_interval_type
21
21
 
22
- #
22
+ # The date when the recurrence interval starts.
23
23
  attr_accessor :start_date_time
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -12,11 +12,12 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_Click
15
+ # Data used to transfer a clickwrap from one user to another.
15
16
  class ClickwrapTransferRequest
16
- #
17
+ # ID of the user to transfer from. This property is required.
17
18
  attr_accessor :transfer_from_user_id
18
19
 
19
- #
20
+ # ID of the user to transfer to. This property is required.
20
21
  attr_accessor :transfer_to_user_id
21
22
 
22
23
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -13,39 +13,40 @@ require 'date'
13
13
 
14
14
  module DocuSign_Click
15
15
  class ClickwrapVersion
16
- #
16
+ # The unique version ID, a GUID, of this clickwrap version.
17
17
  attr_accessor :clickwrap_version_id
18
18
 
19
- #
19
+ # The time that the clickwrap was created.
20
20
  attr_accessor :created_time
21
21
 
22
- #
22
+ # The list of all the data fields available for the clickwrap (custom fields and standard fields).
23
23
  attr_accessor :data_fields
24
24
 
25
- #
25
+ # The time that the clickwrap was last modified.
26
26
  attr_accessor :last_modified
27
27
 
28
- #
28
+ # The user ID of the last user who modified this clickwrap.
29
29
  attr_accessor :last_modified_by
30
30
 
31
- #
31
+ # The user ID of the owner of this clickwrap.
32
32
  attr_accessor :owner_user_id
33
33
 
34
- #
34
+ # When **true,** requires signers who have previously agreed to this clickwrap to sign again. The version number is incremented.
35
35
  attr_accessor :require_reacceptance
36
36
 
37
- #
37
+ # The time and date when this clickwrap is activated.
38
38
  attr_accessor :scheduled_date
39
39
 
40
+ # Specifies the interval between reacceptances in days, weeks, months, or years.
40
41
  attr_accessor :scheduled_reacceptance
41
42
 
42
- #
43
+ # Clickwrap status. Possible values: - `active` - `inactive` - `deleted`
43
44
  attr_accessor :status
44
45
 
45
- #
46
+ # The ID of the version.
46
47
  attr_accessor :version_id
47
48
 
48
- #
49
+ # Version of the clickwrap.
49
50
  attr_accessor :version_number
50
51
 
51
52
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -13,45 +13,46 @@ require 'date'
13
13
 
14
14
  module DocuSign_Click
15
15
  class ClickwrapVersionDeleteResponse
16
- #
16
+ # The unique version ID, a GUID, of this clickwrap version.
17
17
  attr_accessor :clickwrap_version_id
18
18
 
19
- #
19
+ # The time that the clickwrap was created.
20
20
  attr_accessor :created_time
21
21
 
22
- #
22
+ # The list of all the data fields available for the clickwrap (custom fields and standard fields).
23
23
  attr_accessor :data_fields
24
24
 
25
- #
25
+ # A message describing the result of deletion request. One of: - `alreadyDeleted`: Clickwrap is already deleted. - `deletionSuccess`: Successfully deleted the clickwrap. - `deletionFailure`: Failed to delete the clickwrap. - `cannotDelete`: Active clickwrap version cannot be deleted.
26
26
  attr_accessor :deletion_message
27
27
 
28
- #
28
+ # **True** if the clickwrap was deleted successfully. **False** otherwise.
29
29
  attr_accessor :deletion_success
30
30
 
31
- #
31
+ # The time that the clickwrap was last modified.
32
32
  attr_accessor :last_modified
33
33
 
34
- #
34
+ # The user ID of the last user who modified this clickwrap.
35
35
  attr_accessor :last_modified_by
36
36
 
37
- #
37
+ # The user ID of the owner of this clickwrap.
38
38
  attr_accessor :owner_user_id
39
39
 
40
- #
40
+ # When **true,** requires signers who have previously agreed to this clickwrap to sign again. The version number is incremented.
41
41
  attr_accessor :require_reacceptance
42
42
 
43
- #
43
+ # The time and date when this clickwrap is activated.
44
44
  attr_accessor :scheduled_date
45
45
 
46
+ # Specifies the interval between reacceptances in days, weeks, months, or years.
46
47
  attr_accessor :scheduled_reacceptance
47
48
 
48
- #
49
+ # Clickwrap status. Possible values: - `active` - `inactive` - `deleted`
49
50
  attr_accessor :status
50
51
 
51
- #
52
+ # The ID of the version.
52
53
  attr_accessor :version_id
53
54
 
54
- #
55
+ # Version of the clickwrap.
55
56
  attr_accessor :version_number
56
57
 
57
58
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #DocuSign Click API
3
3
 
4
- #DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.
4
+ #Elastic signing (also known as DocuSign Click) lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable elastic template solution in your DocuSign integrations.
5
5
 
6
6
  OpenAPI spec version: v1
7
7
  Contact: devcenter@docusign.com
@@ -13,53 +13,55 @@ require 'date'
13
13
 
14
14
  module DocuSign_Click
15
15
  class ClickwrapVersionResponse
16
- #
16
+ # The external account number (int) or account ID GUID.
17
17
  attr_accessor :account_id
18
18
 
19
- #
19
+ # The ID of the clickwrap.
20
20
  attr_accessor :clickwrap_id
21
21
 
22
- #
22
+ # The name of the clickwrap.
23
23
  attr_accessor :clickwrap_name
24
24
 
25
- #
25
+ # The unique version ID, a GUID, of this clickwrap version.
26
26
  attr_accessor :clickwrap_version_id
27
27
 
28
- #
28
+ # The time that the clickwrap was created.
29
29
  attr_accessor :created_time
30
30
 
31
- #
31
+ # The list of all the data fields available for the clickwrap (custom fields and standard fields).
32
32
  attr_accessor :data_fields
33
33
 
34
+ # Display settings for a clickwrap.
34
35
  attr_accessor :display_settings
35
36
 
36
- #
37
+ # An array of documents.
37
38
  attr_accessor :documents
38
39
 
39
- #
40
+ # The time that the clickwrap was last modified.
40
41
  attr_accessor :last_modified
41
42
 
42
- #
43
+ # The user ID of the last user who modified this clickwrap.
43
44
  attr_accessor :last_modified_by
44
45
 
45
- #
46
+ # The user ID of the owner of this clickwrap.
46
47
  attr_accessor :owner_user_id
47
48
 
48
- #
49
+ # When **true,** requires signers who have previously agreed to this clickwrap to sign again. The version number is incremented.
49
50
  attr_accessor :require_reacceptance
50
51
 
51
- #
52
+ # The time and date when this clickwrap is activated.
52
53
  attr_accessor :scheduled_date
53
54
 
55
+ # Specifies the interval between reacceptances in days, weeks, months, or years.
54
56
  attr_accessor :scheduled_reacceptance
55
57
 
56
- #
58
+ # Clickwrap status. Possible values: - `active` - `inactive` - `deleted`
57
59
  attr_accessor :status
58
60
 
59
- #
61
+ # The ID of the version.
60
62
  attr_accessor :version_id
61
63
 
62
- #
64
+ # Version of the clickwrap.
63
65
  attr_accessor :version_number
64
66
 
65
67
  # Attribute mapping from ruby-style variable name to JSON key.