docusign_rooms 1.0.0.beta → 1.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/CHANGELOG.md +7 -56
  2. data/README.md +1 -1
  3. data/docusign_rooms.gemspec +1 -0
  4. data/lib/docusign_rooms/api/accounts_api.rb +7 -5
  5. data/lib/docusign_rooms/api/activity_types_api.rb +5 -3
  6. data/lib/docusign_rooms/api/closing_statuses_api.rb +5 -3
  7. data/lib/docusign_rooms/api/contact_sides_api.rb +5 -3
  8. data/lib/docusign_rooms/api/countries_api.rb +5 -3
  9. data/lib/docusign_rooms/api/currencies_api.rb +5 -3
  10. data/lib/docusign_rooms/api/documents_api.rb +33 -31
  11. data/lib/docusign_rooms/api/e_sign_permission_profiles_api.rb +7 -5
  12. data/lib/docusign_rooms/api/external_form_fill_sessions_api.rb +12 -14
  13. data/lib/docusign_rooms/api/fields_api.rb +11 -9
  14. data/lib/docusign_rooms/api/financing_types_api.rb +5 -3
  15. data/lib/docusign_rooms/api/form_details_api.rb +7 -5
  16. data/lib/docusign_rooms/api/form_groups_api.rb +457 -5
  17. data/lib/docusign_rooms/api/form_libraries_api.rb +14 -10
  18. data/lib/docusign_rooms/api/offices_api.rb +42 -36
  19. data/lib/docusign_rooms/api/origins_of_leads_api.rb +5 -3
  20. data/lib/docusign_rooms/api/property_types_api.rb +5 -3
  21. data/lib/docusign_rooms/api/regions_api.rb +40 -34
  22. data/lib/docusign_rooms/api/roles_api.rb +63 -54
  23. data/lib/docusign_rooms/api/room_contact_types_api.rb +5 -3
  24. data/lib/docusign_rooms/api/room_folders_api.rb +7 -5
  25. data/lib/docusign_rooms/api/room_templates_api.rb +11 -5
  26. data/lib/docusign_rooms/api/rooms_api.rb +202 -179
  27. data/lib/docusign_rooms/api/seller_decision_types_api.rb +5 -3
  28. data/lib/docusign_rooms/api/special_circumstance_types_api.rb +5 -3
  29. data/lib/docusign_rooms/api/states_api.rb +5 -3
  30. data/lib/docusign_rooms/api/task_date_types_api.rb +5 -3
  31. data/lib/docusign_rooms/api/task_list_templates_api.rb +9 -7
  32. data/lib/docusign_rooms/api/task_lists_api.rb +26 -24
  33. data/lib/docusign_rooms/api/task_responsibility_types_api.rb +5 -3
  34. data/lib/docusign_rooms/api/task_statuses_api.rb +5 -3
  35. data/lib/docusign_rooms/api/time_zones_api.rb +5 -3
  36. data/lib/docusign_rooms/api/transaction_sides_api.rb +5 -3
  37. data/lib/docusign_rooms/api/users_api.rb +164 -174
  38. data/lib/docusign_rooms/client/api_client.rb +3 -2
  39. data/lib/docusign_rooms/configuration.rb +2 -1
  40. data/lib/docusign_rooms/models/access_level.rb +32 -0
  41. data/lib/docusign_rooms/models/account_status.rb +29 -0
  42. data/lib/docusign_rooms/models/account_summary.rb +1 -35
  43. data/lib/docusign_rooms/models/assignable_roles.rb +13 -4
  44. data/lib/docusign_rooms/models/classic_agent_to_invite.rb +10 -1
  45. data/lib/docusign_rooms/models/classic_manager_to_invite.rb +1 -35
  46. data/lib/docusign_rooms/models/document.rb +22 -4
  47. data/lib/docusign_rooms/models/fields_custom_data_filter_type.rb +30 -0
  48. data/lib/docusign_rooms/models/form_group.rb +214 -0
  49. data/lib/docusign_rooms/models/form_group_for_create.rb +188 -0
  50. data/lib/docusign_rooms/models/form_group_for_update.rb +188 -0
  51. data/lib/docusign_rooms/models/form_group_form_to_assign.rb +197 -0
  52. data/lib/docusign_rooms/models/form_group_summary_list.rb +13 -4
  53. data/lib/docusign_rooms/models/form_library_summary_list.rb +13 -4
  54. data/lib/docusign_rooms/models/form_summary_list.rb +13 -4
  55. data/lib/docusign_rooms/models/group_form.rb +210 -0
  56. data/lib/docusign_rooms/models/member_sorting_option.rb +33 -0
  57. data/lib/docusign_rooms/models/office_summary_list.rb +13 -4
  58. data/lib/docusign_rooms/models/permissions.rb +79 -16
  59. data/lib/docusign_rooms/models/product_version.rb +29 -0
  60. data/lib/docusign_rooms/models/region_summary_list.rb +13 -4
  61. data/lib/docusign_rooms/models/role.rb +1 -1
  62. data/lib/docusign_rooms/models/role_summary_list.rb +13 -4
  63. data/lib/docusign_rooms/models/roles_filter_context_types.rb +30 -0
  64. data/lib/docusign_rooms/models/room.rb +1 -1
  65. data/lib/docusign_rooms/models/room_document.rb +40 -4
  66. data/lib/docusign_rooms/models/room_document_list.rb +10 -1
  67. data/lib/docusign_rooms/models/room_document_owner.rb +219 -0
  68. data/lib/docusign_rooms/models/room_folder_list.rb +13 -4
  69. data/lib/docusign_rooms/models/room_status.rb +31 -0
  70. data/lib/docusign_rooms/models/room_summary_list.rb +13 -4
  71. data/lib/docusign_rooms/models/room_templates_summary_list.rb +13 -4
  72. data/lib/docusign_rooms/models/room_user_sorting_option.rb +33 -0
  73. data/lib/docusign_rooms/models/room_user_summary.rb +22 -4
  74. data/lib/docusign_rooms/models/room_users_result.rb +13 -4
  75. data/lib/docusign_rooms/models/task_list_template_list.rb +13 -4
  76. data/lib/docusign_rooms/models/user.rb +1 -35
  77. data/lib/docusign_rooms/models/user_summary.rb +1 -35
  78. data/lib/docusign_rooms/models/user_summary_list.rb +13 -4
  79. data/lib/docusign_rooms/models/user_to_invite.rb +1 -35
  80. data/lib/docusign_rooms/version.rb +1 -1
  81. data/lib/docusign_rooms.rb +14 -2
  82. data/runLinter.sh +1 -0
  83. metadata +113 -60
  84. checksums.yaml +0 -7
  85. data/Gemfile.lock +0 -71
  86. data/docusign_rooms-1.0.0.pre.alpha.gem +0 -0
  87. data/lib/.DS_Store +0 -0
  88. data/lib/docusign_rooms/.DS_Store +0 -0
  89. data/lib/docusign_rooms/client/.DS_Store +0 -0
  90. data/tests/Gemfile.lock +0 -42
  91. data/tests/docs/private.pem +0 -27
@@ -14,7 +14,7 @@ require "uri"
14
14
  module DocuSign_Rooms
15
15
 
16
16
  class GetRoleOptions
17
- #
17
+ # When set to true, the response includes the `isAssigned` property, which specifies whether the role is currently assigned to any users. The default is false.
18
18
  attr_accessor :include_is_assigned
19
19
 
20
20
  def self.default
@@ -23,16 +23,19 @@ module DocuSign_Rooms
23
23
  end
24
24
 
25
25
  class GetRolesOptions
26
- #
26
+ # Returns assignable roles based on calling user's company permissions. DEPRECATED: Please use filterContext parameter to get the assignable roles. AssignableRolesBasedOnCompanyPermissions returns same results as onlyAssignable=true
27
27
  attr_accessor :only_assignable
28
28
 
29
- #
29
+ # Attribute establishing filter context for roles being returned - AllRoles, AssignableRolesBasedOnCompanyPermissions, AssignableRolesBasedOnAllPermissions
30
+ attr_accessor :filter_context
31
+
32
+ # A search filter that returns roles by the beginning of the role name. You can enter the beginning of the role name only to return all of the roles that begin with the text that you entered.
30
33
  attr_accessor :filter
31
34
 
32
- #
35
+ # The starting zero-based index position of the result set. The default value is 0.
33
36
  attr_accessor :start_position
34
37
 
35
- #
38
+ # The number of results to return. This value must be a number between `1` and `100` (default).
36
39
  attr_accessor :count
37
40
 
38
41
  def self.default
@@ -49,26 +52,24 @@ module DocuSign_Rooms
49
52
  end
50
53
 
51
54
  # Creates a role.
52
- #
53
- # @param account_id
54
- # @param role
55
+ # Creates a new company role in Rooms
56
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
57
+ # @param body (optional parameter)
55
58
  # @return [Role]
56
- def create_role(account_id, role)
57
- data, _status_code, _headers = create_role_with_http_info(account_id, role)
59
+ def create_role(account_id, body)
60
+ data, _status_code, _headers = create_role_with_http_info(account_id, body)
58
61
  return data
59
62
  end
60
63
 
61
64
  # Creates a role.
62
- #
63
- # @param account_id
64
- # @param role
65
+ # Creates a new company role in Rooms
66
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
67
+ # @param body (optional parameter)
65
68
  # @return [Array<(Role, Fixnum, Hash)>] Role data, response status code and response headers
66
- def create_role_with_http_info(account_id, role)
69
+ def create_role_with_http_info(account_id, body)
67
70
  if @api_client.config.debugging
68
71
  @api_client.config.logger.debug "Calling API: RolesApi.create_role ..."
69
72
  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
73
  # verify the required parameter 'account_id' is set
73
74
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RolesApi.create_role" if account_id.nil?
74
75
  # resource path
@@ -80,15 +81,15 @@ module DocuSign_Rooms
80
81
  # header parameters
81
82
  header_params = {}
82
83
  # HTTP header 'Accept' (if needed)
83
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
84
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
84
85
  # HTTP header 'Content-Type'
85
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
86
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
86
87
 
87
88
  # form parameters
88
89
  form_params = {}
89
90
 
90
91
  # http body (model)
91
- post_body = @api_client.object_to_http_body(role)
92
+ post_body = @api_client.object_to_http_body(body)
92
93
  auth_names = []
93
94
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
94
95
  :header_params => header_params,
@@ -104,9 +105,9 @@ module DocuSign_Rooms
104
105
  end
105
106
 
106
107
  # Deletes the role with the given roleId.
107
- #
108
- # @param role_id
109
- # @param account_id
108
+ # Deletes a role from a company account in Rooms
109
+ # @param role_id The id of the role.
110
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
110
111
  # @return [nil]
111
112
  def delete_role(role_id, account_id)
112
113
  delete_role_with_http_info(role_id, account_id)
@@ -114,9 +115,9 @@ module DocuSign_Rooms
114
115
  end
115
116
 
116
117
  # Deletes the role with the given roleId.
117
- #
118
- # @param role_id
119
- # @param account_id
118
+ # Deletes a role from a company account in Rooms
119
+ # @param role_id The id of the role.
120
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
120
121
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
121
122
  def delete_role_with_http_info(role_id, account_id)
122
123
  if @api_client.config.debugging
@@ -135,7 +136,9 @@ module DocuSign_Rooms
135
136
  # header parameters
136
137
  header_params = {}
137
138
  # HTTP header 'Accept' (if needed)
138
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
139
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
140
+ # HTTP header 'Content-Type'
141
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
139
142
 
140
143
  # form parameters
141
144
  form_params = {}
@@ -156,9 +159,9 @@ module DocuSign_Rooms
156
159
  end
157
160
 
158
161
  # Get information about the role with the given roleId.
159
- #
160
- # @param role_id
161
- # @param account_id
162
+ # Get information about the role with the given roleId.
163
+ # @param role_id The id of the role.
164
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
162
165
  # @param DocuSign_Rooms::GetRoleOptions Options for modifying the behavior of the function.
163
166
  # @return [Role]
164
167
  def get_role(role_id, account_id, options = DocuSign_Rooms::GetRoleOptions.default)
@@ -167,9 +170,9 @@ module DocuSign_Rooms
167
170
  end
168
171
 
169
172
  # Get information about the role with the given roleId.
170
- #
171
- # @param role_id
172
- # @param account_id
173
+ # Get information about the role with the given roleId.
174
+ # @param role_id The id of the role.
175
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
173
176
  # @param DocuSign_Rooms::GetRoleOptions Options for modifying the behavior of the function.
174
177
  # @return [Array<(Role, Fixnum, Hash)>] Role data, response status code and response headers
175
178
  def get_role_with_http_info(role_id, account_id, options = DocuSign_Rooms::GetRoleOptions.default)
@@ -190,7 +193,9 @@ module DocuSign_Rooms
190
193
  # header parameters
191
194
  header_params = {}
192
195
  # HTTP header 'Accept' (if needed)
193
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
196
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
197
+ # HTTP header 'Content-Type'
198
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
194
199
 
195
200
  # form parameters
196
201
  form_params = {}
@@ -212,8 +217,8 @@ module DocuSign_Rooms
212
217
  end
213
218
 
214
219
  # Gets a paged-list of roles in your company
215
- #
216
- # @param account_id
220
+ # Returns a list of roles associated with a company account
221
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
217
222
  # @param DocuSign_Rooms::GetRolesOptions Options for modifying the behavior of the function.
218
223
  # @return [RoleSummaryList]
219
224
  def get_roles(account_id, options = DocuSign_Rooms::GetRolesOptions.default)
@@ -222,8 +227,8 @@ module DocuSign_Rooms
222
227
  end
223
228
 
224
229
  # Gets a paged-list of roles in your company
225
- #
226
- # @param account_id
230
+ # Returns a list of roles associated with a company account
231
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
227
232
  # @param DocuSign_Rooms::GetRolesOptions Options for modifying the behavior of the function.
228
233
  # @return [Array<(RoleSummaryList, Fixnum, Hash)>] RoleSummaryList data, response status code and response headers
229
234
  def get_roles_with_http_info(account_id, options = DocuSign_Rooms::GetRolesOptions.default)
@@ -232,12 +237,16 @@ module DocuSign_Rooms
232
237
  end
233
238
  # verify the required parameter 'account_id' is set
234
239
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RolesApi.get_roles" if account_id.nil?
240
+ if options.filter_context && !['AllRoles', 'AssignableRolesBasedOnCompanyPermissions', 'AssignableRolesBasedOnAllPermissions'].include?(options.filter_context)
241
+ fail ArgumentError, 'invalid value for "filter_context", must be one of AllRoles, AssignableRolesBasedOnCompanyPermissions, AssignableRolesBasedOnAllPermissions'
242
+ end
235
243
  # resource path
236
244
  local_var_path = "/v2/accounts/{accountId}/roles".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
237
245
 
238
246
  # query parameters
239
247
  query_params = {}
240
248
  query_params[:'onlyAssignable'] = options.only_assignable if !options.only_assignable.nil?
249
+ query_params[:'filterContext'] = options.filter_context if !options.filter_context.nil?
241
250
  query_params[:'filter'] = options.filter if !options.filter.nil?
242
251
  query_params[:'startPosition'] = options.start_position if !options.start_position.nil?
243
252
  query_params[:'count'] = options.count if !options.count.nil?
@@ -245,7 +254,9 @@ module DocuSign_Rooms
245
254
  # header parameters
246
255
  header_params = {}
247
256
  # HTTP header 'Accept' (if needed)
248
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
257
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
258
+ # HTTP header 'Content-Type'
259
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
249
260
 
250
261
  # form parameters
251
262
  form_params = {}
@@ -267,30 +278,28 @@ module DocuSign_Rooms
267
278
  end
268
279
 
269
280
  # Updates the role with the given roleId.
270
- #
271
- # @param role_id
272
- # @param account_id
273
- # @param role
281
+ # Updates the role with the given roleId.
282
+ # @param role_id The id of the role.
283
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
284
+ # @param body (optional parameter)
274
285
  # @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)
286
+ def update_role(role_id, account_id, body)
287
+ data, _status_code, _headers = update_role_with_http_info(role_id, account_id, body)
277
288
  return data
278
289
  end
279
290
 
280
291
  # Updates the role with the given roleId.
281
- #
282
- # @param role_id
283
- # @param account_id
284
- # @param role
292
+ # Updates the role with the given roleId.
293
+ # @param role_id The id of the role.
294
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
295
+ # @param body (optional parameter)
285
296
  # @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)
297
+ def update_role_with_http_info(role_id, account_id, body)
287
298
  if @api_client.config.debugging
288
299
  @api_client.config.logger.debug "Calling API: RolesApi.update_role ..."
289
300
  end
290
301
  # verify the required parameter 'role_id' is set
291
302
  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
303
  # verify the required parameter 'account_id' is set
295
304
  fail ArgumentError, "Missing the required parameter 'account_id' when calling RolesApi.update_role" if account_id.nil?
296
305
  # resource path
@@ -302,15 +311,15 @@ module DocuSign_Rooms
302
311
  # header parameters
303
312
  header_params = {}
304
313
  # HTTP header 'Accept' (if needed)
305
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
314
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
306
315
  # HTTP header 'Content-Type'
307
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
316
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
308
317
 
309
318
  # form parameters
310
319
  form_params = {}
311
320
 
312
321
  # http body (model)
313
- post_body = @api_client.object_to_http_body(role)
322
+ post_body = @api_client.object_to_http_body(body)
314
323
  auth_names = []
315
324
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
316
325
  :header_params => header_params,
@@ -22,7 +22,7 @@ module DocuSign_Rooms
22
22
  end
23
23
 
24
24
  # Retrieves the list of valid room contact types.
25
- #
25
+ # Returns a list of room contact types, such as Buyer, Seller, and Listing Agent.
26
26
  # @return [GlobalRoomContactTypes]
27
27
  def get_room_contact_types()
28
28
  data, _status_code, _headers = get_room_contact_types_with_http_info()
@@ -30,7 +30,7 @@ module DocuSign_Rooms
30
30
  end
31
31
 
32
32
  # Retrieves the list of valid room contact types.
33
- #
33
+ # Returns a list of room contact types, such as Buyer, Seller, and Listing Agent.
34
34
  # @return [Array<(GlobalRoomContactTypes, Fixnum, Hash)>] GlobalRoomContactTypes data, response status code and response headers
35
35
  def get_room_contact_types_with_http_info()
36
36
  if @api_client.config.debugging
@@ -45,7 +45,9 @@ 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
+ # HTTP header 'Content-Type'
50
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
49
51
 
50
52
  # form parameters
51
53
  form_params = {}
@@ -34,9 +34,9 @@ module DocuSign_Rooms
34
34
  end
35
35
 
36
36
  # Gets room folders accessible to the calling user.
37
- #
37
+ # Gets a list of room folders in the specified room that are accessible to the current user.
38
38
  # @param room_id The room id from which to retrieve folders.
39
- # @param account_id
39
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
40
40
  # @param DocuSign_Rooms::GetRoomFoldersOptions Options for modifying the behavior of the function.
41
41
  # @return [RoomFolderList]
42
42
  def get_room_folders(room_id, account_id, options = DocuSign_Rooms::GetRoomFoldersOptions.default)
@@ -45,9 +45,9 @@ module DocuSign_Rooms
45
45
  end
46
46
 
47
47
  # Gets room folders accessible to the calling user.
48
- #
48
+ # Gets a list of room folders in the specified room that are accessible to the current user.
49
49
  # @param room_id The room id from which to retrieve folders.
50
- # @param account_id
50
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
51
51
  # @param DocuSign_Rooms::GetRoomFoldersOptions Options for modifying the behavior of the function.
52
52
  # @return [Array<(RoomFolderList, Fixnum, Hash)>] RoomFolderList data, response status code and response headers
53
53
  def get_room_folders_with_http_info(room_id, account_id, options = DocuSign_Rooms::GetRoomFoldersOptions.default)
@@ -69,7 +69,9 @@ 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
+ # HTTP header 'Content-Type'
74
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
73
75
 
74
76
  # form parameters
75
77
  form_params = {}
@@ -20,6 +20,9 @@ module DocuSign_Rooms
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
 
@@ -40,8 +43,8 @@ module DocuSign_Rooms
40
43
  end
41
44
 
42
45
  # Returns all room templates that the active user has access to
43
- #
44
- # @param account_id
46
+ # This method returns a list of room templates that the user can use to create a new room. The response includes company and region-level templates
47
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
45
48
  # @param DocuSign_Rooms::GetRoomTemplatesOptions Options for modifying the behavior of the function.
46
49
  # @return [RoomTemplatesSummaryList]
47
50
  def get_room_templates(account_id, options = DocuSign_Rooms::GetRoomTemplatesOptions.default)
@@ -50,8 +53,8 @@ module DocuSign_Rooms
50
53
  end
51
54
 
52
55
  # Returns all room templates that the active user has access to
53
- #
54
- # @param account_id
56
+ # This method returns a list of room templates that the user can use to create a new room. The response includes company and region-level templates
57
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
55
58
  # @param DocuSign_Rooms::GetRoomTemplatesOptions Options for modifying the behavior of the function.
56
59
  # @return [Array<(RoomTemplatesSummaryList, Fixnum, Hash)>] RoomTemplatesSummaryList data, response status code and response headers
57
60
  def get_room_templates_with_http_info(account_id, options = DocuSign_Rooms::GetRoomTemplatesOptions.default)
@@ -67,13 +70,16 @@ 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'])
81
+ # HTTP header 'Content-Type'
82
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
77
83
 
78
84
  # form parameters
79
85
  form_params = {}