docusign_esign 3.14.0.rc1 → 3.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/docusign_esign/api/billing_api.rb +4 -0
  4. data/lib/docusign_esign/api/bulk_process_data_api.rb +412 -0
  5. data/lib/docusign_esign/api/bulk_process_data_send_api.rb +252 -0
  6. data/lib/docusign_esign/client/api_client.rb +1 -1
  7. data/lib/docusign_esign/models/account_billing_plan.rb +14 -4
  8. data/lib/docusign_esign/models/account_billing_plan_response.rb +14 -4
  9. data/lib/docusign_esign/models/account_settings_information.rb +39 -1
  10. data/lib/docusign_esign/models/billing_plan_information.rb +14 -4
  11. data/lib/docusign_esign/models/bulk_process_request.rb +194 -0
  12. data/lib/docusign_esign/models/bulk_process_response.rb +248 -0
  13. data/lib/docusign_esign/models/bulk_process_result.rb +206 -0
  14. data/lib/docusign_esign/models/bulk_processing_list_summaries.rb +186 -0
  15. data/lib/docusign_esign/models/bulk_processing_list_summary.rb +214 -0
  16. data/lib/docusign_esign/models/bulk_processing_lists.rb +186 -0
  17. data/lib/docusign_esign/models/bulk_send_batch_error.rb +194 -0
  18. data/lib/docusign_esign/models/bulk_send_batch_summaries.rb +21 -1
  19. data/lib/docusign_esign/models/currency.rb +21 -1
  20. data/lib/docusign_esign/models/envelope.rb +10 -1
  21. data/lib/docusign_esign/models/envelope_custom_metadata.rb +186 -0
  22. data/lib/docusign_esign/models/envelope_definition.rb +10 -1
  23. data/lib/docusign_esign/models/envelope_template.rb +10 -1
  24. data/lib/docusign_esign/models/group.rb +11 -1
  25. data/lib/docusign_esign/models/new_account_definition.rb +14 -4
  26. data/lib/docusign_esign/models/tab_metadata.rb +21 -1
  27. data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
  28. data/lib/docusign_esign/version.rb +1 -1
  29. data/lib/docusign_esign.rb +10 -0
  30. metadata +14 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e705347ca7df138bd05b4194ec58fbb1aa2c6c3617cb82d85e404170a92541b
4
- data.tar.gz: 70ad82abed875115308de0546474096fbb284e1d1ed5aeae59b771ec4271eb8a
3
+ metadata.gz: 3726dc51d47aec791ccff297932417da726e2906518ef61b32518372de2c46f2
4
+ data.tar.gz: 6ea3e16488afdf2e4c1c1a8bdbd530c5c0d0404b09c63b8ce7f701bafb4739a2
5
5
  SHA512:
6
- metadata.gz: a0ca177d8fc9055b37cd69e398a3c54754e7654f310502b3315f0f66e1349bdd4612158192ad689dc4f36a17b28303dc5b716050039b95bd4e736f692e0c2367
7
- data.tar.gz: 2c79629e29c946ef4621acc1c126fc0445521dc0a6ddd003095f6cce9cdad73e478e002eebda9e5e33df45c5b3cbf5fcb7fff6312d70125ab241204e4ff0b45b
6
+ metadata.gz: b8e5b50493b7248eafb0b52e1eecaa9904f388d5a1d5c9c096eca25ca88d62a6a899e1aed04d051543d65b2102b085cdf3870c0a0821b0ba1ff9a97337502140
7
+ data.tar.gz: 3084af308302d5d80086e4b8711a99c98a51f787de62480db2401d49d8f55f3afcf79c8e82b47a1b117f4133241f185e7d89442569ca04117e9f0639453f2427
data/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
5
5
 
6
+ ## [v3.14.0] - eSignature API v2.1-21.4.01.00 - 2022-01-06
7
+ ### Changed
8
+ - Added support for version v2.1-21.4.01.00 of the DocuSign ESignature API.
9
+ - Updated the SDK release version.
10
+
6
11
  ## [3.14.0.rc1] - ESignature API v2.1-21.4.00.00 - 2021-12-13
7
12
  ### Changed
8
13
  - Added support for version v2.1-21.4.00.00 of the DocuSign ESignature API.
@@ -26,6 +26,9 @@ module DocuSign_eSign
26
26
  # When set to **true**, excludes successor information from the response.
27
27
  attr_accessor :include_successor_plans
28
28
 
29
+ #
30
+ attr_accessor :include_tax_exempt_id
31
+
29
32
  def self.default
30
33
  @@default ||= GetPlanOptions.new
31
34
  end
@@ -355,6 +358,7 @@ module DocuSign_eSign
355
358
  query_params[:'include_downgrade_information'] = options.include_downgrade_information if !options.include_downgrade_information.nil?
356
359
  query_params[:'include_metadata'] = options.include_metadata if !options.include_metadata.nil?
357
360
  query_params[:'include_successor_plans'] = options.include_successor_plans if !options.include_successor_plans.nil?
361
+ query_params[:'include_tax_exempt_id'] = options.include_tax_exempt_id if !options.include_tax_exempt_id.nil?
358
362
 
359
363
  # header parameters
360
364
  header_params = {}
@@ -0,0 +1,412 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require "uri"
13
+
14
+ module DocuSign_eSign
15
+
16
+
17
+ class BulkProcessDataApi
18
+ attr_accessor :api_client
19
+
20
+ def initialize(api_client = BulkProcessDataApi.default)
21
+ @api_client = api_client
22
+ end
23
+
24
+ # Uses the specified bulk envelopes list to update the envelopes specified in the payload
25
+ #
26
+ # @param account_id The external account number (int) or account ID Guid.
27
+ # @param process_action
28
+ # @return [nil]
29
+ def create_bulk_process_request(account_id, process_action)
30
+ create_bulk_process_request_with_http_info(account_id, process_action)
31
+ return nil
32
+ end
33
+
34
+ # Uses the specified bulk envelopes list to update the envelopes specified in the payload
35
+ #
36
+ # @param account_id The external account number (int) or account ID Guid.
37
+ # @param process_action
38
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
39
+ def create_bulk_process_request_with_http_info(account_id, process_action)
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug "Calling API: BulkProcessDataApi.create_bulk_process_request ..."
42
+ end
43
+ # verify the required parameter 'account_id' is set
44
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkProcessDataApi.create_bulk_process_request" if account_id.nil?
45
+ # verify the required parameter 'process_action' is set
46
+ fail ArgumentError, "Missing the required parameter 'process_action' when calling BulkProcessDataApi.create_bulk_process_request" if process_action.nil?
47
+ # resource path
48
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_process_data/actions/{processAction}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'processAction' + '}', process_action.to_s)
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(:POST, 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: BulkProcessDataApi#create_bulk_process_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
72
+ end
73
+ return data, status_code, headers
74
+ end
75
+
76
+ # Uses the specified bulk envelopes list to update the envelopes specified in the payload
77
+ #
78
+ # @param account_id The external account number (int) or account ID Guid.
79
+ # @param bulk_process_list_id
80
+ # @param process_action
81
+ # @param bulk_process_request (optional parameter)
82
+ # @return [BulkProcessResponse]
83
+ def create_bulk_process_request_to_queue(account_id, bulk_process_list_id, process_action, bulk_process_request)
84
+ data, _status_code, _headers = create_bulk_process_request_to_queue_with_http_info(account_id, bulk_process_list_id, process_action, bulk_process_request)
85
+ return data
86
+ end
87
+
88
+ # Uses the specified bulk envelopes list to update the envelopes specified in the payload
89
+ #
90
+ # @param account_id The external account number (int) or account ID Guid.
91
+ # @param bulk_process_list_id
92
+ # @param process_action
93
+ # @param bulk_process_request (optional parameter)
94
+ # @return [Array<(BulkProcessResponse, Fixnum, Hash)>] BulkProcessResponse data, response status code and response headers
95
+ def create_bulk_process_request_to_queue_with_http_info(account_id, bulk_process_list_id, process_action, bulk_process_request)
96
+ if @api_client.config.debugging
97
+ @api_client.config.logger.debug "Calling API: BulkProcessDataApi.create_bulk_process_request_to_queue ..."
98
+ end
99
+ # verify the required parameter 'account_id' is set
100
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkProcessDataApi.create_bulk_process_request_to_queue" if account_id.nil?
101
+ # verify the required parameter 'bulk_process_list_id' is set
102
+ fail ArgumentError, "Missing the required parameter 'bulk_process_list_id' when calling BulkProcessDataApi.create_bulk_process_request_to_queue" if bulk_process_list_id.nil?
103
+ # verify the required parameter 'process_action' is set
104
+ fail ArgumentError, "Missing the required parameter 'process_action' when calling BulkProcessDataApi.create_bulk_process_request_to_queue" if process_action.nil?
105
+ # resource path
106
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_process_data/actions/{processAction}/{bulkProcessListId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'bulkProcessListId' + '}', bulk_process_list_id.to_s).sub('{' + 'processAction' + '}', process_action.to_s)
107
+
108
+ # query parameters
109
+ query_params = {}
110
+
111
+ # header parameters
112
+ header_params = {}
113
+ # HTTP header 'Accept' (if needed)
114
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
115
+
116
+ # form parameters
117
+ form_params = {}
118
+
119
+ # http body (model)
120
+ post_body = @api_client.object_to_http_body(bulk_process_request)
121
+ auth_names = []
122
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
123
+ :header_params => header_params,
124
+ :query_params => query_params,
125
+ :form_params => form_params,
126
+ :body => post_body,
127
+ :auth_names => auth_names,
128
+ :return_type => 'BulkProcessResponse')
129
+ if @api_client.config.debugging
130
+ @api_client.config.logger.debug "API called: BulkProcessDataApi#create_bulk_process_request_to_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
131
+ end
132
+ return data, status_code, headers
133
+ end
134
+
135
+ # Deletes a specific bulk process list
136
+ #
137
+ # @param account_id The external account number (int) or account ID Guid.
138
+ # @param bulk_process_list_id
139
+ # @param process_action
140
+ # @return [BulkProcessResult]
141
+ def delete_bulk_process_list(account_id, bulk_process_list_id, process_action)
142
+ data, _status_code, _headers = delete_bulk_process_list_with_http_info(account_id, bulk_process_list_id, process_action)
143
+ return data
144
+ end
145
+
146
+ # Deletes a specific bulk process list
147
+ #
148
+ # @param account_id The external account number (int) or account ID Guid.
149
+ # @param bulk_process_list_id
150
+ # @param process_action
151
+ # @return [Array<(BulkProcessResult, Fixnum, Hash)>] BulkProcessResult data, response status code and response headers
152
+ def delete_bulk_process_list_with_http_info(account_id, bulk_process_list_id, process_action)
153
+ if @api_client.config.debugging
154
+ @api_client.config.logger.debug "Calling API: BulkProcessDataApi.delete_bulk_process_list ..."
155
+ end
156
+ # verify the required parameter 'account_id' is set
157
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkProcessDataApi.delete_bulk_process_list" if account_id.nil?
158
+ # verify the required parameter 'bulk_process_list_id' is set
159
+ fail ArgumentError, "Missing the required parameter 'bulk_process_list_id' when calling BulkProcessDataApi.delete_bulk_process_list" if bulk_process_list_id.nil?
160
+ # verify the required parameter 'process_action' is set
161
+ fail ArgumentError, "Missing the required parameter 'process_action' when calling BulkProcessDataApi.delete_bulk_process_list" if process_action.nil?
162
+ # resource path
163
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_process_data/actions/{processAction}/{bulkProcessListId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'bulkProcessListId' + '}', bulk_process_list_id.to_s).sub('{' + 'processAction' + '}', process_action.to_s)
164
+
165
+ # query parameters
166
+ query_params = {}
167
+
168
+ # header parameters
169
+ header_params = {}
170
+ # HTTP header 'Accept' (if needed)
171
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
172
+
173
+ # form parameters
174
+ form_params = {}
175
+
176
+ # http body (model)
177
+ post_body = nil
178
+ auth_names = []
179
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
180
+ :header_params => header_params,
181
+ :query_params => query_params,
182
+ :form_params => form_params,
183
+ :body => post_body,
184
+ :auth_names => auth_names,
185
+ :return_type => 'BulkProcessResult')
186
+ if @api_client.config.debugging
187
+ @api_client.config.logger.debug "API called: BulkProcessDataApi#delete_bulk_process_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
188
+ end
189
+ return data, status_code, headers
190
+ end
191
+
192
+ # Deletes a specific bulk process list
193
+ #
194
+ # @param account_id The external account number (int) or account ID Guid.
195
+ # @param process_action
196
+ # @param bulk_processing_lists (optional parameter)
197
+ # @return [BulkProcessResult]
198
+ def delete_bulk_process_lists(account_id, process_action, bulk_processing_lists)
199
+ data, _status_code, _headers = delete_bulk_process_lists_with_http_info(account_id, process_action, bulk_processing_lists)
200
+ return data
201
+ end
202
+
203
+ # Deletes a specific bulk process list
204
+ #
205
+ # @param account_id The external account number (int) or account ID Guid.
206
+ # @param process_action
207
+ # @param bulk_processing_lists (optional parameter)
208
+ # @return [Array<(BulkProcessResult, Fixnum, Hash)>] BulkProcessResult data, response status code and response headers
209
+ def delete_bulk_process_lists_with_http_info(account_id, process_action, bulk_processing_lists)
210
+ if @api_client.config.debugging
211
+ @api_client.config.logger.debug "Calling API: BulkProcessDataApi.delete_bulk_process_lists ..."
212
+ end
213
+ # verify the required parameter 'account_id' is set
214
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkProcessDataApi.delete_bulk_process_lists" if account_id.nil?
215
+ # verify the required parameter 'process_action' is set
216
+ fail ArgumentError, "Missing the required parameter 'process_action' when calling BulkProcessDataApi.delete_bulk_process_lists" if process_action.nil?
217
+ # resource path
218
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_process_data/actions/{processAction}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'processAction' + '}', process_action.to_s)
219
+
220
+ # query parameters
221
+ query_params = {}
222
+
223
+ # header parameters
224
+ header_params = {}
225
+ # HTTP header 'Accept' (if needed)
226
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
227
+
228
+ # form parameters
229
+ form_params = {}
230
+
231
+ # http body (model)
232
+ post_body = @api_client.object_to_http_body(bulk_processing_lists)
233
+ auth_names = []
234
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
235
+ :header_params => header_params,
236
+ :query_params => query_params,
237
+ :form_params => form_params,
238
+ :body => post_body,
239
+ :auth_names => auth_names,
240
+ :return_type => 'BulkProcessResult')
241
+ if @api_client.config.debugging
242
+ @api_client.config.logger.debug "API called: BulkProcessDataApi#delete_bulk_process_lists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
243
+ end
244
+ return data, status_code, headers
245
+ end
246
+
247
+ # Gets a specific bulk process list
248
+ #
249
+ # @param account_id The external account number (int) or account ID Guid.
250
+ # @param bulk_process_list_id
251
+ # @param process_action
252
+ # @return [nil]
253
+ def get_bulk_process_list(account_id, bulk_process_list_id, process_action)
254
+ get_bulk_process_list_with_http_info(account_id, bulk_process_list_id, process_action)
255
+ return nil
256
+ end
257
+
258
+ # Gets a specific bulk process list
259
+ #
260
+ # @param account_id The external account number (int) or account ID Guid.
261
+ # @param bulk_process_list_id
262
+ # @param process_action
263
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
264
+ def get_bulk_process_list_with_http_info(account_id, bulk_process_list_id, process_action)
265
+ if @api_client.config.debugging
266
+ @api_client.config.logger.debug "Calling API: BulkProcessDataApi.get_bulk_process_list ..."
267
+ end
268
+ # verify the required parameter 'account_id' is set
269
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkProcessDataApi.get_bulk_process_list" if account_id.nil?
270
+ # verify the required parameter 'bulk_process_list_id' is set
271
+ fail ArgumentError, "Missing the required parameter 'bulk_process_list_id' when calling BulkProcessDataApi.get_bulk_process_list" if bulk_process_list_id.nil?
272
+ # verify the required parameter 'process_action' is set
273
+ fail ArgumentError, "Missing the required parameter 'process_action' when calling BulkProcessDataApi.get_bulk_process_list" if process_action.nil?
274
+ # resource path
275
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_process_data/actions/{processAction}/{bulkProcessListId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'bulkProcessListId' + '}', bulk_process_list_id.to_s).sub('{' + 'processAction' + '}', process_action.to_s)
276
+
277
+ # query parameters
278
+ query_params = {}
279
+
280
+ # header parameters
281
+ header_params = {}
282
+ # HTTP header 'Accept' (if needed)
283
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
284
+
285
+ # form parameters
286
+ form_params = {}
287
+
288
+ # http body (model)
289
+ post_body = nil
290
+ auth_names = []
291
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
292
+ :header_params => header_params,
293
+ :query_params => query_params,
294
+ :form_params => form_params,
295
+ :body => post_body,
296
+ :auth_names => auth_names)
297
+ if @api_client.config.debugging
298
+ @api_client.config.logger.debug "API called: BulkProcessDataApi#get_bulk_process_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
299
+ end
300
+ return data, status_code, headers
301
+ end
302
+
303
+ # Lists top-level details for all bulk process lists visible to the current user
304
+ #
305
+ # @param account_id The external account number (int) or account ID Guid.
306
+ # @param process_action
307
+ # @return [BulkProcessingListSummaries]
308
+ def get_bulk_process_lists(account_id, process_action)
309
+ data, _status_code, _headers = get_bulk_process_lists_with_http_info(account_id, process_action)
310
+ return data
311
+ end
312
+
313
+ # Lists top-level details for all bulk process lists visible to the current user
314
+ #
315
+ # @param account_id The external account number (int) or account ID Guid.
316
+ # @param process_action
317
+ # @return [Array<(BulkProcessingListSummaries, Fixnum, Hash)>] BulkProcessingListSummaries data, response status code and response headers
318
+ def get_bulk_process_lists_with_http_info(account_id, process_action)
319
+ if @api_client.config.debugging
320
+ @api_client.config.logger.debug "Calling API: BulkProcessDataApi.get_bulk_process_lists ..."
321
+ end
322
+ # verify the required parameter 'account_id' is set
323
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkProcessDataApi.get_bulk_process_lists" if account_id.nil?
324
+ # verify the required parameter 'process_action' is set
325
+ fail ArgumentError, "Missing the required parameter 'process_action' when calling BulkProcessDataApi.get_bulk_process_lists" if process_action.nil?
326
+ # resource path
327
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_process_data/actions/{processAction}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'processAction' + '}', process_action.to_s)
328
+
329
+ # query parameters
330
+ query_params = {}
331
+
332
+ # header parameters
333
+ header_params = {}
334
+ # HTTP header 'Accept' (if needed)
335
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
336
+
337
+ # form parameters
338
+ form_params = {}
339
+
340
+ # http body (model)
341
+ post_body = nil
342
+ auth_names = []
343
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
344
+ :header_params => header_params,
345
+ :query_params => query_params,
346
+ :form_params => form_params,
347
+ :body => post_body,
348
+ :auth_names => auth_names,
349
+ :return_type => 'BulkProcessingListSummaries')
350
+ if @api_client.config.debugging
351
+ @api_client.config.logger.debug "API called: BulkProcessDataApi#get_bulk_process_lists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
352
+ end
353
+ return data, status_code, headers
354
+ end
355
+
356
+ # Updates a specific bulk process list
357
+ #
358
+ # @param account_id The external account number (int) or account ID Guid.
359
+ # @param bulk_process_list_id
360
+ # @param process_action
361
+ # @return [nil]
362
+ def update_bulk_process_list(account_id, bulk_process_list_id, process_action)
363
+ update_bulk_process_list_with_http_info(account_id, bulk_process_list_id, process_action)
364
+ return nil
365
+ end
366
+
367
+ # Updates a specific bulk process list
368
+ #
369
+ # @param account_id The external account number (int) or account ID Guid.
370
+ # @param bulk_process_list_id
371
+ # @param process_action
372
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
373
+ def update_bulk_process_list_with_http_info(account_id, bulk_process_list_id, process_action)
374
+ if @api_client.config.debugging
375
+ @api_client.config.logger.debug "Calling API: BulkProcessDataApi.update_bulk_process_list ..."
376
+ end
377
+ # verify the required parameter 'account_id' is set
378
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkProcessDataApi.update_bulk_process_list" if account_id.nil?
379
+ # verify the required parameter 'bulk_process_list_id' is set
380
+ fail ArgumentError, "Missing the required parameter 'bulk_process_list_id' when calling BulkProcessDataApi.update_bulk_process_list" if bulk_process_list_id.nil?
381
+ # verify the required parameter 'process_action' is set
382
+ fail ArgumentError, "Missing the required parameter 'process_action' when calling BulkProcessDataApi.update_bulk_process_list" if process_action.nil?
383
+ # resource path
384
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_process_data/actions/{processAction}/{bulkProcessListId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'bulkProcessListId' + '}', bulk_process_list_id.to_s).sub('{' + 'processAction' + '}', process_action.to_s)
385
+
386
+ # query parameters
387
+ query_params = {}
388
+
389
+ # header parameters
390
+ header_params = {}
391
+ # HTTP header 'Accept' (if needed)
392
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
393
+
394
+ # form parameters
395
+ form_params = {}
396
+
397
+ # http body (model)
398
+ post_body = nil
399
+ auth_names = []
400
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
401
+ :header_params => header_params,
402
+ :query_params => query_params,
403
+ :form_params => form_params,
404
+ :body => post_body,
405
+ :auth_names => auth_names)
406
+ if @api_client.config.debugging
407
+ @api_client.config.logger.debug "API called: BulkProcessDataApi#update_bulk_process_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
408
+ end
409
+ return data, status_code, headers
410
+ end
411
+ end
412
+ end