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.
- data/CHANGELOG.md +7 -56
- data/README.md +1 -1
- data/docusign_rooms.gemspec +1 -0
- data/lib/docusign_rooms/api/accounts_api.rb +7 -5
- data/lib/docusign_rooms/api/activity_types_api.rb +5 -3
- data/lib/docusign_rooms/api/closing_statuses_api.rb +5 -3
- data/lib/docusign_rooms/api/contact_sides_api.rb +5 -3
- data/lib/docusign_rooms/api/countries_api.rb +5 -3
- data/lib/docusign_rooms/api/currencies_api.rb +5 -3
- data/lib/docusign_rooms/api/documents_api.rb +33 -31
- data/lib/docusign_rooms/api/e_sign_permission_profiles_api.rb +7 -5
- data/lib/docusign_rooms/api/external_form_fill_sessions_api.rb +12 -14
- data/lib/docusign_rooms/api/fields_api.rb +11 -9
- data/lib/docusign_rooms/api/financing_types_api.rb +5 -3
- data/lib/docusign_rooms/api/form_details_api.rb +7 -5
- data/lib/docusign_rooms/api/form_groups_api.rb +457 -5
- data/lib/docusign_rooms/api/form_libraries_api.rb +14 -10
- data/lib/docusign_rooms/api/offices_api.rb +42 -36
- data/lib/docusign_rooms/api/origins_of_leads_api.rb +5 -3
- data/lib/docusign_rooms/api/property_types_api.rb +5 -3
- data/lib/docusign_rooms/api/regions_api.rb +40 -34
- data/lib/docusign_rooms/api/roles_api.rb +63 -54
- data/lib/docusign_rooms/api/room_contact_types_api.rb +5 -3
- data/lib/docusign_rooms/api/room_folders_api.rb +7 -5
- data/lib/docusign_rooms/api/room_templates_api.rb +11 -5
- data/lib/docusign_rooms/api/rooms_api.rb +202 -179
- data/lib/docusign_rooms/api/seller_decision_types_api.rb +5 -3
- data/lib/docusign_rooms/api/special_circumstance_types_api.rb +5 -3
- data/lib/docusign_rooms/api/states_api.rb +5 -3
- data/lib/docusign_rooms/api/task_date_types_api.rb +5 -3
- data/lib/docusign_rooms/api/task_list_templates_api.rb +9 -7
- data/lib/docusign_rooms/api/task_lists_api.rb +26 -24
- data/lib/docusign_rooms/api/task_responsibility_types_api.rb +5 -3
- data/lib/docusign_rooms/api/task_statuses_api.rb +5 -3
- data/lib/docusign_rooms/api/time_zones_api.rb +5 -3
- data/lib/docusign_rooms/api/transaction_sides_api.rb +5 -3
- data/lib/docusign_rooms/api/users_api.rb +164 -174
- data/lib/docusign_rooms/client/api_client.rb +3 -2
- data/lib/docusign_rooms/configuration.rb +2 -1
- data/lib/docusign_rooms/models/access_level.rb +32 -0
- data/lib/docusign_rooms/models/account_status.rb +29 -0
- data/lib/docusign_rooms/models/account_summary.rb +1 -35
- data/lib/docusign_rooms/models/assignable_roles.rb +13 -4
- data/lib/docusign_rooms/models/classic_agent_to_invite.rb +10 -1
- data/lib/docusign_rooms/models/classic_manager_to_invite.rb +1 -35
- data/lib/docusign_rooms/models/document.rb +22 -4
- data/lib/docusign_rooms/models/fields_custom_data_filter_type.rb +30 -0
- data/lib/docusign_rooms/models/form_group.rb +214 -0
- data/lib/docusign_rooms/models/form_group_for_create.rb +188 -0
- data/lib/docusign_rooms/models/form_group_for_update.rb +188 -0
- data/lib/docusign_rooms/models/form_group_form_to_assign.rb +197 -0
- data/lib/docusign_rooms/models/form_group_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/form_library_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/form_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/group_form.rb +210 -0
- data/lib/docusign_rooms/models/member_sorting_option.rb +33 -0
- data/lib/docusign_rooms/models/office_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/permissions.rb +79 -16
- data/lib/docusign_rooms/models/product_version.rb +29 -0
- data/lib/docusign_rooms/models/region_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/role.rb +1 -1
- data/lib/docusign_rooms/models/role_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/roles_filter_context_types.rb +30 -0
- data/lib/docusign_rooms/models/room.rb +1 -1
- data/lib/docusign_rooms/models/room_document.rb +40 -4
- data/lib/docusign_rooms/models/room_document_list.rb +10 -1
- data/lib/docusign_rooms/models/room_document_owner.rb +219 -0
- data/lib/docusign_rooms/models/room_folder_list.rb +13 -4
- data/lib/docusign_rooms/models/room_status.rb +31 -0
- data/lib/docusign_rooms/models/room_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/room_templates_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/room_user_sorting_option.rb +33 -0
- data/lib/docusign_rooms/models/room_user_summary.rb +22 -4
- data/lib/docusign_rooms/models/room_users_result.rb +13 -4
- data/lib/docusign_rooms/models/task_list_template_list.rb +13 -4
- data/lib/docusign_rooms/models/user.rb +1 -35
- data/lib/docusign_rooms/models/user_summary.rb +1 -35
- data/lib/docusign_rooms/models/user_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/user_to_invite.rb +1 -35
- data/lib/docusign_rooms/version.rb +1 -1
- data/lib/docusign_rooms.rb +14 -2
- data/runLinter.sh +1 -0
- metadata +113 -60
- checksums.yaml +0 -7
- data/Gemfile.lock +0 -71
- data/docusign_rooms-1.0.0.pre.alpha.gem +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/docusign_rooms/.DS_Store +0 -0
- data/lib/docusign_rooms/client/.DS_Store +0 -0
- data/tests/Gemfile.lock +0 -42
- data/tests/docs/private.pem +0 -27
@@ -17,13 +17,13 @@ module DocuSign_Rooms
|
|
17
17
|
# Optional parameter indicating to only return roles (internal/external) assignable to this user.
|
18
18
|
attr_accessor :assignee_email
|
19
19
|
|
20
|
-
#
|
20
|
+
# A search filter that returns assignable roles by the beginning of the role name.
|
21
21
|
attr_accessor :filter
|
22
22
|
|
23
|
-
#
|
23
|
+
# The index position within the total result set from which to start returning values. The default value is `0`.
|
24
24
|
attr_accessor :start_position
|
25
25
|
|
26
|
-
#
|
26
|
+
# The number of results to return. This value must be a number between `1` and `100` (default).
|
27
27
|
attr_accessor :count
|
28
28
|
|
29
29
|
def self.default
|
@@ -38,6 +38,18 @@ module DocuSign_Rooms
|
|
38
38
|
# Position of the first item in the total results. Defaults to 0.
|
39
39
|
attr_accessor :start_position
|
40
40
|
|
41
|
+
# Filter out any isDynamic documents without content. Defaults to false.
|
42
|
+
attr_accessor :require_content_for_dynamic_documents
|
43
|
+
|
44
|
+
# Filter documents by folderId. Defaults to null, to not filter on folderId.
|
45
|
+
attr_accessor :room_folder_id
|
46
|
+
|
47
|
+
# Filter documents where Name contains the filter. Defaults to null, to not filter.
|
48
|
+
attr_accessor :name_filter
|
49
|
+
|
50
|
+
# Filter documents to have the same isArchived value as includeArchived. Defaults to true, to include archived documents.
|
51
|
+
attr_accessor :include_archived
|
52
|
+
|
41
53
|
def self.default
|
42
54
|
@@default ||= GetDocumentsOptions.new
|
43
55
|
end
|
@@ -109,30 +121,28 @@ module DocuSign_Rooms
|
|
109
121
|
end
|
110
122
|
|
111
123
|
# Add a document to a room.
|
112
|
-
#
|
113
|
-
# @param room_id
|
114
|
-
# @param account_id
|
115
|
-
# @param
|
124
|
+
# Add a document to a room
|
125
|
+
# @param room_id The id of the room.
|
126
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
127
|
+
# @param body (optional parameter)
|
116
128
|
# @return [RoomDocument]
|
117
|
-
def add_document_to_room(room_id, account_id,
|
118
|
-
data, _status_code, _headers = add_document_to_room_with_http_info(room_id, account_id,
|
129
|
+
def add_document_to_room(room_id, account_id, body)
|
130
|
+
data, _status_code, _headers = add_document_to_room_with_http_info(room_id, account_id, body)
|
119
131
|
return data
|
120
132
|
end
|
121
133
|
|
122
134
|
# Add a document to a room.
|
123
|
-
#
|
124
|
-
# @param room_id
|
125
|
-
# @param account_id
|
126
|
-
# @param
|
135
|
+
# Add a document to a room
|
136
|
+
# @param room_id The id of the room.
|
137
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
138
|
+
# @param body (optional parameter)
|
127
139
|
# @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,
|
140
|
+
def add_document_to_room_with_http_info(room_id, account_id, body)
|
129
141
|
if @api_client.config.debugging
|
130
142
|
@api_client.config.logger.debug "Calling API: RoomsApi.add_document_to_room ..."
|
131
143
|
end
|
132
144
|
# verify the required parameter 'room_id' is set
|
133
145
|
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
146
|
# verify the required parameter 'account_id' is set
|
137
147
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.add_document_to_room" if account_id.nil?
|
138
148
|
# resource path
|
@@ -144,15 +154,15 @@ module DocuSign_Rooms
|
|
144
154
|
# header parameters
|
145
155
|
header_params = {}
|
146
156
|
# HTTP header 'Accept' (if needed)
|
147
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
157
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
148
158
|
# HTTP header 'Content-Type'
|
149
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
159
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
150
160
|
|
151
161
|
# form parameters
|
152
162
|
form_params = {}
|
153
163
|
|
154
164
|
# http body (model)
|
155
|
-
post_body = @api_client.object_to_http_body(
|
165
|
+
post_body = @api_client.object_to_http_body(body)
|
156
166
|
auth_names = []
|
157
167
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
158
168
|
:header_params => header_params,
|
@@ -168,9 +178,9 @@ module DocuSign_Rooms
|
|
168
178
|
end
|
169
179
|
|
170
180
|
# Add a document to a room via file contents upload.
|
171
|
-
#
|
172
|
-
# @param room_id
|
173
|
-
# @param account_id
|
181
|
+
# This method uploads the contents of file as a room document for the room that you specify.
|
182
|
+
# @param room_id The id of the room.
|
183
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
174
184
|
# @return [RoomDocument]
|
175
185
|
def add_document_to_room_via_file_upload(room_id, account_id)
|
176
186
|
data, _status_code, _headers = add_document_to_room_via_file_upload_with_http_info(room_id, account_id)
|
@@ -178,9 +188,9 @@ module DocuSign_Rooms
|
|
178
188
|
end
|
179
189
|
|
180
190
|
# Add a document to a room via file contents upload.
|
181
|
-
#
|
182
|
-
# @param room_id
|
183
|
-
# @param account_id
|
191
|
+
# This method uploads the contents of file as a room document for the room that you specify.
|
192
|
+
# @param room_id The id of the room.
|
193
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
184
194
|
# @return [Array<(RoomDocument, Fixnum, Hash)>] RoomDocument data, response status code and response headers
|
185
195
|
def add_document_to_room_via_file_upload_with_http_info(room_id, account_id)
|
186
196
|
if @api_client.config.debugging
|
@@ -190,8 +200,6 @@ module DocuSign_Rooms
|
|
190
200
|
fail ArgumentError, "Missing the required parameter 'room_id' when calling RoomsApi.add_document_to_room_via_file_upload" if room_id.nil?
|
191
201
|
# verify the required parameter 'account_id' is set
|
192
202
|
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
203
|
# resource path
|
196
204
|
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
205
|
|
@@ -201,13 +209,13 @@ module DocuSign_Rooms
|
|
201
209
|
# header parameters
|
202
210
|
header_params = {}
|
203
211
|
# HTTP header 'Accept' (if needed)
|
204
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
212
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
205
213
|
# HTTP header 'Content-Type'
|
206
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['
|
214
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
207
215
|
|
208
216
|
# form parameters
|
209
217
|
form_params = {}
|
210
|
-
form_params["file"] = file
|
218
|
+
form_params["file"] = options.file if !options.file.nil?
|
211
219
|
|
212
220
|
# http body (model)
|
213
221
|
post_body = nil
|
@@ -226,30 +234,28 @@ module DocuSign_Rooms
|
|
226
234
|
end
|
227
235
|
|
228
236
|
# Adds a DocuSign Form to a room
|
229
|
-
#
|
237
|
+
# Adds a form to a room.
|
230
238
|
# @param room_id Id of the room to which the DocuSign Form is being added
|
231
|
-
# @param account_id
|
232
|
-
# @param
|
239
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
240
|
+
# @param body (optional parameter)
|
233
241
|
# @return [RoomDocument]
|
234
|
-
def add_form_to_room(room_id, account_id,
|
235
|
-
data, _status_code, _headers = add_form_to_room_with_http_info(room_id, account_id,
|
242
|
+
def add_form_to_room(room_id, account_id, body)
|
243
|
+
data, _status_code, _headers = add_form_to_room_with_http_info(room_id, account_id, body)
|
236
244
|
return data
|
237
245
|
end
|
238
246
|
|
239
247
|
# Adds a DocuSign Form to a room
|
240
|
-
#
|
248
|
+
# Adds a form to a room.
|
241
249
|
# @param room_id Id of the room to which the DocuSign Form is being added
|
242
|
-
# @param account_id
|
243
|
-
# @param
|
250
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
251
|
+
# @param body (optional parameter)
|
244
252
|
# @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,
|
253
|
+
def add_form_to_room_with_http_info(room_id, account_id, body)
|
246
254
|
if @api_client.config.debugging
|
247
255
|
@api_client.config.logger.debug "Calling API: RoomsApi.add_form_to_room ..."
|
248
256
|
end
|
249
257
|
# verify the required parameter 'room_id' is set
|
250
258
|
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
259
|
# verify the required parameter 'account_id' is set
|
254
260
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.add_form_to_room" if account_id.nil?
|
255
261
|
# resource path
|
@@ -261,15 +267,15 @@ module DocuSign_Rooms
|
|
261
267
|
# header parameters
|
262
268
|
header_params = {}
|
263
269
|
# HTTP header 'Accept' (if needed)
|
264
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
270
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
265
271
|
# HTTP header 'Content-Type'
|
266
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
272
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
267
273
|
|
268
274
|
# form parameters
|
269
275
|
form_params = {}
|
270
276
|
|
271
277
|
# http body (model)
|
272
|
-
post_body = @api_client.object_to_http_body(
|
278
|
+
post_body = @api_client.object_to_http_body(body)
|
273
279
|
auth_names = []
|
274
280
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
275
281
|
:header_params => header_params,
|
@@ -285,26 +291,24 @@ module DocuSign_Rooms
|
|
285
291
|
end
|
286
292
|
|
287
293
|
# Creates a new Room
|
288
|
-
#
|
289
|
-
# @param account_id
|
290
|
-
# @param
|
294
|
+
# Creates a new Room
|
295
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
296
|
+
# @param body (optional parameter)
|
291
297
|
# @return [Room]
|
292
|
-
def create_room(account_id,
|
293
|
-
data, _status_code, _headers = create_room_with_http_info(account_id,
|
298
|
+
def create_room(account_id, body)
|
299
|
+
data, _status_code, _headers = create_room_with_http_info(account_id, body)
|
294
300
|
return data
|
295
301
|
end
|
296
302
|
|
297
303
|
# Creates a new Room
|
298
|
-
#
|
299
|
-
# @param account_id
|
300
|
-
# @param
|
304
|
+
# Creates a new Room
|
305
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
306
|
+
# @param body (optional parameter)
|
301
307
|
# @return [Array<(Room, Fixnum, Hash)>] Room data, response status code and response headers
|
302
|
-
def create_room_with_http_info(account_id,
|
308
|
+
def create_room_with_http_info(account_id, body)
|
303
309
|
if @api_client.config.debugging
|
304
310
|
@api_client.config.logger.debug "Calling API: RoomsApi.create_room ..."
|
305
311
|
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
312
|
# verify the required parameter 'account_id' is set
|
309
313
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.create_room" if account_id.nil?
|
310
314
|
# resource path
|
@@ -316,15 +320,15 @@ module DocuSign_Rooms
|
|
316
320
|
# header parameters
|
317
321
|
header_params = {}
|
318
322
|
# HTTP header 'Accept' (if needed)
|
319
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
323
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
320
324
|
# HTTP header 'Content-Type'
|
321
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
325
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
322
326
|
|
323
327
|
# form parameters
|
324
328
|
form_params = {}
|
325
329
|
|
326
330
|
# http body (model)
|
327
|
-
post_body = @api_client.object_to_http_body(
|
331
|
+
post_body = @api_client.object_to_http_body(body)
|
328
332
|
auth_names = []
|
329
333
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
330
334
|
:header_params => header_params,
|
@@ -340,9 +344,9 @@ module DocuSign_Rooms
|
|
340
344
|
end
|
341
345
|
|
342
346
|
# Deletes the room having the given room ID.
|
343
|
-
#
|
347
|
+
# Deletes the room having the given room ID.
|
344
348
|
# @param room_id ID of the room to be deleted.
|
345
|
-
# @param account_id
|
349
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
346
350
|
# @return [nil]
|
347
351
|
def delete_room(room_id, account_id)
|
348
352
|
delete_room_with_http_info(room_id, account_id)
|
@@ -350,9 +354,9 @@ module DocuSign_Rooms
|
|
350
354
|
end
|
351
355
|
|
352
356
|
# Deletes the room having the given room ID.
|
353
|
-
#
|
357
|
+
# Deletes the room having the given room ID.
|
354
358
|
# @param room_id ID of the room to be deleted.
|
355
|
-
# @param account_id
|
359
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
356
360
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
357
361
|
def delete_room_with_http_info(room_id, account_id)
|
358
362
|
if @api_client.config.debugging
|
@@ -371,7 +375,9 @@ module DocuSign_Rooms
|
|
371
375
|
# header parameters
|
372
376
|
header_params = {}
|
373
377
|
# HTTP header 'Accept' (if needed)
|
374
|
-
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'])
|
379
|
+
# HTTP header 'Content-Type'
|
380
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
375
381
|
|
376
382
|
# form parameters
|
377
383
|
form_params = {}
|
@@ -392,9 +398,9 @@ module DocuSign_Rooms
|
|
392
398
|
end
|
393
399
|
|
394
400
|
# Returns the roles for which the calling user, based on their role within the room, can assign to invitees.
|
395
|
-
#
|
396
|
-
# @param room_id
|
397
|
-
# @param account_id
|
401
|
+
# This method returns the room-level roles that the current user can assign to the members that they invite to a room.
|
402
|
+
# @param room_id The id of the room.
|
403
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
398
404
|
# @param DocuSign_Rooms::GetAssignableRolesOptions Options for modifying the behavior of the function.
|
399
405
|
# @return [AssignableRoles]
|
400
406
|
def get_assignable_roles(room_id, account_id, options = DocuSign_Rooms::GetAssignableRolesOptions.default)
|
@@ -403,9 +409,9 @@ module DocuSign_Rooms
|
|
403
409
|
end
|
404
410
|
|
405
411
|
# Returns the roles for which the calling user, based on their role within the room, can assign to invitees.
|
406
|
-
#
|
407
|
-
# @param room_id
|
408
|
-
# @param account_id
|
412
|
+
# This method returns the room-level roles that the current user can assign to the members that they invite to a room.
|
413
|
+
# @param room_id The id of the room.
|
414
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
409
415
|
# @param DocuSign_Rooms::GetAssignableRolesOptions Options for modifying the behavior of the function.
|
410
416
|
# @return [Array<(AssignableRoles, Fixnum, Hash)>] AssignableRoles data, response status code and response headers
|
411
417
|
def get_assignable_roles_with_http_info(room_id, account_id, options = DocuSign_Rooms::GetAssignableRolesOptions.default)
|
@@ -429,7 +435,9 @@ module DocuSign_Rooms
|
|
429
435
|
# header parameters
|
430
436
|
header_params = {}
|
431
437
|
# HTTP header 'Accept' (if needed)
|
432
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
438
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
439
|
+
# HTTP header 'Content-Type'
|
440
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
433
441
|
|
434
442
|
# form parameters
|
435
443
|
form_params = {}
|
@@ -451,9 +459,9 @@ module DocuSign_Rooms
|
|
451
459
|
end
|
452
460
|
|
453
461
|
# Get documents in the room accessible to the calling user.
|
454
|
-
#
|
455
|
-
# @param room_id
|
456
|
-
# @param account_id
|
462
|
+
# This method returns a list of documents that the current user can access for a specific room.
|
463
|
+
# @param room_id The id of the room.
|
464
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
457
465
|
# @param DocuSign_Rooms::GetDocumentsOptions Options for modifying the behavior of the function.
|
458
466
|
# @return [RoomDocumentList]
|
459
467
|
def get_documents(room_id, account_id, options = DocuSign_Rooms::GetDocumentsOptions.default)
|
@@ -462,9 +470,9 @@ module DocuSign_Rooms
|
|
462
470
|
end
|
463
471
|
|
464
472
|
# Get documents in the room accessible to the calling user.
|
465
|
-
#
|
466
|
-
# @param room_id
|
467
|
-
# @param account_id
|
473
|
+
# This method returns a list of documents that the current user can access for a specific room.
|
474
|
+
# @param room_id The id of the room.
|
475
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
468
476
|
# @param DocuSign_Rooms::GetDocumentsOptions Options for modifying the behavior of the function.
|
469
477
|
# @return [Array<(RoomDocumentList, Fixnum, Hash)>] RoomDocumentList data, response status code and response headers
|
470
478
|
def get_documents_with_http_info(room_id, account_id, options = DocuSign_Rooms::GetDocumentsOptions.default)
|
@@ -482,11 +490,17 @@ module DocuSign_Rooms
|
|
482
490
|
query_params = {}
|
483
491
|
query_params[:'count'] = options.count if !options.count.nil?
|
484
492
|
query_params[:'startPosition'] = options.start_position if !options.start_position.nil?
|
493
|
+
query_params[:'requireContentForDynamicDocuments'] = options.require_content_for_dynamic_documents if !options.require_content_for_dynamic_documents.nil?
|
494
|
+
query_params[:'roomFolderId'] = options.room_folder_id if !options.room_folder_id.nil?
|
495
|
+
query_params[:'nameFilter'] = options.name_filter if !options.name_filter.nil?
|
496
|
+
query_params[:'includeArchived'] = options.include_archived if !options.include_archived.nil?
|
485
497
|
|
486
498
|
# header parameters
|
487
499
|
header_params = {}
|
488
500
|
# HTTP header 'Accept' (if needed)
|
489
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
501
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
502
|
+
# HTTP header 'Content-Type'
|
503
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
490
504
|
|
491
505
|
# form parameters
|
492
506
|
form_params = {}
|
@@ -508,9 +522,9 @@ module DocuSign_Rooms
|
|
508
522
|
end
|
509
523
|
|
510
524
|
# Gets information about the given room.
|
511
|
-
#
|
512
|
-
# @param room_id
|
513
|
-
# @param account_id
|
525
|
+
# Returns details about the given room
|
526
|
+
# @param room_id The id of the room.
|
527
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
514
528
|
# @param DocuSign_Rooms::GetRoomOptions Options for modifying the behavior of the function.
|
515
529
|
# @return [Room]
|
516
530
|
def get_room(room_id, account_id, options = DocuSign_Rooms::GetRoomOptions.default)
|
@@ -519,9 +533,9 @@ module DocuSign_Rooms
|
|
519
533
|
end
|
520
534
|
|
521
535
|
# Gets information about the given room.
|
522
|
-
#
|
523
|
-
# @param room_id
|
524
|
-
# @param account_id
|
536
|
+
# Returns details about the given room
|
537
|
+
# @param room_id The id of the room.
|
538
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
525
539
|
# @param DocuSign_Rooms::GetRoomOptions Options for modifying the behavior of the function.
|
526
540
|
# @return [Array<(Room, Fixnum, Hash)>] Room data, response status code and response headers
|
527
541
|
def get_room_with_http_info(room_id, account_id, options = DocuSign_Rooms::GetRoomOptions.default)
|
@@ -542,7 +556,9 @@ module DocuSign_Rooms
|
|
542
556
|
# header parameters
|
543
557
|
header_params = {}
|
544
558
|
# HTTP header 'Accept' (if needed)
|
545
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
559
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
560
|
+
# HTTP header 'Content-Type'
|
561
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
546
562
|
|
547
563
|
# form parameters
|
548
564
|
form_params = {}
|
@@ -564,9 +580,9 @@ module DocuSign_Rooms
|
|
564
580
|
end
|
565
581
|
|
566
582
|
# Returns the FieldData associated with the provided roomId.
|
567
|
-
#
|
568
|
-
# @param room_id
|
569
|
-
# @param account_id
|
583
|
+
# Returns the field data associated with a room. This is the information that appears on the room's **Details** tab.
|
584
|
+
# @param room_id The id of the room.
|
585
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
570
586
|
# @return [FieldData]
|
571
587
|
def get_room_field_data(room_id, account_id)
|
572
588
|
data, _status_code, _headers = get_room_field_data_with_http_info(room_id, account_id)
|
@@ -574,9 +590,9 @@ module DocuSign_Rooms
|
|
574
590
|
end
|
575
591
|
|
576
592
|
# Returns the FieldData associated with the provided roomId.
|
577
|
-
#
|
578
|
-
# @param room_id
|
579
|
-
# @param account_id
|
593
|
+
# Returns the field data associated with a room. This is the information that appears on the room's **Details** tab.
|
594
|
+
# @param room_id The id of the room.
|
595
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
580
596
|
# @return [Array<(FieldData, Fixnum, Hash)>] FieldData data, response status code and response headers
|
581
597
|
def get_room_field_data_with_http_info(room_id, account_id)
|
582
598
|
if @api_client.config.debugging
|
@@ -595,7 +611,9 @@ module DocuSign_Rooms
|
|
595
611
|
# header parameters
|
596
612
|
header_params = {}
|
597
613
|
# HTTP header 'Accept' (if needed)
|
598
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
614
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
615
|
+
# HTTP header 'Content-Type'
|
616
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
599
617
|
|
600
618
|
# form parameters
|
601
619
|
form_params = {}
|
@@ -617,9 +635,9 @@ module DocuSign_Rooms
|
|
617
635
|
end
|
618
636
|
|
619
637
|
# Gets the field set associated with the room.
|
620
|
-
#
|
621
|
-
# @param room_id
|
622
|
-
# @param account_id
|
638
|
+
# Returns the field set that a room uses.
|
639
|
+
# @param room_id The id of the room.
|
640
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
623
641
|
# @return [FieldSet]
|
624
642
|
def get_room_field_set(room_id, account_id)
|
625
643
|
data, _status_code, _headers = get_room_field_set_with_http_info(room_id, account_id)
|
@@ -627,9 +645,9 @@ module DocuSign_Rooms
|
|
627
645
|
end
|
628
646
|
|
629
647
|
# Gets the field set associated with the room.
|
630
|
-
#
|
631
|
-
# @param room_id
|
632
|
-
# @param account_id
|
648
|
+
# Returns the field set that a room uses.
|
649
|
+
# @param room_id The id of the room.
|
650
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
633
651
|
# @return [Array<(FieldSet, Fixnum, Hash)>] FieldSet data, response status code and response headers
|
634
652
|
def get_room_field_set_with_http_info(room_id, account_id)
|
635
653
|
if @api_client.config.debugging
|
@@ -648,7 +666,9 @@ module DocuSign_Rooms
|
|
648
666
|
# header parameters
|
649
667
|
header_params = {}
|
650
668
|
# HTTP header 'Accept' (if needed)
|
651
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
669
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
670
|
+
# HTTP header 'Content-Type'
|
671
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
652
672
|
|
653
673
|
# form parameters
|
654
674
|
form_params = {}
|
@@ -670,9 +690,9 @@ module DocuSign_Rooms
|
|
670
690
|
end
|
671
691
|
|
672
692
|
# Retrieves the list of users in the given room.
|
673
|
-
#
|
674
|
-
# @param room_id
|
675
|
-
# @param account_id
|
693
|
+
# This method returns a list of users associated with a room.
|
694
|
+
# @param room_id The id of the room.
|
695
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
676
696
|
# @param DocuSign_Rooms::GetRoomUsersOptions Options for modifying the behavior of the function.
|
677
697
|
# @return [RoomUsersResult]
|
678
698
|
def get_room_users(room_id, account_id, options = DocuSign_Rooms::GetRoomUsersOptions.default)
|
@@ -681,9 +701,9 @@ module DocuSign_Rooms
|
|
681
701
|
end
|
682
702
|
|
683
703
|
# Retrieves the list of users in the given room.
|
684
|
-
#
|
685
|
-
# @param room_id
|
686
|
-
# @param account_id
|
704
|
+
# This method returns a list of users associated with a room.
|
705
|
+
# @param room_id The id of the room.
|
706
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
687
707
|
# @param DocuSign_Rooms::GetRoomUsersOptions Options for modifying the behavior of the function.
|
688
708
|
# @return [Array<(RoomUsersResult, Fixnum, Hash)>] RoomUsersResult data, response status code and response headers
|
689
709
|
def get_room_users_with_http_info(room_id, account_id, options = DocuSign_Rooms::GetRoomUsersOptions.default)
|
@@ -710,7 +730,9 @@ module DocuSign_Rooms
|
|
710
730
|
# header parameters
|
711
731
|
header_params = {}
|
712
732
|
# HTTP header 'Accept' (if needed)
|
713
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
733
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
734
|
+
# HTTP header 'Content-Type'
|
735
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
714
736
|
|
715
737
|
# form parameters
|
716
738
|
form_params = {}
|
@@ -732,8 +754,8 @@ module DocuSign_Rooms
|
|
732
754
|
end
|
733
755
|
|
734
756
|
# Gets rooms available to the calling user.
|
735
|
-
#
|
736
|
-
# @param account_id
|
757
|
+
# Gets rooms available to the calling user
|
758
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
737
759
|
# @param DocuSign_Rooms::GetRoomsOptions Options for modifying the behavior of the function.
|
738
760
|
# @return [RoomSummaryList]
|
739
761
|
def get_rooms(account_id, options = DocuSign_Rooms::GetRoomsOptions.default)
|
@@ -742,8 +764,8 @@ module DocuSign_Rooms
|
|
742
764
|
end
|
743
765
|
|
744
766
|
# Gets rooms available to the calling user.
|
745
|
-
#
|
746
|
-
# @param account_id
|
767
|
+
# Gets rooms available to the calling user
|
768
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
747
769
|
# @param DocuSign_Rooms::GetRoomsOptions Options for modifying the behavior of the function.
|
748
770
|
# @return [Array<(RoomSummaryList, Fixnum, Hash)>] RoomSummaryList data, response status code and response headers
|
749
771
|
def get_rooms_with_http_info(account_id, options = DocuSign_Rooms::GetRoomsOptions.default)
|
@@ -772,7 +794,9 @@ module DocuSign_Rooms
|
|
772
794
|
# header parameters
|
773
795
|
header_params = {}
|
774
796
|
# HTTP header 'Accept' (if needed)
|
775
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
797
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
798
|
+
# HTTP header 'Content-Type'
|
799
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
776
800
|
|
777
801
|
# form parameters
|
778
802
|
form_params = {}
|
@@ -794,30 +818,28 @@ module DocuSign_Rooms
|
|
794
818
|
end
|
795
819
|
|
796
820
|
# Invites a user to the room by email address.
|
797
|
-
#
|
798
|
-
# @param room_id
|
799
|
-
# @param account_id
|
800
|
-
# @param
|
821
|
+
# This method invites an existing or new member to a specific room.
|
822
|
+
# @param room_id The id of the room.
|
823
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
824
|
+
# @param body (optional parameter)
|
801
825
|
# @return [RoomInviteResponse]
|
802
|
-
def invite_user(room_id, account_id,
|
803
|
-
data, _status_code, _headers = invite_user_with_http_info(room_id, account_id,
|
826
|
+
def invite_user(room_id, account_id, body)
|
827
|
+
data, _status_code, _headers = invite_user_with_http_info(room_id, account_id, body)
|
804
828
|
return data
|
805
829
|
end
|
806
830
|
|
807
831
|
# Invites a user to the room by email address.
|
808
|
-
#
|
809
|
-
# @param room_id
|
810
|
-
# @param account_id
|
811
|
-
# @param
|
832
|
+
# This method invites an existing or new member to a specific room.
|
833
|
+
# @param room_id The id of the room.
|
834
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
835
|
+
# @param body (optional parameter)
|
812
836
|
# @return [Array<(RoomInviteResponse, Fixnum, Hash)>] RoomInviteResponse data, response status code and response headers
|
813
|
-
def invite_user_with_http_info(room_id, account_id,
|
837
|
+
def invite_user_with_http_info(room_id, account_id, body)
|
814
838
|
if @api_client.config.debugging
|
815
839
|
@api_client.config.logger.debug "Calling API: RoomsApi.invite_user ..."
|
816
840
|
end
|
817
841
|
# verify the required parameter 'room_id' is set
|
818
842
|
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
843
|
# verify the required parameter 'account_id' is set
|
822
844
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.invite_user" if account_id.nil?
|
823
845
|
# resource path
|
@@ -829,15 +851,15 @@ module DocuSign_Rooms
|
|
829
851
|
# header parameters
|
830
852
|
header_params = {}
|
831
853
|
# HTTP header 'Accept' (if needed)
|
832
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
854
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
833
855
|
# HTTP header 'Content-Type'
|
834
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
856
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
835
857
|
|
836
858
|
# form parameters
|
837
859
|
form_params = {}
|
838
860
|
|
839
861
|
# http body (model)
|
840
|
-
post_body = @api_client.object_to_http_body(
|
862
|
+
post_body = @api_client.object_to_http_body(body)
|
841
863
|
auth_names = []
|
842
864
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
843
865
|
:header_params => header_params,
|
@@ -853,25 +875,25 @@ module DocuSign_Rooms
|
|
853
875
|
end
|
854
876
|
|
855
877
|
# Updates the specified user's role and transaction side.
|
856
|
-
#
|
857
|
-
# @param room_id
|
858
|
-
# @param user_id
|
859
|
-
# @param account_id
|
860
|
-
# @param
|
878
|
+
# Updates the specified user's role and transaction side.
|
879
|
+
# @param room_id The id of the room.
|
880
|
+
# @param user_id The id of the user to update.
|
881
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
882
|
+
# @param body (optional parameter)
|
861
883
|
# @return [RoomUser]
|
862
|
-
def put_room_user(room_id, user_id, account_id,
|
863
|
-
data, _status_code, _headers = put_room_user_with_http_info(room_id, user_id, account_id,
|
884
|
+
def put_room_user(room_id, user_id, account_id, body)
|
885
|
+
data, _status_code, _headers = put_room_user_with_http_info(room_id, user_id, account_id, body)
|
864
886
|
return data
|
865
887
|
end
|
866
888
|
|
867
889
|
# Updates the specified user's role and transaction side.
|
868
|
-
#
|
869
|
-
# @param room_id
|
870
|
-
# @param user_id
|
871
|
-
# @param account_id
|
872
|
-
# @param
|
890
|
+
# Updates the specified user's role and transaction side.
|
891
|
+
# @param room_id The id of the room.
|
892
|
+
# @param user_id The id of the user to update.
|
893
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
894
|
+
# @param body (optional parameter)
|
873
895
|
# @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,
|
896
|
+
def put_room_user_with_http_info(room_id, user_id, account_id, body)
|
875
897
|
if @api_client.config.debugging
|
876
898
|
@api_client.config.logger.debug "Calling API: RoomsApi.put_room_user ..."
|
877
899
|
end
|
@@ -879,8 +901,6 @@ module DocuSign_Rooms
|
|
879
901
|
fail ArgumentError, "Missing the required parameter 'room_id' when calling RoomsApi.put_room_user" if room_id.nil?
|
880
902
|
# verify the required parameter 'user_id' is set
|
881
903
|
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
904
|
# verify the required parameter 'account_id' is set
|
885
905
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.put_room_user" if account_id.nil?
|
886
906
|
# resource path
|
@@ -892,15 +912,15 @@ module DocuSign_Rooms
|
|
892
912
|
# header parameters
|
893
913
|
header_params = {}
|
894
914
|
# HTTP header 'Accept' (if needed)
|
895
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
915
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
896
916
|
# HTTP header 'Content-Type'
|
897
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
917
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
898
918
|
|
899
919
|
# form parameters
|
900
920
|
form_params = {}
|
901
921
|
|
902
922
|
# http body (model)
|
903
|
-
post_body = @api_client.object_to_http_body(
|
923
|
+
post_body = @api_client.object_to_http_body(body)
|
904
924
|
auth_names = []
|
905
925
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
906
926
|
:header_params => header_params,
|
@@ -916,10 +936,10 @@ module DocuSign_Rooms
|
|
916
936
|
end
|
917
937
|
|
918
938
|
# Restores the specified user's access to the room.
|
919
|
-
#
|
939
|
+
# Restores the specified user's access to the room.
|
920
940
|
# @param room_id The room Id to restore access
|
921
941
|
# @param user_id The user Id getting restored to the room
|
922
|
-
# @param account_id
|
942
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
923
943
|
# @return [nil]
|
924
944
|
def restore_room_user_access(room_id, user_id, account_id)
|
925
945
|
restore_room_user_access_with_http_info(room_id, user_id, account_id)
|
@@ -927,10 +947,10 @@ module DocuSign_Rooms
|
|
927
947
|
end
|
928
948
|
|
929
949
|
# Restores the specified user's access to the room.
|
930
|
-
#
|
950
|
+
# Restores the specified user's access to the room.
|
931
951
|
# @param room_id The room Id to restore access
|
932
952
|
# @param user_id The user Id getting restored to the room
|
933
|
-
# @param account_id
|
953
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
934
954
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
935
955
|
def restore_room_user_access_with_http_info(room_id, user_id, account_id)
|
936
956
|
if @api_client.config.debugging
|
@@ -951,7 +971,9 @@ module DocuSign_Rooms
|
|
951
971
|
# header parameters
|
952
972
|
header_params = {}
|
953
973
|
# HTTP header 'Accept' (if needed)
|
954
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
974
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
975
|
+
# HTTP header 'Content-Type'
|
976
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
955
977
|
|
956
978
|
# form parameters
|
957
979
|
form_params = {}
|
@@ -972,25 +994,25 @@ module DocuSign_Rooms
|
|
972
994
|
end
|
973
995
|
|
974
996
|
# Revokes the specified user's access to the room.
|
975
|
-
#
|
997
|
+
# Revokes the specified user's access to the room.
|
976
998
|
# @param room_id The room Id to revoke access from
|
977
999
|
# @param user_id The user Id getting revoked from the room
|
978
|
-
# @param account_id
|
979
|
-
# @param
|
1000
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
1001
|
+
# @param body (optional parameter)
|
980
1002
|
# @return [nil]
|
981
|
-
def revoke_room_user_access(room_id, user_id, account_id,
|
982
|
-
revoke_room_user_access_with_http_info(room_id, user_id, account_id,
|
1003
|
+
def revoke_room_user_access(room_id, user_id, account_id, body)
|
1004
|
+
revoke_room_user_access_with_http_info(room_id, user_id, account_id, body)
|
983
1005
|
return nil
|
984
1006
|
end
|
985
1007
|
|
986
1008
|
# Revokes the specified user's access to the room.
|
987
|
-
#
|
1009
|
+
# Revokes the specified user's access to the room.
|
988
1010
|
# @param room_id The room Id to revoke access from
|
989
1011
|
# @param user_id The user Id getting revoked from the room
|
990
|
-
# @param account_id
|
991
|
-
# @param
|
1012
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
1013
|
+
# @param body (optional parameter)
|
992
1014
|
# @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,
|
1015
|
+
def revoke_room_user_access_with_http_info(room_id, user_id, account_id, body)
|
994
1016
|
if @api_client.config.debugging
|
995
1017
|
@api_client.config.logger.debug "Calling API: RoomsApi.revoke_room_user_access ..."
|
996
1018
|
end
|
@@ -1009,15 +1031,15 @@ module DocuSign_Rooms
|
|
1009
1031
|
# header parameters
|
1010
1032
|
header_params = {}
|
1011
1033
|
# HTTP header 'Accept' (if needed)
|
1012
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1034
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
1013
1035
|
# HTTP header 'Content-Type'
|
1014
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1036
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
1015
1037
|
|
1016
1038
|
# form parameters
|
1017
1039
|
form_params = {}
|
1018
1040
|
|
1019
1041
|
# http body (model)
|
1020
|
-
post_body = @api_client.object_to_http_body(
|
1042
|
+
post_body = @api_client.object_to_http_body(body)
|
1021
1043
|
auth_names = []
|
1022
1044
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1023
1045
|
:header_params => header_params,
|
@@ -1034,7 +1056,7 @@ module DocuSign_Rooms
|
|
1034
1056
|
# Update the picture for a room.
|
1035
1057
|
# 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
1058
|
# @param room_id ID of the room the picture is for.
|
1037
|
-
# @param account_id
|
1059
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
1038
1060
|
# @return [RoomPicture]
|
1039
1061
|
def update_picture(room_id, account_id)
|
1040
1062
|
data, _status_code, _headers = update_picture_with_http_info(room_id, account_id)
|
@@ -1044,7 +1066,7 @@ module DocuSign_Rooms
|
|
1044
1066
|
# Update the picture for a room.
|
1045
1067
|
# 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).
|
1046
1068
|
# @param room_id ID of the room the picture is for.
|
1047
|
-
# @param account_id
|
1069
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
1048
1070
|
# @return [Array<(RoomPicture, Fixnum, Hash)>] RoomPicture data, response status code and response headers
|
1049
1071
|
def update_picture_with_http_info(room_id, account_id)
|
1050
1072
|
if @api_client.config.debugging
|
@@ -1064,9 +1086,12 @@ module DocuSign_Rooms
|
|
1064
1086
|
header_params = {}
|
1065
1087
|
# HTTP header 'Accept' (if needed)
|
1066
1088
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1089
|
+
# HTTP header 'Content-Type'
|
1090
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1067
1091
|
|
1068
1092
|
# form parameters
|
1069
1093
|
form_params = {}
|
1094
|
+
form_params["file"] = options.file if !options.file.nil?
|
1070
1095
|
|
1071
1096
|
# http body (model)
|
1072
1097
|
post_body = nil
|
@@ -1085,30 +1110,28 @@ module DocuSign_Rooms
|
|
1085
1110
|
end
|
1086
1111
|
|
1087
1112
|
# Updates room field data.
|
1088
|
-
#
|
1089
|
-
# @param room_id
|
1090
|
-
# @param account_id
|
1091
|
-
# @param
|
1113
|
+
# Updates room field data.
|
1114
|
+
# @param room_id The id of the room.
|
1115
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
1116
|
+
# @param body (optional parameter)
|
1092
1117
|
# @return [FieldData]
|
1093
|
-
def update_room_field_data(room_id, account_id,
|
1094
|
-
data, _status_code, _headers = update_room_field_data_with_http_info(room_id, account_id,
|
1118
|
+
def update_room_field_data(room_id, account_id, body)
|
1119
|
+
data, _status_code, _headers = update_room_field_data_with_http_info(room_id, account_id, body)
|
1095
1120
|
return data
|
1096
1121
|
end
|
1097
1122
|
|
1098
1123
|
# Updates room field data.
|
1099
|
-
#
|
1100
|
-
# @param room_id
|
1101
|
-
# @param account_id
|
1102
|
-
# @param
|
1124
|
+
# Updates room field data.
|
1125
|
+
# @param room_id The id of the room.
|
1126
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
1127
|
+
# @param body (optional parameter)
|
1103
1128
|
# @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,
|
1129
|
+
def update_room_field_data_with_http_info(room_id, account_id, body)
|
1105
1130
|
if @api_client.config.debugging
|
1106
1131
|
@api_client.config.logger.debug "Calling API: RoomsApi.update_room_field_data ..."
|
1107
1132
|
end
|
1108
1133
|
# verify the required parameter 'room_id' is set
|
1109
1134
|
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
1135
|
# verify the required parameter 'account_id' is set
|
1113
1136
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling RoomsApi.update_room_field_data" if account_id.nil?
|
1114
1137
|
# resource path
|
@@ -1120,15 +1143,15 @@ module DocuSign_Rooms
|
|
1120
1143
|
# header parameters
|
1121
1144
|
header_params = {}
|
1122
1145
|
# HTTP header 'Accept' (if needed)
|
1123
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1146
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
1124
1147
|
# HTTP header 'Content-Type'
|
1125
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1148
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
1126
1149
|
|
1127
1150
|
# form parameters
|
1128
1151
|
form_params = {}
|
1129
1152
|
|
1130
1153
|
# http body (model)
|
1131
|
-
post_body = @api_client.object_to_http_body(
|
1154
|
+
post_body = @api_client.object_to_http_body(body)
|
1132
1155
|
auth_names = []
|
1133
1156
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1134
1157
|
:header_params => header_params,
|