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
@@ -68,6 +68,9 @@ module DocuSign_eSign
|
|
68
68
|
# Number of records to return. The number must be greater than 0 and less than or equal to 100.
|
69
69
|
attr_accessor :count
|
70
70
|
|
71
|
+
#
|
72
|
+
attr_accessor :domain_users_only
|
73
|
+
|
71
74
|
#
|
72
75
|
attr_accessor :email
|
73
76
|
|
@@ -1074,6 +1077,7 @@ module DocuSign_eSign
|
|
1074
1077
|
query_params = {}
|
1075
1078
|
query_params[:'additional_info'] = options.additional_info if !options.additional_info.nil?
|
1076
1079
|
query_params[:'count'] = options.count if !options.count.nil?
|
1080
|
+
query_params[:'domain_users_only'] = options.domain_users_only if !options.domain_users_only.nil?
|
1077
1081
|
query_params[:'email'] = options.email if !options.email.nil?
|
1078
1082
|
query_params[:'email_substring'] = options.email_substring if !options.email_substring.nil?
|
1079
1083
|
query_params[:'group_id'] = options.group_id if !options.group_id.nil?
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
5
|
|
6
|
-
OpenAPI spec version: v2
|
6
|
+
OpenAPI spec version: v2.1
|
7
7
|
Contact: devcenter@docusign.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -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
|
38
|
+
@user_agent = "Swagger-Codegen/3.14.0.rc1/ruby"
|
39
39
|
@default_headers = {
|
40
40
|
'Content-Type' => "application/json",
|
41
41
|
'User-Agent' => @user_agent
|
@@ -392,8 +392,11 @@ module DocuSign_eSign
|
|
392
392
|
# Helper method to set oauth base path
|
393
393
|
# @param [String] oauth_base_path if passed nil it will determined from base_path
|
394
394
|
def set_oauth_base_path(oauth_base_path=nil)
|
395
|
-
|
396
|
-
|
395
|
+
if oauth_base_path
|
396
|
+
raise ArgumentError.new('OAuth base path should only include domain name (without https://)') if oauth_base_path.include? "//"
|
397
|
+
self.oauth_base_path = oauth_base_path
|
398
|
+
return
|
399
|
+
end
|
397
400
|
|
398
401
|
# did we need this check as we can determine it from base path
|
399
402
|
#raise ArgumentError.new('oAuthBasePath cannot be empty') unless oauth_base_path
|
@@ -413,6 +416,7 @@ module DocuSign_eSign
|
|
413
416
|
if !self.oauth_base_path
|
414
417
|
self.set_oauth_base_path()
|
415
418
|
end
|
419
|
+
|
416
420
|
self.oauth_base_path
|
417
421
|
end
|
418
422
|
|
@@ -480,6 +484,7 @@ module DocuSign_eSign
|
|
480
484
|
}
|
481
485
|
data, status_code, headers = self.call_api("POST", "/oauth/token", params)
|
482
486
|
|
487
|
+
|
483
488
|
raise ApiError.new('Some error accrued during process') if data.nil?
|
484
489
|
|
485
490
|
self.set_default_header('Authorization', data.token_type + ' ' + data.access_token)
|
@@ -570,13 +575,14 @@ module DocuSign_eSign
|
|
570
575
|
:return_type => 'OAuth::OAuthToken',
|
571
576
|
:oauth => true
|
572
577
|
}
|
573
|
-
|
574
|
-
|
578
|
+
|
579
|
+
token, status_code, headers = self.call_api("POST", '/oauth/token', params)
|
575
580
|
|
576
|
-
|
581
|
+
if status_code == 200
|
582
|
+
self.default_headers.store('Authorization', "#{token.token_type} #{token.access_token}")
|
577
583
|
|
578
|
-
|
579
|
-
|
584
|
+
token
|
585
|
+
end
|
580
586
|
end
|
581
587
|
|
582
588
|
# Helper method to add default header params
|
@@ -586,4 +592,4 @@ module DocuSign_eSign
|
|
586
592
|
@default_headers[header_name] = header_value
|
587
593
|
end
|
588
594
|
end
|
589
|
-
end
|
595
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
5
|
|
6
|
-
OpenAPI spec version: v2
|
6
|
+
OpenAPI spec version: v2.1
|
7
7
|
Contact: devcenter@docusign.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -29,8 +29,7 @@ module DocuSign_eSign
|
|
29
29
|
|
30
30
|
attr_accessor :downgrade_request_information
|
31
31
|
|
32
|
-
|
33
|
-
attr_accessor :entity_name
|
32
|
+
attr_accessor :entity_information
|
34
33
|
|
35
34
|
#
|
36
35
|
attr_accessor :payment_method
|
@@ -52,7 +51,7 @@ module DocuSign_eSign
|
|
52
51
|
:'direct_debit_processor_information' => :'directDebitProcessorInformation',
|
53
52
|
:'downgrade_plan_information' => :'downgradePlanInformation',
|
54
53
|
:'downgrade_request_information' => :'downgradeRequestInformation',
|
55
|
-
:'
|
54
|
+
:'entity_information' => :'entityInformation',
|
56
55
|
:'payment_method' => :'paymentMethod',
|
57
56
|
:'payment_processor_information' => :'paymentProcessorInformation',
|
58
57
|
:'referral_information' => :'referralInformation',
|
@@ -70,7 +69,7 @@ module DocuSign_eSign
|
|
70
69
|
:'direct_debit_processor_information' => :'DirectDebitProcessorInformation',
|
71
70
|
:'downgrade_plan_information' => :'DowngradePlanUpdateResponse',
|
72
71
|
:'downgrade_request_information' => :'DowngradeRequestInformation',
|
73
|
-
:'
|
72
|
+
:'entity_information' => :'BillingEntityInformationResponse',
|
74
73
|
:'payment_method' => :'String',
|
75
74
|
:'payment_processor_information' => :'PaymentProcessorInformation',
|
76
75
|
:'referral_information' => :'ReferralInformation',
|
@@ -114,8 +113,8 @@ module DocuSign_eSign
|
|
114
113
|
self.downgrade_request_information = attributes[:'downgradeRequestInformation']
|
115
114
|
end
|
116
115
|
|
117
|
-
if attributes.has_key?(:'
|
118
|
-
self.
|
116
|
+
if attributes.has_key?(:'entityInformation')
|
117
|
+
self.entity_information = attributes[:'entityInformation']
|
119
118
|
end
|
120
119
|
|
121
120
|
if attributes.has_key?(:'paymentMethod')
|
@@ -162,7 +161,7 @@ module DocuSign_eSign
|
|
162
161
|
direct_debit_processor_information == o.direct_debit_processor_information &&
|
163
162
|
downgrade_plan_information == o.downgrade_plan_information &&
|
164
163
|
downgrade_request_information == o.downgrade_request_information &&
|
165
|
-
|
164
|
+
entity_information == o.entity_information &&
|
166
165
|
payment_method == o.payment_method &&
|
167
166
|
payment_processor_information == o.payment_processor_information &&
|
168
167
|
referral_information == o.referral_information &&
|
@@ -178,7 +177,7 @@ module DocuSign_eSign
|
|
178
177
|
# Calculates hash code according to all attributes.
|
179
178
|
# @return [Fixnum] Hash code
|
180
179
|
def hash
|
181
|
-
[billing_address, billing_address_is_credit_card_address, billing_plan, credit_card_information, direct_debit_processor_information, downgrade_plan_information, downgrade_request_information,
|
180
|
+
[billing_address, billing_address_is_credit_card_address, billing_plan, credit_card_information, direct_debit_processor_information, downgrade_plan_information, downgrade_request_information, entity_information, payment_method, payment_processor_information, referral_information, successor_plans].hash
|
182
181
|
end
|
183
182
|
|
184
183
|
# Builds the object from hash
|