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
@@ -14,7 +14,7 @@ require "uri"
14
14
  module DocuSign_Click
15
15
 
16
16
  class DeleteClickwrapOptions
17
- #
17
+ # A comma-separated list of versions to delete.
18
18
  attr_accessor :versions
19
19
 
20
20
  def self.default
@@ -23,7 +23,7 @@ module DocuSign_Click
23
23
  end
24
24
 
25
25
  class DeleteClickwrapVersionsOptions
26
- #
26
+ # A comma-separated list of clickwrap version IDs to delete.
27
27
  attr_accessor :clickwrap_version_ids
28
28
 
29
29
  def self.default
@@ -32,7 +32,7 @@ module DocuSign_Click
32
32
  end
33
33
 
34
34
  class DeleteClickwrapsOptions
35
- #
35
+ # A comma-separated list of clickwrap IDs to delete.
36
36
  attr_accessor :clickwrap_ids
37
37
 
38
38
  def self.default
@@ -41,7 +41,7 @@ module DocuSign_Click
41
41
  end
42
42
 
43
43
  class GetAgreementPdfOptions
44
- #
44
+ # When **true,** the Certificate of Completion will be appended to the PDF. The default value is **false.**
45
45
  attr_accessor :include_coc
46
46
 
47
47
  def self.default
@@ -50,19 +50,19 @@ module DocuSign_Click
50
50
  end
51
51
 
52
52
  class GetClickwrapAgreementsOptions
53
- #
53
+ # The client user ID to filter to a single user's agreements.
54
54
  attr_accessor :client_user_id
55
55
 
56
- #
56
+ # The earliest date to return agreements from.
57
57
  attr_accessor :from_date
58
58
 
59
- #
59
+ # The results for this endpoint are paginated. Use this parameter to indicate which page to return. The `minimumPagesRemaining` value in the response indicates whether to continue querying for additional pages. For example, if the page size is 40: * If this property is set to 0 (the default), the endpoint returns results 1-40. * If this property is set to 1, the endpoint returns results 41-80. The default value is 0.
60
60
  attr_accessor :page_number
61
61
 
62
- #
62
+ # User agreement status. One of: - `created` - `agreed` - `declined`
63
63
  attr_accessor :status
64
64
 
65
- #
65
+ # The latest date to return agreements from.
66
66
  attr_accessor :to_date
67
67
 
68
68
  def self.default
@@ -71,19 +71,19 @@ module DocuSign_Click
71
71
  end
72
72
 
73
73
  class GetClickwrapVersionAgreementsOptions
74
- #
74
+ # The client user ID to filter to a single user's agreements.
75
75
  attr_accessor :client_user_id
76
76
 
77
- #
77
+ # The earliest date to return agreements from.
78
78
  attr_accessor :from_date
79
79
 
80
- #
80
+ # The results for this endpoint are paginated. Use this parameter to indicate which page to return. The `minimumPagesRemaining` value in the response indicates whether to continue querying for additional pages. For example, if the page size is 40: * If this property is set to 0 (the default), the endpoint returns results 1-40. * If this property is set to 1, the endpoint returns results 41-80. The default value is 0.
81
81
  attr_accessor :page_number
82
82
 
83
- #
83
+ # User agreement status. One of: - `created` - `agreed` - `declined`
84
84
  attr_accessor :status
85
85
 
86
- #
86
+ # The latest date to return agreements from.
87
87
  attr_accessor :to_date
88
88
 
89
89
  def self.default
@@ -92,25 +92,25 @@ module DocuSign_Click
92
92
  end
93
93
 
94
94
  class GetClickwrapsOptions
95
- #
95
+ # Names of columns by which to filter and values to match on.
96
96
  attr_accessor :filter
97
97
 
98
- #
98
+ # The earliest date to return clickwraps from.
99
99
  attr_accessor :from_date
100
100
 
101
- #
101
+ # The name of the clickwraps to return.
102
102
  attr_accessor :name
103
103
 
104
- #
104
+ # The user ID of the owner.
105
105
  attr_accessor :owner_user_id
106
106
 
107
- #
107
+ # The results for this endpoint are paginated. Use this parameter to indicate which page to return. The `minimumPagesRemaining` value in the response indicates whether to continue querying for additional pages. For example, if the page size is 40: * If this property is set to 0 (the default), the endpoint returns results 1-40. * If this property is set to 1, the endpoint returns results 41-80. The default value is 0.
108
108
  attr_accessor :page_number
109
109
 
110
- #
110
+ # The status of the clickwraps to filter by. One of: - `active` - `inactive`
111
111
  attr_accessor :status
112
112
 
113
- #
113
+ # The latest date to return clickwraps from.
114
114
  attr_accessor :to_date
115
115
 
116
116
  def self.default
@@ -126,20 +126,74 @@ module DocuSign_Click
126
126
  @api_client = api_client
127
127
  end
128
128
 
129
- # Creates a Clickwrap for the specified accountId
130
- #
131
- # @param account_id
132
- # @param clickwrap_request (optional parameter)
129
+ # Starts an export of clickwrap agreements for a specified date range.
130
+ # Starts an asynchronus process to export clickwrap agreements for a specified date range. An email will be sent to the creator after it has been processed. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`
131
+ # @param account_id The external account number (int) or account ID GUID.
132
+ # @param clickwrap_id The ID of the clickwrap.
133
+ # @param bulk_clickwrap_request Data used to start a bulk agreements export. (optional parameter)
134
+ # @return [nil]
135
+ def create_bulk_clickwrap_agreements(account_id, clickwrap_id, bulk_clickwrap_request)
136
+ create_bulk_clickwrap_agreements_with_http_info(account_id, clickwrap_id, bulk_clickwrap_request)
137
+ return nil
138
+ end
139
+
140
+ # Starts an export of clickwrap agreements for a specified date range.
141
+ # Starts an asynchronus process to export clickwrap agreements for a specified date range. An email will be sent to the creator after it has been processed. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`
142
+ # @param account_id The external account number (int) or account ID GUID.
143
+ # @param clickwrap_id The ID of the clickwrap.
144
+ # @param bulk_clickwrap_request Data used to start a bulk agreements export. (optional parameter)
145
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
146
+ def create_bulk_clickwrap_agreements_with_http_info(account_id, clickwrap_id, bulk_clickwrap_request)
147
+ if @api_client.config.debugging
148
+ @api_client.config.logger.debug "Calling API: AccountsApi.create_bulk_clickwrap_agreements ..."
149
+ end
150
+ # verify the required parameter 'account_id' is set
151
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.create_bulk_clickwrap_agreements" if account_id.nil?
152
+ # verify the required parameter 'clickwrap_id' is set
153
+ fail ArgumentError, "Missing the required parameter 'clickwrap_id' when calling AccountsApi.create_bulk_clickwrap_agreements" if clickwrap_id.nil?
154
+ # resource path
155
+ local_var_path = "/v1/accounts/{accountId}/clickwraps/{clickwrapId}/bulk_agreements".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'clickwrapId' + '}', clickwrap_id.to_s)
156
+
157
+ # query parameters
158
+ query_params = {}
159
+
160
+ # header parameters
161
+ header_params = {}
162
+ # HTTP header 'Accept' (if needed)
163
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
164
+
165
+ # form parameters
166
+ form_params = {}
167
+
168
+ # http body (model)
169
+ post_body = @api_client.object_to_http_body(bulk_clickwrap_request)
170
+ auth_names = []
171
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
172
+ :header_params => header_params,
173
+ :query_params => query_params,
174
+ :form_params => form_params,
175
+ :body => post_body,
176
+ :auth_names => auth_names)
177
+ if @api_client.config.debugging
178
+ @api_client.config.logger.debug "API called: AccountsApi#create_bulk_clickwrap_agreements\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
179
+ end
180
+ return data, status_code, headers
181
+ end
182
+
183
+ # Creates a clickwrap for an account.
184
+ # Creates a clickwrap for an account. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
185
+ # @param account_id The external account number (int) or account ID GUID.
186
+ # @param clickwrap_request Request body for working with clickwrap. (optional parameter)
133
187
  # @return [ClickwrapVersionSummaryResponse]
134
188
  def create_clickwrap(account_id, clickwrap_request)
135
189
  data, _status_code, _headers = create_clickwrap_with_http_info(account_id, clickwrap_request)
136
190
  return data
137
191
  end
138
192
 
139
- # Creates a Clickwrap for the specified accountId
140
- #
141
- # @param account_id
142
- # @param clickwrap_request (optional parameter)
193
+ # Creates a clickwrap for an account.
194
+ # Creates a clickwrap for an account. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
195
+ # @param account_id The external account number (int) or account ID GUID.
196
+ # @param clickwrap_request Request body for working with clickwrap. (optional parameter)
143
197
  # @return [Array<(ClickwrapVersionSummaryResponse, Fixnum, Hash)>] ClickwrapVersionSummaryResponse data, response status code and response headers
144
198
  def create_clickwrap_with_http_info(account_id, clickwrap_request)
145
199
  if @api_client.config.debugging
@@ -177,22 +231,22 @@ module DocuSign_Click
177
231
  return data, status_code, headers
178
232
  end
179
233
 
180
- # Creates the clickwrap version
181
- #
182
- # @param account_id
183
- # @param clickwrap_id
184
- # @param clickwrap_request (optional parameter)
234
+ # Creates a new clickwrap version.
235
+ # Creates a new version of an existing clickwrap. In a new version, you can replace the uploaded documents, change the display settings, and change the name of the clickwrap. The version number is automatically incremented based on the last version of the clickwrap. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
236
+ # @param account_id The external account number (int) or account ID GUID.
237
+ # @param clickwrap_id The ID of the clickwrap.
238
+ # @param clickwrap_request Request body for working with clickwrap. (optional parameter)
185
239
  # @return [ClickwrapVersionSummaryResponse]
186
240
  def create_clickwrap_version(account_id, clickwrap_id, clickwrap_request)
187
241
  data, _status_code, _headers = create_clickwrap_version_with_http_info(account_id, clickwrap_id, clickwrap_request)
188
242
  return data
189
243
  end
190
244
 
191
- # Creates the clickwrap version
192
- #
193
- # @param account_id
194
- # @param clickwrap_id
195
- # @param clickwrap_request (optional parameter)
245
+ # Creates a new clickwrap version.
246
+ # Creates a new version of an existing clickwrap. In a new version, you can replace the uploaded documents, change the display settings, and change the name of the clickwrap. The version number is automatically incremented based on the last version of the clickwrap. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
247
+ # @param account_id The external account number (int) or account ID GUID.
248
+ # @param clickwrap_id The ID of the clickwrap.
249
+ # @param clickwrap_request Request body for working with clickwrap. (optional parameter)
196
250
  # @return [Array<(ClickwrapVersionSummaryResponse, Fixnum, Hash)>] ClickwrapVersionSummaryResponse data, response status code and response headers
197
251
  def create_clickwrap_version_with_http_info(account_id, clickwrap_id, clickwrap_request)
198
252
  if @api_client.config.debugging
@@ -232,22 +286,22 @@ module DocuSign_Click
232
286
  return data, status_code, headers
233
287
  end
234
288
 
235
- # Checks if a user has agreed to a clickwrap and returns a response with the agreement url. Returns HttpStatusCode.OK if user has no pending agreement.
236
- #
237
- # @param account_id
238
- # @param clickwrap_id
239
- # @param user_agreement_request (optional parameter)
289
+ # Creates a unique URL for the agreement that you can embed in your application.
290
+ # Creates a unique URL for the agreement that you can embed in your application. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage` and `click.send`. The request must include at least the `clientUserId`. This is a value that you generate to identify the unique recipient of the agreement. If you are using a [dynamic content][] document, you can supply the values in the documentData property of the request, like this: ```json { \"clientUserId\": \"cl-bc7f-48a9\", \"documentData\": { \"fullName\": \"T. J. Fanning\", \"email\": \"tj@example.com\", \"company\": \"Fanning Indusdtries\", \"title\": \"Cat wrangler\", \"date\": \"2022-10-13T05:17:14-07:00\" } } ``` A response will look like this. The `agreementUrl` is unique to the user identified by the `clientUserId`. Your user can open the URL to approve the agreement. The `documentData` property appears only if you provided it in the request. ```json { \"accountId\": \"624e3e00-xxxx-xxxx-xxxx-43918c520dab\", \"clickwrapId\": \"0e64e4a7-xxxx-xxxx-xxxx-ce5a93b162af\", \"clientUserId\": \"tcl-bc7f-48a9j\", \"agreementId\": \"1f346c7d-xxxx-xxxx-xxxx-a5c968666785\", \"documents\": [ . . .], \"consumerDisclosureEnabled\": true, \"agreementUrl\": \"https://demo.docusign.net/clickapi/v1/redeem?agreementToken=AcTZT8g ... cxEqrUsA1lQ8DPPy05dE0\", \"createdOn\": \"2022-10-20T16:27:25.1287685Z\", \"status\": \"created\", \"versionId\": \"5957716d-xxxx-xxxx-xxxx-e1594f00ff12\", \"versionNumber\": 1, \"settings\": { \"displayName\": \"Agree with me\", \"hasDeclineButton\": true, . . . \"statementAlignment\": \"bottom\" }, \"documentData\": { \"fullName\": \"T. J. Fanning\", \"email\": \"tj@example.com\", \"company\": \"Fanning Indusdtries\", \"title\": \"Cat wrangler\", \"date\": \"2022-10-13T05:17:14-07:00\" } } ``` This method returns the following result codes and response bodies depending on whether the user has agreed. | Agreed | Response code | Response body | | :----- | :------------ | :--------------------- | | No | 201 | Full response as above | | Yes | 200 | No response (empty) | ### Related topics - [Add dynamic content to your clickwrap][dynamic content] - [How to embed a clickwrap][embed-howto] [dynamic content]: /docs/click-api/click101/customize-clickwrap-fields/#add-dynamic-content-to-your-clickwrap [embedding]: /docs/click-api/click101/customize-clickwrap-fields/#embed-clickwraps-that-contain-dynamic-content [embed-howto]: /docs/click-api/how-to/embed-clickwraps/
291
+ # @param account_id The external account number (int) or account ID GUID.
292
+ # @param clickwrap_id The ID of the clickwrap.
293
+ # @param user_agreement_request Data used to create the agreement. (optional parameter)
240
294
  # @return [UserAgreementResponse]
241
295
  def create_has_agreed(account_id, clickwrap_id, user_agreement_request)
242
296
  data, _status_code, _headers = create_has_agreed_with_http_info(account_id, clickwrap_id, user_agreement_request)
243
297
  return data
244
298
  end
245
299
 
246
- # Checks if a user has agreed to a clickwrap and returns a response with the agreement url. Returns HttpStatusCode.OK if user has no pending agreement.
247
- #
248
- # @param account_id
249
- # @param clickwrap_id
250
- # @param user_agreement_request (optional parameter)
300
+ # Creates a unique URL for the agreement that you can embed in your application.
301
+ # Creates a unique URL for the agreement that you can embed in your application. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60; and &#x60;click.send&#x60;. The request must include at least the &#x60;clientUserId&#x60;. This is a value that you generate to identify the unique recipient of the agreement. If you are using a [dynamic content][] document, you can supply the values in the documentData property of the request, like this: &#x60;&#x60;&#x60;json { \&quot;clientUserId\&quot;: \&quot;cl-bc7f-48a9\&quot;, \&quot;documentData\&quot;: { \&quot;fullName\&quot;: \&quot;T. J. Fanning\&quot;, \&quot;email\&quot;: \&quot;tj@example.com\&quot;, \&quot;company\&quot;: \&quot;Fanning Indusdtries\&quot;, \&quot;title\&quot;: \&quot;Cat wrangler\&quot;, \&quot;date\&quot;: \&quot;2022-10-13T05:17:14-07:00\&quot; } } &#x60;&#x60;&#x60; A response will look like this. The &#x60;agreementUrl&#x60; is unique to the user identified by the &#x60;clientUserId&#x60;. Your user can open the URL to approve the agreement. The &#x60;documentData&#x60; property appears only if you provided it in the request. &#x60;&#x60;&#x60;json { \&quot;accountId\&quot;: \&quot;624e3e00-xxxx-xxxx-xxxx-43918c520dab\&quot;, \&quot;clickwrapId\&quot;: \&quot;0e64e4a7-xxxx-xxxx-xxxx-ce5a93b162af\&quot;, \&quot;clientUserId\&quot;: \&quot;tcl-bc7f-48a9j\&quot;, \&quot;agreementId\&quot;: \&quot;1f346c7d-xxxx-xxxx-xxxx-a5c968666785\&quot;, \&quot;documents\&quot;: [ . . .], \&quot;consumerDisclosureEnabled\&quot;: true, \&quot;agreementUrl\&quot;: \&quot;https://demo.docusign.net/clickapi/v1/redeem?agreementToken&#x3D;AcTZT8g ... cxEqrUsA1lQ8DPPy05dE0\&quot;, \&quot;createdOn\&quot;: \&quot;2022-10-20T16:27:25.1287685Z\&quot;, \&quot;status\&quot;: \&quot;created\&quot;, \&quot;versionId\&quot;: \&quot;5957716d-xxxx-xxxx-xxxx-e1594f00ff12\&quot;, \&quot;versionNumber\&quot;: 1, \&quot;settings\&quot;: { \&quot;displayName\&quot;: \&quot;Agree with me\&quot;, \&quot;hasDeclineButton\&quot;: true, . . . \&quot;statementAlignment\&quot;: \&quot;bottom\&quot; }, \&quot;documentData\&quot;: { \&quot;fullName\&quot;: \&quot;T. J. Fanning\&quot;, \&quot;email\&quot;: \&quot;tj@example.com\&quot;, \&quot;company\&quot;: \&quot;Fanning Indusdtries\&quot;, \&quot;title\&quot;: \&quot;Cat wrangler\&quot;, \&quot;date\&quot;: \&quot;2022-10-13T05:17:14-07:00\&quot; } } &#x60;&#x60;&#x60; This method returns the following result codes and response bodies depending on whether the user has agreed. | Agreed | Response code | Response body | | :----- | :------------ | :--------------------- | | No | 201 | Full response as above | | Yes | 200 | No response (empty) | ### Related topics - [Add dynamic content to your clickwrap][dynamic content] - [How to embed a clickwrap][embed-howto] [dynamic content]: /docs/click-api/click101/customize-clickwrap-fields/#add-dynamic-content-to-your-clickwrap [embedding]: /docs/click-api/click101/customize-clickwrap-fields/#embed-clickwraps-that-contain-dynamic-content [embed-howto]: /docs/click-api/how-to/embed-clickwraps/
302
+ # @param account_id The external account number (int) or account ID GUID.
303
+ # @param clickwrap_id The ID of the clickwrap.
304
+ # @param user_agreement_request Data used to create the agreement. (optional parameter)
251
305
  # @return [Array<(UserAgreementResponse, Fixnum, Hash)>] UserAgreementResponse data, response status code and response headers
252
306
  def create_has_agreed_with_http_info(account_id, clickwrap_id, user_agreement_request)
253
307
  if @api_client.config.debugging
@@ -287,10 +341,10 @@ module DocuSign_Click
287
341
  return data, status_code, headers
288
342
  end
289
343
 
290
- # Deletes the clickwrap and all its version specified by clickwrapId. Active clickwrap will not get deleted
291
- #
292
- # @param account_id
293
- # @param clickwrap_id
344
+ # Deletes a clickwrap and all of its versions.
345
+ # Deletes the clickwrap specified by `clickwrapId` and all of its versions. Active clickwraps are not deleted [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
346
+ # @param account_id The external account number (int) or account ID GUID.
347
+ # @param clickwrap_id The ID of the clickwrap.
294
348
  # @param DocuSign_Click::DeleteClickwrapOptions Options for modifying the behavior of the function.
295
349
  # @return [ClickwrapVersionsDeleteResponse]
296
350
  def delete_clickwrap(account_id, clickwrap_id, options = DocuSign_Click::DeleteClickwrapOptions.default)
@@ -298,10 +352,10 @@ module DocuSign_Click
298
352
  return data
299
353
  end
300
354
 
301
- # Deletes the clickwrap and all its version specified by clickwrapId. Active clickwrap will not get deleted
302
- #
303
- # @param account_id
304
- # @param clickwrap_id
355
+ # Deletes a clickwrap and all of its versions.
356
+ # Deletes the clickwrap specified by &#x60;clickwrapId&#x60; and all of its versions. Active clickwraps are not deleted [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
357
+ # @param account_id The external account number (int) or account ID GUID.
358
+ # @param clickwrap_id The ID of the clickwrap.
305
359
  # @param DocuSign_Click::DeleteClickwrapOptions Options for modifying the behavior of the function.
306
360
  # @return [Array<(ClickwrapVersionsDeleteResponse, Fixnum, Hash)>] ClickwrapVersionsDeleteResponse data, response status code and response headers
307
361
  def delete_clickwrap_with_http_info(account_id, clickwrap_id, options = DocuSign_Click::DeleteClickwrapOptions.default)
@@ -343,22 +397,22 @@ module DocuSign_Click
343
397
  return data, status_code, headers
344
398
  end
345
399
 
346
- # Delete a Clickwrap version specified by versionId
347
- #
348
- # @param account_id
349
- # @param clickwrap_id
350
- # @param version_id
400
+ # Deletes a clickwrap version by version ID.
401
+ # Deletes the clickwrap version specified by `versionId` of the clickwrap specified by `clickwrapId`. **Note:** This endpoint requires the version ID (a GUID), not the version number (an integer). [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
402
+ # @param account_id The external account number (int) or account ID GUID.
403
+ # @param clickwrap_id The ID of the clickwrap.
404
+ # @param version_id The ID of the clickwrap version.
351
405
  # @return [ClickwrapVersionDeleteResponse]
352
406
  def delete_clickwrap_version(account_id, clickwrap_id, version_id)
353
407
  data, _status_code, _headers = delete_clickwrap_version_with_http_info(account_id, clickwrap_id, version_id)
354
408
  return data
355
409
  end
356
410
 
357
- # Delete a Clickwrap version specified by versionId
358
- #
359
- # @param account_id
360
- # @param clickwrap_id
361
- # @param version_id
411
+ # Deletes a clickwrap version by version ID.
412
+ # Deletes the clickwrap version specified by &#x60;versionId&#x60; of the clickwrap specified by &#x60;clickwrapId&#x60;. **Note:** This endpoint requires the version ID (a GUID), not the version number (an integer). [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
413
+ # @param account_id The external account number (int) or account ID GUID.
414
+ # @param clickwrap_id The ID of the clickwrap.
415
+ # @param version_id The ID of the clickwrap version.
362
416
  # @return [Array<(ClickwrapVersionDeleteResponse, Fixnum, Hash)>] ClickwrapVersionDeleteResponse data, response status code and response headers
363
417
  def delete_clickwrap_version_with_http_info(account_id, clickwrap_id, version_id)
364
418
  if @api_client.config.debugging
@@ -400,10 +454,10 @@ module DocuSign_Click
400
454
  return data, status_code, headers
401
455
  end
402
456
 
403
- # Deletes the versions specified by query parameter clickwrapVersionIds for a clickwrap, or all versions if no query parameter is specified. It will not delete if a version is active.
404
- #
405
- # @param account_id
406
- # @param clickwrap_id
457
+ # Deletes the versions of a clickwrap.
458
+ # Deletes all versions of a clickwrap, or only the ones specified in the `clickwrapVersionIds` query parameter. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
459
+ # @param account_id The external account number (int) or account ID GUID.
460
+ # @param clickwrap_id The ID of the clickwrap.
407
461
  # @param DocuSign_Click::DeleteClickwrapVersionsOptions Options for modifying the behavior of the function.
408
462
  # @return [ClickwrapVersionsDeleteResponse]
409
463
  def delete_clickwrap_versions(account_id, clickwrap_id, options = DocuSign_Click::DeleteClickwrapVersionsOptions.default)
@@ -411,10 +465,10 @@ module DocuSign_Click
411
465
  return data
412
466
  end
413
467
 
414
- # Deletes the versions specified by query parameter clickwrapVersionIds for a clickwrap, or all versions if no query parameter is specified. It will not delete if a version is active.
415
- #
416
- # @param account_id
417
- # @param clickwrap_id
468
+ # Deletes the versions of a clickwrap.
469
+ # Deletes all versions of a clickwrap, or only the ones specified in the &#x60;clickwrapVersionIds&#x60; query parameter. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
470
+ # @param account_id The external account number (int) or account ID GUID.
471
+ # @param clickwrap_id The ID of the clickwrap.
418
472
  # @param DocuSign_Click::DeleteClickwrapVersionsOptions Options for modifying the behavior of the function.
419
473
  # @return [Array<(ClickwrapVersionsDeleteResponse, Fixnum, Hash)>] ClickwrapVersionsDeleteResponse data, response status code and response headers
420
474
  def delete_clickwrap_versions_with_http_info(account_id, clickwrap_id, options = DocuSign_Click::DeleteClickwrapVersionsOptions.default)
@@ -456,9 +510,9 @@ module DocuSign_Click
456
510
  return data, status_code, headers
457
511
  end
458
512
 
459
- # Deletes all the clickwraps for an account or the ones passed in query parameter clickwrapIds. It will not delete active clickwraps.
460
- #
461
- # @param account_id
513
+ # Deletes clickwraps for an account.
514
+ # Deletes all clickwraps for an account or only the ones specified in the `clickwrapIds` query parameter. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
515
+ # @param account_id The external account number (int) or account ID GUID.
462
516
  # @param DocuSign_Click::DeleteClickwrapsOptions Options for modifying the behavior of the function.
463
517
  # @return [ClickwrapsDeleteResponse]
464
518
  def delete_clickwraps(account_id, options = DocuSign_Click::DeleteClickwrapsOptions.default)
@@ -466,9 +520,9 @@ module DocuSign_Click
466
520
  return data
467
521
  end
468
522
 
469
- # Deletes all the clickwraps for an account or the ones passed in query parameter clickwrapIds. It will not delete active clickwraps.
470
- #
471
- # @param account_id
523
+ # Deletes clickwraps for an account.
524
+ # Deletes all clickwraps for an account or only the ones specified in the &#x60;clickwrapIds&#x60; query parameter. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
525
+ # @param account_id The external account number (int) or account ID GUID.
472
526
  # @param DocuSign_Click::DeleteClickwrapsOptions Options for modifying the behavior of the function.
473
527
  # @return [Array<(ClickwrapsDeleteResponse, Fixnum, Hash)>] ClickwrapsDeleteResponse data, response status code and response headers
474
528
  def delete_clickwraps_with_http_info(account_id, options = DocuSign_Click::DeleteClickwrapsOptions.default)
@@ -508,22 +562,22 @@ module DocuSign_Click
508
562
  return data, status_code, headers
509
563
  end
510
564
 
511
- # Gets the agreement by a provided agreement ID
512
- #
513
- # @param account_id
514
- # @param agreement_id
515
- # @param clickwrap_id
565
+ # Gets a specific agreement for a specified clickwrap.
566
+ # Gets the agreement specified by `agreementId`. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage` or `click.send`.
567
+ # @param account_id The external account number (int) or account ID GUID.
568
+ # @param agreement_id The agreement ID.
569
+ # @param clickwrap_id The ID of the clickwrap.
516
570
  # @return [UserAgreementResponse]
517
571
  def get_agreement(account_id, agreement_id, clickwrap_id)
518
572
  data, _status_code, _headers = get_agreement_with_http_info(account_id, agreement_id, clickwrap_id)
519
573
  return data
520
574
  end
521
575
 
522
- # Gets the agreement by a provided agreement ID
523
- #
524
- # @param account_id
525
- # @param agreement_id
526
- # @param clickwrap_id
576
+ # Gets a specific agreement for a specified clickwrap.
577
+ # Gets the agreement specified by &#x60;agreementId&#x60;. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60; or &#x60;click.send&#x60;.
578
+ # @param account_id The external account number (int) or account ID GUID.
579
+ # @param agreement_id The agreement ID.
580
+ # @param clickwrap_id The ID of the clickwrap.
527
581
  # @return [Array<(UserAgreementResponse, Fixnum, Hash)>] UserAgreementResponse data, response status code and response headers
528
582
  def get_agreement_with_http_info(account_id, agreement_id, clickwrap_id)
529
583
  if @api_client.config.debugging
@@ -566,11 +620,11 @@ module DocuSign_Click
566
620
  end
567
621
 
568
622
  # Downloads a document at an order within the agreement.
569
- #
570
- # @param account_id
571
- # @param clickwrap_id
572
- # @param order_or_disclosure
573
- # @param version_id
623
+ # Downloads a specific document from the agreement presented to the user. [Required authentication scopes](/docs/click-api/click101/auth/): `click.sign`
624
+ # @param account_id The external account number (int) or account ID GUID.
625
+ # @param clickwrap_id The ID of the clickwrap.
626
+ # @param order_or_disclosure The order of the document or consumer_disclosure.
627
+ # @param version_id The ID of the clickwrap version.
574
628
  # @return [Document]
575
629
  def get_agreement_document(account_id, clickwrap_id, order_or_disclosure, version_id)
576
630
  data, _status_code, _headers = get_agreement_document_with_http_info(account_id, clickwrap_id, order_or_disclosure, version_id)
@@ -578,11 +632,11 @@ module DocuSign_Click
578
632
  end
579
633
 
580
634
  # Downloads a document at an order within the agreement.
581
- #
582
- # @param account_id
583
- # @param clickwrap_id
584
- # @param order_or_disclosure
585
- # @param version_id
635
+ # Downloads a specific document from the agreement presented to the user. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.sign&#x60;
636
+ # @param account_id The external account number (int) or account ID GUID.
637
+ # @param clickwrap_id The ID of the clickwrap.
638
+ # @param order_or_disclosure The order of the document or consumer_disclosure.
639
+ # @param version_id The ID of the clickwrap version.
586
640
  # @return [Array<(Document, Fixnum, Hash)>] Document data, response status code and response headers
587
641
  def get_agreement_document_with_http_info(account_id, clickwrap_id, order_or_disclosure, version_id)
588
642
  if @api_client.config.debugging
@@ -626,11 +680,11 @@ module DocuSign_Click
626
680
  return data, status_code, headers
627
681
  end
628
682
 
629
- # Downloads the agreement PDF and optionally certificate of completion.
630
- #
631
- # @param account_id
632
- # @param agreement_id
633
- # @param clickwrap_id
683
+ # Gets the completed user agreement PDF.
684
+ # Gets the PDF of `agreementId` for the clickwrap specified by `clickwrapId`. The response to this method is the bytes of the PDF file. The response includes the HTTP header `application/pdf`. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage` or `click.send`.
685
+ # @param account_id The external account number (int) or account ID GUID.
686
+ # @param agreement_id The agreement ID.
687
+ # @param clickwrap_id The ID of the clickwrap.
634
688
  # @param DocuSign_Click::GetAgreementPdfOptions Options for modifying the behavior of the function.
635
689
  # @return [File]
636
690
  def get_agreement_pdf(account_id, agreement_id, clickwrap_id, options = DocuSign_Click::GetAgreementPdfOptions.default)
@@ -638,11 +692,11 @@ module DocuSign_Click
638
692
  return data
639
693
  end
640
694
 
641
- # Downloads the agreement PDF and optionally certificate of completion.
642
- #
643
- # @param account_id
644
- # @param agreement_id
645
- # @param clickwrap_id
695
+ # Gets the completed user agreement PDF.
696
+ # Gets the PDF of &#x60;agreementId&#x60; for the clickwrap specified by &#x60;clickwrapId&#x60;. The response to this method is the bytes of the PDF file. The response includes the HTTP header &#x60;application/pdf&#x60;. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60; or &#x60;click.send&#x60;.
697
+ # @param account_id The external account number (int) or account ID GUID.
698
+ # @param agreement_id The agreement ID.
699
+ # @param clickwrap_id The ID of the clickwrap.
646
700
  # @param DocuSign_Click::GetAgreementPdfOptions Options for modifying the behavior of the function.
647
701
  # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
648
702
  def get_agreement_pdf_with_http_info(account_id, agreement_id, clickwrap_id, options = DocuSign_Click::GetAgreementPdfOptions.default)
@@ -686,20 +740,20 @@ module DocuSign_Click
686
740
  return data, status_code, headers
687
741
  end
688
742
 
689
- # Gets the clickwrap for an account specified by clickwrapId
690
- #
691
- # @param account_id
692
- # @param clickwrap_id
743
+ # Gets a single clickwrap object.
744
+ # Retrieves the definition of the specified clickwrap. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
745
+ # @param account_id The external account number (int) or account ID GUID.
746
+ # @param clickwrap_id The ID of the clickwrap.
693
747
  # @return [ClickwrapVersionResponse]
694
748
  def get_clickwrap(account_id, clickwrap_id)
695
749
  data, _status_code, _headers = get_clickwrap_with_http_info(account_id, clickwrap_id)
696
750
  return data
697
751
  end
698
752
 
699
- # Gets the clickwrap for an account specified by clickwrapId
700
- #
701
- # @param account_id
702
- # @param clickwrap_id
753
+ # Gets a single clickwrap object.
754
+ # Retrieves the definition of the specified clickwrap. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
755
+ # @param account_id The external account number (int) or account ID GUID.
756
+ # @param clickwrap_id The ID of the clickwrap.
703
757
  # @return [Array<(ClickwrapVersionResponse, Fixnum, Hash)>] ClickwrapVersionResponse data, response status code and response headers
704
758
  def get_clickwrap_with_http_info(account_id, clickwrap_id)
705
759
  if @api_client.config.debugging
@@ -739,10 +793,10 @@ module DocuSign_Click
739
793
  return data, status_code, headers
740
794
  end
741
795
 
742
- # Gets the agreement responses for a clickwrap
743
- #
744
- # @param account_id
745
- # @param clickwrap_id
796
+ # Get user agreements
797
+ # Retrieves the user agreements for a specified clickwrap. Each `userAgreementResponse` object describes a single user's response to the clickwrap. You can also filter the agreements by date, status, page number, and client user ID. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
798
+ # @param account_id The external account number (int) or account ID GUID.
799
+ # @param clickwrap_id The ID of the clickwrap.
746
800
  # @param DocuSign_Click::GetClickwrapAgreementsOptions Options for modifying the behavior of the function.
747
801
  # @return [ClickwrapAgreementsResponse]
748
802
  def get_clickwrap_agreements(account_id, clickwrap_id, options = DocuSign_Click::GetClickwrapAgreementsOptions.default)
@@ -750,10 +804,10 @@ module DocuSign_Click
750
804
  return data
751
805
  end
752
806
 
753
- # Gets the agreement responses for a clickwrap
754
- #
755
- # @param account_id
756
- # @param clickwrap_id
807
+ # Get user agreements
808
+ # Retrieves the user agreements for a specified clickwrap. Each &#x60;userAgreementResponse&#x60; object describes a single user&#39;s response to the clickwrap. You can also filter the agreements by date, status, page number, and client user ID. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
809
+ # @param account_id The external account number (int) or account ID GUID.
810
+ # @param clickwrap_id The ID of the clickwrap.
757
811
  # @param DocuSign_Click::GetClickwrapAgreementsOptions Options for modifying the behavior of the function.
758
812
  # @return [Array<(ClickwrapAgreementsResponse, Fixnum, Hash)>] ClickwrapAgreementsResponse data, response status code and response headers
759
813
  def get_clickwrap_agreements_with_http_info(account_id, clickwrap_id, options = DocuSign_Click::GetClickwrapAgreementsOptions.default)
@@ -799,22 +853,22 @@ module DocuSign_Click
799
853
  return data, status_code, headers
800
854
  end
801
855
 
802
- # Gets the Clickwrap version by clickwrapId and versionId for an account
803
- #
804
- # @param account_id
805
- # @param clickwrap_id
806
- # @param version_id
856
+ # Gets a specific version of a clickwrap by version ID.
857
+ # Gets the version specified by `versionId` from the clickwrap `clickwrapId`. **Note:** This endpoint requires the version ID (a GUID), not the version number (an integer). [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
858
+ # @param account_id The external account number (int) or account ID GUID.
859
+ # @param clickwrap_id The ID of the clickwrap.
860
+ # @param version_id The ID of the clickwrap version.
807
861
  # @return [ClickwrapVersionResponse]
808
862
  def get_clickwrap_version(account_id, clickwrap_id, version_id)
809
863
  data, _status_code, _headers = get_clickwrap_version_with_http_info(account_id, clickwrap_id, version_id)
810
864
  return data
811
865
  end
812
866
 
813
- # Gets the Clickwrap version by clickwrapId and versionId for an account
814
- #
815
- # @param account_id
816
- # @param clickwrap_id
817
- # @param version_id
867
+ # Gets a specific version of a clickwrap by version ID.
868
+ # Gets the version specified by &#x60;versionId&#x60; from the clickwrap &#x60;clickwrapId&#x60;. **Note:** This endpoint requires the version ID (a GUID), not the version number (an integer). [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
869
+ # @param account_id The external account number (int) or account ID GUID.
870
+ # @param clickwrap_id The ID of the clickwrap.
871
+ # @param version_id The ID of the clickwrap version.
818
872
  # @return [Array<(ClickwrapVersionResponse, Fixnum, Hash)>] ClickwrapVersionResponse data, response status code and response headers
819
873
  def get_clickwrap_version_with_http_info(account_id, clickwrap_id, version_id)
820
874
  if @api_client.config.debugging
@@ -856,11 +910,11 @@ module DocuSign_Click
856
910
  return data, status_code, headers
857
911
  end
858
912
 
859
- # Gets the agreement responses for a clickwrap version
860
- #
861
- # @param account_id
862
- # @param clickwrap_id
863
- # @param version_id
913
+ # Gets the agreement responses for a clickwrap version by version ID.
914
+ # Gets the agreement responses for a specific version. **Note:** This endpoint requires the version ID (a GUID), not the version number (an integer). [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
915
+ # @param account_id The external account number (int) or account ID GUID.
916
+ # @param clickwrap_id The ID of the clickwrap.
917
+ # @param version_id The ID of the clickwrap version.
864
918
  # @param DocuSign_Click::GetClickwrapVersionAgreementsOptions Options for modifying the behavior of the function.
865
919
  # @return [ClickwrapAgreementsResponse]
866
920
  def get_clickwrap_version_agreements(account_id, clickwrap_id, version_id, options = DocuSign_Click::GetClickwrapVersionAgreementsOptions.default)
@@ -868,11 +922,11 @@ module DocuSign_Click
868
922
  return data
869
923
  end
870
924
 
871
- # Gets the agreement responses for a clickwrap version
872
- #
873
- # @param account_id
874
- # @param clickwrap_id
875
- # @param version_id
925
+ # Gets the agreement responses for a clickwrap version by version ID.
926
+ # Gets the agreement responses for a specific version. **Note:** This endpoint requires the version ID (a GUID), not the version number (an integer). [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
927
+ # @param account_id The external account number (int) or account ID GUID.
928
+ # @param clickwrap_id The ID of the clickwrap.
929
+ # @param version_id The ID of the clickwrap version.
876
930
  # @param DocuSign_Click::GetClickwrapVersionAgreementsOptions Options for modifying the behavior of the function.
877
931
  # @return [Array<(ClickwrapAgreementsResponse, Fixnum, Hash)>] ClickwrapAgreementsResponse data, response status code and response headers
878
932
  def get_clickwrap_version_agreements_with_http_info(account_id, clickwrap_id, version_id, options = DocuSign_Click::GetClickwrapVersionAgreementsOptions.default)
@@ -920,20 +974,20 @@ module DocuSign_Click
920
974
  return data, status_code, headers
921
975
  end
922
976
 
923
- # Gets all the versions of a clickwrap for an account
924
- #
925
- # @param account_id
926
- # @param clickwrap_id
977
+ # Gets all the versions of a clickwrap.
978
+ # Gets all the versions of a clickwrap for an account. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
979
+ # @param account_id The external account number (int) or account ID GUID.
980
+ # @param clickwrap_id The ID of the clickwrap.
927
981
  # @return [ClickwrapVersionsPagedResponse]
928
982
  def get_clickwrap_versions(account_id, clickwrap_id)
929
983
  data, _status_code, _headers = get_clickwrap_versions_with_http_info(account_id, clickwrap_id)
930
984
  return data
931
985
  end
932
986
 
933
- # Gets all the versions of a clickwrap for an account
934
- #
935
- # @param account_id
936
- # @param clickwrap_id
987
+ # Gets all the versions of a clickwrap.
988
+ # Gets all the versions of a clickwrap for an account. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
989
+ # @param account_id The external account number (int) or account ID GUID.
990
+ # @param clickwrap_id The ID of the clickwrap.
937
991
  # @return [Array<(ClickwrapVersionsPagedResponse, Fixnum, Hash)>] ClickwrapVersionsPagedResponse data, response status code and response headers
938
992
  def get_clickwrap_versions_with_http_info(account_id, clickwrap_id)
939
993
  if @api_client.config.debugging
@@ -973,9 +1027,9 @@ module DocuSign_Click
973
1027
  return data, status_code, headers
974
1028
  end
975
1029
 
976
- # Gets the Clickwraps for an account
977
- #
978
- # @param account_id
1030
+ # Gets all the clickwraps for a user.
1031
+ # Gets all the clickwraps for a user. **Note:** This endpoint returns a list of `clickwrapVersionSummaryResponse` objects. Each version of each clickwrap is returned as a separate entry in the list. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
1032
+ # @param account_id The external account number (int) or account ID GUID.
979
1033
  # @param DocuSign_Click::GetClickwrapsOptions Options for modifying the behavior of the function.
980
1034
  # @return [ClickwrapVersionsResponse]
981
1035
  def get_clickwraps(account_id, options = DocuSign_Click::GetClickwrapsOptions.default)
@@ -983,9 +1037,9 @@ module DocuSign_Click
983
1037
  return data
984
1038
  end
985
1039
 
986
- # Gets the Clickwraps for an account
987
- #
988
- # @param account_id
1040
+ # Gets all the clickwraps for a user.
1041
+ # Gets all the clickwraps for a user. **Note:** This endpoint returns a list of &#x60;clickwrapVersionSummaryResponse&#x60; objects. Each version of each clickwrap is returned as a separate entry in the list. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
1042
+ # @param account_id The external account number (int) or account ID GUID.
989
1043
  # @param DocuSign_Click::GetClickwrapsOptions Options for modifying the behavior of the function.
990
1044
  # @return [Array<(ClickwrapVersionsResponse, Fixnum, Hash)>] ClickwrapVersionsResponse data, response status code and response headers
991
1045
  def get_clickwraps_with_http_info(account_id, options = DocuSign_Click::GetClickwrapsOptions.default)
@@ -1031,16 +1085,16 @@ module DocuSign_Click
1031
1085
  return data, status_code, headers
1032
1086
  end
1033
1087
 
1034
- # Provides base service and version access information.
1035
- #
1088
+ # Gets the current version and other information about the Click API.
1089
+ # The response includes information about the Click API, including the service version, build version, and linked sites. This method does not require authentication.
1036
1090
  # @return [ServiceInformation]
1037
1091
  def get_service_information()
1038
1092
  data, _status_code, _headers = get_service_information_with_http_info()
1039
1093
  return data
1040
1094
  end
1041
1095
 
1042
- # Provides base service and version access information.
1043
- #
1096
+ # Gets the current version and other information about the Click API.
1097
+ # The response includes information about the Click API, including the service version, build version, and linked sites. This method does not require authentication.
1044
1098
  # @return [Array<(ServiceInformation, Fixnum, Hash)>] ServiceInformation data, response status code and response headers
1045
1099
  def get_service_information_with_http_info()
1046
1100
  if @api_client.config.debugging
@@ -1076,22 +1130,22 @@ module DocuSign_Click
1076
1130
  return data, status_code, headers
1077
1131
  end
1078
1132
 
1079
- # Updates the clickwrap specified by clickwrapId
1080
- #
1081
- # @param account_id
1082
- # @param clickwrap_id
1083
- # @param clickwrap_transfer_request (optional parameter)
1133
+ # Update a clickwrap by ID.
1134
+ # Update a subset of properties on the clickwrap. [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
1135
+ # @param account_id The external account number (int) or account ID GUID.
1136
+ # @param clickwrap_id The ID of the clickwrap.
1137
+ # @param clickwrap_transfer_request Data used to transfer a clickwrap from one user to another. (optional parameter)
1084
1138
  # @return [ClickwrapVersionSummaryResponse]
1085
1139
  def update_clickwrap(account_id, clickwrap_id, clickwrap_transfer_request)
1086
1140
  data, _status_code, _headers = update_clickwrap_with_http_info(account_id, clickwrap_id, clickwrap_transfer_request)
1087
1141
  return data
1088
1142
  end
1089
1143
 
1090
- # Updates the clickwrap specified by clickwrapId
1091
- #
1092
- # @param account_id
1093
- # @param clickwrap_id
1094
- # @param clickwrap_transfer_request (optional parameter)
1144
+ # Update a clickwrap by ID.
1145
+ # Update a subset of properties on the clickwrap. [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
1146
+ # @param account_id The external account number (int) or account ID GUID.
1147
+ # @param clickwrap_id The ID of the clickwrap.
1148
+ # @param clickwrap_transfer_request Data used to transfer a clickwrap from one user to another. (optional parameter)
1095
1149
  # @return [Array<(ClickwrapVersionSummaryResponse, Fixnum, Hash)>] ClickwrapVersionSummaryResponse data, response status code and response headers
1096
1150
  def update_clickwrap_with_http_info(account_id, clickwrap_id, clickwrap_transfer_request)
1097
1151
  if @api_client.config.debugging
@@ -1131,24 +1185,24 @@ module DocuSign_Click
1131
1185
  return data, status_code, headers
1132
1186
  end
1133
1187
 
1134
- # Updates the clickwrap version specified by versionId
1135
- #
1136
- # @param account_id
1137
- # @param clickwrap_id
1138
- # @param version_id
1139
- # @param clickwrap_request (optional parameter)
1188
+ # Updates clickwrap version status and ownership.
1189
+ # Updates the clickwrap version status and ownership by transferring from previous user ID to new user ID. **Note:** This endpoint requires the version ID (a GUID), not the version number (an integer). [Required authentication scopes](/docs/click-api/click101/auth/): `click.manage`.
1190
+ # @param account_id The external account number (int) or account ID GUID.
1191
+ # @param clickwrap_id The ID of the clickwrap.
1192
+ # @param version_id The ID of the clickwrap version.
1193
+ # @param clickwrap_request Request body for working with clickwrap. (optional parameter)
1140
1194
  # @return [ClickwrapVersionSummaryResponse]
1141
1195
  def update_clickwrap_version(account_id, clickwrap_id, version_id, clickwrap_request)
1142
1196
  data, _status_code, _headers = update_clickwrap_version_with_http_info(account_id, clickwrap_id, version_id, clickwrap_request)
1143
1197
  return data
1144
1198
  end
1145
1199
 
1146
- # Updates the clickwrap version specified by versionId
1147
- #
1148
- # @param account_id
1149
- # @param clickwrap_id
1150
- # @param version_id
1151
- # @param clickwrap_request (optional parameter)
1200
+ # Updates clickwrap version status and ownership.
1201
+ # Updates the clickwrap version status and ownership by transferring from previous user ID to new user ID. **Note:** This endpoint requires the version ID (a GUID), not the version number (an integer). [Required authentication scopes](/docs/click-api/click101/auth/): &#x60;click.manage&#x60;.
1202
+ # @param account_id The external account number (int) or account ID GUID.
1203
+ # @param clickwrap_id The ID of the clickwrap.
1204
+ # @param version_id The ID of the clickwrap version.
1205
+ # @param clickwrap_request Request body for working with clickwrap. (optional parameter)
1152
1206
  # @return [Array<(ClickwrapVersionSummaryResponse, Fixnum, Hash)>] ClickwrapVersionSummaryResponse data, response status code and response headers
1153
1207
  def update_clickwrap_version_with_http_info(account_id, clickwrap_id, version_id, clickwrap_request)
1154
1208
  if @api_client.config.debugging