docusign_rooms 1.0.0 → 1.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/docusign_rooms-1.0.0.gem +0 -0
  3. data/lib/docusign_rooms.rb +13 -2
  4. data/lib/docusign_rooms/.DS_Store +0 -0
  5. data/lib/docusign_rooms/api/accounts_api.rb +1 -1
  6. data/lib/docusign_rooms/api/activity_types_api.rb +1 -1
  7. data/lib/docusign_rooms/api/closing_statuses_api.rb +1 -1
  8. data/lib/docusign_rooms/api/contact_sides_api.rb +1 -1
  9. data/lib/docusign_rooms/api/countries_api.rb +1 -1
  10. data/lib/docusign_rooms/api/currencies_api.rb +1 -1
  11. data/lib/docusign_rooms/api/documents_api.rb +10 -12
  12. data/lib/docusign_rooms/api/e_sign_permission_profiles_api.rb +1 -1
  13. data/lib/docusign_rooms/api/external_form_fill_sessions_api.rb +8 -10
  14. data/lib/docusign_rooms/api/fields_api.rb +2 -2
  15. data/lib/docusign_rooms/api/financing_types_api.rb +1 -1
  16. data/lib/docusign_rooms/api/form_details_api.rb +1 -1
  17. data/lib/docusign_rooms/api/form_groups_api.rb +441 -1
  18. data/lib/docusign_rooms/api/form_libraries_api.rb +2 -2
  19. data/lib/docusign_rooms/api/offices_api.rb +14 -16
  20. data/lib/docusign_rooms/api/origins_of_leads_api.rb +1 -1
  21. data/lib/docusign_rooms/api/property_types_api.rb +1 -1
  22. data/lib/docusign_rooms/api/regions_api.rb +14 -16
  23. data/lib/docusign_rooms/api/roles_api.rb +19 -23
  24. data/lib/docusign_rooms/api/room_contact_types_api.rb +1 -1
  25. data/lib/docusign_rooms/api/room_folders_api.rb +1 -1
  26. data/lib/docusign_rooms/api/room_templates_api.rb +6 -2
  27. data/lib/docusign_rooms/api/rooms_api.rb +85 -96
  28. data/lib/docusign_rooms/api/seller_decision_types_api.rb +1 -1
  29. data/lib/docusign_rooms/api/special_circumstance_types_api.rb +1 -1
  30. data/lib/docusign_rooms/api/states_api.rb +1 -1
  31. data/lib/docusign_rooms/api/task_date_types_api.rb +1 -1
  32. data/lib/docusign_rooms/api/task_list_templates_api.rb +1 -1
  33. data/lib/docusign_rooms/api/task_lists_api.rb +14 -16
  34. data/lib/docusign_rooms/api/task_responsibility_types_api.rb +1 -1
  35. data/lib/docusign_rooms/api/task_statuses_api.rb +1 -1
  36. data/lib/docusign_rooms/api/time_zones_api.rb +1 -1
  37. data/lib/docusign_rooms/api/transaction_sides_api.rb +1 -1
  38. data/lib/docusign_rooms/api/users_api.rb +87 -107
  39. data/lib/docusign_rooms/models/access_level.rb +32 -0
  40. data/lib/docusign_rooms/models/account_status.rb +29 -0
  41. data/lib/docusign_rooms/models/account_summary.rb +1 -35
  42. data/lib/docusign_rooms/models/assignable_roles.rb +13 -4
  43. data/lib/docusign_rooms/models/classic_agent_to_invite.rb +10 -1
  44. data/lib/docusign_rooms/models/classic_manager_to_invite.rb +1 -35
  45. data/lib/docusign_rooms/models/document.rb +10 -1
  46. data/lib/docusign_rooms/models/fields_custom_data_filter_type.rb +30 -0
  47. data/lib/docusign_rooms/models/form_group.rb +214 -0
  48. data/lib/docusign_rooms/models/form_group_for_create.rb +188 -0
  49. data/lib/docusign_rooms/models/form_group_for_update.rb +188 -0
  50. data/lib/docusign_rooms/models/form_group_form_to_assign.rb +197 -0
  51. data/lib/docusign_rooms/models/form_group_summary_list.rb +13 -4
  52. data/lib/docusign_rooms/models/form_library_summary_list.rb +13 -4
  53. data/lib/docusign_rooms/models/form_summary_list.rb +13 -4
  54. data/lib/docusign_rooms/models/group_form.rb +210 -0
  55. data/lib/docusign_rooms/models/member_sorting_option.rb +33 -0
  56. data/lib/docusign_rooms/models/office_summary_list.rb +13 -4
  57. data/lib/docusign_rooms/models/permissions.rb +70 -7
  58. data/lib/docusign_rooms/models/product_version.rb +29 -0
  59. data/lib/docusign_rooms/models/region_summary_list.rb +13 -4
  60. data/lib/docusign_rooms/models/role.rb +1 -1
  61. data/lib/docusign_rooms/models/role_summary_list.rb +13 -4
  62. data/lib/docusign_rooms/models/room.rb +1 -1
  63. data/lib/docusign_rooms/models/room_document.rb +31 -4
  64. data/lib/docusign_rooms/models/room_document_list.rb +10 -1
  65. data/lib/docusign_rooms/models/room_document_owner.rb +219 -0
  66. data/lib/docusign_rooms/models/room_folder_list.rb +13 -4
  67. data/lib/docusign_rooms/models/room_status.rb +31 -0
  68. data/lib/docusign_rooms/models/room_summary_list.rb +13 -4
  69. data/lib/docusign_rooms/models/room_templates_summary_list.rb +13 -4
  70. data/lib/docusign_rooms/models/room_user_sorting_option.rb +33 -0
  71. data/lib/docusign_rooms/models/room_user_summary.rb +22 -4
  72. data/lib/docusign_rooms/models/room_users_result.rb +13 -4
  73. data/lib/docusign_rooms/models/task_list_template_list.rb +13 -4
  74. data/lib/docusign_rooms/models/user.rb +1 -35
  75. data/lib/docusign_rooms/models/user_summary.rb +1 -35
  76. data/lib/docusign_rooms/models/user_summary_list.rb +13 -4
  77. data/lib/docusign_rooms/models/user_to_invite.rb +1 -35
  78. data/lib/docusign_rooms/version.rb +1 -1
  79. data/tests/Gemfile.lock +2 -2
  80. metadata +18 -4
@@ -77,7 +77,7 @@ module DocuSign_Rooms
77
77
  # header parameters
78
78
  header_params = {}
79
79
  # HTTP header 'Accept' (if needed)
80
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
80
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
81
81
 
82
82
  # form parameters
83
83
  form_params = {}
@@ -134,7 +134,7 @@ module DocuSign_Rooms
134
134
  # header parameters
135
135
  header_params = {}
136
136
  # HTTP header 'Accept' (if needed)
137
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
137
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
138
138
 
139
139
  # form parameters
140
140
  form_params = {}
@@ -42,24 +42,22 @@ module DocuSign_Rooms
42
42
  # Create an office.
43
43
  #
44
44
  # @param account_id
45
- # @param office
45
+ # @param body (optional parameter)
46
46
  # @return [Office]
47
- def create_office(account_id, office)
48
- data, _status_code, _headers = create_office_with_http_info(account_id, office)
47
+ def create_office(account_id, body)
48
+ data, _status_code, _headers = create_office_with_http_info(account_id, body)
49
49
  return data
50
50
  end
51
51
 
52
52
  # Create an office.
53
53
  #
54
54
  # @param account_id
55
- # @param office
55
+ # @param body (optional parameter)
56
56
  # @return [Array<(Office, Fixnum, Hash)>] Office data, response status code and response headers
57
- def create_office_with_http_info(account_id, office)
57
+ def create_office_with_http_info(account_id, body)
58
58
  if @api_client.config.debugging
59
59
  @api_client.config.logger.debug "Calling API: OfficesApi.create_office ..."
60
60
  end
61
- # verify the required parameter 'office' is set
62
- fail ArgumentError, "Missing the required parameter 'office' when calling OfficesApi.create_office" if office.nil?
63
61
  # verify the required parameter 'account_id' is set
64
62
  fail ArgumentError, "Missing the required parameter 'account_id' when calling OfficesApi.create_office" if account_id.nil?
65
63
  # resource path
@@ -71,15 +69,15 @@ module DocuSign_Rooms
71
69
  # header parameters
72
70
  header_params = {}
73
71
  # HTTP header 'Accept' (if needed)
74
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
72
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
75
73
  # HTTP header 'Content-Type'
76
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
74
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
77
75
 
78
76
  # form parameters
79
77
  form_params = {}
80
78
 
81
79
  # http body (model)
82
- post_body = @api_client.object_to_http_body(office)
80
+ post_body = @api_client.object_to_http_body(body)
83
81
  auth_names = []
84
82
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
85
83
  :header_params => header_params,
@@ -126,7 +124,7 @@ module DocuSign_Rooms
126
124
  # header parameters
127
125
  header_params = {}
128
126
  # HTTP header 'Accept' (if needed)
129
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
127
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
130
128
 
131
129
  # form parameters
132
130
  form_params = {}
@@ -178,7 +176,7 @@ module DocuSign_Rooms
178
176
  # header parameters
179
177
  header_params = {}
180
178
  # HTTP header 'Accept' (if needed)
181
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
179
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
182
180
 
183
181
  # form parameters
184
182
  form_params = {}
@@ -199,7 +197,7 @@ module DocuSign_Rooms
199
197
  return data, status_code, headers
200
198
  end
201
199
 
202
- # Get all offices.
200
+ # Get all
203
201
  #
204
202
  # @param account_id
205
203
  # @param DocuSign_Rooms::GetOfficesOptions Options for modifying the behavior of the function.
@@ -209,7 +207,7 @@ module DocuSign_Rooms
209
207
  return data
210
208
  end
211
209
 
212
- # Get all offices.
210
+ # Get all
213
211
  #
214
212
  # @param account_id
215
213
  # @param DocuSign_Rooms::GetOfficesOptions Options for modifying the behavior of the function.
@@ -233,7 +231,7 @@ module DocuSign_Rooms
233
231
  # header parameters
234
232
  header_params = {}
235
233
  # HTTP header 'Accept' (if needed)
236
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
234
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
237
235
 
238
236
  # form parameters
239
237
  form_params = {}
@@ -286,7 +284,7 @@ module DocuSign_Rooms
286
284
  # header parameters
287
285
  header_params = {}
288
286
  # HTTP header 'Accept' (if needed)
289
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
287
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
290
288
 
291
289
  # form parameters
292
290
  form_params = {}
@@ -45,7 +45,7 @@ module DocuSign_Rooms
45
45
  # header parameters
46
46
  header_params = {}
47
47
  # HTTP header 'Accept' (if needed)
48
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
48
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
49
49
 
50
50
  # form parameters
51
51
  form_params = {}
@@ -45,7 +45,7 @@ module DocuSign_Rooms
45
45
  # header parameters
46
46
  header_params = {}
47
47
  # HTTP header 'Accept' (if needed)
48
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
48
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
49
49
 
50
50
  # form parameters
51
51
  form_params = {}
@@ -39,24 +39,22 @@ module DocuSign_Rooms
39
39
  # Creates a new region for a company
40
40
  #
41
41
  # @param account_id
42
- # @param region The information required to create a new region for the caller's company
42
+ # @param body (optional parameter)
43
43
  # @return [Region]
44
- def create_region(account_id, region)
45
- data, _status_code, _headers = create_region_with_http_info(account_id, region)
44
+ def create_region(account_id, body)
45
+ data, _status_code, _headers = create_region_with_http_info(account_id, body)
46
46
  return data
47
47
  end
48
48
 
49
49
  # Creates a new region for a company
50
50
  #
51
51
  # @param account_id
52
- # @param region The information required to create a new region for the caller's company
52
+ # @param body (optional parameter)
53
53
  # @return [Array<(Region, Fixnum, Hash)>] Region data, response status code and response headers
54
- def create_region_with_http_info(account_id, region)
54
+ def create_region_with_http_info(account_id, body)
55
55
  if @api_client.config.debugging
56
56
  @api_client.config.logger.debug "Calling API: RegionsApi.create_region ..."
57
57
  end
58
- # verify the required parameter 'region' is set
59
- fail ArgumentError, "Missing the required parameter 'region' when calling RegionsApi.create_region" if region.nil?
60
58
  # verify the required parameter 'account_id' is set
61
59
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RegionsApi.create_region" if account_id.nil?
62
60
  # resource path
@@ -68,15 +66,15 @@ module DocuSign_Rooms
68
66
  # header parameters
69
67
  header_params = {}
70
68
  # HTTP header 'Accept' (if needed)
71
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
69
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
72
70
  # HTTP header 'Content-Type'
73
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
71
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
74
72
 
75
73
  # form parameters
76
74
  form_params = {}
77
75
 
78
76
  # http body (model)
79
- post_body = @api_client.object_to_http_body(region)
77
+ post_body = @api_client.object_to_http_body(body)
80
78
  auth_names = []
81
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
82
80
  :header_params => header_params,
@@ -123,7 +121,7 @@ module DocuSign_Rooms
123
121
  # header parameters
124
122
  header_params = {}
125
123
  # HTTP header 'Accept' (if needed)
126
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
124
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
127
125
 
128
126
  # form parameters
129
127
  form_params = {}
@@ -175,7 +173,7 @@ module DocuSign_Rooms
175
173
  # header parameters
176
174
  header_params = {}
177
175
  # HTTP header 'Accept' (if needed)
178
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
176
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
179
177
 
180
178
  # form parameters
181
179
  form_params = {}
@@ -228,7 +226,7 @@ module DocuSign_Rooms
228
226
  # header parameters
229
227
  header_params = {}
230
228
  # HTTP header 'Accept' (if needed)
231
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
229
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
232
230
 
233
231
  # form parameters
234
232
  form_params = {}
@@ -249,7 +247,7 @@ module DocuSign_Rooms
249
247
  return data, status_code, headers
250
248
  end
251
249
 
252
- # Get account regions.
250
+ # Get account
253
251
  #
254
252
  # @param account_id
255
253
  # @param DocuSign_Rooms::GetRegionsOptions Options for modifying the behavior of the function.
@@ -259,7 +257,7 @@ module DocuSign_Rooms
259
257
  return data
260
258
  end
261
259
 
262
- # Get account regions.
260
+ # Get account
263
261
  #
264
262
  # @param account_id
265
263
  # @param DocuSign_Rooms::GetRegionsOptions Options for modifying the behavior of the function.
@@ -282,7 +280,7 @@ module DocuSign_Rooms
282
280
  # header parameters
283
281
  header_params = {}
284
282
  # HTTP header 'Accept' (if needed)
285
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
283
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
286
284
 
287
285
  # form parameters
288
286
  form_params = {}
@@ -51,24 +51,22 @@ module DocuSign_Rooms
51
51
  # Creates a role.
52
52
  #
53
53
  # @param account_id
54
- # @param role
54
+ # @param body (optional parameter)
55
55
  # @return [Role]
56
- def create_role(account_id, role)
57
- data, _status_code, _headers = create_role_with_http_info(account_id, role)
56
+ def create_role(account_id, body)
57
+ data, _status_code, _headers = create_role_with_http_info(account_id, body)
58
58
  return data
59
59
  end
60
60
 
61
61
  # Creates a role.
62
62
  #
63
63
  # @param account_id
64
- # @param role
64
+ # @param body (optional parameter)
65
65
  # @return [Array<(Role, Fixnum, Hash)>] Role data, response status code and response headers
66
- def create_role_with_http_info(account_id, role)
66
+ def create_role_with_http_info(account_id, body)
67
67
  if @api_client.config.debugging
68
68
  @api_client.config.logger.debug "Calling API: RolesApi.create_role ..."
69
69
  end
70
- # verify the required parameter 'role' is set
71
- fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.create_role" if role.nil?
72
70
  # verify the required parameter 'account_id' is set
73
71
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RolesApi.create_role" if account_id.nil?
74
72
  # resource path
@@ -80,15 +78,15 @@ module DocuSign_Rooms
80
78
  # header parameters
81
79
  header_params = {}
82
80
  # HTTP header 'Accept' (if needed)
83
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
81
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
84
82
  # HTTP header 'Content-Type'
85
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
83
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
86
84
 
87
85
  # form parameters
88
86
  form_params = {}
89
87
 
90
88
  # http body (model)
91
- post_body = @api_client.object_to_http_body(role)
89
+ post_body = @api_client.object_to_http_body(body)
92
90
  auth_names = []
93
91
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
94
92
  :header_params => header_params,
@@ -135,7 +133,7 @@ module DocuSign_Rooms
135
133
  # header parameters
136
134
  header_params = {}
137
135
  # HTTP header 'Accept' (if needed)
138
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
136
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
139
137
 
140
138
  # form parameters
141
139
  form_params = {}
@@ -190,7 +188,7 @@ module DocuSign_Rooms
190
188
  # header parameters
191
189
  header_params = {}
192
190
  # HTTP header 'Accept' (if needed)
193
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
191
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
194
192
 
195
193
  # form parameters
196
194
  form_params = {}
@@ -245,7 +243,7 @@ module DocuSign_Rooms
245
243
  # header parameters
246
244
  header_params = {}
247
245
  # HTTP header 'Accept' (if needed)
248
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
246
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
249
247
 
250
248
  # form parameters
251
249
  form_params = {}
@@ -270,10 +268,10 @@ module DocuSign_Rooms
270
268
  #
271
269
  # @param role_id
272
270
  # @param account_id
273
- # @param role
271
+ # @param body (optional parameter)
274
272
  # @return [Role]
275
- def update_role(role_id, account_id, role)
276
- data, _status_code, _headers = update_role_with_http_info(role_id, account_id, role)
273
+ def update_role(role_id, account_id, body)
274
+ data, _status_code, _headers = update_role_with_http_info(role_id, account_id, body)
277
275
  return data
278
276
  end
279
277
 
@@ -281,16 +279,14 @@ module DocuSign_Rooms
281
279
  #
282
280
  # @param role_id
283
281
  # @param account_id
284
- # @param role
282
+ # @param body (optional parameter)
285
283
  # @return [Array<(Role, Fixnum, Hash)>] Role data, response status code and response headers
286
- def update_role_with_http_info(role_id, account_id, role)
284
+ def update_role_with_http_info(role_id, account_id, body)
287
285
  if @api_client.config.debugging
288
286
  @api_client.config.logger.debug "Calling API: RolesApi.update_role ..."
289
287
  end
290
288
  # verify the required parameter 'role_id' is set
291
289
  fail ArgumentError, "Missing the required parameter 'role_id' when calling RolesApi.update_role" if role_id.nil?
292
- # verify the required parameter 'role' is set
293
- fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.update_role" if role.nil?
294
290
  # verify the required parameter 'account_id' is set
295
291
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RolesApi.update_role" if account_id.nil?
296
292
  # resource path
@@ -302,15 +298,15 @@ module DocuSign_Rooms
302
298
  # header parameters
303
299
  header_params = {}
304
300
  # HTTP header 'Accept' (if needed)
305
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
301
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
306
302
  # HTTP header 'Content-Type'
307
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
303
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
308
304
 
309
305
  # form parameters
310
306
  form_params = {}
311
307
 
312
308
  # http body (model)
313
- post_body = @api_client.object_to_http_body(role)
309
+ post_body = @api_client.object_to_http_body(body)
314
310
  auth_names = []
315
311
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
316
312
  :header_params => header_params,
@@ -45,7 +45,7 @@ module DocuSign_Rooms
45
45
  # header parameters
46
46
  header_params = {}
47
47
  # HTTP header 'Accept' (if needed)
48
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
48
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
49
49
 
50
50
  # form parameters
51
51
  form_params = {}
@@ -69,7 +69,7 @@ module DocuSign_Rooms
69
69
  # header parameters
70
70
  header_params = {}
71
71
  # HTTP header 'Accept' (if needed)
72
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
72
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
73
73
 
74
74
  # form parameters
75
75
  form_params = {}
@@ -14,12 +14,15 @@ require "uri"
14
14
  module DocuSign_Rooms
15
15
 
16
16
  class GetRoomTemplatesOptions
17
- # Get all room templates you have access to for this office. Response includes Company and Region level templates. If onlyAssignable is true, and no officeId is provided, user's default office is assumed.
17
+ # Get all room templates you have access to for this office. Response includes Company and Region level If onlyAssignable is true, and no officeId is provided, user's default office is assumed.
18
18
  attr_accessor :office_id
19
19
 
20
20
  # Get list of templates you have access to. Default value false.
21
21
  attr_accessor :only_assignable
22
22
 
23
+ # When set to true, only returns room templates that are not disabled.
24
+ attr_accessor :only_enabled
25
+
23
26
  # Number of room templates to return. Defaults to the maximum which is 100.
24
27
  attr_accessor :count
25
28
 
@@ -67,13 +70,14 @@ module DocuSign_Rooms
67
70
  query_params = {}
68
71
  query_params[:'officeId'] = options.office_id if !options.office_id.nil?
69
72
  query_params[:'onlyAssignable'] = options.only_assignable if !options.only_assignable.nil?
73
+ query_params[:'onlyEnabled'] = options.only_enabled if !options.only_enabled.nil?
70
74
  query_params[:'count'] = options.count if !options.count.nil?
71
75
  query_params[:'startPosition'] = options.start_position if !options.start_position.nil?
72
76
 
73
77
  # header parameters
74
78
  header_params = {}
75
79
  # HTTP header 'Accept' (if needed)
76
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
80
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
77
81
 
78
82
  # form parameters
79
83
  form_params = {}
@@ -108,31 +108,29 @@ module DocuSign_Rooms
108
108
  @api_client = api_client
109
109
  end
110
110
 
111
- # Add a document to a room.
111
+ # Add a document to a
112
112
  #
113
113
  # @param room_id
114
114
  # @param account_id
115
- # @param document
115
+ # @param body (optional parameter)
116
116
  # @return [RoomDocument]
117
- def add_document_to_room(room_id, account_id, document)
118
- data, _status_code, _headers = add_document_to_room_with_http_info(room_id, account_id, document)
117
+ def add_document_to_room(room_id, account_id, body)
118
+ data, _status_code, _headers = add_document_to_room_with_http_info(room_id, account_id, body)
119
119
  return data
120
120
  end
121
121
 
122
- # Add a document to a room.
122
+ # Add a document to a
123
123
  #
124
124
  # @param room_id
125
125
  # @param account_id
126
- # @param document
126
+ # @param body (optional parameter)
127
127
  # @return [Array<(RoomDocument, Fixnum, Hash)>] RoomDocument data, response status code and response headers
128
- def add_document_to_room_with_http_info(room_id, account_id, document)
128
+ def add_document_to_room_with_http_info(room_id, account_id, body)
129
129
  if @api_client.config.debugging
130
130
  @api_client.config.logger.debug "Calling API: RoomsApi.add_document_to_room ..."
131
131
  end
132
132
  # verify the required parameter 'room_id' is set
133
133
  fail ArgumentError, "Missing the required parameter 'room_id' when calling RoomsApi.add_document_to_room" if room_id.nil?
134
- # verify the required parameter 'document' is set
135
- fail ArgumentError, "Missing the required parameter 'document' when calling RoomsApi.add_document_to_room" if document.nil?
136
134
  # verify the required parameter 'account_id' is set
137
135
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.add_document_to_room" if account_id.nil?
138
136
  # resource path
@@ -144,15 +142,15 @@ module DocuSign_Rooms
144
142
  # header parameters
145
143
  header_params = {}
146
144
  # HTTP header 'Accept' (if needed)
147
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
145
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
148
146
  # HTTP header 'Content-Type'
149
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
147
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
150
148
 
151
149
  # form parameters
152
150
  form_params = {}
153
151
 
154
152
  # http body (model)
155
- post_body = @api_client.object_to_http_body(document)
153
+ post_body = @api_client.object_to_http_body(body)
156
154
  auth_names = []
157
155
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
158
156
  :header_params => header_params,
@@ -190,8 +188,6 @@ module DocuSign_Rooms
190
188
  fail ArgumentError, "Missing the required parameter 'room_id' when calling RoomsApi.add_document_to_room_via_file_upload" if room_id.nil?
191
189
  # verify the required parameter 'account_id' is set
192
190
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.add_document_to_room_via_file_upload" if account_id.nil?
193
- # verify the required parameter 'file' is set
194
- fail ArgumentError, "Missing the required parameter 'file' when calling RoomsApi.add_document_to_room_via_file_upload" if file.nil?
195
191
  # resource path
196
192
  local_var_path = "/v2/accounts/{accountId}/rooms/{roomId}/documents/contents".sub('{format}','json').sub('{' + 'roomId' + '}', room_id.to_s).sub('{' + 'accountId' + '}', account_id.to_s)
197
193
 
@@ -201,13 +197,13 @@ module DocuSign_Rooms
201
197
  # header parameters
202
198
  header_params = {}
203
199
  # HTTP header 'Accept' (if needed)
204
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
200
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
205
201
  # HTTP header 'Content-Type'
206
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/form-data'])
202
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
207
203
 
208
204
  # form parameters
209
205
  form_params = {}
210
- form_params["file"] = file
206
+ form_params["file"] = options.file if !options.paramName.nil?
211
207
 
212
208
  # http body (model)
213
209
  post_body = nil
@@ -229,10 +225,10 @@ module DocuSign_Rooms
229
225
  #
230
226
  # @param room_id Id of the room to which the DocuSign Form is being added
231
227
  # @param account_id
232
- # @param form_for_add Contains information about the form being added
228
+ # @param body (optional parameter)
233
229
  # @return [RoomDocument]
234
- def add_form_to_room(room_id, account_id, form_for_add)
235
- data, _status_code, _headers = add_form_to_room_with_http_info(room_id, account_id, form_for_add)
230
+ def add_form_to_room(room_id, account_id, body)
231
+ data, _status_code, _headers = add_form_to_room_with_http_info(room_id, account_id, body)
236
232
  return data
237
233
  end
238
234
 
@@ -240,16 +236,14 @@ module DocuSign_Rooms
240
236
  #
241
237
  # @param room_id Id of the room to which the DocuSign Form is being added
242
238
  # @param account_id
243
- # @param form_for_add Contains information about the form being added
239
+ # @param body (optional parameter)
244
240
  # @return [Array<(RoomDocument, Fixnum, Hash)>] RoomDocument data, response status code and response headers
245
- def add_form_to_room_with_http_info(room_id, account_id, form_for_add)
241
+ def add_form_to_room_with_http_info(room_id, account_id, body)
246
242
  if @api_client.config.debugging
247
243
  @api_client.config.logger.debug "Calling API: RoomsApi.add_form_to_room ..."
248
244
  end
249
245
  # verify the required parameter 'room_id' is set
250
246
  fail ArgumentError, "Missing the required parameter 'room_id' when calling RoomsApi.add_form_to_room" if room_id.nil?
251
- # verify the required parameter 'form_for_add' is set
252
- fail ArgumentError, "Missing the required parameter 'form_for_add' when calling RoomsApi.add_form_to_room" if form_for_add.nil?
253
247
  # verify the required parameter 'account_id' is set
254
248
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.add_form_to_room" if account_id.nil?
255
249
  # resource path
@@ -261,15 +255,15 @@ module DocuSign_Rooms
261
255
  # header parameters
262
256
  header_params = {}
263
257
  # HTTP header 'Accept' (if needed)
264
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
258
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
265
259
  # HTTP header 'Content-Type'
266
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
260
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
267
261
 
268
262
  # form parameters
269
263
  form_params = {}
270
264
 
271
265
  # http body (model)
272
- post_body = @api_client.object_to_http_body(form_for_add)
266
+ post_body = @api_client.object_to_http_body(body)
273
267
  auth_names = []
274
268
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
275
269
  :header_params => header_params,
@@ -287,24 +281,22 @@ module DocuSign_Rooms
287
281
  # Creates a new Room
288
282
  #
289
283
  # @param account_id
290
- # @param room_for_create The properties of the new room
284
+ # @param body (optional parameter)
291
285
  # @return [Room]
292
- def create_room(account_id, room_for_create)
293
- data, _status_code, _headers = create_room_with_http_info(account_id, room_for_create)
286
+ def create_room(account_id, body)
287
+ data, _status_code, _headers = create_room_with_http_info(account_id, body)
294
288
  return data
295
289
  end
296
290
 
297
291
  # Creates a new Room
298
292
  #
299
293
  # @param account_id
300
- # @param room_for_create The properties of the new room
294
+ # @param body (optional parameter)
301
295
  # @return [Array<(Room, Fixnum, Hash)>] Room data, response status code and response headers
302
- def create_room_with_http_info(account_id, room_for_create)
296
+ def create_room_with_http_info(account_id, body)
303
297
  if @api_client.config.debugging
304
298
  @api_client.config.logger.debug "Calling API: RoomsApi.create_room ..."
305
299
  end
306
- # verify the required parameter 'room_for_create' is set
307
- fail ArgumentError, "Missing the required parameter 'room_for_create' when calling RoomsApi.create_room" if room_for_create.nil?
308
300
  # verify the required parameter 'account_id' is set
309
301
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.create_room" if account_id.nil?
310
302
  # resource path
@@ -316,15 +308,15 @@ module DocuSign_Rooms
316
308
  # header parameters
317
309
  header_params = {}
318
310
  # HTTP header 'Accept' (if needed)
319
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
311
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
320
312
  # HTTP header 'Content-Type'
321
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
313
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
322
314
 
323
315
  # form parameters
324
316
  form_params = {}
325
317
 
326
318
  # http body (model)
327
- post_body = @api_client.object_to_http_body(room_for_create)
319
+ post_body = @api_client.object_to_http_body(body)
328
320
  auth_names = []
329
321
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
330
322
  :header_params => header_params,
@@ -371,7 +363,7 @@ module DocuSign_Rooms
371
363
  # header parameters
372
364
  header_params = {}
373
365
  # HTTP header 'Accept' (if needed)
374
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
366
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
375
367
 
376
368
  # form parameters
377
369
  form_params = {}
@@ -429,7 +421,7 @@ module DocuSign_Rooms
429
421
  # header parameters
430
422
  header_params = {}
431
423
  # HTTP header 'Accept' (if needed)
432
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
424
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
433
425
 
434
426
  # form parameters
435
427
  form_params = {}
@@ -486,7 +478,7 @@ module DocuSign_Rooms
486
478
  # header parameters
487
479
  header_params = {}
488
480
  # HTTP header 'Accept' (if needed)
489
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
481
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
490
482
 
491
483
  # form parameters
492
484
  form_params = {}
@@ -507,7 +499,7 @@ module DocuSign_Rooms
507
499
  return data, status_code, headers
508
500
  end
509
501
 
510
- # Gets information about the given room.
502
+ # Gets information about the given
511
503
  #
512
504
  # @param room_id
513
505
  # @param account_id
@@ -518,7 +510,7 @@ module DocuSign_Rooms
518
510
  return data
519
511
  end
520
512
 
521
- # Gets information about the given room.
513
+ # Gets information about the given
522
514
  #
523
515
  # @param room_id
524
516
  # @param account_id
@@ -542,7 +534,7 @@ module DocuSign_Rooms
542
534
  # header parameters
543
535
  header_params = {}
544
536
  # HTTP header 'Accept' (if needed)
545
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
537
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
546
538
 
547
539
  # form parameters
548
540
  form_params = {}
@@ -595,7 +587,7 @@ module DocuSign_Rooms
595
587
  # header parameters
596
588
  header_params = {}
597
589
  # HTTP header 'Accept' (if needed)
598
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
590
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
599
591
 
600
592
  # form parameters
601
593
  form_params = {}
@@ -616,7 +608,7 @@ module DocuSign_Rooms
616
608
  return data, status_code, headers
617
609
  end
618
610
 
619
- # Gets the field set associated with the room.
611
+ # Gets the field set associated with the
620
612
  #
621
613
  # @param room_id
622
614
  # @param account_id
@@ -626,7 +618,7 @@ module DocuSign_Rooms
626
618
  return data
627
619
  end
628
620
 
629
- # Gets the field set associated with the room.
621
+ # Gets the field set associated with the
630
622
  #
631
623
  # @param room_id
632
624
  # @param account_id
@@ -648,7 +640,7 @@ module DocuSign_Rooms
648
640
  # header parameters
649
641
  header_params = {}
650
642
  # HTTP header 'Accept' (if needed)
651
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
643
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
652
644
 
653
645
  # form parameters
654
646
  form_params = {}
@@ -669,7 +661,7 @@ module DocuSign_Rooms
669
661
  return data, status_code, headers
670
662
  end
671
663
 
672
- # Retrieves the list of users in the given room.
664
+ # Retrieves the list of users in the given
673
665
  #
674
666
  # @param room_id
675
667
  # @param account_id
@@ -680,7 +672,7 @@ module DocuSign_Rooms
680
672
  return data
681
673
  end
682
674
 
683
- # Retrieves the list of users in the given room.
675
+ # Retrieves the list of users in the given
684
676
  #
685
677
  # @param room_id
686
678
  # @param account_id
@@ -710,7 +702,7 @@ module DocuSign_Rooms
710
702
  # header parameters
711
703
  header_params = {}
712
704
  # HTTP header 'Accept' (if needed)
713
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
705
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
714
706
 
715
707
  # form parameters
716
708
  form_params = {}
@@ -772,7 +764,7 @@ module DocuSign_Rooms
772
764
  # header parameters
773
765
  header_params = {}
774
766
  # HTTP header 'Accept' (if needed)
775
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
767
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
776
768
 
777
769
  # form parameters
778
770
  form_params = {}
@@ -797,10 +789,10 @@ module DocuSign_Rooms
797
789
  #
798
790
  # @param room_id
799
791
  # @param account_id
800
- # @param room_invite_request
792
+ # @param body (optional parameter)
801
793
  # @return [RoomInviteResponse]
802
- def invite_user(room_id, account_id, room_invite_request)
803
- data, _status_code, _headers = invite_user_with_http_info(room_id, account_id, room_invite_request)
794
+ def invite_user(room_id, account_id, body)
795
+ data, _status_code, _headers = invite_user_with_http_info(room_id, account_id, body)
804
796
  return data
805
797
  end
806
798
 
@@ -808,16 +800,14 @@ module DocuSign_Rooms
808
800
  #
809
801
  # @param room_id
810
802
  # @param account_id
811
- # @param room_invite_request
803
+ # @param body (optional parameter)
812
804
  # @return [Array<(RoomInviteResponse, Fixnum, Hash)>] RoomInviteResponse data, response status code and response headers
813
- def invite_user_with_http_info(room_id, account_id, room_invite_request)
805
+ def invite_user_with_http_info(room_id, account_id, body)
814
806
  if @api_client.config.debugging
815
807
  @api_client.config.logger.debug "Calling API: RoomsApi.invite_user ..."
816
808
  end
817
809
  # verify the required parameter 'room_id' is set
818
810
  fail ArgumentError, "Missing the required parameter 'room_id' when calling RoomsApi.invite_user" if room_id.nil?
819
- # verify the required parameter 'room_invite_request' is set
820
- fail ArgumentError, "Missing the required parameter 'room_invite_request' when calling RoomsApi.invite_user" if room_invite_request.nil?
821
811
  # verify the required parameter 'account_id' is set
822
812
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.invite_user" if account_id.nil?
823
813
  # resource path
@@ -829,15 +819,15 @@ module DocuSign_Rooms
829
819
  # header parameters
830
820
  header_params = {}
831
821
  # HTTP header 'Accept' (if needed)
832
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
822
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
833
823
  # HTTP header 'Content-Type'
834
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
824
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
835
825
 
836
826
  # form parameters
837
827
  form_params = {}
838
828
 
839
829
  # http body (model)
840
- post_body = @api_client.object_to_http_body(room_invite_request)
830
+ post_body = @api_client.object_to_http_body(body)
841
831
  auth_names = []
842
832
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
843
833
  :header_params => header_params,
@@ -857,10 +847,10 @@ module DocuSign_Rooms
857
847
  # @param room_id
858
848
  # @param user_id
859
849
  # @param account_id
860
- # @param room_user_for_update
850
+ # @param body (optional parameter)
861
851
  # @return [RoomUser]
862
- def put_room_user(room_id, user_id, account_id, room_user_for_update)
863
- data, _status_code, _headers = put_room_user_with_http_info(room_id, user_id, account_id, room_user_for_update)
852
+ def put_room_user(room_id, user_id, account_id, body)
853
+ data, _status_code, _headers = put_room_user_with_http_info(room_id, user_id, account_id, body)
864
854
  return data
865
855
  end
866
856
 
@@ -869,9 +859,9 @@ module DocuSign_Rooms
869
859
  # @param room_id
870
860
  # @param user_id
871
861
  # @param account_id
872
- # @param room_user_for_update
862
+ # @param body (optional parameter)
873
863
  # @return [Array<(RoomUser, Fixnum, Hash)>] RoomUser data, response status code and response headers
874
- def put_room_user_with_http_info(room_id, user_id, account_id, room_user_for_update)
864
+ def put_room_user_with_http_info(room_id, user_id, account_id, body)
875
865
  if @api_client.config.debugging
876
866
  @api_client.config.logger.debug "Calling API: RoomsApi.put_room_user ..."
877
867
  end
@@ -879,8 +869,6 @@ module DocuSign_Rooms
879
869
  fail ArgumentError, "Missing the required parameter 'room_id' when calling RoomsApi.put_room_user" if room_id.nil?
880
870
  # verify the required parameter 'user_id' is set
881
871
  fail ArgumentError, "Missing the required parameter 'user_id' when calling RoomsApi.put_room_user" if user_id.nil?
882
- # verify the required parameter 'room_user_for_update' is set
883
- fail ArgumentError, "Missing the required parameter 'room_user_for_update' when calling RoomsApi.put_room_user" if room_user_for_update.nil?
884
872
  # verify the required parameter 'account_id' is set
885
873
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.put_room_user" if account_id.nil?
886
874
  # resource path
@@ -892,15 +880,15 @@ module DocuSign_Rooms
892
880
  # header parameters
893
881
  header_params = {}
894
882
  # HTTP header 'Accept' (if needed)
895
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
883
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
896
884
  # HTTP header 'Content-Type'
897
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
885
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
898
886
 
899
887
  # form parameters
900
888
  form_params = {}
901
889
 
902
890
  # http body (model)
903
- post_body = @api_client.object_to_http_body(room_user_for_update)
891
+ post_body = @api_client.object_to_http_body(body)
904
892
  auth_names = []
905
893
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
906
894
  :header_params => header_params,
@@ -915,7 +903,7 @@ module DocuSign_Rooms
915
903
  return data, status_code, headers
916
904
  end
917
905
 
918
- # Restores the specified user's access to the room.
906
+ # Restores the specified user's access to the
919
907
  #
920
908
  # @param room_id The room Id to restore access
921
909
  # @param user_id The user Id getting restored to the room
@@ -926,7 +914,7 @@ module DocuSign_Rooms
926
914
  return nil
927
915
  end
928
916
 
929
- # Restores the specified user&#39;s access to the room.
917
+ # Restores the specified user&#39;s access to the
930
918
  #
931
919
  # @param room_id The room Id to restore access
932
920
  # @param user_id The user Id getting restored to the room
@@ -951,7 +939,7 @@ module DocuSign_Rooms
951
939
  # header parameters
952
940
  header_params = {}
953
941
  # HTTP header 'Accept' (if needed)
954
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
942
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
955
943
 
956
944
  # form parameters
957
945
  form_params = {}
@@ -971,26 +959,26 @@ module DocuSign_Rooms
971
959
  return data, status_code, headers
972
960
  end
973
961
 
974
- # Revokes the specified user's access to the room.
962
+ # Revokes the specified user's access to the
975
963
  #
976
964
  # @param room_id The room Id to revoke access from
977
965
  # @param user_id The user Id getting revoked from the room
978
966
  # @param account_id
979
- # @param room_user_removal_detail Contains the date on which the users room access should be revoked (optional parameter)
967
+ # @param body (optional parameter)
980
968
  # @return [nil]
981
- def revoke_room_user_access(room_id, user_id, account_id, room_user_removal_detail)
982
- revoke_room_user_access_with_http_info(room_id, user_id, account_id, room_user_removal_detail)
969
+ def revoke_room_user_access(room_id, user_id, account_id, body)
970
+ revoke_room_user_access_with_http_info(room_id, user_id, account_id, body)
983
971
  return nil
984
972
  end
985
973
 
986
- # Revokes the specified user&#39;s access to the room.
974
+ # Revokes the specified user&#39;s access to the
987
975
  #
988
976
  # @param room_id The room Id to revoke access from
989
977
  # @param user_id The user Id getting revoked from the room
990
978
  # @param account_id
991
- # @param room_user_removal_detail Contains the date on which the users room access should be revoked (optional parameter)
979
+ # @param body (optional parameter)
992
980
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
993
- def revoke_room_user_access_with_http_info(room_id, user_id, account_id, room_user_removal_detail)
981
+ def revoke_room_user_access_with_http_info(room_id, user_id, account_id, body)
994
982
  if @api_client.config.debugging
995
983
  @api_client.config.logger.debug "Calling API: RoomsApi.revoke_room_user_access ..."
996
984
  end
@@ -1009,15 +997,15 @@ module DocuSign_Rooms
1009
997
  # header parameters
1010
998
  header_params = {}
1011
999
  # HTTP header 'Accept' (if needed)
1012
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1000
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
1013
1001
  # HTTP header 'Content-Type'
1014
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1002
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
1015
1003
 
1016
1004
  # form parameters
1017
1005
  form_params = {}
1018
1006
 
1019
1007
  # http body (model)
1020
- post_body = @api_client.object_to_http_body(room_user_removal_detail)
1008
+ post_body = @api_client.object_to_http_body(body)
1021
1009
  auth_names = []
1022
1010
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1023
1011
  :header_params => header_params,
@@ -1031,7 +1019,7 @@ module DocuSign_Rooms
1031
1019
  return data, status_code, headers
1032
1020
  end
1033
1021
 
1034
- # Update the picture for a room.
1022
+ # Update the picture for a
1035
1023
  # This endpoint supports the following content types, application/json as JSON PictureForUpdate{\"fileName\":\"string\", \"Base64Contents\":\"string\"}, multipart/formdata and any other streamed binary content type (as long as either query parameter fileName or request header ContentDisposition filename is included).
1036
1024
  # @param room_id ID of the room the picture is for.
1037
1025
  # @param account_id
@@ -1041,7 +1029,7 @@ module DocuSign_Rooms
1041
1029
  return data
1042
1030
  end
1043
1031
 
1044
- # Update the picture for a room.
1032
+ # Update the picture for a
1045
1033
  # This endpoint supports the following content types, application/json as JSON PictureForUpdate{\&quot;fileName\&quot;:\&quot;string\&quot;, \&quot;Base64Contents\&quot;:\&quot;string\&quot;}, multipart/formdata and any other streamed binary content type (as long as either query parameter fileName or request header ContentDisposition filename is included).
1046
1034
  # @param room_id ID of the room the picture is for.
1047
1035
  # @param account_id
@@ -1064,9 +1052,12 @@ module DocuSign_Rooms
1064
1052
  header_params = {}
1065
1053
  # HTTP header 'Accept' (if needed)
1066
1054
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1055
+ # HTTP header 'Content-Type'
1056
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1067
1057
 
1068
1058
  # form parameters
1069
1059
  form_params = {}
1060
+ form_params["file"] = options.file if !options.paramName.nil?
1070
1061
 
1071
1062
  # http body (model)
1072
1063
  post_body = nil
@@ -1088,10 +1079,10 @@ module DocuSign_Rooms
1088
1079
  #
1089
1080
  # @param room_id
1090
1081
  # @param account_id
1091
- # @param field_data_for_update
1082
+ # @param body (optional parameter)
1092
1083
  # @return [FieldData]
1093
- def update_room_field_data(room_id, account_id, field_data_for_update)
1094
- data, _status_code, _headers = update_room_field_data_with_http_info(room_id, account_id, field_data_for_update)
1084
+ def update_room_field_data(room_id, account_id, body)
1085
+ data, _status_code, _headers = update_room_field_data_with_http_info(room_id, account_id, body)
1095
1086
  return data
1096
1087
  end
1097
1088
 
@@ -1099,16 +1090,14 @@ module DocuSign_Rooms
1099
1090
  #
1100
1091
  # @param room_id
1101
1092
  # @param account_id
1102
- # @param field_data_for_update
1093
+ # @param body (optional parameter)
1103
1094
  # @return [Array<(FieldData, Fixnum, Hash)>] FieldData data, response status code and response headers
1104
- def update_room_field_data_with_http_info(room_id, account_id, field_data_for_update)
1095
+ def update_room_field_data_with_http_info(room_id, account_id, body)
1105
1096
  if @api_client.config.debugging
1106
1097
  @api_client.config.logger.debug "Calling API: RoomsApi.update_room_field_data ..."
1107
1098
  end
1108
1099
  # verify the required parameter 'room_id' is set
1109
1100
  fail ArgumentError, "Missing the required parameter 'room_id' when calling RoomsApi.update_room_field_data" if room_id.nil?
1110
- # verify the required parameter 'field_data_for_update' is set
1111
- fail ArgumentError, "Missing the required parameter 'field_data_for_update' when calling RoomsApi.update_room_field_data" if field_data_for_update.nil?
1112
1101
  # verify the required parameter 'account_id' is set
1113
1102
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.update_room_field_data" if account_id.nil?
1114
1103
  # resource path
@@ -1120,15 +1109,15 @@ module DocuSign_Rooms
1120
1109
  # header parameters
1121
1110
  header_params = {}
1122
1111
  # HTTP header 'Accept' (if needed)
1123
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1112
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
1124
1113
  # HTTP header 'Content-Type'
1125
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1114
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
1126
1115
 
1127
1116
  # form parameters
1128
1117
  form_params = {}
1129
1118
 
1130
1119
  # http body (model)
1131
- post_body = @api_client.object_to_http_body(field_data_for_update)
1120
+ post_body = @api_client.object_to_http_body(body)
1132
1121
  auth_names = []
1133
1122
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1134
1123
  :header_params => header_params,