docusign_esign 3.15.0 → 3.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +12 -4
- data/lib/docusign_esign/api/envelopes_api.rb +59 -134
- data/lib/docusign_esign/api/templates_api.rb +0 -59
- data/lib/docusign_esign/api/users_api.rb +4 -0
- data/lib/docusign_esign/client/api_client.rb +1 -1
- data/lib/docusign_esign/models/account_role_settings.rb +23 -4
- data/lib/docusign_esign/models/account_settings_information.rb +68 -20
- data/lib/docusign_esign/models/billing_invoice_item.rb +21 -1
- data/lib/docusign_esign/models/delayed_routing.rb +206 -0
- data/lib/docusign_esign/models/envelope_delay_rule.rb +194 -0
- data/lib/docusign_esign/models/linked_external_primary_account.rb +11 -1
- data/lib/docusign_esign/models/prefill_tabs.rb +64 -4
- data/lib/docusign_esign/models/scheduled_sending.rb +206 -0
- data/lib/docusign_esign/models/user_information.rb +11 -1
- data/lib/docusign_esign/models/user_settings_information.rb +23 -4
- data/lib/docusign_esign/models/workflow.rb +12 -2
- data/lib/docusign_esign/models/workflow_step.rb +1 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/lib/docusign_esign.rb +3 -5
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68acc0352c03db50a8823ddf6383e1c1977ac84cd2d9b224dca5d69c5f00fe27
|
4
|
+
data.tar.gz: cac3d3686b7d34c71c379e51ee7d247cd1bc5aaed503cf9f3890c2c195e5e605
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2225d9318bcc931be9bca0a192802c19b7e0d6c491297e86a7a08e7921655b1732f4869754950ed95a80f84a9b0c09dc371196acf2c3a1822f59a358d5c393f9
|
7
|
+
data.tar.gz: 0d820c6df1b62a44826895af9aeb4b060fb4e3503473c11f6a02cc3215f1b6663a2b6007893cb4ec752c2add8a40f0330c51fe40d2673e8a20b528d57d224734
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
|
5
5
|
|
6
|
+
## [v3.16.0] - eSignature API v2.1-22.1.01.00 - 2022-04-07
|
7
|
+
### Changed
|
8
|
+
- Added support for version v2.1-22.1.01.00 of the DocuSign ESignature API.
|
9
|
+
- Updated the SDK release version.
|
10
|
+
|
11
|
+
### Breaking
|
12
|
+
- Following types are renamed
|
13
|
+
|
14
|
+
- `ScheduledSendingApiModel` is renamed to `ScheduledSending`
|
15
|
+
- `DelayedRoutingApiModel` is renamed to `DelayedRouting`
|
16
|
+
|
6
17
|
## [v3.15.0] - eSignature API v2.1-21.4.02.00 - 2022-02-08
|
7
18
|
### Changed
|
8
19
|
- Added support for version v2.1-21.4.02.00 of the DocuSign ESignature API.
|
@@ -35,9 +35,6 @@ module DocuSign_eSign
|
|
35
35
|
#
|
36
36
|
attr_accessor :status
|
37
37
|
|
38
|
-
#
|
39
|
-
attr_accessor :user_id
|
40
|
-
|
41
38
|
def self.default
|
42
39
|
@@default ||= GetBulkSendBatchEnvelopesOptions.new
|
43
40
|
end
|
@@ -50,6 +47,9 @@ module DocuSign_eSign
|
|
50
47
|
#
|
51
48
|
attr_accessor :count
|
52
49
|
|
50
|
+
#
|
51
|
+
attr_accessor :from_date
|
52
|
+
|
53
53
|
#
|
54
54
|
attr_accessor :search_text
|
55
55
|
|
@@ -59,6 +59,12 @@ module DocuSign_eSign
|
|
59
59
|
#
|
60
60
|
attr_accessor :status
|
61
61
|
|
62
|
+
#
|
63
|
+
attr_accessor :to_date
|
64
|
+
|
65
|
+
#
|
66
|
+
attr_accessor :user_id
|
67
|
+
|
62
68
|
def self.default
|
63
69
|
@@default ||= GetBulkSendBatchesOptions.new
|
64
70
|
end
|
@@ -323,7 +329,6 @@ module DocuSign_eSign
|
|
323
329
|
query_params[:'search_text'] = options.search_text if !options.search_text.nil?
|
324
330
|
query_params[:'start_position'] = options.start_position if !options.start_position.nil?
|
325
331
|
query_params[:'status'] = options.status if !options.status.nil?
|
326
|
-
query_params[:'user_id'] = options.user_id if !options.user_id.nil?
|
327
332
|
|
328
333
|
# header parameters
|
329
334
|
header_params = {}
|
@@ -430,9 +435,12 @@ module DocuSign_eSign
|
|
430
435
|
query_params = {}
|
431
436
|
query_params[:'batch_ids'] = options.batch_ids if !options.batch_ids.nil?
|
432
437
|
query_params[:'count'] = options.count if !options.count.nil?
|
438
|
+
query_params[:'from_date'] = options.from_date if !options.from_date.nil?
|
433
439
|
query_params[:'search_text'] = options.search_text if !options.search_text.nil?
|
434
440
|
query_params[:'start_position'] = options.start_position if !options.start_position.nil?
|
435
441
|
query_params[:'status'] = options.status if !options.status.nil?
|
442
|
+
query_params[:'to_date'] = options.to_date if !options.to_date.nil?
|
443
|
+
query_params[:'user_id'] = options.user_id if !options.user_id.nil?
|
436
444
|
|
437
445
|
# header parameters
|
438
446
|
header_params = {}
|
@@ -148,15 +148,6 @@ module DocuSign_eSign
|
|
148
148
|
end
|
149
149
|
end
|
150
150
|
|
151
|
-
class GetDocumentResponsiveHtmlOptions
|
152
|
-
#
|
153
|
-
attr_accessor :include_anchor_tab_locations
|
154
|
-
|
155
|
-
def self.default
|
156
|
-
@@default ||= GetDocumentResponsiveHtmlOptions.new
|
157
|
-
end
|
158
|
-
end
|
159
|
-
|
160
151
|
class GetDocumentTabsOptions
|
161
152
|
#
|
162
153
|
attr_accessor :include_metadata
|
@@ -238,15 +229,6 @@ module DocuSign_eSign
|
|
238
229
|
end
|
239
230
|
end
|
240
231
|
|
241
|
-
class GetResponsiveHtmlOptions
|
242
|
-
#
|
243
|
-
attr_accessor :include_anchor_tab_locations
|
244
|
-
|
245
|
-
def self.default
|
246
|
-
@@default ||= GetResponsiveHtmlOptions.new
|
247
|
-
end
|
248
|
-
end
|
249
|
-
|
250
232
|
class ListDocumentsOptions
|
251
233
|
#
|
252
234
|
attr_accessor :documents_by_userid
|
@@ -3329,66 +3311,6 @@ module DocuSign_eSign
|
|
3329
3311
|
return data, status_code, headers
|
3330
3312
|
end
|
3331
3313
|
|
3332
|
-
# Get Responsive HTML for a document in an envelope.
|
3333
|
-
#
|
3334
|
-
# @param account_id The external account number (int) or account ID Guid.
|
3335
|
-
# @param document_id The ID of the document being accessed.
|
3336
|
-
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
3337
|
-
# @param DocuSign_eSign::GetDocumentResponsiveHtmlOptions Options for modifying the behavior of the function.
|
3338
|
-
# @return [DocumentHtmlDefinitionOriginals]
|
3339
|
-
def get_document_responsive_html(account_id, document_id, envelope_id, options = DocuSign_eSign::GetDocumentResponsiveHtmlOptions.default)
|
3340
|
-
data, _status_code, _headers = get_document_responsive_html_with_http_info(account_id, document_id, envelope_id, options)
|
3341
|
-
return data
|
3342
|
-
end
|
3343
|
-
|
3344
|
-
# Get Responsive HTML for a document in an envelope.
|
3345
|
-
#
|
3346
|
-
# @param account_id The external account number (int) or account ID Guid.
|
3347
|
-
# @param document_id The ID of the document being accessed.
|
3348
|
-
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
3349
|
-
# @param DocuSign_eSign::GetDocumentResponsiveHtmlOptions Options for modifying the behavior of the function.
|
3350
|
-
# @return [Array<(DocumentHtmlDefinitionOriginals, Fixnum, Hash)>] DocumentHtmlDefinitionOriginals data, response status code and response headers
|
3351
|
-
def get_document_responsive_html_with_http_info(account_id, document_id, envelope_id, options = DocuSign_eSign::GetDocumentResponsiveHtmlOptions.default)
|
3352
|
-
if @api_client.config.debugging
|
3353
|
-
@api_client.config.logger.debug "Calling API: EnvelopesApi.get_document_responsive_html ..."
|
3354
|
-
end
|
3355
|
-
# verify the required parameter 'account_id' is set
|
3356
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_document_responsive_html" if account_id.nil?
|
3357
|
-
# verify the required parameter 'document_id' is set
|
3358
|
-
fail ArgumentError, "Missing the required parameter 'document_id' when calling EnvelopesApi.get_document_responsive_html" if document_id.nil?
|
3359
|
-
# verify the required parameter 'envelope_id' is set
|
3360
|
-
fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_document_responsive_html" if envelope_id.nil?
|
3361
|
-
# resource path
|
3362
|
-
local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/responsive_html".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
|
3363
|
-
|
3364
|
-
# query parameters
|
3365
|
-
query_params = {}
|
3366
|
-
query_params[:'include_anchor_tab_locations'] = options.include_anchor_tab_locations if !options.include_anchor_tab_locations.nil?
|
3367
|
-
|
3368
|
-
# header parameters
|
3369
|
-
header_params = {}
|
3370
|
-
# HTTP header 'Accept' (if needed)
|
3371
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3372
|
-
|
3373
|
-
# form parameters
|
3374
|
-
form_params = {}
|
3375
|
-
|
3376
|
-
# http body (model)
|
3377
|
-
post_body = nil
|
3378
|
-
auth_names = []
|
3379
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3380
|
-
:header_params => header_params,
|
3381
|
-
:query_params => query_params,
|
3382
|
-
:form_params => form_params,
|
3383
|
-
:body => post_body,
|
3384
|
-
:auth_names => auth_names,
|
3385
|
-
:return_type => 'DocumentHtmlDefinitionOriginals')
|
3386
|
-
if @api_client.config.debugging
|
3387
|
-
@api_client.config.logger.debug "API called: EnvelopesApi#get_document_responsive_html\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3388
|
-
end
|
3389
|
-
return data, status_code, headers
|
3390
|
-
end
|
3391
|
-
|
3392
3314
|
# Returns tabs on the document.
|
3393
3315
|
#
|
3394
3316
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -4296,62 +4218,6 @@ module DocuSign_eSign
|
|
4296
4218
|
return data, status_code, headers
|
4297
4219
|
end
|
4298
4220
|
|
4299
|
-
# Get Responsive HTML for all documents in an envelope.
|
4300
|
-
#
|
4301
|
-
# @param account_id The external account number (int) or account ID Guid.
|
4302
|
-
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
4303
|
-
# @param DocuSign_eSign::GetResponsiveHtmlOptions Options for modifying the behavior of the function.
|
4304
|
-
# @return [DocumentHtmlDefinitionOriginals]
|
4305
|
-
def get_responsive_html(account_id, envelope_id, options = DocuSign_eSign::GetResponsiveHtmlOptions.default)
|
4306
|
-
data, _status_code, _headers = get_responsive_html_with_http_info(account_id, envelope_id, options)
|
4307
|
-
return data
|
4308
|
-
end
|
4309
|
-
|
4310
|
-
# Get Responsive HTML for all documents in an envelope.
|
4311
|
-
#
|
4312
|
-
# @param account_id The external account number (int) or account ID Guid.
|
4313
|
-
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
4314
|
-
# @param DocuSign_eSign::GetResponsiveHtmlOptions Options for modifying the behavior of the function.
|
4315
|
-
# @return [Array<(DocumentHtmlDefinitionOriginals, Fixnum, Hash)>] DocumentHtmlDefinitionOriginals data, response status code and response headers
|
4316
|
-
def get_responsive_html_with_http_info(account_id, envelope_id, options = DocuSign_eSign::GetResponsiveHtmlOptions.default)
|
4317
|
-
if @api_client.config.debugging
|
4318
|
-
@api_client.config.logger.debug "Calling API: EnvelopesApi.get_responsive_html ..."
|
4319
|
-
end
|
4320
|
-
# verify the required parameter 'account_id' is set
|
4321
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_responsive_html" if account_id.nil?
|
4322
|
-
# verify the required parameter 'envelope_id' is set
|
4323
|
-
fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_responsive_html" if envelope_id.nil?
|
4324
|
-
# resource path
|
4325
|
-
local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/responsive_html".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
|
4326
|
-
|
4327
|
-
# query parameters
|
4328
|
-
query_params = {}
|
4329
|
-
query_params[:'include_anchor_tab_locations'] = options.include_anchor_tab_locations if !options.include_anchor_tab_locations.nil?
|
4330
|
-
|
4331
|
-
# header parameters
|
4332
|
-
header_params = {}
|
4333
|
-
# HTTP header 'Accept' (if needed)
|
4334
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4335
|
-
|
4336
|
-
# form parameters
|
4337
|
-
form_params = {}
|
4338
|
-
|
4339
|
-
# http body (model)
|
4340
|
-
post_body = nil
|
4341
|
-
auth_names = []
|
4342
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
4343
|
-
:header_params => header_params,
|
4344
|
-
:query_params => query_params,
|
4345
|
-
:form_params => form_params,
|
4346
|
-
:body => post_body,
|
4347
|
-
:auth_names => auth_names,
|
4348
|
-
:return_type => 'DocumentHtmlDefinitionOriginals')
|
4349
|
-
if @api_client.config.debugging
|
4350
|
-
@api_client.config.logger.debug "API called: EnvelopesApi#get_responsive_html\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4351
|
-
end
|
4352
|
-
return data, status_code, headers
|
4353
|
-
end
|
4354
|
-
|
4355
4221
|
# Get encrypted tabs for envelope.
|
4356
4222
|
#
|
4357
4223
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -6371,6 +6237,65 @@ module DocuSign_eSign
|
|
6371
6237
|
return data, status_code, headers
|
6372
6238
|
end
|
6373
6239
|
|
6240
|
+
# Retrieves a PDF document from the envelope with no CoC.
|
6241
|
+
#
|
6242
|
+
# @param account_id The external account number (int) or account ID Guid.
|
6243
|
+
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
6244
|
+
# @param regen_document_id
|
6245
|
+
# @param document (optional parameter)
|
6246
|
+
# @return [File]
|
6247
|
+
def update_regen_document(account_id, envelope_id, regen_document_id, document)
|
6248
|
+
data, _status_code, _headers = update_regen_document_with_http_info(account_id, envelope_id, regen_document_id, document)
|
6249
|
+
return data
|
6250
|
+
end
|
6251
|
+
|
6252
|
+
# Retrieves a PDF document from the envelope with no CoC.
|
6253
|
+
#
|
6254
|
+
# @param account_id The external account number (int) or account ID Guid.
|
6255
|
+
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
6256
|
+
# @param regen_document_id
|
6257
|
+
# @param document (optional parameter)
|
6258
|
+
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
6259
|
+
def update_regen_document_with_http_info(account_id, envelope_id, regen_document_id, document)
|
6260
|
+
if @api_client.config.debugging
|
6261
|
+
@api_client.config.logger.debug "Calling API: EnvelopesApi.update_regen_document ..."
|
6262
|
+
end
|
6263
|
+
# verify the required parameter 'account_id' is set
|
6264
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.update_regen_document" if account_id.nil?
|
6265
|
+
# verify the required parameter 'envelope_id' is set
|
6266
|
+
fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.update_regen_document" if envelope_id.nil?
|
6267
|
+
# verify the required parameter 'regen_document_id' is set
|
6268
|
+
fail ArgumentError, "Missing the required parameter 'regen_document_id' when calling EnvelopesApi.update_regen_document" if regen_document_id.nil?
|
6269
|
+
# resource path
|
6270
|
+
local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{regenDocumentId}/regen".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s).sub('{' + 'regenDocumentId' + '}', regen_document_id.to_s)
|
6271
|
+
|
6272
|
+
# query parameters
|
6273
|
+
query_params = {}
|
6274
|
+
|
6275
|
+
# header parameters
|
6276
|
+
header_params = {}
|
6277
|
+
# HTTP header 'Accept' (if needed)
|
6278
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/pdf'])
|
6279
|
+
|
6280
|
+
# form parameters
|
6281
|
+
form_params = {}
|
6282
|
+
|
6283
|
+
# http body (model)
|
6284
|
+
post_body = @api_client.object_to_http_body(document)
|
6285
|
+
auth_names = []
|
6286
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
6287
|
+
:header_params => header_params,
|
6288
|
+
:query_params => query_params,
|
6289
|
+
:form_params => form_params,
|
6290
|
+
:body => post_body,
|
6291
|
+
:auth_names => auth_names,
|
6292
|
+
:return_type => 'File')
|
6293
|
+
if @api_client.config.debugging
|
6294
|
+
@api_client.config.logger.debug "API called: EnvelopesApi#update_regen_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6295
|
+
end
|
6296
|
+
return data, status_code, headers
|
6297
|
+
end
|
6298
|
+
|
6374
6299
|
# Updates the tabs for a recipient.
|
6375
6300
|
# Updates one or more tabs for a recipient in a draft envelope.
|
6376
6301
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -2624,65 +2624,6 @@ module DocuSign_eSign
|
|
2624
2624
|
return data, status_code, headers
|
2625
2625
|
end
|
2626
2626
|
|
2627
|
-
# Adds or replaces the bulk recipients list in a template.
|
2628
|
-
# Updates the bulk recipients in a template using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
|
2629
|
-
# @param account_id The external account number (int) or account ID Guid.
|
2630
|
-
# @param recipient_id The ID of the recipient being accessed.
|
2631
|
-
# @param template_id The ID of the template being accessed.
|
2632
|
-
# @param bulk_recipients_request (optional parameter)
|
2633
|
-
# @return [BulkRecipientsSummaryResponse]
|
2634
|
-
def update_bulk_recipients(account_id, recipient_id, template_id, bulk_recipients_request)
|
2635
|
-
data, _status_code, _headers = update_bulk_recipients_with_http_info(account_id, recipient_id, template_id, bulk_recipients_request)
|
2636
|
-
return data
|
2637
|
-
end
|
2638
|
-
|
2639
|
-
# Adds or replaces the bulk recipients list in a template.
|
2640
|
-
# Updates the bulk recipients in a template using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
|
2641
|
-
# @param account_id The external account number (int) or account ID Guid.
|
2642
|
-
# @param recipient_id The ID of the recipient being accessed.
|
2643
|
-
# @param template_id The ID of the template being accessed.
|
2644
|
-
# @param bulk_recipients_request (optional parameter)
|
2645
|
-
# @return [Array<(BulkRecipientsSummaryResponse, Fixnum, Hash)>] BulkRecipientsSummaryResponse data, response status code and response headers
|
2646
|
-
def update_bulk_recipients_with_http_info(account_id, recipient_id, template_id, bulk_recipients_request)
|
2647
|
-
if @api_client.config.debugging
|
2648
|
-
@api_client.config.logger.debug "Calling API: TemplatesApi.update_bulk_recipients ..."
|
2649
|
-
end
|
2650
|
-
# verify the required parameter 'account_id' is set
|
2651
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling TemplatesApi.update_bulk_recipients" if account_id.nil?
|
2652
|
-
# verify the required parameter 'recipient_id' is set
|
2653
|
-
fail ArgumentError, "Missing the required parameter 'recipient_id' when calling TemplatesApi.update_bulk_recipients" if recipient_id.nil?
|
2654
|
-
# verify the required parameter 'template_id' is set
|
2655
|
-
fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_bulk_recipients" if template_id.nil?
|
2656
|
-
# resource path
|
2657
|
-
local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
|
2658
|
-
|
2659
|
-
# query parameters
|
2660
|
-
query_params = {}
|
2661
|
-
|
2662
|
-
# header parameters
|
2663
|
-
header_params = {}
|
2664
|
-
# HTTP header 'Accept' (if needed)
|
2665
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2666
|
-
|
2667
|
-
# form parameters
|
2668
|
-
form_params = {}
|
2669
|
-
|
2670
|
-
# http body (model)
|
2671
|
-
post_body = @api_client.object_to_http_body(bulk_recipients_request)
|
2672
|
-
auth_names = []
|
2673
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
2674
|
-
:header_params => header_params,
|
2675
|
-
:query_params => query_params,
|
2676
|
-
:form_params => form_params,
|
2677
|
-
:body => post_body,
|
2678
|
-
:auth_names => auth_names,
|
2679
|
-
:return_type => 'BulkRecipientsSummaryResponse')
|
2680
|
-
if @api_client.config.debugging
|
2681
|
-
@api_client.config.logger.debug "API called: TemplatesApi#update_bulk_recipients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2682
|
-
end
|
2683
|
-
return data, status_code, headers
|
2684
|
-
end
|
2685
|
-
|
2686
2627
|
# Updates envelope custom fields in a template.
|
2687
2628
|
# Updates the custom fields in a template. Each custom field used in a template must have a unique name.
|
2688
2629
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -65,6 +65,9 @@ module DocuSign_eSign
|
|
65
65
|
# When set to **true**, the full list of user information is returned for each user in the account.
|
66
66
|
attr_accessor :additional_info
|
67
67
|
|
68
|
+
#
|
69
|
+
attr_accessor :alternate_admins_only
|
70
|
+
|
68
71
|
# Number of records to return. The number must be greater than 0 and less than or equal to 100.
|
69
72
|
attr_accessor :count
|
70
73
|
|
@@ -1076,6 +1079,7 @@ module DocuSign_eSign
|
|
1076
1079
|
# query parameters
|
1077
1080
|
query_params = {}
|
1078
1081
|
query_params[:'additional_info'] = options.additional_info if !options.additional_info.nil?
|
1082
|
+
query_params[:'alternate_admins_only'] = options.alternate_admins_only if !options.alternate_admins_only.nil?
|
1079
1083
|
query_params[:'count'] = options.count if !options.count.nil?
|
1080
1084
|
query_params[:'domain_users_only'] = options.domain_users_only if !options.domain_users_only.nil?
|
1081
1085
|
query_params[:'email'] = options.email if !options.email.nil?
|
@@ -35,7 +35,7 @@ module DocuSign_eSign
|
|
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/3.
|
38
|
+
@user_agent = "Swagger-Codegen/3.16.0/ruby"
|
39
39
|
@default_headers = {
|
40
40
|
'Content-Type' => "application/json",
|
41
41
|
'User-Agent' => @user_agent
|
@@ -200,6 +200,11 @@ module DocuSign_eSign
|
|
200
200
|
|
201
201
|
attr_accessor :vaulting_mode_metadata
|
202
202
|
|
203
|
+
#
|
204
|
+
attr_accessor :web_forms
|
205
|
+
|
206
|
+
attr_accessor :web_forms_metadata
|
207
|
+
|
203
208
|
# Attribute mapping from ruby-style variable name to JSON key.
|
204
209
|
def self.attribute_map
|
205
210
|
{
|
@@ -277,7 +282,9 @@ module DocuSign_eSign
|
|
277
282
|
:'use_new_sending_interface' => :'useNewSendingInterface',
|
278
283
|
:'use_new_sending_interface_metadata' => :'useNewSendingInterfaceMetadata',
|
279
284
|
:'vaulting_mode' => :'vaultingMode',
|
280
|
-
:'vaulting_mode_metadata' => :'vaultingModeMetadata'
|
285
|
+
:'vaulting_mode_metadata' => :'vaultingModeMetadata',
|
286
|
+
:'web_forms' => :'webForms',
|
287
|
+
:'web_forms_metadata' => :'webFormsMetadata'
|
281
288
|
}
|
282
289
|
end
|
283
290
|
|
@@ -358,7 +365,9 @@ module DocuSign_eSign
|
|
358
365
|
:'use_new_sending_interface' => :'String',
|
359
366
|
:'use_new_sending_interface_metadata' => :'SettingsMetadata',
|
360
367
|
:'vaulting_mode' => :'String',
|
361
|
-
:'vaulting_mode_metadata' => :'SettingsMetadata'
|
368
|
+
:'vaulting_mode_metadata' => :'SettingsMetadata',
|
369
|
+
:'web_forms' => :'String',
|
370
|
+
:'web_forms_metadata' => :'SettingsMetadata'
|
362
371
|
}
|
363
372
|
end
|
364
373
|
|
@@ -669,6 +678,14 @@ module DocuSign_eSign
|
|
669
678
|
if attributes.has_key?(:'vaultingModeMetadata')
|
670
679
|
self.vaulting_mode_metadata = attributes[:'vaultingModeMetadata']
|
671
680
|
end
|
681
|
+
|
682
|
+
if attributes.has_key?(:'webForms')
|
683
|
+
self.web_forms = attributes[:'webForms']
|
684
|
+
end
|
685
|
+
|
686
|
+
if attributes.has_key?(:'webFormsMetadata')
|
687
|
+
self.web_forms_metadata = attributes[:'webFormsMetadata']
|
688
|
+
end
|
672
689
|
end
|
673
690
|
|
674
691
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -763,7 +780,9 @@ module DocuSign_eSign
|
|
763
780
|
use_new_sending_interface == o.use_new_sending_interface &&
|
764
781
|
use_new_sending_interface_metadata == o.use_new_sending_interface_metadata &&
|
765
782
|
vaulting_mode == o.vaulting_mode &&
|
766
|
-
vaulting_mode_metadata == o.vaulting_mode_metadata
|
783
|
+
vaulting_mode_metadata == o.vaulting_mode_metadata &&
|
784
|
+
web_forms == o.web_forms &&
|
785
|
+
web_forms_metadata == o.web_forms_metadata
|
767
786
|
end
|
768
787
|
|
769
788
|
# @see the `==` method
|
@@ -775,7 +794,7 @@ module DocuSign_eSign
|
|
775
794
|
# Calculates hash code according to all attributes.
|
776
795
|
# @return [Fixnum] Hash code
|
777
796
|
def hash
|
778
|
-
[allow_account_management, allow_account_management_metadata, allow_api_access, allow_api_access_metadata, allow_api_access_to_account, allow_api_access_to_account_metadata, allow_api_sending_on_behalf_of_others, allow_api_sending_on_behalf_of_others_metadata, allow_api_sequential_signing, allow_api_sequential_signing_metadata, allow_auto_tagging, allow_auto_tagging_metadata, allow_bulk_sending, allow_bulk_sending_metadata, allow_docu_sign_desktop_client, allow_docu_sign_desktop_client_metadata, allowed_address_book_access, allowed_address_book_access_metadata, allowed_clickwraps_access, allowed_clickwraps_access_metadata, allowed_template_access, allowed_template_access_metadata, allowed_to_be_envelope_transfer_recipient, allowed_to_be_envelope_transfer_recipient_metadata, allow_envelope_sending, allow_envelope_sending_metadata, allow_e_seal_recipients, allow_e_seal_recipients_metadata, allow_power_forms_admin_to_access_all_power_form_envelopes, allow_power_forms_admin_to_access_all_power_form_envelopes_metadata, allow_senders_to_set_recipient_email_language, allow_senders_to_set_recipient_email_language_metadata, allow_signer_attachments, allow_signer_attachments_metadata, allow_supplemental_documents, allow_supplemental_documents_metadata, allow_tagging_in_send_and_correct, allow_tagging_in_send_and_correct_metadata, allow_vaulting, allow_vaulting_metadata, allow_wet_signing_override, allow_wet_signing_override_metadata, can_create_workspaces, can_create_workspaces_metadata, can_send_envelopes_via_sms, can_send_envelopes_via_sms_metadata, disable_document_upload, disable_document_upload_metadata, disable_other_actions, disable_other_actions_metadata, enable_api_request_logging, enable_api_request_logging_metadata, enable_recipient_viewing_notifications, enable_recipient_viewing_notifications_metadata, enable_sequential_signing_interface, enable_sequential_signing_interface_metadata, enable_transaction_point_integration, enable_transaction_point_integration_metadata, power_form_role, power_form_role_metadata, receive_completed_self_signed_documents_as_email_links, receive_completed_self_signed_documents_as_email_links_metadata, signing_ui_version_metadata, supplemental_documents_must_accept, supplemental_documents_must_accept_metadata, supplemental_documents_must_read, supplemental_documents_must_read_metadata, supplemental_documents_must_view, supplemental_documents_must_view_metadata, use_new_docu_sign_experience_interface, use_new_docu_sign_experience_interface_metadata, use_new_sending_interface, use_new_sending_interface_metadata, vaulting_mode, vaulting_mode_metadata].hash
|
797
|
+
[allow_account_management, allow_account_management_metadata, allow_api_access, allow_api_access_metadata, allow_api_access_to_account, allow_api_access_to_account_metadata, allow_api_sending_on_behalf_of_others, allow_api_sending_on_behalf_of_others_metadata, allow_api_sequential_signing, allow_api_sequential_signing_metadata, allow_auto_tagging, allow_auto_tagging_metadata, allow_bulk_sending, allow_bulk_sending_metadata, allow_docu_sign_desktop_client, allow_docu_sign_desktop_client_metadata, allowed_address_book_access, allowed_address_book_access_metadata, allowed_clickwraps_access, allowed_clickwraps_access_metadata, allowed_template_access, allowed_template_access_metadata, allowed_to_be_envelope_transfer_recipient, allowed_to_be_envelope_transfer_recipient_metadata, allow_envelope_sending, allow_envelope_sending_metadata, allow_e_seal_recipients, allow_e_seal_recipients_metadata, allow_power_forms_admin_to_access_all_power_form_envelopes, allow_power_forms_admin_to_access_all_power_form_envelopes_metadata, allow_senders_to_set_recipient_email_language, allow_senders_to_set_recipient_email_language_metadata, allow_signer_attachments, allow_signer_attachments_metadata, allow_supplemental_documents, allow_supplemental_documents_metadata, allow_tagging_in_send_and_correct, allow_tagging_in_send_and_correct_metadata, allow_vaulting, allow_vaulting_metadata, allow_wet_signing_override, allow_wet_signing_override_metadata, can_create_workspaces, can_create_workspaces_metadata, can_send_envelopes_via_sms, can_send_envelopes_via_sms_metadata, disable_document_upload, disable_document_upload_metadata, disable_other_actions, disable_other_actions_metadata, enable_api_request_logging, enable_api_request_logging_metadata, enable_recipient_viewing_notifications, enable_recipient_viewing_notifications_metadata, enable_sequential_signing_interface, enable_sequential_signing_interface_metadata, enable_transaction_point_integration, enable_transaction_point_integration_metadata, power_form_role, power_form_role_metadata, receive_completed_self_signed_documents_as_email_links, receive_completed_self_signed_documents_as_email_links_metadata, signing_ui_version_metadata, supplemental_documents_must_accept, supplemental_documents_must_accept_metadata, supplemental_documents_must_read, supplemental_documents_must_read_metadata, supplemental_documents_must_view, supplemental_documents_must_view_metadata, use_new_docu_sign_experience_interface, use_new_docu_sign_experience_interface_metadata, use_new_sending_interface, use_new_sending_interface_metadata, vaulting_mode, vaulting_mode_metadata, web_forms, web_forms_metadata].hash
|
779
798
|
end
|
780
799
|
|
781
800
|
# Builds the object from hash
|