docusign_rooms 1.1.0 → 1.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/CHANGELOG.md +6 -0
  2. data/docusign_rooms.gemspec +1 -0
  3. data/lib/docusign_rooms/api/accounts_api.rb +6 -4
  4. data/lib/docusign_rooms/api/activity_types_api.rb +4 -2
  5. data/lib/docusign_rooms/api/closing_statuses_api.rb +4 -2
  6. data/lib/docusign_rooms/api/contact_sides_api.rb +4 -2
  7. data/lib/docusign_rooms/api/countries_api.rb +4 -2
  8. data/lib/docusign_rooms/api/currencies_api.rb +4 -2
  9. data/lib/docusign_rooms/api/documents_api.rb +23 -19
  10. data/lib/docusign_rooms/api/e_sign_permission_profiles_api.rb +6 -4
  11. data/lib/docusign_rooms/api/external_form_fill_sessions_api.rb +4 -4
  12. data/lib/docusign_rooms/api/fields_api.rb +9 -7
  13. data/lib/docusign_rooms/api/financing_types_api.rb +4 -2
  14. data/lib/docusign_rooms/api/form_details_api.rb +6 -4
  15. data/lib/docusign_rooms/api/form_groups_api.rb +68 -56
  16. data/lib/docusign_rooms/api/form_libraries_api.rb +12 -8
  17. data/lib/docusign_rooms/api/offices_api.rb +32 -24
  18. data/lib/docusign_rooms/api/origins_of_leads_api.rb +4 -2
  19. data/lib/docusign_rooms/api/property_types_api.rb +4 -2
  20. data/lib/docusign_rooms/api/regions_api.rb +30 -22
  21. data/lib/docusign_rooms/api/roles_api.rb +44 -31
  22. data/lib/docusign_rooms/api/room_contact_types_api.rb +4 -2
  23. data/lib/docusign_rooms/api/room_folders_api.rb +6 -4
  24. data/lib/docusign_rooms/api/room_templates_api.rb +7 -5
  25. data/lib/docusign_rooms/api/rooms_api.rb +147 -113
  26. data/lib/docusign_rooms/api/seller_decision_types_api.rb +4 -2
  27. data/lib/docusign_rooms/api/special_circumstance_types_api.rb +4 -2
  28. data/lib/docusign_rooms/api/states_api.rb +4 -2
  29. data/lib/docusign_rooms/api/task_date_types_api.rb +4 -2
  30. data/lib/docusign_rooms/api/task_list_templates_api.rb +8 -6
  31. data/lib/docusign_rooms/api/task_lists_api.rb +20 -16
  32. data/lib/docusign_rooms/api/task_responsibility_types_api.rb +4 -2
  33. data/lib/docusign_rooms/api/task_statuses_api.rb +4 -2
  34. data/lib/docusign_rooms/api/time_zones_api.rb +4 -2
  35. data/lib/docusign_rooms/api/transaction_sides_api.rb +4 -2
  36. data/lib/docusign_rooms/api/users_api.rb +81 -71
  37. data/lib/docusign_rooms/client/api_client.rb +3 -2
  38. data/lib/docusign_rooms/configuration.rb +2 -1
  39. data/lib/docusign_rooms/models/document.rb +13 -4
  40. data/lib/docusign_rooms/models/permissions.rb +10 -10
  41. data/lib/docusign_rooms/models/roles_filter_context_types.rb +30 -0
  42. data/lib/docusign_rooms/models/room_document.rb +10 -1
  43. data/lib/docusign_rooms/version.rb +1 -1
  44. data/lib/docusign_rooms.rb +1 -0
  45. data/runLinter.sh +1 -0
  46. metadata +101 -60
  47. checksums.yaml +0 -7
  48. data/Gemfile.lock +0 -71
  49. data/lib/.DS_Store +0 -0
  50. data/lib/docusign_rooms/.DS_Store +0 -0
  51. data/lib/docusign_rooms/client/.DS_Store +0 -0
  52. data/tests/Gemfile.lock +0 -42
  53. data/tests/docs/private.pem +0 -27
@@ -34,9 +34,9 @@ module DocuSign_Rooms
34
34
  end
35
35
 
36
36
  # Assigns a form to a form group.
37
- #
38
- # @param form_group_id
39
- # @param account_id
37
+ # Assigns the form specified in the `formId` property of the request to the form group `formGroupId`.
38
+ # @param form_group_id The ID of the form group.
39
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
40
40
  # @param body (optional parameter)
41
41
  # @return [FormGroupFormToAssign]
42
42
  def assign_form_group_form(form_group_id, account_id, body)
@@ -45,9 +45,9 @@ module DocuSign_Rooms
45
45
  end
46
46
 
47
47
  # Assigns a form to a form group.
48
- #
49
- # @param form_group_id
50
- # @param account_id
48
+ # Assigns the form specified in the `formId` property of the request to the form group `formGroupId`.
49
+ # @param form_group_id The ID of the form group.
50
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
51
51
  # @param body (optional parameter)
52
52
  # @return [Array<(FormGroupFormToAssign, Fixnum, Hash)>] FormGroupFormToAssign data, response status code and response headers
53
53
  def assign_form_group_form_with_http_info(form_group_id, account_id, body)
@@ -91,8 +91,8 @@ module DocuSign_Rooms
91
91
  end
92
92
 
93
93
  # Creates a form group.
94
- #
95
- # @param account_id
94
+ # Creates a new form group with the name given in the `name` property of the request body.
95
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
96
96
  # @param body (optional parameter)
97
97
  # @return [FormGroup]
98
98
  def create_form_group(account_id, body)
@@ -101,8 +101,8 @@ module DocuSign_Rooms
101
101
  end
102
102
 
103
103
  # Creates a form group.
104
- #
105
- # @param account_id
104
+ # Creates a new form group with the name given in the &#x60;name&#x60; property of the request body.
105
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
106
106
  # @param body (optional parameter)
107
107
  # @return [Array<(FormGroup, Fixnum, Hash)>] FormGroup data, response status code and response headers
108
108
  def create_form_group_with_http_info(account_id, body)
@@ -144,9 +144,9 @@ module DocuSign_Rooms
144
144
  end
145
145
 
146
146
  # Deletes a form group.
147
- #
148
- # @param form_group_id
149
- # @param account_id
147
+ # Deletes the specified form group.
148
+ # @param form_group_id The ID of the form group.
149
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
150
150
  # @return [nil]
151
151
  def delete_form_group(form_group_id, account_id)
152
152
  delete_form_group_with_http_info(form_group_id, account_id)
@@ -154,9 +154,9 @@ module DocuSign_Rooms
154
154
  end
155
155
 
156
156
  # Deletes a form group.
157
- #
158
- # @param form_group_id
159
- # @param account_id
157
+ # Deletes the specified form group.
158
+ # @param form_group_id The ID of the form group.
159
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
160
160
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
161
161
  def delete_form_group_with_http_info(form_group_id, account_id)
162
162
  if @api_client.config.debugging
@@ -176,6 +176,8 @@ module DocuSign_Rooms
176
176
  header_params = {}
177
177
  # HTTP header 'Accept' (if needed)
178
178
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
179
+ # HTTP header 'Content-Type'
180
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
179
181
 
180
182
  # form parameters
181
183
  form_params = {}
@@ -196,9 +198,9 @@ module DocuSign_Rooms
196
198
  end
197
199
 
198
200
  # Gets a form group.
199
- #
200
- # @param form_group_id
201
- # @param account_id
201
+ # Get the specified form group.
202
+ # @param form_group_id The ID of the form group.
203
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
202
204
  # @return [FormGroup]
203
205
  def get_form_group(form_group_id, account_id)
204
206
  data, _status_code, _headers = get_form_group_with_http_info(form_group_id, account_id)
@@ -206,9 +208,9 @@ module DocuSign_Rooms
206
208
  end
207
209
 
208
210
  # Gets a form group.
209
- #
210
- # @param form_group_id
211
- # @param account_id
211
+ # Get the specified form group.
212
+ # @param form_group_id The ID of the form group.
213
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
212
214
  # @return [Array<(FormGroup, Fixnum, Hash)>] FormGroup data, response status code and response headers
213
215
  def get_form_group_with_http_info(form_group_id, account_id)
214
216
  if @api_client.config.debugging
@@ -228,6 +230,8 @@ module DocuSign_Rooms
228
230
  header_params = {}
229
231
  # HTTP header 'Accept' (if needed)
230
232
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
233
+ # HTTP header 'Content-Type'
234
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
231
235
 
232
236
  # form parameters
233
237
  form_params = {}
@@ -249,8 +253,8 @@ module DocuSign_Rooms
249
253
  end
250
254
 
251
255
  # Get account Form Groups.
252
- #
253
- # @param account_id
256
+ # Returns the company form groups to which the current user has access.
257
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
254
258
  # @param DocuSign_Rooms::GetFormGroupsOptions Options for modifying the behavior of the function.
255
259
  # @return [FormGroupSummaryList]
256
260
  def get_form_groups(account_id, options = DocuSign_Rooms::GetFormGroupsOptions.default)
@@ -259,8 +263,8 @@ module DocuSign_Rooms
259
263
  end
260
264
 
261
265
  # Get account Form Groups.
262
- #
263
- # @param account_id
266
+ # Returns the company form groups to which the current user has access.
267
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
264
268
  # @param DocuSign_Rooms::GetFormGroupsOptions Options for modifying the behavior of the function.
265
269
  # @return [Array<(FormGroupSummaryList, Fixnum, Hash)>] FormGroupSummaryList data, response status code and response headers
266
270
  def get_form_groups_with_http_info(account_id, options = DocuSign_Rooms::GetFormGroupsOptions.default)
@@ -281,6 +285,8 @@ module DocuSign_Rooms
281
285
  header_params = {}
282
286
  # HTTP header 'Accept' (if needed)
283
287
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
288
+ # HTTP header 'Content-Type'
289
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
284
290
 
285
291
  # form parameters
286
292
  form_params = {}
@@ -302,10 +308,10 @@ module DocuSign_Rooms
302
308
  end
303
309
 
304
310
  # Assign office to a form group so the specified office has access to the form group.
305
- #
306
- # @param form_group_id
307
- # @param office_id
308
- # @param account_id
311
+ # \"Grants the office `officeId` access to the form group `formGroupId`.
312
+ # @param form_group_id The ID of the form group.
313
+ # @param office_id The id of the office. This is the id that the system generated when you created the office.
314
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
309
315
  # @return [nil]
310
316
  def grant_office_access_to_form_group(form_group_id, office_id, account_id)
311
317
  grant_office_access_to_form_group_with_http_info(form_group_id, office_id, account_id)
@@ -313,10 +319,10 @@ module DocuSign_Rooms
313
319
  end
314
320
 
315
321
  # Assign office to a form group so the specified office has access to the form group.
316
- #
317
- # @param form_group_id
318
- # @param office_id
319
- # @param account_id
322
+ # \&quot;Grants the office &#x60;officeId&#x60; access to the form group &#x60;formGroupId&#x60;.
323
+ # @param form_group_id The ID of the form group.
324
+ # @param office_id The id of the office. This is the id that the system generated when you created the office.
325
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
320
326
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
321
327
  def grant_office_access_to_form_group_with_http_info(form_group_id, office_id, account_id)
322
328
  if @api_client.config.debugging
@@ -338,6 +344,8 @@ module DocuSign_Rooms
338
344
  header_params = {}
339
345
  # HTTP header 'Accept' (if needed)
340
346
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
347
+ # HTTP header 'Content-Type'
348
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
341
349
 
342
350
  # form parameters
343
351
  form_params = {}
@@ -358,10 +366,10 @@ module DocuSign_Rooms
358
366
  end
359
367
 
360
368
  # Removes a form from a form group.
361
- #
362
- # @param form_group_id
363
- # @param form_id
364
- # @param account_id
369
+ # Removes the form `formId` from the form group `formGroupId`.
370
+ # @param form_group_id The ID of the form group.
371
+ # @param form_id The id of the form.
372
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
365
373
  # @return [nil]
366
374
  def remove_form_group_form(form_group_id, form_id, account_id)
367
375
  remove_form_group_form_with_http_info(form_group_id, form_id, account_id)
@@ -369,10 +377,10 @@ module DocuSign_Rooms
369
377
  end
370
378
 
371
379
  # Removes a form from a form group.
372
- #
373
- # @param form_group_id
374
- # @param form_id
375
- # @param account_id
380
+ # Removes the form &#x60;formId&#x60; from the form group &#x60;formGroupId&#x60;.
381
+ # @param form_group_id The ID of the form group.
382
+ # @param form_id The id of the form.
383
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
376
384
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
377
385
  def remove_form_group_form_with_http_info(form_group_id, form_id, account_id)
378
386
  if @api_client.config.debugging
@@ -394,6 +402,8 @@ module DocuSign_Rooms
394
402
  header_params = {}
395
403
  # HTTP header 'Accept' (if needed)
396
404
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
405
+ # HTTP header 'Content-Type'
406
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
397
407
 
398
408
  # form parameters
399
409
  form_params = {}
@@ -414,9 +424,9 @@ module DocuSign_Rooms
414
424
  end
415
425
 
416
426
  # Renames a form group.
417
- #
418
- # @param form_group_id
419
- # @param account_id
427
+ # Renames the specified form group with the name given in the `name` property of the request.
428
+ # @param form_group_id The ID of the form group.
429
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
420
430
  # @param body (optional parameter)
421
431
  # @return [FormGroup]
422
432
  def rename_form_group(form_group_id, account_id, body)
@@ -425,9 +435,9 @@ module DocuSign_Rooms
425
435
  end
426
436
 
427
437
  # Renames a form group.
428
- #
429
- # @param form_group_id
430
- # @param account_id
438
+ # Renames the specified form group with the name given in the &#x60;name&#x60; property of the request.
439
+ # @param form_group_id The ID of the form group.
440
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
431
441
  # @param body (optional parameter)
432
442
  # @return [Array<(FormGroup, Fixnum, Hash)>] FormGroup data, response status code and response headers
433
443
  def rename_form_group_with_http_info(form_group_id, account_id, body)
@@ -471,10 +481,10 @@ module DocuSign_Rooms
471
481
  end
472
482
 
473
483
  # Remove office to a form group so the specified office doesn't have access to the form group.
474
- #
475
- # @param form_group_id
476
- # @param office_id
477
- # @param account_id
484
+ # Revoke access to the form group `formGroupId` from the office `officeId`.
485
+ # @param form_group_id The ID of the form group.
486
+ # @param office_id The id of the office. This is the id that the system generated when you created the office.
487
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
478
488
  # @return [nil]
479
489
  def revoke_office_access_from_form_group(form_group_id, office_id, account_id)
480
490
  revoke_office_access_from_form_group_with_http_info(form_group_id, office_id, account_id)
@@ -482,10 +492,10 @@ module DocuSign_Rooms
482
492
  end
483
493
 
484
494
  # Remove office to a form group so the specified office doesn&#39;t have access to the form group.
485
- #
486
- # @param form_group_id
487
- # @param office_id
488
- # @param account_id
495
+ # Revoke access to the form group &#x60;formGroupId&#x60; from the office &#x60;officeId&#x60;.
496
+ # @param form_group_id The ID of the form group.
497
+ # @param office_id The id of the office. This is the id that the system generated when you created the office.
498
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
489
499
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
490
500
  def revoke_office_access_from_form_group_with_http_info(form_group_id, office_id, account_id)
491
501
  if @api_client.config.debugging
@@ -507,6 +517,8 @@ module DocuSign_Rooms
507
517
  header_params = {}
508
518
  # HTTP header 'Accept' (if needed)
509
519
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
520
+ # HTTP header 'Content-Type'
521
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
510
522
 
511
523
  # form parameters
512
524
  form_params = {}
@@ -46,8 +46,8 @@ module DocuSign_Rooms
46
46
  end
47
47
 
48
48
  # Gets a paged list of forms libraries.
49
- #
50
- # @param account_id
49
+ # Returns a list of form libraries to which the current user has access.
50
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
51
51
  # @param DocuSign_Rooms::GetFormLibrariesOptions Options for modifying the behavior of the function.
52
52
  # @return [FormLibrarySummaryList]
53
53
  def get_form_libraries(account_id, options = DocuSign_Rooms::GetFormLibrariesOptions.default)
@@ -56,8 +56,8 @@ module DocuSign_Rooms
56
56
  end
57
57
 
58
58
  # Gets a paged list of forms libraries.
59
- #
60
- # @param account_id
59
+ # Returns a list of form libraries to which the current user has access.
60
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
61
61
  # @param DocuSign_Rooms::GetFormLibrariesOptions Options for modifying the behavior of the function.
62
62
  # @return [Array<(FormLibrarySummaryList, Fixnum, Hash)>] FormLibrarySummaryList data, response status code and response headers
63
63
  def get_form_libraries_with_http_info(account_id, options = DocuSign_Rooms::GetFormLibrariesOptions.default)
@@ -78,6 +78,8 @@ module DocuSign_Rooms
78
78
  header_params = {}
79
79
  # HTTP header 'Accept' (if needed)
80
80
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
81
+ # HTTP header 'Content-Type'
82
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
81
83
 
82
84
  # form parameters
83
85
  form_params = {}
@@ -99,9 +101,9 @@ module DocuSign_Rooms
99
101
  end
100
102
 
101
103
  # Gets a paged list of forms in a forms library.
102
- #
104
+ # Returns a list of forms to which the current user has access in the specified form library.
103
105
  # @param form_library_id Library Id
104
- # @param account_id
106
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
105
107
  # @param DocuSign_Rooms::GetFormLibraryFormsOptions Options for modifying the behavior of the function.
106
108
  # @return [FormSummaryList]
107
109
  def get_form_library_forms(form_library_id, account_id, options = DocuSign_Rooms::GetFormLibraryFormsOptions.default)
@@ -110,9 +112,9 @@ module DocuSign_Rooms
110
112
  end
111
113
 
112
114
  # Gets a paged list of forms in a forms library.
113
- #
115
+ # Returns a list of forms to which the current user has access in the specified form library.
114
116
  # @param form_library_id Library Id
115
- # @param account_id
117
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
116
118
  # @param DocuSign_Rooms::GetFormLibraryFormsOptions Options for modifying the behavior of the function.
117
119
  # @return [Array<(FormSummaryList, Fixnum, Hash)>] FormSummaryList data, response status code and response headers
118
120
  def get_form_library_forms_with_http_info(form_library_id, account_id, options = DocuSign_Rooms::GetFormLibraryFormsOptions.default)
@@ -135,6 +137,8 @@ module DocuSign_Rooms
135
137
  header_params = {}
136
138
  # HTTP header 'Accept' (if needed)
137
139
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
140
+ # HTTP header 'Content-Type'
141
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
138
142
 
139
143
  # form parameters
140
144
  form_params = {}
@@ -40,8 +40,8 @@ module DocuSign_Rooms
40
40
  end
41
41
 
42
42
  # Create an office.
43
- #
44
- # @param account_id
43
+ # Create an office.
44
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
45
45
  # @param body (optional parameter)
46
46
  # @return [Office]
47
47
  def create_office(account_id, body)
@@ -50,8 +50,8 @@ module DocuSign_Rooms
50
50
  end
51
51
 
52
52
  # Create an office.
53
- #
54
- # @param account_id
53
+ # Create an office.
54
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
55
55
  # @param body (optional parameter)
56
56
  # @return [Array<(Office, Fixnum, Hash)>] Office data, response status code and response headers
57
57
  def create_office_with_http_info(account_id, body)
@@ -93,9 +93,9 @@ module DocuSign_Rooms
93
93
  end
94
94
 
95
95
  # Delete an office.
96
- #
96
+ # This method deletes an office from a Rooms account.
97
97
  # @param office_id
98
- # @param account_id
98
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
99
99
  # @return [nil]
100
100
  def delete_office(office_id, account_id)
101
101
  delete_office_with_http_info(office_id, account_id)
@@ -103,9 +103,9 @@ module DocuSign_Rooms
103
103
  end
104
104
 
105
105
  # Delete an office.
106
- #
106
+ # This method deletes an office from a Rooms account.
107
107
  # @param office_id
108
- # @param account_id
108
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
109
109
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
110
110
  def delete_office_with_http_info(office_id, account_id)
111
111
  if @api_client.config.debugging
@@ -125,6 +125,8 @@ module DocuSign_Rooms
125
125
  header_params = {}
126
126
  # HTTP header 'Accept' (if needed)
127
127
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
128
+ # HTTP header 'Content-Type'
129
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
128
130
 
129
131
  # form parameters
130
132
  form_params = {}
@@ -145,9 +147,9 @@ module DocuSign_Rooms
145
147
  end
146
148
 
147
149
  # Get information about the office with the given officeId.
148
- #
149
- # @param office_id
150
- # @param account_id
150
+ # Get information about the office with the given officeId.
151
+ # @param office_id The id of the office.
152
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
151
153
  # @return [Office]
152
154
  def get_office(office_id, account_id)
153
155
  data, _status_code, _headers = get_office_with_http_info(office_id, account_id)
@@ -155,9 +157,9 @@ module DocuSign_Rooms
155
157
  end
156
158
 
157
159
  # Get information about the office with the given officeId.
158
- #
159
- # @param office_id
160
- # @param account_id
160
+ # Get information about the office with the given officeId.
161
+ # @param office_id The id of the office.
162
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
161
163
  # @return [Array<(Office, Fixnum, Hash)>] Office data, response status code and response headers
162
164
  def get_office_with_http_info(office_id, account_id)
163
165
  if @api_client.config.debugging
@@ -177,6 +179,8 @@ module DocuSign_Rooms
177
179
  header_params = {}
178
180
  # HTTP header 'Accept' (if needed)
179
181
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
182
+ # HTTP header 'Content-Type'
183
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
180
184
 
181
185
  # form parameters
182
186
  form_params = {}
@@ -197,9 +201,9 @@ module DocuSign_Rooms
197
201
  return data, status_code, headers
198
202
  end
199
203
 
200
- # Get all
201
- #
202
- # @param account_id
204
+ # Get all offices.
205
+ # This method returns a list of offices associated with an account.
206
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
203
207
  # @param DocuSign_Rooms::GetOfficesOptions Options for modifying the behavior of the function.
204
208
  # @return [OfficeSummaryList]
205
209
  def get_offices(account_id, options = DocuSign_Rooms::GetOfficesOptions.default)
@@ -207,9 +211,9 @@ module DocuSign_Rooms
207
211
  return data
208
212
  end
209
213
 
210
- # Get all
211
- #
212
- # @param account_id
214
+ # Get all offices.
215
+ # This method returns a list of offices associated with an account.
216
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
213
217
  # @param DocuSign_Rooms::GetOfficesOptions Options for modifying the behavior of the function.
214
218
  # @return [Array<(OfficeSummaryList, Fixnum, Hash)>] OfficeSummaryList data, response status code and response headers
215
219
  def get_offices_with_http_info(account_id, options = DocuSign_Rooms::GetOfficesOptions.default)
@@ -232,6 +236,8 @@ module DocuSign_Rooms
232
236
  header_params = {}
233
237
  # HTTP header 'Accept' (if needed)
234
238
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
239
+ # HTTP header 'Content-Type'
240
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
235
241
 
236
242
  # form parameters
237
243
  form_params = {}
@@ -253,9 +259,9 @@ module DocuSign_Rooms
253
259
  end
254
260
 
255
261
  # Lists the number of objects of each type that reference the office.
256
- #
262
+ # This method returns a list of each type of object and the number of objects of that type referencing the specified office. Note that an office cannot be deleted while existing objects reference it.
257
263
  # @param office_id
258
- # @param account_id
264
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
259
265
  # @return [OfficeReferenceCountList]
260
266
  def get_reference_counts(office_id, account_id)
261
267
  data, _status_code, _headers = get_reference_counts_with_http_info(office_id, account_id)
@@ -263,9 +269,9 @@ module DocuSign_Rooms
263
269
  end
264
270
 
265
271
  # Lists the number of objects of each type that reference the office.
266
- #
272
+ # This method returns a list of each type of object and the number of objects of that type referencing the specified office. Note that an office cannot be deleted while existing objects reference it.
267
273
  # @param office_id
268
- # @param account_id
274
+ # @param account_id (Required) The globally unique identifier (GUID) for the account.
269
275
  # @return [Array<(OfficeReferenceCountList, Fixnum, Hash)>] OfficeReferenceCountList data, response status code and response headers
270
276
  def get_reference_counts_with_http_info(office_id, account_id)
271
277
  if @api_client.config.debugging
@@ -285,6 +291,8 @@ module DocuSign_Rooms
285
291
  header_params = {}
286
292
  # HTTP header 'Accept' (if needed)
287
293
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
294
+ # HTTP header 'Content-Type'
295
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
288
296
 
289
297
  # form parameters
290
298
  form_params = {}
@@ -22,7 +22,7 @@ module DocuSign_Rooms
22
22
  end
23
23
 
24
24
  # Retrieves the list of valid origins of leads.
25
- #
25
+ # Returns a list of origins of leads (such as Trulia or Zillow) that you can specify for rooms.
26
26
  # @return [GlobalOriginsOfLeads]
27
27
  def get_origins_of_leads()
28
28
  data, _status_code, _headers = get_origins_of_leads_with_http_info()
@@ -30,7 +30,7 @@ module DocuSign_Rooms
30
30
  end
31
31
 
32
32
  # Retrieves the list of valid origins of leads.
33
- #
33
+ # Returns a list of origins of leads (such as Trulia or Zillow) that you can specify for rooms.
34
34
  # @return [Array<(GlobalOriginsOfLeads, Fixnum, Hash)>] GlobalOriginsOfLeads data, response status code and response headers
35
35
  def get_origins_of_leads_with_http_info()
36
36
  if @api_client.config.debugging
@@ -46,6 +46,8 @@ module DocuSign_Rooms
46
46
  header_params = {}
47
47
  # HTTP header 'Accept' (if needed)
48
48
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
49
+ # HTTP header 'Content-Type'
50
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
49
51
 
50
52
  # form parameters
51
53
  form_params = {}
@@ -22,7 +22,7 @@ module DocuSign_Rooms
22
22
  end
23
23
 
24
24
  # Retrieves the list of valid property types.
25
- #
25
+ # Returns a list of property types.
26
26
  # @return [GlobalPropertyTypes]
27
27
  def get_property_types()
28
28
  data, _status_code, _headers = get_property_types_with_http_info()
@@ -30,7 +30,7 @@ module DocuSign_Rooms
30
30
  end
31
31
 
32
32
  # Retrieves the list of valid property types.
33
- #
33
+ # Returns a list of property types.
34
34
  # @return [Array<(GlobalPropertyTypes, Fixnum, Hash)>] GlobalPropertyTypes data, response status code and response headers
35
35
  def get_property_types_with_http_info()
36
36
  if @api_client.config.debugging
@@ -46,6 +46,8 @@ module DocuSign_Rooms
46
46
  header_params = {}
47
47
  # HTTP header 'Accept' (if needed)
48
48
  header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
49
+ # HTTP header 'Content-Type'
50
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
49
51
 
50
52
  # form parameters
51
53
  form_params = {}