docusign_esign 3.13.0 → 3.14.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/docusign_esign.gemspec +5 -5
- data/lib/docusign_esign/api/accounts_api.rb +26 -325
- data/lib/docusign_esign/api/connect_api.rb +7 -7
- data/lib/docusign_esign/api/envelopes_api.rb +10 -10
- data/lib/docusign_esign/api/organizations_api.rb +8 -60
- data/lib/docusign_esign/api/users_api.rb +4 -0
- data/lib/docusign_esign/client/api_client.rb +16 -10
- data/lib/docusign_esign/client/api_error.rb +1 -1
- data/lib/docusign_esign/client/auth/oauth.rb +1 -1
- data/lib/docusign_esign/models/account_billing_plan_response.rb +7 -8
- data/lib/docusign_esign/models/account_settings_information.rb +145 -1
- data/lib/docusign_esign/models/billing_entity_information_response.rb +214 -0
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +10 -1
- data/lib/docusign_esign/models/bulk_send_envelopes_info.rb +204 -0
- data/lib/docusign_esign/models/checkbox.rb +21 -1
- data/lib/docusign_esign/models/connect_custom_configuration.rb +13 -1
- data/lib/docusign_esign/models/connect_user_info.rb +1 -11
- data/lib/docusign_esign/models/contact.rb +11 -1
- data/lib/docusign_esign/models/delayed_routing_api_model.rb +206 -0
- data/lib/docusign_esign/models/delegation_info.rb +214 -0
- data/lib/docusign_esign/models/envelope_delay_rule_api_model.rb +194 -0
- data/lib/docusign_esign/models/event_notification.rb +13 -1
- data/lib/docusign_esign/models/external_primary_account_recipient_auth_requirements.rb +214 -0
- data/lib/docusign_esign/models/integrated_connect_user_info_list.rb +6 -6
- data/lib/docusign_esign/models/linked_external_primary_account.rb +10 -1
- data/lib/docusign_esign/models/notary_recipient.rb +32 -1
- data/lib/docusign_esign/models/reserved_domain_existence.rb +194 -0
- data/lib/docusign_esign/models/scheduled_sending_api_model.rb +206 -0
- data/lib/docusign_esign/models/sender_email_notifications.rb +11 -1
- data/lib/docusign_esign/models/signer.rb +32 -1
- data/lib/docusign_esign/models/tab_account_settings.rb +20 -1
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
- data/lib/docusign_esign/models/witness.rb +32 -1
- data/lib/docusign_esign/models/workflow.rb +20 -1
- data/lib/docusign_esign/models/workflow_step.rb +10 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/lib/docusign_esign.rb +8 -12
- metadata +14 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e705347ca7df138bd05b4194ec58fbb1aa2c6c3617cb82d85e404170a92541b
|
4
|
+
data.tar.gz: 70ad82abed875115308de0546474096fbb284e1d1ed5aeae59b771ec4271eb8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0ca177d8fc9055b37cd69e398a3c54754e7654f310502b3315f0f66e1349bdd4612158192ad689dc4f36a17b28303dc5b716050039b95bd4e736f692e0c2367
|
7
|
+
data.tar.gz: 2c79629e29c946ef4621acc1c126fc0445521dc0a6ddd003095f6cce9cdad73e478e002eebda9e5e33df45c5b3cbf5fcb7fff6312d70125ab241204e4ff0b45b
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@ 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
|
+
## [3.14.0.rc1] - ESignature API v2.1-21.4.00.00 - 2021-12-13
|
7
|
+
### Changed
|
8
|
+
- Added support for version v2.1-21.4.00.00 of the DocuSign ESignature API.
|
9
|
+
- Updated the SDK release version.
|
10
|
+
|
11
|
+
|
6
12
|
## [3.13.0] - ESignature API v2.1-21.3.02.00 - 2021-10-29
|
7
13
|
### Changed
|
8
14
|
- Added support for version v2.1-21.3.02.00 of the DocuSign ESignature API.
|
data/docusign_esign.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
|
3
3
|
=begin
|
4
4
|
#DocuSign REST API
|
5
5
|
|
6
6
|
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
7
7
|
|
8
|
-
OpenAPI spec version: v2
|
8
|
+
OpenAPI spec version: v2.1
|
9
9
|
Contact: devcenter@docusign.com
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
11
|
|
@@ -20,9 +20,9 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.platform = Gem::Platform::RUBY
|
21
21
|
s.authors = ["DocuSign"]
|
22
22
|
s.email = ["devcenter@docusign.com"]
|
23
|
-
s.homepage = "https://github.com/docusign/docusign-ruby-client"
|
23
|
+
s.homepage = "https://github.com/docusign/docusign-esign-ruby-client"
|
24
24
|
s.summary = "DocuSign REST API Ruby Gem"
|
25
|
-
s.description = "The DocuSign package makes integrating DocuSign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-ruby-client repository. Join the eSign revolution!"
|
25
|
+
s.description = "The DocuSign package makes integrating DocuSign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-esign-ruby-client repository. Join the eSign revolution!"
|
26
26
|
s.license = "MIT"
|
27
27
|
s.required_ruby_version = ">= 1.9"
|
28
28
|
|
@@ -45,4 +45,4 @@ Gem::Specification.new do |s|
|
|
45
45
|
s.test_files = `find spec/*`.split("\n")
|
46
46
|
s.executables = []
|
47
47
|
s.require_paths = ["lib"]
|
48
|
-
end
|
48
|
+
end
|
@@ -151,6 +151,15 @@ module DocuSign_eSign
|
|
151
151
|
end
|
152
152
|
end
|
153
153
|
|
154
|
+
class GetReservedDomainExistenceOptions
|
155
|
+
#
|
156
|
+
attr_accessor :email_domain
|
157
|
+
|
158
|
+
def self.default
|
159
|
+
@@default ||= GetReservedDomainExistenceOptions.new
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
154
163
|
class ListBrandsOptions
|
155
164
|
# When set to **true**, excludes distributor brand information from the response set.
|
156
165
|
attr_accessor :exclude_distributor_brand
|
@@ -542,57 +551,6 @@ module DocuSign_eSign
|
|
542
551
|
return data, status_code, headers
|
543
552
|
end
|
544
553
|
|
545
|
-
# Creates a customized report
|
546
|
-
#
|
547
|
-
# @param account_id The external account number (int) or account ID Guid.
|
548
|
-
# @param report_in_product_run_request (optional parameter)
|
549
|
-
# @return [ReportInProductSaveResponse]
|
550
|
-
def create_report_in_product_create(account_id, report_in_product_run_request)
|
551
|
-
data, _status_code, _headers = create_report_in_product_create_with_http_info(account_id, report_in_product_run_request)
|
552
|
-
return data
|
553
|
-
end
|
554
|
-
|
555
|
-
# Creates a customized report
|
556
|
-
#
|
557
|
-
# @param account_id The external account number (int) or account ID Guid.
|
558
|
-
# @param report_in_product_run_request (optional parameter)
|
559
|
-
# @return [Array<(ReportInProductSaveResponse, Fixnum, Hash)>] ReportInProductSaveResponse data, response status code and response headers
|
560
|
-
def create_report_in_product_create_with_http_info(account_id, report_in_product_run_request)
|
561
|
-
if @api_client.config.debugging
|
562
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.create_report_in_product_create ..."
|
563
|
-
end
|
564
|
-
# verify the required parameter 'account_id' is set
|
565
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.create_report_in_product_create" if account_id.nil?
|
566
|
-
# resource path
|
567
|
-
local_var_path = "/v2.1/accounts/{accountId}/reports".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
568
|
-
|
569
|
-
# query parameters
|
570
|
-
query_params = {}
|
571
|
-
|
572
|
-
# header parameters
|
573
|
-
header_params = {}
|
574
|
-
# HTTP header 'Accept' (if needed)
|
575
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
576
|
-
|
577
|
-
# form parameters
|
578
|
-
form_params = {}
|
579
|
-
|
580
|
-
# http body (model)
|
581
|
-
post_body = @api_client.object_to_http_body(report_in_product_run_request)
|
582
|
-
auth_names = []
|
583
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
584
|
-
:header_params => header_params,
|
585
|
-
:query_params => query_params,
|
586
|
-
:form_params => form_params,
|
587
|
-
:body => post_body,
|
588
|
-
:auth_names => auth_names,
|
589
|
-
:return_type => 'ReportInProductSaveResponse')
|
590
|
-
if @api_client.config.debugging
|
591
|
-
@api_client.config.logger.debug "API called: AccountsApi#create_report_in_product_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
592
|
-
end
|
593
|
-
return data, status_code, headers
|
594
|
-
end
|
595
|
-
|
596
554
|
# Deletes the specified account.
|
597
555
|
# This closes the specified account. You must be an account admin to close your account. Once closed, an account must be reopened by DocuSign.
|
598
556
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -1122,59 +1080,6 @@ module DocuSign_eSign
|
|
1122
1080
|
return data, status_code, headers
|
1123
1081
|
end
|
1124
1082
|
|
1125
|
-
# Removes a customized report
|
1126
|
-
#
|
1127
|
-
# @param account_id The external account number (int) or account ID Guid.
|
1128
|
-
# @param id
|
1129
|
-
# @return [ReportInProductSaveResponse]
|
1130
|
-
def delete_report_in_product(account_id, id)
|
1131
|
-
data, _status_code, _headers = delete_report_in_product_with_http_info(account_id, id)
|
1132
|
-
return data
|
1133
|
-
end
|
1134
|
-
|
1135
|
-
# Removes a customized report
|
1136
|
-
#
|
1137
|
-
# @param account_id The external account number (int) or account ID Guid.
|
1138
|
-
# @param id
|
1139
|
-
# @return [Array<(ReportInProductSaveResponse, Fixnum, Hash)>] ReportInProductSaveResponse data, response status code and response headers
|
1140
|
-
def delete_report_in_product_with_http_info(account_id, id)
|
1141
|
-
if @api_client.config.debugging
|
1142
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.delete_report_in_product ..."
|
1143
|
-
end
|
1144
|
-
# verify the required parameter 'account_id' is set
|
1145
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.delete_report_in_product" if account_id.nil?
|
1146
|
-
# verify the required parameter 'id' is set
|
1147
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling AccountsApi.delete_report_in_product" if id.nil?
|
1148
|
-
# resource path
|
1149
|
-
local_var_path = "/v2.1/accounts/{accountId}/reports/{id}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
1150
|
-
|
1151
|
-
# query parameters
|
1152
|
-
query_params = {}
|
1153
|
-
|
1154
|
-
# header parameters
|
1155
|
-
header_params = {}
|
1156
|
-
# HTTP header 'Accept' (if needed)
|
1157
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1158
|
-
|
1159
|
-
# form parameters
|
1160
|
-
form_params = {}
|
1161
|
-
|
1162
|
-
# http body (model)
|
1163
|
-
post_body = nil
|
1164
|
-
auth_names = []
|
1165
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
1166
|
-
:header_params => header_params,
|
1167
|
-
:query_params => query_params,
|
1168
|
-
:form_params => form_params,
|
1169
|
-
:body => post_body,
|
1170
|
-
:auth_names => auth_names,
|
1171
|
-
:return_type => 'ReportInProductSaveResponse')
|
1172
|
-
if @api_client.config.debugging
|
1173
|
-
@api_client.config.logger.debug "API called: AccountsApi#delete_report_in_product\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1174
|
-
end
|
1175
|
-
return data, status_code, headers
|
1176
|
-
end
|
1177
|
-
|
1178
1083
|
# Get the list of identity verification options for an account
|
1179
1084
|
#
|
1180
1085
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -2368,83 +2273,35 @@ module DocuSign_eSign
|
|
2368
2273
|
return data, status_code, headers
|
2369
2274
|
end
|
2370
2275
|
|
2371
|
-
#
|
2372
|
-
#
|
2373
|
-
# @param account_id The external account number (int) or account ID Guid.
|
2374
|
-
# @param id
|
2375
|
-
# @return [ReportInProductGet]
|
2376
|
-
def get_report_in_product(account_id, id)
|
2377
|
-
data, _status_code, _headers = get_report_in_product_with_http_info(account_id, id)
|
2378
|
-
return data
|
2379
|
-
end
|
2380
|
-
|
2381
|
-
# Gets the specified report
|
2382
|
-
#
|
2383
|
-
# @param account_id The external account number (int) or account ID Guid.
|
2384
|
-
# @param id
|
2385
|
-
# @return [Array<(ReportInProductGet, Fixnum, Hash)>] ReportInProductGet data, response status code and response headers
|
2386
|
-
def get_report_in_product_with_http_info(account_id, id)
|
2387
|
-
if @api_client.config.debugging
|
2388
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.get_report_in_product ..."
|
2389
|
-
end
|
2390
|
-
# verify the required parameter 'account_id' is set
|
2391
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.get_report_in_product" if account_id.nil?
|
2392
|
-
# verify the required parameter 'id' is set
|
2393
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling AccountsApi.get_report_in_product" if id.nil?
|
2394
|
-
# resource path
|
2395
|
-
local_var_path = "/v2.1/accounts/{accountId}/reports/{id}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
2396
|
-
|
2397
|
-
# query parameters
|
2398
|
-
query_params = {}
|
2399
|
-
|
2400
|
-
# header parameters
|
2401
|
-
header_params = {}
|
2402
|
-
# HTTP header 'Accept' (if needed)
|
2403
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2404
|
-
|
2405
|
-
# form parameters
|
2406
|
-
form_params = {}
|
2407
|
-
|
2408
|
-
# http body (model)
|
2409
|
-
post_body = nil
|
2410
|
-
auth_names = []
|
2411
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2412
|
-
:header_params => header_params,
|
2413
|
-
:query_params => query_params,
|
2414
|
-
:form_params => form_params,
|
2415
|
-
:body => post_body,
|
2416
|
-
:auth_names => auth_names,
|
2417
|
-
:return_type => 'ReportInProductGet')
|
2418
|
-
if @api_client.config.debugging
|
2419
|
-
@api_client.config.logger.debug "API called: AccountsApi#get_report_in_product\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2420
|
-
end
|
2421
|
-
return data, status_code, headers
|
2422
|
-
end
|
2423
|
-
|
2424
|
-
# Gets the descriptors for all of an account's active reports (for listings)
|
2276
|
+
# Returns whether or not the specified email domain is reserved/claimed.
|
2425
2277
|
#
|
2426
2278
|
# @param account_id The external account number (int) or account ID Guid.
|
2427
|
-
# @
|
2428
|
-
|
2429
|
-
|
2279
|
+
# @param DocuSign_eSign::GetReservedDomainExistenceOptions Options for modifying the behavior of the function.
|
2280
|
+
# @return [ReservedDomainExistence]
|
2281
|
+
def get_reserved_domain_existence(account_id, options = DocuSign_eSign::GetReservedDomainExistenceOptions.default)
|
2282
|
+
data, _status_code, _headers = get_reserved_domain_existence_with_http_info(account_id, options)
|
2430
2283
|
return data
|
2431
2284
|
end
|
2432
2285
|
|
2433
|
-
#
|
2286
|
+
# Returns whether or not the specified email domain is reserved/claimed.
|
2434
2287
|
#
|
2435
2288
|
# @param account_id The external account number (int) or account ID Guid.
|
2436
|
-
# @
|
2437
|
-
|
2289
|
+
# @param DocuSign_eSign::GetReservedDomainExistenceOptions Options for modifying the behavior of the function.
|
2290
|
+
# @return [Array<(ReservedDomainExistence, Fixnum, Hash)>] ReservedDomainExistence data, response status code and response headers
|
2291
|
+
def get_reserved_domain_existence_with_http_info(account_id, options = DocuSign_eSign::GetReservedDomainExistenceOptions.default)
|
2438
2292
|
if @api_client.config.debugging
|
2439
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.
|
2293
|
+
@api_client.config.logger.debug "Calling API: AccountsApi.get_reserved_domain_existence ..."
|
2440
2294
|
end
|
2441
2295
|
# verify the required parameter 'account_id' is set
|
2442
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.
|
2296
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.get_reserved_domain_existence" if account_id.nil?
|
2297
|
+
# verify the required parameter 'email_domain' is set
|
2298
|
+
fail ArgumentError, "Missing the required parameter 'email_domain' when calling AccountsApi.get_reserved_domain_existence" if email_domain.nil?
|
2443
2299
|
# resource path
|
2444
|
-
local_var_path = "/v2.1/accounts/{accountId}/
|
2300
|
+
local_var_path = "/v2.1/accounts/{accountId}/reserved_domains".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
2445
2301
|
|
2446
2302
|
# query parameters
|
2447
2303
|
query_params = {}
|
2304
|
+
query_params[:'email_domain'] = email_domain
|
2448
2305
|
|
2449
2306
|
# header parameters
|
2450
2307
|
header_params = {}
|
@@ -2463,9 +2320,9 @@ module DocuSign_eSign
|
|
2463
2320
|
:form_params => form_params,
|
2464
2321
|
:body => post_body,
|
2465
2322
|
:auth_names => auth_names,
|
2466
|
-
:return_type => '
|
2323
|
+
:return_type => 'ReservedDomainExistence')
|
2467
2324
|
if @api_client.config.debugging
|
2468
|
-
@api_client.config.logger.debug "API called: AccountsApi#
|
2325
|
+
@api_client.config.logger.debug "API called: AccountsApi#get_reserved_domain_existence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2469
2326
|
end
|
2470
2327
|
return data, status_code, headers
|
2471
2328
|
end
|
@@ -3912,162 +3769,6 @@ module DocuSign_eSign
|
|
3912
3769
|
return data, status_code, headers
|
3913
3770
|
end
|
3914
3771
|
|
3915
|
-
# Returns the result set from running the specified report
|
3916
|
-
#
|
3917
|
-
# @param account_id The external account number (int) or account ID Guid.
|
3918
|
-
# @param report_in_product_run_request (optional parameter)
|
3919
|
-
# @return [ReportInProductRunResponse]
|
3920
|
-
def update_report_in_product_run_results(account_id, report_in_product_run_request)
|
3921
|
-
data, _status_code, _headers = update_report_in_product_run_results_with_http_info(account_id, report_in_product_run_request)
|
3922
|
-
return data
|
3923
|
-
end
|
3924
|
-
|
3925
|
-
# Returns the result set from running the specified report
|
3926
|
-
#
|
3927
|
-
# @param account_id The external account number (int) or account ID Guid.
|
3928
|
-
# @param report_in_product_run_request (optional parameter)
|
3929
|
-
# @return [Array<(ReportInProductRunResponse, Fixnum, Hash)>] ReportInProductRunResponse data, response status code and response headers
|
3930
|
-
def update_report_in_product_run_results_with_http_info(account_id, report_in_product_run_request)
|
3931
|
-
if @api_client.config.debugging
|
3932
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.update_report_in_product_run_results ..."
|
3933
|
-
end
|
3934
|
-
# verify the required parameter 'account_id' is set
|
3935
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.update_report_in_product_run_results" if account_id.nil?
|
3936
|
-
# resource path
|
3937
|
-
local_var_path = "/v2.1/accounts/{accountId}/reports/report_results".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
3938
|
-
|
3939
|
-
# query parameters
|
3940
|
-
query_params = {}
|
3941
|
-
|
3942
|
-
# header parameters
|
3943
|
-
header_params = {}
|
3944
|
-
# HTTP header 'Accept' (if needed)
|
3945
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3946
|
-
|
3947
|
-
# form parameters
|
3948
|
-
form_params = {}
|
3949
|
-
|
3950
|
-
# http body (model)
|
3951
|
-
post_body = @api_client.object_to_http_body(report_in_product_run_request)
|
3952
|
-
auth_names = []
|
3953
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
3954
|
-
:header_params => header_params,
|
3955
|
-
:query_params => query_params,
|
3956
|
-
:form_params => form_params,
|
3957
|
-
:body => post_body,
|
3958
|
-
:auth_names => auth_names,
|
3959
|
-
:return_type => 'ReportInProductRunResponse')
|
3960
|
-
if @api_client.config.debugging
|
3961
|
-
@api_client.config.logger.debug "API called: AccountsApi#update_report_in_product_run_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3962
|
-
end
|
3963
|
-
return data, status_code, headers
|
3964
|
-
end
|
3965
|
-
|
3966
|
-
# Saves a customized report
|
3967
|
-
#
|
3968
|
-
# @param account_id The external account number (int) or account ID Guid.
|
3969
|
-
# @param id
|
3970
|
-
# @param report_in_product_run_request (optional parameter)
|
3971
|
-
# @return [ReportInProductSaveResponse]
|
3972
|
-
def update_report_in_product_save(account_id, id, report_in_product_run_request)
|
3973
|
-
data, _status_code, _headers = update_report_in_product_save_with_http_info(account_id, id, report_in_product_run_request)
|
3974
|
-
return data
|
3975
|
-
end
|
3976
|
-
|
3977
|
-
# Saves a customized report
|
3978
|
-
#
|
3979
|
-
# @param account_id The external account number (int) or account ID Guid.
|
3980
|
-
# @param id
|
3981
|
-
# @param report_in_product_run_request (optional parameter)
|
3982
|
-
# @return [Array<(ReportInProductSaveResponse, Fixnum, Hash)>] ReportInProductSaveResponse data, response status code and response headers
|
3983
|
-
def update_report_in_product_save_with_http_info(account_id, id, report_in_product_run_request)
|
3984
|
-
if @api_client.config.debugging
|
3985
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.update_report_in_product_save ..."
|
3986
|
-
end
|
3987
|
-
# verify the required parameter 'account_id' is set
|
3988
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.update_report_in_product_save" if account_id.nil?
|
3989
|
-
# verify the required parameter 'id' is set
|
3990
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling AccountsApi.update_report_in_product_save" if id.nil?
|
3991
|
-
# resource path
|
3992
|
-
local_var_path = "/v2.1/accounts/{accountId}/reports/{id}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
3993
|
-
|
3994
|
-
# query parameters
|
3995
|
-
query_params = {}
|
3996
|
-
|
3997
|
-
# header parameters
|
3998
|
-
header_params = {}
|
3999
|
-
# HTTP header 'Accept' (if needed)
|
4000
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4001
|
-
|
4002
|
-
# form parameters
|
4003
|
-
form_params = {}
|
4004
|
-
|
4005
|
-
# http body (model)
|
4006
|
-
post_body = @api_client.object_to_http_body(report_in_product_run_request)
|
4007
|
-
auth_names = []
|
4008
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
4009
|
-
:header_params => header_params,
|
4010
|
-
:query_params => query_params,
|
4011
|
-
:form_params => form_params,
|
4012
|
-
:body => post_body,
|
4013
|
-
:auth_names => auth_names,
|
4014
|
-
:return_type => 'ReportInProductSaveResponse')
|
4015
|
-
if @api_client.config.debugging
|
4016
|
-
@api_client.config.logger.debug "API called: AccountsApi#update_report_in_product_save\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4017
|
-
end
|
4018
|
-
return data, status_code, headers
|
4019
|
-
end
|
4020
|
-
|
4021
|
-
# Returns the specified report as a CSV string
|
4022
|
-
#
|
4023
|
-
# @param account_id The external account number (int) or account ID Guid.
|
4024
|
-
# @param report_in_product_csv_run_request (optional parameter)
|
4025
|
-
# @return [nil]
|
4026
|
-
def update_report_results_csv(account_id, report_in_product_csv_run_request)
|
4027
|
-
update_report_results_csv_with_http_info(account_id, report_in_product_csv_run_request)
|
4028
|
-
return nil
|
4029
|
-
end
|
4030
|
-
|
4031
|
-
# Returns the specified report as a CSV string
|
4032
|
-
#
|
4033
|
-
# @param account_id The external account number (int) or account ID Guid.
|
4034
|
-
# @param report_in_product_csv_run_request (optional parameter)
|
4035
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
4036
|
-
def update_report_results_csv_with_http_info(account_id, report_in_product_csv_run_request)
|
4037
|
-
if @api_client.config.debugging
|
4038
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.update_report_results_csv ..."
|
4039
|
-
end
|
4040
|
-
# verify the required parameter 'account_id' is set
|
4041
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.update_report_results_csv" if account_id.nil?
|
4042
|
-
# resource path
|
4043
|
-
local_var_path = "/v2.1/accounts/{accountId}/reports/report_results_csv".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
4044
|
-
|
4045
|
-
# query parameters
|
4046
|
-
query_params = {}
|
4047
|
-
|
4048
|
-
# header parameters
|
4049
|
-
header_params = {}
|
4050
|
-
# HTTP header 'Accept' (if needed)
|
4051
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4052
|
-
|
4053
|
-
# form parameters
|
4054
|
-
form_params = {}
|
4055
|
-
|
4056
|
-
# http body (model)
|
4057
|
-
post_body = @api_client.object_to_http_body(report_in_product_csv_run_request)
|
4058
|
-
auth_names = []
|
4059
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
4060
|
-
:header_params => header_params,
|
4061
|
-
:query_params => query_params,
|
4062
|
-
:form_params => form_params,
|
4063
|
-
:body => post_body,
|
4064
|
-
:auth_names => auth_names)
|
4065
|
-
if @api_client.config.debugging
|
4066
|
-
@api_client.config.logger.debug "API called: AccountsApi#update_report_results_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4067
|
-
end
|
4068
|
-
return data, status_code, headers
|
4069
|
-
end
|
4070
|
-
|
4071
3772
|
# Updates the account settings for an account.
|
4072
3773
|
# Updates the account settings for the specified account.
|
4073
3774
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -18,10 +18,10 @@ module DocuSign_eSign
|
|
18
18
|
attr_accessor :count
|
19
19
|
|
20
20
|
#
|
21
|
-
attr_accessor :
|
21
|
+
attr_accessor :domain_users_only
|
22
22
|
|
23
23
|
#
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :email_substring
|
25
25
|
|
26
26
|
#
|
27
27
|
attr_accessor :start_position
|
@@ -464,8 +464,8 @@ module DocuSign_eSign
|
|
464
464
|
|
465
465
|
# Returns all users from the configured Connect service.
|
466
466
|
#
|
467
|
-
# @param account_id
|
468
|
-
# @param connect_id
|
467
|
+
# @param account_id The external account number (int) or account ID Guid.
|
468
|
+
# @param connect_id The ID of the custom Connect configuration being accessed.
|
469
469
|
# @param DocuSign_eSign::GetConnectAllUsersOptions Options for modifying the behavior of the function.
|
470
470
|
# @return [IntegratedConnectUserInfoList]
|
471
471
|
def get_connect_all_users(account_id, connect_id, options = DocuSign_eSign::GetConnectAllUsersOptions.default)
|
@@ -475,8 +475,8 @@ module DocuSign_eSign
|
|
475
475
|
|
476
476
|
# Returns all users from the configured Connect service.
|
477
477
|
#
|
478
|
-
# @param account_id
|
479
|
-
# @param connect_id
|
478
|
+
# @param account_id The external account number (int) or account ID Guid.
|
479
|
+
# @param connect_id The ID of the custom Connect configuration being accessed.
|
480
480
|
# @param DocuSign_eSign::GetConnectAllUsersOptions Options for modifying the behavior of the function.
|
481
481
|
# @return [Array<(IntegratedConnectUserInfoList, Fixnum, Hash)>] IntegratedConnectUserInfoList data, response status code and response headers
|
482
482
|
def get_connect_all_users_with_http_info(account_id, connect_id, options = DocuSign_eSign::GetConnectAllUsersOptions.default)
|
@@ -493,8 +493,8 @@ module DocuSign_eSign
|
|
493
493
|
# query parameters
|
494
494
|
query_params = {}
|
495
495
|
query_params[:'count'] = options.count if !options.count.nil?
|
496
|
+
query_params[:'domain_users_only'] = options.domain_users_only if !options.domain_users_only.nil?
|
496
497
|
query_params[:'email_substring'] = options.email_substring if !options.email_substring.nil?
|
497
|
-
query_params[:'is_recipient_connect_config'] = options.is_recipient_connect_config if !options.is_recipient_connect_config.nil?
|
498
498
|
query_params[:'start_position'] = options.start_position if !options.start_position.nil?
|
499
499
|
query_params[:'status'] = options.status if !options.status.nil?
|
500
500
|
query_params[:'user_name_substring'] = options.user_name_substring if !options.user_name_substring.nil?
|
@@ -3331,9 +3331,9 @@ module DocuSign_eSign
|
|
3331
3331
|
|
3332
3332
|
# Get Responsive HTML for a document in an envelope.
|
3333
3333
|
#
|
3334
|
-
# @param account_id
|
3335
|
-
# @param document_id
|
3336
|
-
# @param envelope_id
|
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
3337
|
# @param DocuSign_eSign::GetDocumentResponsiveHtmlOptions Options for modifying the behavior of the function.
|
3338
3338
|
# @return [DocumentHtmlDefinitionOriginals]
|
3339
3339
|
def get_document_responsive_html(account_id, document_id, envelope_id, options = DocuSign_eSign::GetDocumentResponsiveHtmlOptions.default)
|
@@ -3343,9 +3343,9 @@ module DocuSign_eSign
|
|
3343
3343
|
|
3344
3344
|
# Get Responsive HTML for a document in an envelope.
|
3345
3345
|
#
|
3346
|
-
# @param account_id
|
3347
|
-
# @param document_id
|
3348
|
-
# @param envelope_id
|
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
3349
|
# @param DocuSign_eSign::GetDocumentResponsiveHtmlOptions Options for modifying the behavior of the function.
|
3350
3350
|
# @return [Array<(DocumentHtmlDefinitionOriginals, Fixnum, Hash)>] DocumentHtmlDefinitionOriginals data, response status code and response headers
|
3351
3351
|
def get_document_responsive_html_with_http_info(account_id, document_id, envelope_id, options = DocuSign_eSign::GetDocumentResponsiveHtmlOptions.default)
|
@@ -4298,8 +4298,8 @@ module DocuSign_eSign
|
|
4298
4298
|
|
4299
4299
|
# Get Responsive HTML for all documents in an envelope.
|
4300
4300
|
#
|
4301
|
-
# @param account_id
|
4302
|
-
# @param envelope_id
|
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
4303
|
# @param DocuSign_eSign::GetResponsiveHtmlOptions Options for modifying the behavior of the function.
|
4304
4304
|
# @return [DocumentHtmlDefinitionOriginals]
|
4305
4305
|
def get_responsive_html(account_id, envelope_id, options = DocuSign_eSign::GetResponsiveHtmlOptions.default)
|
@@ -4309,8 +4309,8 @@ module DocuSign_eSign
|
|
4309
4309
|
|
4310
4310
|
# Get Responsive HTML for all documents in an envelope.
|
4311
4311
|
#
|
4312
|
-
# @param account_id
|
4313
|
-
# @param envelope_id
|
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
4314
|
# @param DocuSign_eSign::GetResponsiveHtmlOptions Options for modifying the behavior of the function.
|
4315
4315
|
# @return [Array<(DocumentHtmlDefinitionOriginals, Fixnum, Hash)>] DocumentHtmlDefinitionOriginals data, response status code and response headers
|
4316
4316
|
def get_responsive_html_with_http_info(account_id, envelope_id, options = DocuSign_eSign::GetResponsiveHtmlOptions.default)
|
@@ -26,8 +26,8 @@ module DocuSign_eSign
|
|
26
26
|
# @param organization_id
|
27
27
|
# @param report_correlation_id
|
28
28
|
# @return [nil]
|
29
|
-
def
|
30
|
-
|
29
|
+
def get_report_v2(organization_id, report_correlation_id)
|
30
|
+
get_report_v2_with_http_info(organization_id, report_correlation_id)
|
31
31
|
return nil
|
32
32
|
end
|
33
33
|
|
@@ -36,68 +36,16 @@ module DocuSign_eSign
|
|
36
36
|
# @param organization_id
|
37
37
|
# @param report_correlation_id
|
38
38
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
39
|
-
def
|
39
|
+
def get_report_v2_with_http_info(organization_id, report_correlation_id)
|
40
40
|
if @api_client.config.debugging
|
41
|
-
@api_client.config.logger.debug "Calling API: OrganizationsApi.
|
41
|
+
@api_client.config.logger.debug "Calling API: OrganizationsApi.get_report_v2 ..."
|
42
42
|
end
|
43
43
|
# verify the required parameter 'organization_id' is set
|
44
|
-
fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.
|
44
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.get_report_v2" if organization_id.nil?
|
45
45
|
# verify the required parameter 'report_correlation_id' is set
|
46
|
-
fail ArgumentError, "Missing the required parameter 'report_correlation_id' when calling OrganizationsApi.
|
46
|
+
fail ArgumentError, "Missing the required parameter 'report_correlation_id' when calling OrganizationsApi.get_report_v2" if report_correlation_id.nil?
|
47
47
|
# resource path
|
48
|
-
local_var_path = "/v2.1/organization_reporting/{organizationId}/
|
49
|
-
|
50
|
-
# query parameters
|
51
|
-
query_params = {}
|
52
|
-
|
53
|
-
# header parameters
|
54
|
-
header_params = {}
|
55
|
-
# HTTP header 'Accept' (if needed)
|
56
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
57
|
-
|
58
|
-
# form parameters
|
59
|
-
form_params = {}
|
60
|
-
|
61
|
-
# http body (model)
|
62
|
-
post_body = nil
|
63
|
-
auth_names = []
|
64
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
65
|
-
:header_params => header_params,
|
66
|
-
:query_params => query_params,
|
67
|
-
:form_params => form_params,
|
68
|
-
:body => post_body,
|
69
|
-
:auth_names => auth_names)
|
70
|
-
if @api_client.config.debugging
|
71
|
-
@api_client.config.logger.debug "API called: OrganizationsApi#delete_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
72
|
-
end
|
73
|
-
return data, status_code, headers
|
74
|
-
end
|
75
|
-
|
76
|
-
# Retrieves org level report by correlation id and site.
|
77
|
-
#
|
78
|
-
# @param organization_id
|
79
|
-
# @param report_correlation_id
|
80
|
-
# @return [nil]
|
81
|
-
def get_report(organization_id, report_correlation_id)
|
82
|
-
get_report_with_http_info(organization_id, report_correlation_id)
|
83
|
-
return nil
|
84
|
-
end
|
85
|
-
|
86
|
-
# Retrieves org level report by correlation id and site.
|
87
|
-
#
|
88
|
-
# @param organization_id
|
89
|
-
# @param report_correlation_id
|
90
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
91
|
-
def get_report_with_http_info(organization_id, report_correlation_id)
|
92
|
-
if @api_client.config.debugging
|
93
|
-
@api_client.config.logger.debug "Calling API: OrganizationsApi.get_report ..."
|
94
|
-
end
|
95
|
-
# verify the required parameter 'organization_id' is set
|
96
|
-
fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.get_report" if organization_id.nil?
|
97
|
-
# verify the required parameter 'report_correlation_id' is set
|
98
|
-
fail ArgumentError, "Missing the required parameter 'report_correlation_id' when calling OrganizationsApi.get_report" if report_correlation_id.nil?
|
99
|
-
# resource path
|
100
|
-
local_var_path = "/v2.1/organization_reporting/{organizationId}/reports/{reportCorrelationId}".sub('{format}','json').sub('{' + 'organizationId' + '}', organization_id.to_s).sub('{' + 'reportCorrelationId' + '}', report_correlation_id.to_s)
|
48
|
+
local_var_path = "/v2.1/organization_reporting/{organizationId}/reportsv2/{reportCorrelationId}".sub('{format}','json').sub('{' + 'organizationId' + '}', organization_id.to_s).sub('{' + 'reportCorrelationId' + '}', report_correlation_id.to_s)
|
101
49
|
|
102
50
|
# query parameters
|
103
51
|
query_params = {}
|
@@ -120,7 +68,7 @@ module DocuSign_eSign
|
|
120
68
|
:body => post_body,
|
121
69
|
:auth_names => auth_names)
|
122
70
|
if @api_client.config.debugging
|
123
|
-
@api_client.config.logger.debug "API called: OrganizationsApi#
|
71
|
+
@api_client.config.logger.debug "API called: OrganizationsApi#get_report_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
124
72
|
end
|
125
73
|
return data, status_code, headers
|
126
74
|
end
|