docusign_esign 3.9.0.rc1 → 3.11.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 +28 -0
- data/Gemfile.lock +23 -22
- data/docusign_esign-2.11.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +5 -26
- data/lib/docusign_esign/api/accounts_api.rb +0 -101
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +93 -0
- data/lib/docusign_esign/api/connect_api.rb +0 -196
- data/lib/docusign_esign/api/envelopes_api.rb +209 -1765
- data/lib/docusign_esign/api/trust_service_providers_api.rb +0 -232
- data/lib/docusign_esign/api/users_api.rb +45 -61
- data/lib/docusign_esign/models/account_billing_plan.rb +21 -1
- data/lib/docusign_esign/models/account_settings_information.rb +58 -1
- data/lib/docusign_esign/models/account_ui_settings.rb +1 -11
- data/lib/docusign_esign/models/agent.rb +29 -1
- data/lib/docusign_esign/models/approve.rb +11 -1
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +11 -1
- data/lib/docusign_esign/models/carbon_copy.rb +29 -1
- data/lib/docusign_esign/models/certified_delivery.rb +29 -1
- data/lib/docusign_esign/models/checkbox.rb +11 -1
- data/lib/docusign_esign/models/comment_thread.rb +11 -1
- data/lib/docusign_esign/models/commission_county.rb +11 -1
- data/lib/docusign_esign/models/commission_expiration.rb +11 -1
- data/lib/docusign_esign/models/commission_number.rb +11 -1
- data/lib/docusign_esign/models/commission_state.rb +11 -1
- data/lib/docusign_esign/models/company.rb +11 -1
- data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +11 -1
- data/lib/docusign_esign/models/currency.rb +11 -1
- data/lib/docusign_esign/models/date.rb +11 -1
- data/lib/docusign_esign/models/date_signed.rb +11 -1
- data/lib/docusign_esign/models/decline.rb +11 -1
- data/lib/docusign_esign/models/draw.rb +11 -1
- data/lib/docusign_esign/models/editor.rb +29 -1
- data/lib/docusign_esign/models/email.rb +11 -1
- data/lib/docusign_esign/models/email_address.rb +11 -1
- data/lib/docusign_esign/models/envelope.rb +11 -1
- data/lib/docusign_esign/models/envelope_definition.rb +20 -1
- data/lib/docusign_esign/models/envelope_document.rb +11 -1
- data/lib/docusign_esign/models/envelope_form_data.rb +2 -5
- data/lib/docusign_esign/models/envelope_form_data_prefill_form_data.rb +186 -0
- data/lib/docusign_esign/models/envelope_id.rb +11 -1
- data/lib/docusign_esign/models/envelope_summary.rb +21 -1
- data/lib/docusign_esign/models/envelope_template.rb +11 -1
- data/lib/docusign_esign/models/external_file.rb +21 -1
- data/lib/docusign_esign/models/first_name.rb +11 -1
- data/lib/docusign_esign/models/form_data_item.rb +11 -1
- data/lib/docusign_esign/models/formula_tab.rb +11 -1
- data/lib/docusign_esign/models/full_name.rb +11 -1
- data/lib/docusign_esign/models/in_person_signer.rb +11 -1
- data/lib/docusign_esign/models/initial_here.rb +21 -1
- data/lib/docusign_esign/models/intermediary.rb +29 -1
- data/lib/docusign_esign/models/last_name.rb +11 -1
- data/lib/docusign_esign/models/list.rb +11 -1
- data/lib/docusign_esign/models/notarize.rb +11 -1
- data/lib/docusign_esign/models/notary_host.rb +11 -1
- data/lib/docusign_esign/models/notary_recipient.rb +29 -1
- data/lib/docusign_esign/models/notary_seal.rb +11 -1
- data/lib/docusign_esign/models/note.rb +11 -1
- data/lib/docusign_esign/models/number.rb +11 -1
- data/lib/docusign_esign/models/payment_method_with_options.rb +13 -1
- data/lib/docusign_esign/models/phone_number.rb +11 -1
- data/lib/docusign_esign/models/poly_line_overlay.rb +11 -1
- data/lib/docusign_esign/models/prefill_form_data.rb +216 -0
- data/lib/docusign_esign/models/prefill_tabs.rb +25 -1
- data/lib/docusign_esign/models/recipient_preview_request.rb +10 -1
- data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +174 -0
- data/lib/docusign_esign/models/recipient_view_request.rb +10 -1
- data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_get.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_run_request.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +161 -1
- data/lib/docusign_esign/models/seal_sign.rb +11 -1
- data/lib/docusign_esign/models/sender_company.rb +1011 -0
- data/lib/docusign_esign/models/sender_name.rb +1011 -0
- data/lib/docusign_esign/models/sign_here.rb +21 -1
- data/lib/docusign_esign/models/signer.rb +29 -1
- data/lib/docusign_esign/models/signer_attachment.rb +21 -1
- data/lib/docusign_esign/models/smart_section.rb +11 -1
- data/lib/docusign_esign/models/ssn.rb +11 -1
- data/lib/docusign_esign/models/tab_group.rb +11 -1
- data/lib/docusign_esign/models/tabs.rb +1 -1
- data/lib/docusign_esign/models/template_tabs.rb +1 -1
- data/lib/docusign_esign/models/text.rb +11 -1
- data/lib/docusign_esign/models/title.rb +11 -1
- data/lib/docusign_esign/models/view.rb +11 -1
- data/lib/docusign_esign/models/witness.rb +29 -1
- data/lib/docusign_esign/models/zip.rb +11 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +6 -6
- data/tests/spec/unit_tests_using_jwt_spec.rb +58 -0
- metadata +8 -2
@@ -21,53 +21,6 @@ module DocuSign_eSign
|
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
24
|
-
# Complete Sign Hash
|
25
|
-
#
|
26
|
-
# @param complete_sign_request (optional parameter)
|
27
|
-
# @return [CompleteSignHashResponse]
|
28
|
-
def complete_sign_hash(complete_sign_request)
|
29
|
-
data, _status_code, _headers = complete_sign_hash_with_http_info( complete_sign_request)
|
30
|
-
return data
|
31
|
-
end
|
32
|
-
|
33
|
-
# Complete Sign Hash
|
34
|
-
#
|
35
|
-
# @param complete_sign_request (optional parameter)
|
36
|
-
# @return [Array<(CompleteSignHashResponse, Fixnum, Hash)>] CompleteSignHashResponse data, response status code and response headers
|
37
|
-
def complete_sign_hash_with_http_info(complete_sign_request)
|
38
|
-
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.complete_sign_hash ..."
|
40
|
-
end
|
41
|
-
# resource path
|
42
|
-
local_var_path = "/v2.1/signature/completesignhash".sub('{format}','json')
|
43
|
-
|
44
|
-
# query parameters
|
45
|
-
query_params = {}
|
46
|
-
|
47
|
-
# header parameters
|
48
|
-
header_params = {}
|
49
|
-
# HTTP header 'Accept' (if needed)
|
50
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
|
-
|
52
|
-
# form parameters
|
53
|
-
form_params = {}
|
54
|
-
|
55
|
-
# http body (model)
|
56
|
-
post_body = @api_client.object_to_http_body(complete_sign_request)
|
57
|
-
auth_names = []
|
58
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
59
|
-
:header_params => header_params,
|
60
|
-
:query_params => query_params,
|
61
|
-
:form_params => form_params,
|
62
|
-
:body => post_body,
|
63
|
-
:auth_names => auth_names,
|
64
|
-
:return_type => 'CompleteSignHashResponse')
|
65
|
-
if @api_client.config.debugging
|
66
|
-
@api_client.config.logger.debug "API called: TrustServiceProvidersApi#complete_sign_hash\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
67
|
-
end
|
68
|
-
return data, status_code, headers
|
69
|
-
end
|
70
|
-
|
71
24
|
# Returns Account available seals for specified account.
|
72
25
|
#
|
73
26
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -116,190 +69,5 @@ module DocuSign_eSign
|
|
116
69
|
end
|
117
70
|
return data, status_code, headers
|
118
71
|
end
|
119
|
-
|
120
|
-
# Get User Info To Sign Document
|
121
|
-
#
|
122
|
-
# @return [UserInfoResponse]
|
123
|
-
def get_user_info()
|
124
|
-
data, _status_code, _headers = get_user_info_with_http_info()
|
125
|
-
return data
|
126
|
-
end
|
127
|
-
|
128
|
-
# Get User Info To Sign Document
|
129
|
-
#
|
130
|
-
# @return [Array<(UserInfoResponse, Fixnum, Hash)>] UserInfoResponse data, response status code and response headers
|
131
|
-
def get_user_info_with_http_info()
|
132
|
-
if @api_client.config.debugging
|
133
|
-
@api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.get_user_info ..."
|
134
|
-
end
|
135
|
-
# resource path
|
136
|
-
local_var_path = "/v2.1/signature/userInfo".sub('{format}','json')
|
137
|
-
|
138
|
-
# query parameters
|
139
|
-
query_params = {}
|
140
|
-
|
141
|
-
# header parameters
|
142
|
-
header_params = {}
|
143
|
-
# HTTP header 'Accept' (if needed)
|
144
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
145
|
-
|
146
|
-
# form parameters
|
147
|
-
form_params = {}
|
148
|
-
|
149
|
-
# http body (model)
|
150
|
-
post_body = nil
|
151
|
-
auth_names = []
|
152
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
153
|
-
:header_params => header_params,
|
154
|
-
:query_params => query_params,
|
155
|
-
:form_params => form_params,
|
156
|
-
:body => post_body,
|
157
|
-
:auth_names => auth_names,
|
158
|
-
:return_type => 'UserInfoResponse')
|
159
|
-
if @api_client.config.debugging
|
160
|
-
@api_client.config.logger.debug "API called: TrustServiceProvidersApi#get_user_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
161
|
-
end
|
162
|
-
return data, status_code, headers
|
163
|
-
end
|
164
|
-
|
165
|
-
# Report status from the TSP to DocuSign
|
166
|
-
#
|
167
|
-
# @param tsp_health_check_request (optional parameter)
|
168
|
-
# @return [nil]
|
169
|
-
def health_check(tsp_health_check_request)
|
170
|
-
health_check_with_http_info( tsp_health_check_request)
|
171
|
-
return nil
|
172
|
-
end
|
173
|
-
|
174
|
-
# Report status from the TSP to DocuSign
|
175
|
-
#
|
176
|
-
# @param tsp_health_check_request (optional parameter)
|
177
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
178
|
-
def health_check_with_http_info(tsp_health_check_request)
|
179
|
-
if @api_client.config.debugging
|
180
|
-
@api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.health_check ..."
|
181
|
-
end
|
182
|
-
# resource path
|
183
|
-
local_var_path = "/v2.1/signature/healthcheck".sub('{format}','json')
|
184
|
-
|
185
|
-
# query parameters
|
186
|
-
query_params = {}
|
187
|
-
|
188
|
-
# header parameters
|
189
|
-
header_params = {}
|
190
|
-
# HTTP header 'Accept' (if needed)
|
191
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
192
|
-
|
193
|
-
# form parameters
|
194
|
-
form_params = {}
|
195
|
-
|
196
|
-
# http body (model)
|
197
|
-
post_body = @api_client.object_to_http_body(tsp_health_check_request)
|
198
|
-
auth_names = []
|
199
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
200
|
-
:header_params => header_params,
|
201
|
-
:query_params => query_params,
|
202
|
-
:form_params => form_params,
|
203
|
-
:body => post_body,
|
204
|
-
:auth_names => auth_names)
|
205
|
-
if @api_client.config.debugging
|
206
|
-
@api_client.config.logger.debug "API called: TrustServiceProvidersApi#health_check\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
207
|
-
end
|
208
|
-
return data, status_code, headers
|
209
|
-
end
|
210
|
-
|
211
|
-
# Get Signature Session Info To Sign Document Hash
|
212
|
-
#
|
213
|
-
# @param sign_session_info_request (optional parameter)
|
214
|
-
# @return [SignHashSessionInfoResponse]
|
215
|
-
def sign_hash_session_info(sign_session_info_request)
|
216
|
-
data, _status_code, _headers = sign_hash_session_info_with_http_info( sign_session_info_request)
|
217
|
-
return data
|
218
|
-
end
|
219
|
-
|
220
|
-
# Get Signature Session Info To Sign Document Hash
|
221
|
-
#
|
222
|
-
# @param sign_session_info_request (optional parameter)
|
223
|
-
# @return [Array<(SignHashSessionInfoResponse, Fixnum, Hash)>] SignHashSessionInfoResponse data, response status code and response headers
|
224
|
-
def sign_hash_session_info_with_http_info(sign_session_info_request)
|
225
|
-
if @api_client.config.debugging
|
226
|
-
@api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.sign_hash_session_info ..."
|
227
|
-
end
|
228
|
-
# resource path
|
229
|
-
local_var_path = "/v2.1/signature/signhashsessioninfo".sub('{format}','json')
|
230
|
-
|
231
|
-
# query parameters
|
232
|
-
query_params = {}
|
233
|
-
|
234
|
-
# header parameters
|
235
|
-
header_params = {}
|
236
|
-
# HTTP header 'Accept' (if needed)
|
237
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
238
|
-
|
239
|
-
# form parameters
|
240
|
-
form_params = {}
|
241
|
-
|
242
|
-
# http body (model)
|
243
|
-
post_body = @api_client.object_to_http_body(sign_session_info_request)
|
244
|
-
auth_names = []
|
245
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
246
|
-
:header_params => header_params,
|
247
|
-
:query_params => query_params,
|
248
|
-
:form_params => form_params,
|
249
|
-
:body => post_body,
|
250
|
-
:auth_names => auth_names,
|
251
|
-
:return_type => 'SignHashSessionInfoResponse')
|
252
|
-
if @api_client.config.debugging
|
253
|
-
@api_client.config.logger.debug "API called: TrustServiceProvidersApi#sign_hash_session_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
254
|
-
end
|
255
|
-
return data, status_code, headers
|
256
|
-
end
|
257
|
-
|
258
|
-
# Report an error from the tsp to docusign
|
259
|
-
#
|
260
|
-
# @param update_transaction_request (optional parameter)
|
261
|
-
# @return [UpdateTransactionResponse]
|
262
|
-
def update_transaction(update_transaction_request)
|
263
|
-
data, _status_code, _headers = update_transaction_with_http_info( update_transaction_request)
|
264
|
-
return data
|
265
|
-
end
|
266
|
-
|
267
|
-
# Report an error from the tsp to docusign
|
268
|
-
#
|
269
|
-
# @param update_transaction_request (optional parameter)
|
270
|
-
# @return [Array<(UpdateTransactionResponse, Fixnum, Hash)>] UpdateTransactionResponse data, response status code and response headers
|
271
|
-
def update_transaction_with_http_info(update_transaction_request)
|
272
|
-
if @api_client.config.debugging
|
273
|
-
@api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.update_transaction ..."
|
274
|
-
end
|
275
|
-
# resource path
|
276
|
-
local_var_path = "/v2.1/signature/updatetransaction".sub('{format}','json')
|
277
|
-
|
278
|
-
# query parameters
|
279
|
-
query_params = {}
|
280
|
-
|
281
|
-
# header parameters
|
282
|
-
header_params = {}
|
283
|
-
# HTTP header 'Accept' (if needed)
|
284
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
285
|
-
|
286
|
-
# form parameters
|
287
|
-
form_params = {}
|
288
|
-
|
289
|
-
# http body (model)
|
290
|
-
post_body = @api_client.object_to_http_body(update_transaction_request)
|
291
|
-
auth_names = []
|
292
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
293
|
-
:header_params => header_params,
|
294
|
-
:query_params => query_params,
|
295
|
-
:form_params => form_params,
|
296
|
-
:body => post_body,
|
297
|
-
:auth_names => auth_names,
|
298
|
-
:return_type => 'UpdateTransactionResponse')
|
299
|
-
if @api_client.config.debugging
|
300
|
-
@api_client.config.logger.debug "API called: TrustServiceProvidersApi#update_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
301
|
-
end
|
302
|
-
return data, status_code, headers
|
303
|
-
end
|
304
72
|
end
|
305
73
|
end
|
@@ -109,6 +109,15 @@ module DocuSign_eSign
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
class UpdateSettingsOptions
|
113
|
+
#
|
114
|
+
attr_accessor :allow_all_languages
|
115
|
+
|
116
|
+
def self.default
|
117
|
+
@@default ||= UpdateSettingsOptions.new
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
112
121
|
class UpdateSignatureOptions
|
113
122
|
# When set to **true**, closes the current signature.
|
114
123
|
attr_accessor :close_existing_signature
|
@@ -127,6 +136,24 @@ module DocuSign_eSign
|
|
127
136
|
end
|
128
137
|
end
|
129
138
|
|
139
|
+
class UpdateUserOptions
|
140
|
+
#
|
141
|
+
attr_accessor :allow_all_languages
|
142
|
+
|
143
|
+
def self.default
|
144
|
+
@@default ||= UpdateUserOptions.new
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
class UpdateUsersOptions
|
149
|
+
#
|
150
|
+
attr_accessor :allow_all_languages
|
151
|
+
|
152
|
+
def self.default
|
153
|
+
@@default ||= UpdateUsersOptions.new
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
130
157
|
|
131
158
|
class UsersApi
|
132
159
|
attr_accessor :api_client
|
@@ -1019,58 +1046,6 @@ module DocuSign_eSign
|
|
1019
1046
|
return data, status_code, headers
|
1020
1047
|
end
|
1021
1048
|
|
1022
|
-
# Retrieves UserList Export Results data.
|
1023
|
-
#
|
1024
|
-
# @param organization_id
|
1025
|
-
# @param result_id
|
1026
|
-
# @return [nil]
|
1027
|
-
def get_user_list_export(organization_id, result_id)
|
1028
|
-
get_user_list_export_with_http_info(organization_id, result_id)
|
1029
|
-
return nil
|
1030
|
-
end
|
1031
|
-
|
1032
|
-
# Retrieves UserList Export Results data.
|
1033
|
-
#
|
1034
|
-
# @param organization_id
|
1035
|
-
# @param result_id
|
1036
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1037
|
-
def get_user_list_export_with_http_info(organization_id, result_id)
|
1038
|
-
if @api_client.config.debugging
|
1039
|
-
@api_client.config.logger.debug "Calling API: UsersApi.get_user_list_export ..."
|
1040
|
-
end
|
1041
|
-
# verify the required parameter 'organization_id' is set
|
1042
|
-
fail ArgumentError, "Missing the required parameter 'organization_id' when calling UsersApi.get_user_list_export" if organization_id.nil?
|
1043
|
-
# verify the required parameter 'result_id' is set
|
1044
|
-
fail ArgumentError, "Missing the required parameter 'result_id' when calling UsersApi.get_user_list_export" if result_id.nil?
|
1045
|
-
# resource path
|
1046
|
-
local_var_path = "/v2.1/organization_exports/{organizationId}/user_list/{resultId}".sub('{format}','json').sub('{' + 'organizationId' + '}', organization_id.to_s).sub('{' + 'resultId' + '}', result_id.to_s)
|
1047
|
-
|
1048
|
-
# query parameters
|
1049
|
-
query_params = {}
|
1050
|
-
|
1051
|
-
# header parameters
|
1052
|
-
header_params = {}
|
1053
|
-
# HTTP header 'Accept' (if needed)
|
1054
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1055
|
-
|
1056
|
-
# form parameters
|
1057
|
-
form_params = {}
|
1058
|
-
|
1059
|
-
# http body (model)
|
1060
|
-
post_body = nil
|
1061
|
-
auth_names = []
|
1062
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1063
|
-
:header_params => header_params,
|
1064
|
-
:query_params => query_params,
|
1065
|
-
:form_params => form_params,
|
1066
|
-
:body => post_body,
|
1067
|
-
:auth_names => auth_names)
|
1068
|
-
if @api_client.config.debugging
|
1069
|
-
@api_client.config.logger.debug "API called: UsersApi#get_user_list_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1070
|
-
end
|
1071
|
-
return data, status_code, headers
|
1072
|
-
end
|
1073
|
-
|
1074
1049
|
# Retrieves the list of users for the specified account.
|
1075
1050
|
# Retrieves the list of users for the specified account. The response returns the list of users for the account along with the information about the result set. If the `additional_info` query was added to the endpoint and set to **true**, the full user information is returned for each user
|
1076
1051
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -1512,9 +1487,10 @@ module DocuSign_eSign
|
|
1512
1487
|
# @param account_id The external account number (int) or account ID Guid.
|
1513
1488
|
# @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
|
1514
1489
|
# @param user_settings_information (optional parameter)
|
1490
|
+
# @param DocuSign_eSign::UpdateSettingsOptions Options for modifying the behavior of the function.
|
1515
1491
|
# @return [nil]
|
1516
|
-
def update_settings(account_id, user_id, user_settings_information)
|
1517
|
-
update_settings_with_http_info(account_id, user_id, user_settings_information)
|
1492
|
+
def update_settings(account_id, user_id, user_settings_information, options = DocuSign_eSign::UpdateSettingsOptions.default)
|
1493
|
+
update_settings_with_http_info(account_id, user_id, user_settings_information, options)
|
1518
1494
|
return nil
|
1519
1495
|
end
|
1520
1496
|
|
@@ -1523,8 +1499,9 @@ module DocuSign_eSign
|
|
1523
1499
|
# @param account_id The external account number (int) or account ID Guid.
|
1524
1500
|
# @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
|
1525
1501
|
# @param user_settings_information (optional parameter)
|
1502
|
+
# @param DocuSign_eSign::UpdateSettingsOptions Options for modifying the behavior of the function.
|
1526
1503
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1527
|
-
def update_settings_with_http_info(account_id, user_id, user_settings_information)
|
1504
|
+
def update_settings_with_http_info(account_id, user_id, user_settings_information, options = DocuSign_eSign::UpdateSettingsOptions.default)
|
1528
1505
|
if @api_client.config.debugging
|
1529
1506
|
@api_client.config.logger.debug "Calling API: UsersApi.update_settings ..."
|
1530
1507
|
end
|
@@ -1537,6 +1514,7 @@ module DocuSign_eSign
|
|
1537
1514
|
|
1538
1515
|
# query parameters
|
1539
1516
|
query_params = {}
|
1517
|
+
query_params[:'allow_all_languages'] = options.allow_all_languages if !options.allow_all_languages.nil?
|
1540
1518
|
|
1541
1519
|
# header parameters
|
1542
1520
|
header_params = {}
|
@@ -1749,9 +1727,10 @@ module DocuSign_eSign
|
|
1749
1727
|
# @param account_id The external account number (int) or account ID Guid.
|
1750
1728
|
# @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
|
1751
1729
|
# @param user_information (optional parameter)
|
1730
|
+
# @param DocuSign_eSign::UpdateUserOptions Options for modifying the behavior of the function.
|
1752
1731
|
# @return [UserInformation]
|
1753
|
-
def update_user(account_id, user_id, user_information)
|
1754
|
-
data, _status_code, _headers = update_user_with_http_info(account_id, user_id, user_information)
|
1732
|
+
def update_user(account_id, user_id, user_information, options = DocuSign_eSign::UpdateUserOptions.default)
|
1733
|
+
data, _status_code, _headers = update_user_with_http_info(account_id, user_id, user_information, options)
|
1755
1734
|
return data
|
1756
1735
|
end
|
1757
1736
|
|
@@ -1760,8 +1739,9 @@ module DocuSign_eSign
|
|
1760
1739
|
# @param account_id The external account number (int) or account ID Guid.
|
1761
1740
|
# @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
|
1762
1741
|
# @param user_information (optional parameter)
|
1742
|
+
# @param DocuSign_eSign::UpdateUserOptions Options for modifying the behavior of the function.
|
1763
1743
|
# @return [Array<(UserInformation, Fixnum, Hash)>] UserInformation data, response status code and response headers
|
1764
|
-
def update_user_with_http_info(account_id, user_id, user_information)
|
1744
|
+
def update_user_with_http_info(account_id, user_id, user_information, options = DocuSign_eSign::UpdateUserOptions.default)
|
1765
1745
|
if @api_client.config.debugging
|
1766
1746
|
@api_client.config.logger.debug "Calling API: UsersApi.update_user ..."
|
1767
1747
|
end
|
@@ -1774,6 +1754,7 @@ module DocuSign_eSign
|
|
1774
1754
|
|
1775
1755
|
# query parameters
|
1776
1756
|
query_params = {}
|
1757
|
+
query_params[:'allow_all_languages'] = options.allow_all_languages if !options.allow_all_languages.nil?
|
1777
1758
|
|
1778
1759
|
# header parameters
|
1779
1760
|
header_params = {}
|
@@ -1803,9 +1784,10 @@ module DocuSign_eSign
|
|
1803
1784
|
#
|
1804
1785
|
# @param account_id The external account number (int) or account ID Guid.
|
1805
1786
|
# @param user_information_list (optional parameter)
|
1787
|
+
# @param DocuSign_eSign::UpdateUsersOptions Options for modifying the behavior of the function.
|
1806
1788
|
# @return [UserInformationList]
|
1807
|
-
def update_users(account_id, user_information_list)
|
1808
|
-
data, _status_code, _headers = update_users_with_http_info(account_id, user_information_list)
|
1789
|
+
def update_users(account_id, user_information_list, options = DocuSign_eSign::UpdateUsersOptions.default)
|
1790
|
+
data, _status_code, _headers = update_users_with_http_info(account_id, user_information_list, options)
|
1809
1791
|
return data
|
1810
1792
|
end
|
1811
1793
|
|
@@ -1813,8 +1795,9 @@ module DocuSign_eSign
|
|
1813
1795
|
#
|
1814
1796
|
# @param account_id The external account number (int) or account ID Guid.
|
1815
1797
|
# @param user_information_list (optional parameter)
|
1798
|
+
# @param DocuSign_eSign::UpdateUsersOptions Options for modifying the behavior of the function.
|
1816
1799
|
# @return [Array<(UserInformationList, Fixnum, Hash)>] UserInformationList data, response status code and response headers
|
1817
|
-
def update_users_with_http_info(account_id, user_information_list)
|
1800
|
+
def update_users_with_http_info(account_id, user_information_list, options = DocuSign_eSign::UpdateUsersOptions.default)
|
1818
1801
|
if @api_client.config.debugging
|
1819
1802
|
@api_client.config.logger.debug "Calling API: UsersApi.update_users ..."
|
1820
1803
|
end
|
@@ -1825,6 +1808,7 @@ module DocuSign_eSign
|
|
1825
1808
|
|
1826
1809
|
# query parameters
|
1827
1810
|
query_params = {}
|
1811
|
+
query_params[:'allow_all_languages'] = options.allow_all_languages if !options.allow_all_languages.nil?
|
1828
1812
|
|
1829
1813
|
# header parameters
|
1830
1814
|
header_params = {}
|
@@ -73,6 +73,12 @@ module DocuSign_eSign
|
|
73
73
|
# The name of the Billing Plan.
|
74
74
|
attr_accessor :plan_name
|
75
75
|
|
76
|
+
#
|
77
|
+
attr_accessor :plan_start_date
|
78
|
+
|
79
|
+
#
|
80
|
+
attr_accessor :renewal_date
|
81
|
+
|
76
82
|
# The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate.
|
77
83
|
attr_accessor :renewal_status
|
78
84
|
|
@@ -108,6 +114,8 @@ module DocuSign_eSign
|
|
108
114
|
:'plan_feature_sets' => :'planFeatureSets',
|
109
115
|
:'plan_id' => :'planId',
|
110
116
|
:'plan_name' => :'planName',
|
117
|
+
:'plan_start_date' => :'planStartDate',
|
118
|
+
:'renewal_date' => :'renewalDate',
|
111
119
|
:'renewal_status' => :'renewalStatus',
|
112
120
|
:'seat_discounts' => :'seatDiscounts',
|
113
121
|
:'support_incident_fee' => :'supportIncidentFee',
|
@@ -138,6 +146,8 @@ module DocuSign_eSign
|
|
138
146
|
:'plan_feature_sets' => :'Array<FeatureSet>',
|
139
147
|
:'plan_id' => :'String',
|
140
148
|
:'plan_name' => :'String',
|
149
|
+
:'plan_start_date' => :'String',
|
150
|
+
:'renewal_date' => :'String',
|
141
151
|
:'renewal_status' => :'String',
|
142
152
|
:'seat_discounts' => :'Array<SeatDiscount>',
|
143
153
|
:'support_incident_fee' => :'String',
|
@@ -237,6 +247,14 @@ module DocuSign_eSign
|
|
237
247
|
self.plan_name = attributes[:'planName']
|
238
248
|
end
|
239
249
|
|
250
|
+
if attributes.has_key?(:'planStartDate')
|
251
|
+
self.plan_start_date = attributes[:'planStartDate']
|
252
|
+
end
|
253
|
+
|
254
|
+
if attributes.has_key?(:'renewalDate')
|
255
|
+
self.renewal_date = attributes[:'renewalDate']
|
256
|
+
end
|
257
|
+
|
240
258
|
if attributes.has_key?(:'renewalStatus')
|
241
259
|
self.renewal_status = attributes[:'renewalStatus']
|
242
260
|
end
|
@@ -294,6 +312,8 @@ module DocuSign_eSign
|
|
294
312
|
plan_feature_sets == o.plan_feature_sets &&
|
295
313
|
plan_id == o.plan_id &&
|
296
314
|
plan_name == o.plan_name &&
|
315
|
+
plan_start_date == o.plan_start_date &&
|
316
|
+
renewal_date == o.renewal_date &&
|
297
317
|
renewal_status == o.renewal_status &&
|
298
318
|
seat_discounts == o.seat_discounts &&
|
299
319
|
support_incident_fee == o.support_incident_fee &&
|
@@ -309,7 +329,7 @@ module DocuSign_eSign
|
|
309
329
|
# Calculates hash code according to all attributes.
|
310
330
|
# @return [Fixnum] Hash code
|
311
331
|
def hash
|
312
|
-
[add_ons, app_store_receipt_expiration_date, app_store_receipt_purchase_date, can_cancel_renewal, can_upgrade, currency_code, downgrade_plan_information, enable_support, included_seats, incremental_seats, is_downgrade, notification_type, other_discount_percent, payment_cycle, payment_method, per_seat_price, plan_classification, plan_feature_sets, plan_id, plan_name, renewal_status, seat_discounts, support_incident_fee, support_plan_fee].hash
|
332
|
+
[add_ons, app_store_receipt_expiration_date, app_store_receipt_purchase_date, can_cancel_renewal, can_upgrade, currency_code, downgrade_plan_information, enable_support, included_seats, incremental_seats, is_downgrade, notification_type, other_discount_percent, payment_cycle, payment_method, per_seat_price, plan_classification, plan_feature_sets, plan_id, plan_name, plan_start_date, renewal_date, renewal_status, seat_discounts, support_incident_fee, support_plan_fee].hash
|
313
333
|
end
|
314
334
|
|
315
335
|
# Builds the object from hash
|