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
@@ -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 = {}
@@ -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 = {}
@@ -65,7 +65,7 @@ module DocuSign_Rooms
65
65
  # header parameters
66
66
  header_params = {}
67
67
  # HTTP header 'Accept' (if needed)
68
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
68
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
69
69
 
70
70
  # form parameters
71
71
  form_params = {}
@@ -25,10 +25,10 @@ module DocuSign_Rooms
25
25
  #
26
26
  # @param room_id Room ID.
27
27
  # @param account_id
28
- # @param task_list Details for task list creation.
28
+ # @param body (optional parameter)
29
29
  # @return [TaskList]
30
- def create_task_list(room_id, account_id, task_list)
31
- data, _status_code, _headers = create_task_list_with_http_info(room_id, account_id, task_list)
30
+ def create_task_list(room_id, account_id, body)
31
+ data, _status_code, _headers = create_task_list_with_http_info(room_id, account_id, body)
32
32
  return data
33
33
  end
34
34
 
@@ -36,16 +36,14 @@ module DocuSign_Rooms
36
36
  #
37
37
  # @param room_id Room ID.
38
38
  # @param account_id
39
- # @param task_list Details for task list creation.
39
+ # @param body (optional parameter)
40
40
  # @return [Array<(TaskList, Fixnum, Hash)>] TaskList data, response status code and response headers
41
- def create_task_list_with_http_info(room_id, account_id, task_list)
41
+ def create_task_list_with_http_info(room_id, account_id, body)
42
42
  if @api_client.config.debugging
43
43
  @api_client.config.logger.debug "Calling API: TaskListsApi.create_task_list ..."
44
44
  end
45
45
  # verify the required parameter 'room_id' is set
46
46
  fail ArgumentError, "Missing the required parameter 'room_id' when calling TaskListsApi.create_task_list" if room_id.nil?
47
- # verify the required parameter 'task_list' is set
48
- fail ArgumentError, "Missing the required parameter 'task_list' when calling TaskListsApi.create_task_list" if task_list.nil?
49
47
  # verify the required parameter 'account_id' is set
50
48
  fail ArgumentError, "Missing the required parameter 'account_id' when calling TaskListsApi.create_task_list" if account_id.nil?
51
49
  # resource path
@@ -57,15 +55,15 @@ module DocuSign_Rooms
57
55
  # header parameters
58
56
  header_params = {}
59
57
  # HTTP header 'Accept' (if needed)
60
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
58
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
61
59
  # HTTP header 'Content-Type'
62
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
60
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
63
61
 
64
62
  # form parameters
65
63
  form_params = {}
66
64
 
67
65
  # http body (model)
68
- post_body = @api_client.object_to_http_body(task_list)
66
+ post_body = @api_client.object_to_http_body(body)
69
67
  auth_names = []
70
68
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
71
69
  :header_params => header_params,
@@ -80,7 +78,7 @@ module DocuSign_Rooms
80
78
  return data, status_code, headers
81
79
  end
82
80
 
83
- # Deletes a task list. If there are attached documents they will remain in the associated room.
81
+ # Deletes a task list. If there are attached documents they will remain in the associated
84
82
  #
85
83
  # @param task_list_id Task List ID
86
84
  # @param account_id
@@ -90,7 +88,7 @@ module DocuSign_Rooms
90
88
  return nil
91
89
  end
92
90
 
93
- # Deletes a task list. If there are attached documents they will remain in the associated room.
91
+ # Deletes a task list. If there are attached documents they will remain in the associated
94
92
  #
95
93
  # @param task_list_id Task List ID
96
94
  # @param account_id
@@ -112,7 +110,7 @@ module DocuSign_Rooms
112
110
  # header parameters
113
111
  header_params = {}
114
112
  # HTTP header 'Accept' (if needed)
115
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
113
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
116
114
 
117
115
  # form parameters
118
116
  form_params = {}
@@ -132,7 +130,7 @@ module DocuSign_Rooms
132
130
  return data, status_code, headers
133
131
  end
134
132
 
135
- # Returns the summary for all viewable task lists in a room.
133
+ # Returns the summary for all viewable task lists in a
136
134
  #
137
135
  # @param room_id Room ID
138
136
  # @param account_id
@@ -142,7 +140,7 @@ module DocuSign_Rooms
142
140
  return data
143
141
  end
144
142
 
145
- # Returns the summary for all viewable task lists in a room.
143
+ # Returns the summary for all viewable task lists in a
146
144
  #
147
145
  # @param room_id Room ID
148
146
  # @param account_id
@@ -164,7 +162,7 @@ module DocuSign_Rooms
164
162
  # header parameters
165
163
  header_params = {}
166
164
  # HTTP header 'Accept' (if needed)
167
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
165
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
168
166
 
169
167
  # form parameters
170
168
  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 = {}
@@ -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 = {}
@@ -61,10 +61,10 @@ module DocuSign_Rooms
61
61
  #
62
62
  # @param user_id
63
63
  # @param account_id
64
- # @param designated_office
64
+ # @param body (optional parameter)
65
65
  # @return [nil]
66
- def add_user_to_office(user_id, account_id, designated_office)
67
- add_user_to_office_with_http_info(user_id, account_id, designated_office)
66
+ def add_user_to_office(user_id, account_id, body)
67
+ add_user_to_office_with_http_info(user_id, account_id, body)
68
68
  return nil
69
69
  end
70
70
 
@@ -72,16 +72,14 @@ module DocuSign_Rooms
72
72
  #
73
73
  # @param user_id
74
74
  # @param account_id
75
- # @param designated_office
75
+ # @param body (optional parameter)
76
76
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
77
- def add_user_to_office_with_http_info(user_id, account_id, designated_office)
77
+ def add_user_to_office_with_http_info(user_id, account_id, body)
78
78
  if @api_client.config.debugging
79
79
  @api_client.config.logger.debug "Calling API: UsersApi.add_user_to_office ..."
80
80
  end
81
81
  # verify the required parameter 'user_id' is set
82
82
  fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.add_user_to_office" if user_id.nil?
83
- # verify the required parameter 'designated_office' is set
84
- fail ArgumentError, "Missing the required parameter 'designated_office' when calling UsersApi.add_user_to_office" if designated_office.nil?
85
83
  # verify the required parameter 'account_id' is set
86
84
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.add_user_to_office" if account_id.nil?
87
85
  # resource path
@@ -93,15 +91,15 @@ module DocuSign_Rooms
93
91
  # header parameters
94
92
  header_params = {}
95
93
  # HTTP header 'Accept' (if needed)
96
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
94
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
97
95
  # HTTP header 'Content-Type'
98
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
96
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
99
97
 
100
98
  # form parameters
101
99
  form_params = {}
102
100
 
103
101
  # http body (model)
104
- post_body = @api_client.object_to_http_body(designated_office)
102
+ post_body = @api_client.object_to_http_body(body)
105
103
  auth_names = []
106
104
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
107
105
  :header_params => header_params,
@@ -119,10 +117,10 @@ module DocuSign_Rooms
119
117
  #
120
118
  # @param user_id
121
119
  # @param account_id
122
- # @param designated_region
120
+ # @param body (optional parameter)
123
121
  # @return [nil]
124
- def add_user_to_region(user_id, account_id, designated_region)
125
- add_user_to_region_with_http_info(user_id, account_id, designated_region)
122
+ def add_user_to_region(user_id, account_id, body)
123
+ add_user_to_region_with_http_info(user_id, account_id, body)
126
124
  return nil
127
125
  end
128
126
 
@@ -130,16 +128,14 @@ module DocuSign_Rooms
130
128
  #
131
129
  # @param user_id
132
130
  # @param account_id
133
- # @param designated_region
131
+ # @param body (optional parameter)
134
132
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
135
- def add_user_to_region_with_http_info(user_id, account_id, designated_region)
133
+ def add_user_to_region_with_http_info(user_id, account_id, body)
136
134
  if @api_client.config.debugging
137
135
  @api_client.config.logger.debug "Calling API: UsersApi.add_user_to_region ..."
138
136
  end
139
137
  # verify the required parameter 'user_id' is set
140
138
  fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.add_user_to_region" if user_id.nil?
141
- # verify the required parameter 'designated_region' is set
142
- fail ArgumentError, "Missing the required parameter 'designated_region' when calling UsersApi.add_user_to_region" if designated_region.nil?
143
139
  # verify the required parameter 'account_id' is set
144
140
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.add_user_to_region" if account_id.nil?
145
141
  # resource path
@@ -151,15 +147,15 @@ module DocuSign_Rooms
151
147
  # header parameters
152
148
  header_params = {}
153
149
  # HTTP header 'Accept' (if needed)
154
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
150
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
155
151
  # HTTP header 'Content-Type'
156
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
152
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
157
153
 
158
154
  # form parameters
159
155
  form_params = {}
160
156
 
161
157
  # http body (model)
162
- post_body = @api_client.object_to_http_body(designated_region)
158
+ post_body = @api_client.object_to_http_body(body)
163
159
  auth_names = []
164
160
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
165
161
  :header_params => header_params,
@@ -205,7 +201,7 @@ module DocuSign_Rooms
205
201
  # header parameters
206
202
  header_params = {}
207
203
  # HTTP header 'Accept' (if needed)
208
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
204
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
209
205
 
210
206
  # form parameters
211
207
  form_params = {}
@@ -226,7 +222,7 @@ module DocuSign_Rooms
226
222
  return data, status_code, headers
227
223
  end
228
224
 
229
- # Gets a paged-list of users.
225
+ # Gets a paged-list of
230
226
  # Retrieves a paged-list of Company Users in the User's company using the given filter and sort parameters.
231
227
  # @param account_id
232
228
  # @param DocuSign_Rooms::GetUsersOptions Options for modifying the behavior of the function.
@@ -236,7 +232,7 @@ module DocuSign_Rooms
236
232
  return data
237
233
  end
238
234
 
239
- # Gets a paged-list of users.
235
+ # Gets a paged-list of
240
236
  # Retrieves a paged-list of Company Users in the User&#39;s company using the given filter and sort parameters.
241
237
  # @param account_id
242
238
  # @param DocuSign_Rooms::GetUsersOptions Options for modifying the behavior of the function.
@@ -275,7 +271,7 @@ module DocuSign_Rooms
275
271
  # header parameters
276
272
  header_params = {}
277
273
  # HTTP header 'Accept' (if needed)
278
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
274
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
279
275
 
280
276
  # form parameters
281
277
  form_params = {}
@@ -299,24 +295,22 @@ module DocuSign_Rooms
299
295
  # CLASSIC COMPANY ONLY. Send an invitation to join the company as an admin.
300
296
  #
301
297
  # @param account_id
302
- # @param invitee Invitee information.
298
+ # @param body (optional parameter)
303
299
  # @return [User]
304
- def invite_classic_admin(account_id, invitee)
305
- data, _status_code, _headers = invite_classic_admin_with_http_info(account_id, invitee)
300
+ def invite_classic_admin(account_id, body)
301
+ data, _status_code, _headers = invite_classic_admin_with_http_info(account_id, body)
306
302
  return data
307
303
  end
308
304
 
309
305
  # CLASSIC COMPANY ONLY. Send an invitation to join the company as an admin.
310
306
  #
311
307
  # @param account_id
312
- # @param invitee Invitee information.
308
+ # @param body (optional parameter)
313
309
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
314
- def invite_classic_admin_with_http_info(account_id, invitee)
310
+ def invite_classic_admin_with_http_info(account_id, body)
315
311
  if @api_client.config.debugging
316
312
  @api_client.config.logger.debug "Calling API: UsersApi.invite_classic_admin ..."
317
313
  end
318
- # verify the required parameter 'invitee' is set
319
- fail ArgumentError, "Missing the required parameter 'invitee' when calling UsersApi.invite_classic_admin" if invitee.nil?
320
314
  # verify the required parameter 'account_id' is set
321
315
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.invite_classic_admin" if account_id.nil?
322
316
  # resource path
@@ -328,15 +322,15 @@ module DocuSign_Rooms
328
322
  # header parameters
329
323
  header_params = {}
330
324
  # HTTP header 'Accept' (if needed)
331
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
325
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
332
326
  # HTTP header 'Content-Type'
333
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
327
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
334
328
 
335
329
  # form parameters
336
330
  form_params = {}
337
331
 
338
332
  # http body (model)
339
- post_body = @api_client.object_to_http_body(invitee)
333
+ post_body = @api_client.object_to_http_body(body)
340
334
  auth_names = []
341
335
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
342
336
  :header_params => header_params,
@@ -354,24 +348,22 @@ module DocuSign_Rooms
354
348
  # CLASSIC COMPANY ONLY. Send an invitation to join the company as an agent.
355
349
  #
356
350
  # @param account_id
357
- # @param invitee Invitee information.
351
+ # @param body (optional parameter)
358
352
  # @return [User]
359
- def invite_classic_agent(account_id, invitee)
360
- data, _status_code, _headers = invite_classic_agent_with_http_info(account_id, invitee)
353
+ def invite_classic_agent(account_id, body)
354
+ data, _status_code, _headers = invite_classic_agent_with_http_info(account_id, body)
361
355
  return data
362
356
  end
363
357
 
364
358
  # CLASSIC COMPANY ONLY. Send an invitation to join the company as an agent.
365
359
  #
366
360
  # @param account_id
367
- # @param invitee Invitee information.
361
+ # @param body (optional parameter)
368
362
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
369
- def invite_classic_agent_with_http_info(account_id, invitee)
363
+ def invite_classic_agent_with_http_info(account_id, body)
370
364
  if @api_client.config.debugging
371
365
  @api_client.config.logger.debug "Calling API: UsersApi.invite_classic_agent ..."
372
366
  end
373
- # verify the required parameter 'invitee' is set
374
- fail ArgumentError, "Missing the required parameter 'invitee' when calling UsersApi.invite_classic_agent" if invitee.nil?
375
367
  # verify the required parameter 'account_id' is set
376
368
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.invite_classic_agent" if account_id.nil?
377
369
  # resource path
@@ -383,15 +375,15 @@ module DocuSign_Rooms
383
375
  # header parameters
384
376
  header_params = {}
385
377
  # HTTP header 'Accept' (if needed)
386
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
378
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
387
379
  # HTTP header 'Content-Type'
388
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
380
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
389
381
 
390
382
  # form parameters
391
383
  form_params = {}
392
384
 
393
385
  # http body (model)
394
- post_body = @api_client.object_to_http_body(invitee)
386
+ post_body = @api_client.object_to_http_body(body)
395
387
  auth_names = []
396
388
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
397
389
  :header_params => header_params,
@@ -409,24 +401,22 @@ module DocuSign_Rooms
409
401
  # CLASSIC COMPANY ONLY. Send an invitation to join the company as a manager.
410
402
  #
411
403
  # @param account_id
412
- # @param invitee Invitee information.
404
+ # @param body (optional parameter)
413
405
  # @return [User]
414
- def invite_classic_manager(account_id, invitee)
415
- data, _status_code, _headers = invite_classic_manager_with_http_info(account_id, invitee)
406
+ def invite_classic_manager(account_id, body)
407
+ data, _status_code, _headers = invite_classic_manager_with_http_info(account_id, body)
416
408
  return data
417
409
  end
418
410
 
419
411
  # CLASSIC COMPANY ONLY. Send an invitation to join the company as a manager.
420
412
  #
421
413
  # @param account_id
422
- # @param invitee Invitee information.
414
+ # @param body (optional parameter)
423
415
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
424
- def invite_classic_manager_with_http_info(account_id, invitee)
416
+ def invite_classic_manager_with_http_info(account_id, body)
425
417
  if @api_client.config.debugging
426
418
  @api_client.config.logger.debug "Calling API: UsersApi.invite_classic_manager ..."
427
419
  end
428
- # verify the required parameter 'invitee' is set
429
- fail ArgumentError, "Missing the required parameter 'invitee' when calling UsersApi.invite_classic_manager" if invitee.nil?
430
420
  # verify the required parameter 'account_id' is set
431
421
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.invite_classic_manager" if account_id.nil?
432
422
  # resource path
@@ -438,15 +428,15 @@ module DocuSign_Rooms
438
428
  # header parameters
439
429
  header_params = {}
440
430
  # HTTP header 'Accept' (if needed)
441
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
431
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
442
432
  # HTTP header 'Content-Type'
443
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
433
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
444
434
 
445
435
  # form parameters
446
436
  form_params = {}
447
437
 
448
438
  # http body (model)
449
- post_body = @api_client.object_to_http_body(invitee)
439
+ post_body = @api_client.object_to_http_body(body)
450
440
  auth_names = []
451
441
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
452
442
  :header_params => header_params,
@@ -464,24 +454,22 @@ module DocuSign_Rooms
464
454
  # NON-CLASSIC COMPANY ONLY. Send an invitation to the user or non-user having the given email.
465
455
  #
466
456
  # @param account_id
467
- # @param invitee Invitee information
457
+ # @param body (optional parameter)
468
458
  # @return [User]
469
- def invite_user(account_id, invitee)
470
- data, _status_code, _headers = invite_user_with_http_info(account_id, invitee)
459
+ def invite_user(account_id, body)
460
+ data, _status_code, _headers = invite_user_with_http_info(account_id, body)
471
461
  return data
472
462
  end
473
463
 
474
464
  # NON-CLASSIC COMPANY ONLY. Send an invitation to the user or non-user having the given email.
475
465
  #
476
466
  # @param account_id
477
- # @param invitee Invitee information
467
+ # @param body (optional parameter)
478
468
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
479
- def invite_user_with_http_info(account_id, invitee)
469
+ def invite_user_with_http_info(account_id, body)
480
470
  if @api_client.config.debugging
481
471
  @api_client.config.logger.debug "Calling API: UsersApi.invite_user ..."
482
472
  end
483
- # verify the required parameter 'invitee' is set
484
- fail ArgumentError, "Missing the required parameter 'invitee' when calling UsersApi.invite_user" if invitee.nil?
485
473
  # verify the required parameter 'account_id' is set
486
474
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.invite_user" if account_id.nil?
487
475
  # resource path
@@ -493,15 +481,15 @@ module DocuSign_Rooms
493
481
  # header parameters
494
482
  header_params = {}
495
483
  # HTTP header 'Accept' (if needed)
496
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
484
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
497
485
  # HTTP header 'Content-Type'
498
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
486
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
499
487
 
500
488
  # form parameters
501
489
  form_params = {}
502
490
 
503
491
  # http body (model)
504
- post_body = @api_client.object_to_http_body(invitee)
492
+ post_body = @api_client.object_to_http_body(body)
505
493
  auth_names = []
506
494
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
507
495
  :header_params => header_params,
@@ -520,10 +508,10 @@ module DocuSign_Rooms
520
508
  #
521
509
  # @param user_id User Id of the user attempting to be locked.
522
510
  # @param account_id
523
- # @param details Details containing the reason the user is being locked out
511
+ # @param body (optional parameter)
524
512
  # @return [nil]
525
- def lock_user(user_id, account_id, details)
526
- lock_user_with_http_info(user_id, account_id, details)
513
+ def lock_user(user_id, account_id, body)
514
+ lock_user_with_http_info(user_id, account_id, body)
527
515
  return nil
528
516
  end
529
517
 
@@ -531,16 +519,14 @@ module DocuSign_Rooms
531
519
  #
532
520
  # @param user_id User Id of the user attempting to be locked.
533
521
  # @param account_id
534
- # @param details Details containing the reason the user is being locked out
522
+ # @param body (optional parameter)
535
523
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
536
- def lock_user_with_http_info(user_id, account_id, details)
524
+ def lock_user_with_http_info(user_id, account_id, body)
537
525
  if @api_client.config.debugging
538
526
  @api_client.config.logger.debug "Calling API: UsersApi.lock_user ..."
539
527
  end
540
528
  # verify the required parameter 'user_id' is set
541
529
  fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.lock_user" if user_id.nil?
542
- # verify the required parameter 'details' is set
543
- fail ArgumentError, "Missing the required parameter 'details' when calling UsersApi.lock_user" if details.nil?
544
530
  # verify the required parameter 'account_id' is set
545
531
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.lock_user" if account_id.nil?
546
532
  # resource path
@@ -552,15 +538,15 @@ module DocuSign_Rooms
552
538
  # header parameters
553
539
  header_params = {}
554
540
  # HTTP header 'Accept' (if needed)
555
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
541
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
556
542
  # HTTP header 'Content-Type'
557
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
543
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
558
544
 
559
545
  # form parameters
560
546
  form_params = {}
561
547
 
562
548
  # http body (model)
563
- post_body = @api_client.object_to_http_body(details)
549
+ post_body = @api_client.object_to_http_body(body)
564
550
  auth_names = []
565
551
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
566
552
  :header_params => header_params,
@@ -606,7 +592,7 @@ module DocuSign_Rooms
606
592
  # header parameters
607
593
  header_params = {}
608
594
  # HTTP header 'Accept' (if needed)
609
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
595
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
610
596
 
611
597
  # form parameters
612
598
  form_params = {}
@@ -658,7 +644,7 @@ module DocuSign_Rooms
658
644
  # header parameters
659
645
  header_params = {}
660
646
  # HTTP header 'Accept' (if needed)
661
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
647
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
662
648
 
663
649
  # form parameters
664
650
  form_params = {}
@@ -682,10 +668,10 @@ module DocuSign_Rooms
682
668
  #
683
669
  # @param user_id
684
670
  # @param account_id
685
- # @param designated_office
671
+ # @param body (optional parameter)
686
672
  # @return [nil]
687
- def remove_user_from_office(user_id, account_id, designated_office)
688
- remove_user_from_office_with_http_info(user_id, account_id, designated_office)
673
+ def remove_user_from_office(user_id, account_id, body)
674
+ remove_user_from_office_with_http_info(user_id, account_id, body)
689
675
  return nil
690
676
  end
691
677
 
@@ -693,16 +679,14 @@ module DocuSign_Rooms
693
679
  #
694
680
  # @param user_id
695
681
  # @param account_id
696
- # @param designated_office
682
+ # @param body (optional parameter)
697
683
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
698
- def remove_user_from_office_with_http_info(user_id, account_id, designated_office)
684
+ def remove_user_from_office_with_http_info(user_id, account_id, body)
699
685
  if @api_client.config.debugging
700
686
  @api_client.config.logger.debug "Calling API: UsersApi.remove_user_from_office ..."
701
687
  end
702
688
  # verify the required parameter 'user_id' is set
703
689
  fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.remove_user_from_office" if user_id.nil?
704
- # verify the required parameter 'designated_office' is set
705
- fail ArgumentError, "Missing the required parameter 'designated_office' when calling UsersApi.remove_user_from_office" if designated_office.nil?
706
690
  # verify the required parameter 'account_id' is set
707
691
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.remove_user_from_office" if account_id.nil?
708
692
  # resource path
@@ -714,15 +698,15 @@ module DocuSign_Rooms
714
698
  # header parameters
715
699
  header_params = {}
716
700
  # HTTP header 'Accept' (if needed)
717
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
701
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
718
702
  # HTTP header 'Content-Type'
719
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
703
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
720
704
 
721
705
  # form parameters
722
706
  form_params = {}
723
707
 
724
708
  # http body (model)
725
- post_body = @api_client.object_to_http_body(designated_office)
709
+ post_body = @api_client.object_to_http_body(body)
726
710
  auth_names = []
727
711
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
728
712
  :header_params => header_params,
@@ -740,10 +724,10 @@ module DocuSign_Rooms
740
724
  #
741
725
  # @param user_id
742
726
  # @param account_id
743
- # @param designated_region
727
+ # @param body (optional parameter)
744
728
  # @return [nil]
745
- def remove_user_from_region(user_id, account_id, designated_region)
746
- remove_user_from_region_with_http_info(user_id, account_id, designated_region)
729
+ def remove_user_from_region(user_id, account_id, body)
730
+ remove_user_from_region_with_http_info(user_id, account_id, body)
747
731
  return nil
748
732
  end
749
733
 
@@ -751,16 +735,14 @@ module DocuSign_Rooms
751
735
  #
752
736
  # @param user_id
753
737
  # @param account_id
754
- # @param designated_region
738
+ # @param body (optional parameter)
755
739
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
756
- def remove_user_from_region_with_http_info(user_id, account_id, designated_region)
740
+ def remove_user_from_region_with_http_info(user_id, account_id, body)
757
741
  if @api_client.config.debugging
758
742
  @api_client.config.logger.debug "Calling API: UsersApi.remove_user_from_region ..."
759
743
  end
760
744
  # verify the required parameter 'user_id' is set
761
745
  fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.remove_user_from_region" if user_id.nil?
762
- # verify the required parameter 'designated_region' is set
763
- fail ArgumentError, "Missing the required parameter 'designated_region' when calling UsersApi.remove_user_from_region" if designated_region.nil?
764
746
  # verify the required parameter 'account_id' is set
765
747
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.remove_user_from_region" if account_id.nil?
766
748
  # resource path
@@ -772,15 +754,15 @@ module DocuSign_Rooms
772
754
  # header parameters
773
755
  header_params = {}
774
756
  # HTTP header 'Accept' (if needed)
775
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
757
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
776
758
  # HTTP header 'Content-Type'
777
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
759
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
778
760
 
779
761
  # form parameters
780
762
  form_params = {}
781
763
 
782
764
  # http body (model)
783
- post_body = @api_client.object_to_http_body(designated_region)
765
+ post_body = @api_client.object_to_http_body(body)
784
766
  auth_names = []
785
767
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
786
768
  :header_params => header_params,
@@ -826,7 +808,7 @@ module DocuSign_Rooms
826
808
  # header parameters
827
809
  header_params = {}
828
810
  # HTTP header 'Accept' (if needed)
829
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
811
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
830
812
 
831
813
  # form parameters
832
814
  form_params = {}
@@ -850,10 +832,10 @@ module DocuSign_Rooms
850
832
  #
851
833
  # @param user_id
852
834
  # @param account_id
853
- # @param user_for_update
835
+ # @param body (optional parameter)
854
836
  # @return [User]
855
- def update_user(user_id, account_id, user_for_update)
856
- data, _status_code, _headers = update_user_with_http_info(user_id, account_id, user_for_update)
837
+ def update_user(user_id, account_id, body)
838
+ data, _status_code, _headers = update_user_with_http_info(user_id, account_id, body)
857
839
  return data
858
840
  end
859
841
 
@@ -861,16 +843,14 @@ module DocuSign_Rooms
861
843
  #
862
844
  # @param user_id
863
845
  # @param account_id
864
- # @param user_for_update
846
+ # @param body (optional parameter)
865
847
  # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
866
- def update_user_with_http_info(user_id, account_id, user_for_update)
848
+ def update_user_with_http_info(user_id, account_id, body)
867
849
  if @api_client.config.debugging
868
850
  @api_client.config.logger.debug "Calling API: UsersApi.update_user ..."
869
851
  end
870
852
  # verify the required parameter 'user_id' is set
871
853
  fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.update_user" if user_id.nil?
872
- # verify the required parameter 'user_for_update' is set
873
- fail ArgumentError, "Missing the required parameter 'user_for_update' when calling UsersApi.update_user" if user_for_update.nil?
874
854
  # verify the required parameter 'account_id' is set
875
855
  fail ArgumentError, "Missing the required parameter 'account_id' when calling UsersApi.update_user" if account_id.nil?
876
856
  # resource path
@@ -882,15 +862,15 @@ module DocuSign_Rooms
882
862
  # header parameters
883
863
  header_params = {}
884
864
  # HTTP header 'Accept' (if needed)
885
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
865
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
886
866
  # HTTP header 'Content-Type'
887
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
867
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
888
868
 
889
869
  # form parameters
890
870
  form_params = {}
891
871
 
892
872
  # http body (model)
893
- post_body = @api_client.object_to_http_body(user_for_update)
873
+ post_body = @api_client.object_to_http_body(body)
894
874
  auth_names = []
895
875
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
896
876
  :header_params => header_params,