Skip to content

Commit c1adb79

Browse files
Nandsingh90root
andauthored
Version 5.2.0-v2.1-25.2.00.00 release (#134)
Co-authored-by: root <[email protected]>
1 parent a4fe6cc commit c1adb79

30 files changed

+534
-123
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
55

6+
## [v5.2.0] - eSignature API v2.1-25.2.00.00 - 2025-05-21
7+
### Changed
8+
- Added support for version v2.1-25.2.00.00 of the DocuSign ESignature API.
9+
- Updated the SDK release version.
10+
611
## [v5.1.0] - eSignature API v2.1-25.1.00.02 - 2025-04-24
712
### Changed
813
- Added support for version v2.1-25.1.00.02 of the DocuSign ESignature API.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This client SDK is provided as open source, which enables you to customize its f
3030
<a id="versionInformation"></a>
3131
### Version Information
3232
- **API version**: v2.1
33-
- **Latest SDK version**: 5.1.0
33+
- **Latest SDK version**: 5.2.0
3434

3535
<a id="requirements"></a>
3636
## Requirements

lib/docusign_esign/api/accounts_api.rb

Lines changed: 8 additions & 4 deletions
Large diffs are not rendered by default.

lib/docusign_esign/api/envelopes_api.rb

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,22 @@ def self.default
241241
end
242242
end
243243

244+
class ListAuditEventsOptions
245+
# Locale setting for the response, e.g., 'en-US'.
246+
attr_accessor :locale
247+
248+
def self.default
249+
@@default ||= ListAuditEventsOptions.new
250+
end
251+
end
252+
244253
class ListDocumentsOptions
245254
#
246255
attr_accessor :documents_by_userid
247256

257+
#
258+
attr_accessor :include_agreement_type
259+
248260
#
249261
attr_accessor :include_docgen_formfields
250262

@@ -3575,7 +3587,7 @@ def get_comments_transcript_with_http_info(account_id, envelope_id, options = Do
35753587
# Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account.
35763588
# @param account_id The external account number (int) or account ID Guid.
35773589
# @param envelope_id The envelopeId Guid of the envelope being accessed.
3578-
# @param lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
3590+
# @param lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
35793591
# @param recipient_id The ID of the recipient being accessed.
35803592
# @param DocuSign_eSign::GetConsumerDisclosureOptions Options for modifying the behavior of the function.
35813593
# @return [ConsumerDisclosure]
@@ -3588,7 +3600,7 @@ def get_consumer_disclosure(account_id, envelope_id, lang_code, recipient_id, op
35883600
# Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account.
35893601
# @param account_id The external account number (int) or account ID Guid.
35903602
# @param envelope_id The envelopeId Guid of the envelope being accessed.
3591-
# @param lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
3603+
# @param lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
35923604
# @param recipient_id The ID of the recipient being accessed.
35933605
# @param DocuSign_eSign::GetConsumerDisclosureOptions Options for modifying the behavior of the function.
35943606
# @return [Array<(ConsumerDisclosure, Fixnum, Hash)>] ConsumerDisclosure data, response status code and response headers
@@ -5291,18 +5303,20 @@ def get_template_workflow_step_definition_with_http_info(account_id, template_id
52915303
# Gets the envelope audit events for the specified envelope.
52925304
# @param account_id The external account number (int) or account ID Guid.
52935305
# @param envelope_id The envelopeId Guid of the envelope being accessed.
5306+
# @param DocuSign_eSign::ListAuditEventsOptions Options for modifying the behavior of the function.
52945307
# @return [EnvelopeAuditEventResponse]
5295-
def list_audit_events(account_id, envelope_id)
5296-
data, _status_code, _headers = list_audit_events_with_http_info(account_id, envelope_id)
5308+
def list_audit_events(account_id, envelope_id, options = DocuSign_eSign::ListAuditEventsOptions.default)
5309+
data, _status_code, _headers = list_audit_events_with_http_info(account_id, envelope_id, options)
52975310
return data
52985311
end
52995312

53005313
# Gets the envelope audit events for an envelope.
53015314
# Gets the envelope audit events for the specified envelope.
53025315
# @param account_id The external account number (int) or account ID Guid.
53035316
# @param envelope_id The envelopeId Guid of the envelope being accessed.
5317+
# @param DocuSign_eSign::ListAuditEventsOptions Options for modifying the behavior of the function.
53045318
# @return [Array<(EnvelopeAuditEventResponse, Fixnum, Hash)>] EnvelopeAuditEventResponse data, response status code and response headers
5305-
def list_audit_events_with_http_info(account_id, envelope_id)
5319+
def list_audit_events_with_http_info(account_id, envelope_id, options = DocuSign_eSign::ListAuditEventsOptions.default)
53065320
if @api_client.config.debugging
53075321
@api_client.config.logger.debug "Calling API: EnvelopesApi.list_audit_events ..."
53085322
end
@@ -5315,6 +5329,7 @@ def list_audit_events_with_http_info(account_id, envelope_id)
53155329

53165330
# query parameters
53175331
query_params = {}
5332+
query_params[:'locale'] = options.locale if !options.locale.nil?
53185333

53195334
# header parameters
53205335
header_params = {}
@@ -5481,6 +5496,7 @@ def list_documents_with_http_info(account_id, envelope_id, options = DocuSign_eS
54815496
# query parameters
54825497
query_params = {}
54835498
query_params[:'documents_by_userid'] = options.documents_by_userid if !options.documents_by_userid.nil?
5499+
query_params[:'include_agreement_type'] = options.include_agreement_type if !options.include_agreement_type.nil?
54845500
query_params[:'include_docgen_formfields'] = options.include_docgen_formfields if !options.include_docgen_formfields.nil?
54855501
query_params[:'include_document_size'] = options.include_document_size if !options.include_document_size.nil?
54865502
query_params[:'include_metadata'] = options.include_metadata if !options.include_metadata.nil?

lib/docusign_esign/api/templates_api.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ def self.default
101101
end
102102

103103
class ListDocumentsOptions
104+
#
105+
attr_accessor :include_agreement_type
106+
104107
#
105108
attr_accessor :include_tabs
106109

@@ -2162,6 +2165,7 @@ def list_documents_with_http_info(account_id, template_id, options = DocuSign_eS
21622165

21632166
# query parameters
21642167
query_params = {}
2168+
query_params[:'include_agreement_type'] = options.include_agreement_type if !options.include_agreement_type.nil?
21652169
query_params[:'include_tabs'] = options.include_tabs if !options.include_tabs.nil?
21662170

21672171
# header parameters

lib/docusign_esign/client/api_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ApiClient
3535
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
3636
def initialize(config = Configuration.default)
3737
@config = config
38-
@user_agent = "Swagger-Codegen/v2.1/5.1.0/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
38+
@user_agent = "Swagger-Codegen/v2.1/5.2.0/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
3939
@default_headers = {
4040
'Content-Type' => "application/json",
4141
'User-Agent' => @user_agent

lib/docusign_esign/models/account_information.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ class AccountInformation
9595
#
9696
attr_accessor :is_downgrade
9797

98+
#
99+
attr_accessor :is_free_to_trial_eligible
100+
98101
#
99102
attr_accessor :payment_method
100103

@@ -161,6 +164,7 @@ def self.attribute_map
161164
:'forgotten_password_questions_count' => :'forgottenPasswordQuestionsCount',
162165
:'free_envelope_sends_remaining_for_advanced_doc_gen' => :'freeEnvelopeSendsRemainingForAdvancedDocGen',
163166
:'is_downgrade' => :'isDowngrade',
167+
:'is_free_to_trial_eligible' => :'isFreeToTrialEligible',
164168
:'payment_method' => :'paymentMethod',
165169
:'plan_classification' => :'planClassification',
166170
:'plan_end_date' => :'planEndDate',
@@ -206,6 +210,7 @@ def self.swagger_types
206210
:'forgotten_password_questions_count' => :'String',
207211
:'free_envelope_sends_remaining_for_advanced_doc_gen' => :'Integer',
208212
:'is_downgrade' => :'String',
213+
:'is_free_to_trial_eligible' => :'String',
209214
:'payment_method' => :'String',
210215
:'plan_classification' => :'String',
211216
:'plan_end_date' => :'String',
@@ -339,6 +344,10 @@ def initialize(attributes = {})
339344
self.is_downgrade = attributes[:'isDowngrade']
340345
end
341346

347+
if attributes.has_key?(:'isFreeToTrialEligible')
348+
self.is_free_to_trial_eligible = attributes[:'isFreeToTrialEligible']
349+
end
350+
342351
if attributes.has_key?(:'paymentMethod')
343352
self.payment_method = attributes[:'paymentMethod']
344353
end
@@ -435,6 +444,7 @@ def ==(o)
435444
forgotten_password_questions_count == o.forgotten_password_questions_count &&
436445
free_envelope_sends_remaining_for_advanced_doc_gen == o.free_envelope_sends_remaining_for_advanced_doc_gen &&
437446
is_downgrade == o.is_downgrade &&
447+
is_free_to_trial_eligible == o.is_free_to_trial_eligible &&
438448
payment_method == o.payment_method &&
439449
plan_classification == o.plan_classification &&
440450
plan_end_date == o.plan_end_date &&
@@ -458,7 +468,7 @@ def eql?(o)
458468
# Calculates hash code according to all attributes.
459469
# @return [Fixnum] Hash code
460470
def hash
461-
[account_id_guid, account_name, account_settings, allow_transaction_rooms, billing_period_days_remaining, billing_period_end_date, billing_period_envelopes_allowed, billing_period_envelopes_sent, billing_period_start_date, billing_profile, brands, can_upgrade, connect_permission, created_date, currency_code, current_plan_id, display_appliance_start_url, display_appliance_url, distributor_code, docu_sign_landing_url, dss_values, envelope_sending_blocked, envelope_unit_price, external_account_id, forgotten_password_questions_count, free_envelope_sends_remaining_for_advanced_doc_gen, is_downgrade, payment_method, plan_classification, plan_end_date, plan_name, plan_start_date, recipient_domains, seats_allowed, seats_in_use, status21_cfr_part11, suspension_date, suspension_status, use_display_appliance].hash
471+
[account_id_guid, account_name, account_settings, allow_transaction_rooms, billing_period_days_remaining, billing_period_end_date, billing_period_envelopes_allowed, billing_period_envelopes_sent, billing_period_start_date, billing_profile, brands, can_upgrade, connect_permission, created_date, currency_code, current_plan_id, display_appliance_start_url, display_appliance_url, distributor_code, docu_sign_landing_url, dss_values, envelope_sending_blocked, envelope_unit_price, external_account_id, forgotten_password_questions_count, free_envelope_sends_remaining_for_advanced_doc_gen, is_downgrade, is_free_to_trial_eligible, payment_method, plan_classification, plan_end_date, plan_name, plan_start_date, recipient_domains, seats_allowed, seats_in_use, status21_cfr_part11, suspension_date, suspension_status, use_display_appliance].hash
462472
end
463473

464474
# Builds the object from hash

0 commit comments

Comments
 (0)