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.
- data/CHANGELOG.md +6 -0
- data/docusign_rooms.gemspec +1 -0
- data/lib/docusign_rooms/api/accounts_api.rb +6 -4
- data/lib/docusign_rooms/api/activity_types_api.rb +4 -2
- data/lib/docusign_rooms/api/closing_statuses_api.rb +4 -2
- data/lib/docusign_rooms/api/contact_sides_api.rb +4 -2
- data/lib/docusign_rooms/api/countries_api.rb +4 -2
- data/lib/docusign_rooms/api/currencies_api.rb +4 -2
- data/lib/docusign_rooms/api/documents_api.rb +23 -19
- data/lib/docusign_rooms/api/e_sign_permission_profiles_api.rb +6 -4
- data/lib/docusign_rooms/api/external_form_fill_sessions_api.rb +4 -4
- data/lib/docusign_rooms/api/fields_api.rb +9 -7
- data/lib/docusign_rooms/api/financing_types_api.rb +4 -2
- data/lib/docusign_rooms/api/form_details_api.rb +6 -4
- data/lib/docusign_rooms/api/form_groups_api.rb +68 -56
- data/lib/docusign_rooms/api/form_libraries_api.rb +12 -8
- data/lib/docusign_rooms/api/offices_api.rb +32 -24
- data/lib/docusign_rooms/api/origins_of_leads_api.rb +4 -2
- data/lib/docusign_rooms/api/property_types_api.rb +4 -2
- data/lib/docusign_rooms/api/regions_api.rb +30 -22
- data/lib/docusign_rooms/api/roles_api.rb +44 -31
- data/lib/docusign_rooms/api/room_contact_types_api.rb +4 -2
- data/lib/docusign_rooms/api/room_folders_api.rb +6 -4
- data/lib/docusign_rooms/api/room_templates_api.rb +7 -5
- data/lib/docusign_rooms/api/rooms_api.rb +147 -113
- data/lib/docusign_rooms/api/seller_decision_types_api.rb +4 -2
- data/lib/docusign_rooms/api/special_circumstance_types_api.rb +4 -2
- data/lib/docusign_rooms/api/states_api.rb +4 -2
- data/lib/docusign_rooms/api/task_date_types_api.rb +4 -2
- data/lib/docusign_rooms/api/task_list_templates_api.rb +8 -6
- data/lib/docusign_rooms/api/task_lists_api.rb +20 -16
- data/lib/docusign_rooms/api/task_responsibility_types_api.rb +4 -2
- data/lib/docusign_rooms/api/task_statuses_api.rb +4 -2
- data/lib/docusign_rooms/api/time_zones_api.rb +4 -2
- data/lib/docusign_rooms/api/transaction_sides_api.rb +4 -2
- data/lib/docusign_rooms/api/users_api.rb +81 -71
- data/lib/docusign_rooms/client/api_client.rb +3 -2
- data/lib/docusign_rooms/configuration.rb +2 -1
- data/lib/docusign_rooms/models/document.rb +13 -4
- data/lib/docusign_rooms/models/permissions.rb +10 -10
- data/lib/docusign_rooms/models/roles_filter_context_types.rb +30 -0
- data/lib/docusign_rooms/models/room_document.rb +10 -1
- data/lib/docusign_rooms/version.rb +1 -1
- data/lib/docusign_rooms.rb +1 -0
- data/runLinter.sh +1 -0
- metadata +101 -60
- checksums.yaml +0 -7
- data/Gemfile.lock +0 -71
- 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
@@ -35,7 +35,7 @@ module DocuSign_Rooms
|
|
35
35
|
# Valid values are 'Active', 'Pending'
|
36
36
|
attr_accessor :status
|
37
37
|
|
38
|
-
#
|
38
|
+
# When set to true, filters for users whose accounts are locked
|
39
39
|
attr_accessor :locked_only
|
40
40
|
|
41
41
|
# Defaults to 0
|
@@ -58,9 +58,9 @@ module DocuSign_Rooms
|
|
58
58
|
end
|
59
59
|
|
60
60
|
# Adds the user to the designated office.
|
61
|
-
#
|
62
|
-
# @param user_id
|
63
|
-
# @param account_id
|
61
|
+
# Adds the user to the designated office.
|
62
|
+
# @param user_id The id of the user.
|
63
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
64
64
|
# @param body (optional parameter)
|
65
65
|
# @return [nil]
|
66
66
|
def add_user_to_office(user_id, account_id, body)
|
@@ -69,9 +69,9 @@ module DocuSign_Rooms
|
|
69
69
|
end
|
70
70
|
|
71
71
|
# Adds the user to the designated office.
|
72
|
-
#
|
73
|
-
# @param user_id
|
74
|
-
# @param account_id
|
72
|
+
# Adds the user to the designated office.
|
73
|
+
# @param user_id The id of the user.
|
74
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
75
75
|
# @param body (optional parameter)
|
76
76
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
77
77
|
def add_user_to_office_with_http_info(user_id, account_id, body)
|
@@ -114,9 +114,9 @@ module DocuSign_Rooms
|
|
114
114
|
end
|
115
115
|
|
116
116
|
# Adds the user to the designated region.
|
117
|
-
#
|
118
|
-
# @param user_id
|
119
|
-
# @param account_id
|
117
|
+
# Adds the user to the designated region.
|
118
|
+
# @param user_id The id of the user.
|
119
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
120
120
|
# @param body (optional parameter)
|
121
121
|
# @return [nil]
|
122
122
|
def add_user_to_region(user_id, account_id, body)
|
@@ -125,9 +125,9 @@ module DocuSign_Rooms
|
|
125
125
|
end
|
126
126
|
|
127
127
|
# Adds the user to the designated region.
|
128
|
-
#
|
129
|
-
# @param user_id
|
130
|
-
# @param account_id
|
128
|
+
# Adds the user to the designated region.
|
129
|
+
# @param user_id The id of the user.
|
130
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
131
131
|
# @param body (optional parameter)
|
132
132
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
133
133
|
def add_user_to_region_with_http_info(user_id, account_id, body)
|
@@ -170,9 +170,9 @@ module DocuSign_Rooms
|
|
170
170
|
end
|
171
171
|
|
172
172
|
# Retrieves user information for the user having the given UserId.
|
173
|
-
#
|
174
|
-
# @param user_id
|
175
|
-
# @param account_id
|
173
|
+
# Retrieves user information for the user having the given UserId.
|
174
|
+
# @param user_id The id of the user.
|
175
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
176
176
|
# @return [User]
|
177
177
|
def get_user(user_id, account_id)
|
178
178
|
data, _status_code, _headers = get_user_with_http_info(user_id, account_id)
|
@@ -180,9 +180,9 @@ module DocuSign_Rooms
|
|
180
180
|
end
|
181
181
|
|
182
182
|
# Retrieves user information for the user having the given UserId.
|
183
|
-
#
|
184
|
-
# @param user_id
|
185
|
-
# @param account_id
|
183
|
+
# Retrieves user information for the user having the given UserId.
|
184
|
+
# @param user_id The id of the user.
|
185
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
186
186
|
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
187
187
|
def get_user_with_http_info(user_id, account_id)
|
188
188
|
if @api_client.config.debugging
|
@@ -202,6 +202,8 @@ module DocuSign_Rooms
|
|
202
202
|
header_params = {}
|
203
203
|
# HTTP header 'Accept' (if needed)
|
204
204
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
205
|
+
# HTTP header 'Content-Type'
|
206
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
205
207
|
|
206
208
|
# form parameters
|
207
209
|
form_params = {}
|
@@ -222,9 +224,9 @@ module DocuSign_Rooms
|
|
222
224
|
return data, status_code, headers
|
223
225
|
end
|
224
226
|
|
225
|
-
# Gets a paged-list of
|
227
|
+
# Gets a paged-list of users.
|
226
228
|
# Retrieves a paged-list of Company Users in the User's company using the given filter and sort parameters.
|
227
|
-
# @param account_id
|
229
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
228
230
|
# @param DocuSign_Rooms::GetUsersOptions Options for modifying the behavior of the function.
|
229
231
|
# @return [UserSummaryList]
|
230
232
|
def get_users(account_id, options = DocuSign_Rooms::GetUsersOptions.default)
|
@@ -232,9 +234,9 @@ module DocuSign_Rooms
|
|
232
234
|
return data
|
233
235
|
end
|
234
236
|
|
235
|
-
# Gets a paged-list of
|
237
|
+
# Gets a paged-list of users.
|
236
238
|
# Retrieves a paged-list of Company Users in the User's company using the given filter and sort parameters.
|
237
|
-
# @param account_id
|
239
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
238
240
|
# @param DocuSign_Rooms::GetUsersOptions Options for modifying the behavior of the function.
|
239
241
|
# @return [Array<(UserSummaryList, Fixnum, Hash)>] UserSummaryList data, response status code and response headers
|
240
242
|
def get_users_with_http_info(account_id, options = DocuSign_Rooms::GetUsersOptions.default)
|
@@ -272,6 +274,8 @@ module DocuSign_Rooms
|
|
272
274
|
header_params = {}
|
273
275
|
# HTTP header 'Accept' (if needed)
|
274
276
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
277
|
+
# HTTP header 'Content-Type'
|
278
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
275
279
|
|
276
280
|
# form parameters
|
277
281
|
form_params = {}
|
@@ -293,8 +297,8 @@ module DocuSign_Rooms
|
|
293
297
|
end
|
294
298
|
|
295
299
|
# CLASSIC COMPANY ONLY. Send an invitation to join the company as an admin.
|
296
|
-
#
|
297
|
-
# @param account_id
|
300
|
+
# Invites a new user to join a company account on Rooms Version 5 as an Admin.
|
301
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
298
302
|
# @param body (optional parameter)
|
299
303
|
# @return [User]
|
300
304
|
def invite_classic_admin(account_id, body)
|
@@ -303,8 +307,8 @@ module DocuSign_Rooms
|
|
303
307
|
end
|
304
308
|
|
305
309
|
# CLASSIC COMPANY ONLY. Send an invitation to join the company as an admin.
|
306
|
-
#
|
307
|
-
# @param account_id
|
310
|
+
# Invites a new user to join a company account on Rooms Version 5 as an Admin.
|
311
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
308
312
|
# @param body (optional parameter)
|
309
313
|
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
310
314
|
def invite_classic_admin_with_http_info(account_id, body)
|
@@ -346,8 +350,8 @@ module DocuSign_Rooms
|
|
346
350
|
end
|
347
351
|
|
348
352
|
# CLASSIC COMPANY ONLY. Send an invitation to join the company as an agent.
|
349
|
-
#
|
350
|
-
# @param account_id
|
353
|
+
# Invites a new user to join a company account on Rooms Version 5 as an Agent.
|
354
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
351
355
|
# @param body (optional parameter)
|
352
356
|
# @return [User]
|
353
357
|
def invite_classic_agent(account_id, body)
|
@@ -356,8 +360,8 @@ module DocuSign_Rooms
|
|
356
360
|
end
|
357
361
|
|
358
362
|
# CLASSIC COMPANY ONLY. Send an invitation to join the company as an agent.
|
359
|
-
#
|
360
|
-
# @param account_id
|
363
|
+
# Invites a new user to join a company account on Rooms Version 5 as an Agent.
|
364
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
361
365
|
# @param body (optional parameter)
|
362
366
|
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
363
367
|
def invite_classic_agent_with_http_info(account_id, body)
|
@@ -399,8 +403,8 @@ module DocuSign_Rooms
|
|
399
403
|
end
|
400
404
|
|
401
405
|
# CLASSIC COMPANY ONLY. Send an invitation to join the company as a manager.
|
402
|
-
#
|
403
|
-
# @param account_id
|
406
|
+
# Invites a new user to join a company account on Rooms Version 5 as a Manager.
|
407
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
404
408
|
# @param body (optional parameter)
|
405
409
|
# @return [User]
|
406
410
|
def invite_classic_manager(account_id, body)
|
@@ -409,8 +413,8 @@ module DocuSign_Rooms
|
|
409
413
|
end
|
410
414
|
|
411
415
|
# CLASSIC COMPANY ONLY. Send an invitation to join the company as a manager.
|
412
|
-
#
|
413
|
-
# @param account_id
|
416
|
+
# Invites a new user to join a company account on Rooms Version 5 as a Manager.
|
417
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
414
418
|
# @param body (optional parameter)
|
415
419
|
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
416
420
|
def invite_classic_manager_with_http_info(account_id, body)
|
@@ -452,8 +456,8 @@ module DocuSign_Rooms
|
|
452
456
|
end
|
453
457
|
|
454
458
|
# NON-CLASSIC COMPANY ONLY. Send an invitation to the user or non-user having the given email.
|
455
|
-
#
|
456
|
-
# @param account_id
|
459
|
+
# Invites a new user to join a company account on Rooms Version 6.
|
460
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
457
461
|
# @param body (optional parameter)
|
458
462
|
# @return [User]
|
459
463
|
def invite_user(account_id, body)
|
@@ -462,8 +466,8 @@ module DocuSign_Rooms
|
|
462
466
|
end
|
463
467
|
|
464
468
|
# NON-CLASSIC COMPANY ONLY. Send an invitation to the user or non-user having the given email.
|
465
|
-
#
|
466
|
-
# @param account_id
|
469
|
+
# Invites a new user to join a company account on Rooms Version 6.
|
470
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
467
471
|
# @param body (optional parameter)
|
468
472
|
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
469
473
|
def invite_user_with_http_info(account_id, body)
|
@@ -505,9 +509,9 @@ module DocuSign_Rooms
|
|
505
509
|
end
|
506
510
|
|
507
511
|
# Locks the account of the user.
|
508
|
-
#
|
512
|
+
# Locks the account of the user.
|
509
513
|
# @param user_id User Id of the user attempting to be locked.
|
510
|
-
# @param account_id
|
514
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
511
515
|
# @param body (optional parameter)
|
512
516
|
# @return [nil]
|
513
517
|
def lock_user(user_id, account_id, body)
|
@@ -516,9 +520,9 @@ module DocuSign_Rooms
|
|
516
520
|
end
|
517
521
|
|
518
522
|
# Locks the account of the user.
|
519
|
-
#
|
523
|
+
# Locks the account of the user.
|
520
524
|
# @param user_id User Id of the user attempting to be locked.
|
521
|
-
# @param account_id
|
525
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
522
526
|
# @param body (optional parameter)
|
523
527
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
524
528
|
def lock_user_with_http_info(user_id, account_id, body)
|
@@ -561,9 +565,9 @@ module DocuSign_Rooms
|
|
561
565
|
end
|
562
566
|
|
563
567
|
# Reinvites the pending user with the given userId.
|
564
|
-
#
|
568
|
+
# Reinvites an unactivated user to join a company account. You can use this method with either Rooms Version 5 or Rooms Version 6.
|
565
569
|
# @param user_id
|
566
|
-
# @param account_id
|
570
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
567
571
|
# @return [nil]
|
568
572
|
def reinvite_user(user_id, account_id)
|
569
573
|
reinvite_user_with_http_info(user_id, account_id)
|
@@ -571,9 +575,9 @@ module DocuSign_Rooms
|
|
571
575
|
end
|
572
576
|
|
573
577
|
# Reinvites the pending user with the given userId.
|
574
|
-
#
|
578
|
+
# Reinvites an unactivated user to join a company account. You can use this method with either Rooms Version 5 or Rooms Version 6.
|
575
579
|
# @param user_id
|
576
|
-
# @param account_id
|
580
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
577
581
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
578
582
|
def reinvite_user_with_http_info(user_id, account_id)
|
579
583
|
if @api_client.config.debugging
|
@@ -593,6 +597,8 @@ module DocuSign_Rooms
|
|
593
597
|
header_params = {}
|
594
598
|
# HTTP header 'Accept' (if needed)
|
595
599
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
600
|
+
# HTTP header 'Content-Type'
|
601
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
596
602
|
|
597
603
|
# form parameters
|
598
604
|
form_params = {}
|
@@ -615,7 +621,7 @@ module DocuSign_Rooms
|
|
615
621
|
# Removes a user from the company.
|
616
622
|
# Removes the user. Will fail if the user owns any Rooms. The rooms will need to be transferred to other agents before removing.
|
617
623
|
# @param user_id Id of the user you wish to remove.
|
618
|
-
# @param account_id
|
624
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
619
625
|
# @return [nil]
|
620
626
|
def remove_user(user_id, account_id)
|
621
627
|
remove_user_with_http_info(user_id, account_id)
|
@@ -625,7 +631,7 @@ module DocuSign_Rooms
|
|
625
631
|
# Removes a user from the company.
|
626
632
|
# Removes the user. Will fail if the user owns any Rooms. The rooms will need to be transferred to other agents before removing.
|
627
633
|
# @param user_id Id of the user you wish to remove.
|
628
|
-
# @param account_id
|
634
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
629
635
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
630
636
|
def remove_user_with_http_info(user_id, account_id)
|
631
637
|
if @api_client.config.debugging
|
@@ -645,6 +651,8 @@ module DocuSign_Rooms
|
|
645
651
|
header_params = {}
|
646
652
|
# HTTP header 'Accept' (if needed)
|
647
653
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
654
|
+
# HTTP header 'Content-Type'
|
655
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
648
656
|
|
649
657
|
# form parameters
|
650
658
|
form_params = {}
|
@@ -665,9 +673,9 @@ module DocuSign_Rooms
|
|
665
673
|
end
|
666
674
|
|
667
675
|
# Removes the user from the designated office.
|
668
|
-
#
|
669
|
-
# @param user_id
|
670
|
-
# @param account_id
|
676
|
+
# Removes the user from the designated office.
|
677
|
+
# @param user_id The id of the user.
|
678
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
671
679
|
# @param body (optional parameter)
|
672
680
|
# @return [nil]
|
673
681
|
def remove_user_from_office(user_id, account_id, body)
|
@@ -676,9 +684,9 @@ module DocuSign_Rooms
|
|
676
684
|
end
|
677
685
|
|
678
686
|
# Removes the user from the designated office.
|
679
|
-
#
|
680
|
-
# @param user_id
|
681
|
-
# @param account_id
|
687
|
+
# Removes the user from the designated office.
|
688
|
+
# @param user_id The id of the user.
|
689
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
682
690
|
# @param body (optional parameter)
|
683
691
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
684
692
|
def remove_user_from_office_with_http_info(user_id, account_id, body)
|
@@ -721,9 +729,9 @@ module DocuSign_Rooms
|
|
721
729
|
end
|
722
730
|
|
723
731
|
# Removes the user from the designated region.
|
724
|
-
#
|
725
|
-
# @param user_id
|
726
|
-
# @param account_id
|
732
|
+
# Removes the user from the designated region.
|
733
|
+
# @param user_id The id of the user.
|
734
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
727
735
|
# @param body (optional parameter)
|
728
736
|
# @return [nil]
|
729
737
|
def remove_user_from_region(user_id, account_id, body)
|
@@ -732,9 +740,9 @@ module DocuSign_Rooms
|
|
732
740
|
end
|
733
741
|
|
734
742
|
# Removes the user from the designated region.
|
735
|
-
#
|
736
|
-
# @param user_id
|
737
|
-
# @param account_id
|
743
|
+
# Removes the user from the designated region.
|
744
|
+
# @param user_id The id of the user.
|
745
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
738
746
|
# @param body (optional parameter)
|
739
747
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
740
748
|
def remove_user_from_region_with_http_info(user_id, account_id, body)
|
@@ -777,9 +785,9 @@ module DocuSign_Rooms
|
|
777
785
|
end
|
778
786
|
|
779
787
|
# Unlocks the account of the user.
|
780
|
-
#
|
788
|
+
# Unlocks the account of the user.
|
781
789
|
# @param user_id User Id of the user attempting to be unlocked.
|
782
|
-
# @param account_id
|
790
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
783
791
|
# @return [nil]
|
784
792
|
def unlock_user(user_id, account_id)
|
785
793
|
unlock_user_with_http_info(user_id, account_id)
|
@@ -787,9 +795,9 @@ module DocuSign_Rooms
|
|
787
795
|
end
|
788
796
|
|
789
797
|
# Unlocks the account of the user.
|
790
|
-
#
|
798
|
+
# Unlocks the account of the user.
|
791
799
|
# @param user_id User Id of the user attempting to be unlocked.
|
792
|
-
# @param account_id
|
800
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
793
801
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
794
802
|
def unlock_user_with_http_info(user_id, account_id)
|
795
803
|
if @api_client.config.debugging
|
@@ -809,6 +817,8 @@ module DocuSign_Rooms
|
|
809
817
|
header_params = {}
|
810
818
|
# HTTP header 'Accept' (if needed)
|
811
819
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
820
|
+
# HTTP header 'Content-Type'
|
821
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
812
822
|
|
813
823
|
# form parameters
|
814
824
|
form_params = {}
|
@@ -829,9 +839,9 @@ module DocuSign_Rooms
|
|
829
839
|
end
|
830
840
|
|
831
841
|
# Updates user information
|
832
|
-
#
|
833
|
-
# @param user_id
|
834
|
-
# @param account_id
|
842
|
+
# Updates user information
|
843
|
+
# @param user_id The id of the user.
|
844
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
835
845
|
# @param body (optional parameter)
|
836
846
|
# @return [User]
|
837
847
|
def update_user(user_id, account_id, body)
|
@@ -840,9 +850,9 @@ module DocuSign_Rooms
|
|
840
850
|
end
|
841
851
|
|
842
852
|
# Updates user information
|
843
|
-
#
|
844
|
-
# @param user_id
|
845
|
-
# @param account_id
|
853
|
+
# Updates user information
|
854
|
+
# @param user_id The id of the user.
|
855
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
846
856
|
# @param body (optional parameter)
|
847
857
|
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
|
848
858
|
def update_user_with_http_info(user_id, account_id, body)
|
@@ -16,6 +16,7 @@ require 'tempfile'
|
|
16
16
|
require 'typhoeus'
|
17
17
|
require 'uri'
|
18
18
|
require 'jwt'
|
19
|
+
require 'addressable/uri'
|
19
20
|
|
20
21
|
module DocuSign_Rooms
|
21
22
|
class ApiClient
|
@@ -259,8 +260,8 @@ module DocuSign_Rooms
|
|
259
260
|
def build_request_url(path, opts)
|
260
261
|
# Add leading and trailing slashes to path
|
261
262
|
path = "/#{path}".gsub(/\/+/, '/')
|
262
|
-
return URI.encode("https://" + self.get_oauth_base_path + path) if opts[:oauth]
|
263
|
-
URI.encode(@config.base_url + path)
|
263
|
+
return Addressable::URI.encode("https://" + self.get_oauth_base_path + path) if opts[:oauth]
|
264
|
+
Addressable::URI.encode(@config.base_url + path)
|
264
265
|
end
|
265
266
|
|
266
267
|
# Builds the HTTP request body
|
@@ -10,6 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'uri'
|
13
|
+
require 'addressable/uri'
|
13
14
|
|
14
15
|
module DocuSign_Rooms
|
15
16
|
class Configuration
|
@@ -168,7 +169,7 @@ module DocuSign_Rooms
|
|
168
169
|
|
169
170
|
def base_url
|
170
171
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
171
|
-
URI.encode(url)
|
172
|
+
Addressable::URI.encode(url)
|
172
173
|
end
|
173
174
|
|
174
175
|
# Gets API key (with prefix if set).
|
@@ -33,6 +33,8 @@ module DocuSign_Rooms
|
|
33
33
|
|
34
34
|
attr_accessor :base64_contents
|
35
35
|
|
36
|
+
attr_accessor :is_dynamic
|
37
|
+
|
36
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
39
|
def self.attribute_map
|
38
40
|
{
|
@@ -45,7 +47,8 @@ module DocuSign_Rooms
|
|
45
47
|
:'created_date' => :'createdDate',
|
46
48
|
:'is_signed' => :'isSigned',
|
47
49
|
:'content_type' => :'contentType',
|
48
|
-
:'base64_contents' => :'base64Contents'
|
50
|
+
:'base64_contents' => :'base64Contents',
|
51
|
+
:'is_dynamic' => :'isDynamic'
|
49
52
|
}
|
50
53
|
end
|
51
54
|
|
@@ -61,7 +64,8 @@ module DocuSign_Rooms
|
|
61
64
|
:'created_date' => :'DateTime',
|
62
65
|
:'is_signed' => :'BOOLEAN',
|
63
66
|
:'content_type' => :'String',
|
64
|
-
:'base64_contents' => :'String'
|
67
|
+
:'base64_contents' => :'String',
|
68
|
+
:'is_dynamic' => :'BOOLEAN'
|
65
69
|
}
|
66
70
|
end
|
67
71
|
|
@@ -112,6 +116,10 @@ module DocuSign_Rooms
|
|
112
116
|
if attributes.has_key?(:'base64Contents')
|
113
117
|
self.base64_contents = attributes[:'base64Contents']
|
114
118
|
end
|
119
|
+
|
120
|
+
if attributes.has_key?(:'isDynamic')
|
121
|
+
self.is_dynamic = attributes[:'isDynamic']
|
122
|
+
end
|
115
123
|
end
|
116
124
|
|
117
125
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -151,7 +159,8 @@ module DocuSign_Rooms
|
|
151
159
|
created_date == o.created_date &&
|
152
160
|
is_signed == o.is_signed &&
|
153
161
|
content_type == o.content_type &&
|
154
|
-
base64_contents == o.base64_contents
|
162
|
+
base64_contents == o.base64_contents &&
|
163
|
+
is_dynamic == o.is_dynamic
|
155
164
|
end
|
156
165
|
|
157
166
|
# @see the `==` method
|
@@ -163,7 +172,7 @@ module DocuSign_Rooms
|
|
163
172
|
# Calculates hash code according to all attributes.
|
164
173
|
# @return [Fixnum] Hash code
|
165
174
|
def hash
|
166
|
-
[document_id, name, room_id, owner_id, size, folder_id, created_date, is_signed, content_type, base64_contents].hash
|
175
|
+
[document_id, name, room_id, owner_id, size, folder_id, created_date, is_signed, content_type, base64_contents, is_dynamic].hash
|
167
176
|
end
|
168
177
|
|
169
178
|
# Builds the object from hash
|
@@ -29,8 +29,6 @@ module DocuSign_Rooms
|
|
29
29
|
|
30
30
|
attr_accessor :can_export_room_activity_details_people
|
31
31
|
|
32
|
-
attr_accessor :is_visible_in_rooms
|
33
|
-
|
34
32
|
attr_accessor :can_copy_room_details
|
35
33
|
|
36
34
|
attr_accessor :can_edit_any_room_role
|
@@ -75,6 +73,8 @@ module DocuSign_Rooms
|
|
75
73
|
|
76
74
|
attr_accessor :can_share_docs_not_owned
|
77
75
|
|
76
|
+
attr_accessor :can_create_form_templates
|
77
|
+
|
78
78
|
attr_accessor :can_add_tasks_to_any_task_lists
|
79
79
|
|
80
80
|
attr_accessor :can_edit_editable_tasks
|
@@ -146,7 +146,6 @@ module DocuSign_Rooms
|
|
146
146
|
:'can_delete_owned_rooms' => :'canDeleteOwnedRooms',
|
147
147
|
:'auto_access_to_rooms' => :'autoAccessToRooms',
|
148
148
|
:'can_export_room_activity_details_people' => :'canExportRoomActivityDetailsPeople',
|
149
|
-
:'is_visible_in_rooms' => :'isVisibleInRooms',
|
150
149
|
:'can_copy_room_details' => :'canCopyRoomDetails',
|
151
150
|
:'can_edit_any_room_role' => :'canEditAnyRoomRole',
|
152
151
|
:'can_edit_invited_room_role' => :'canEditInvitedRoomRole',
|
@@ -169,6 +168,7 @@ module DocuSign_Rooms
|
|
169
168
|
:'can_manage_shared_docs' => :'canManageSharedDocs',
|
170
169
|
:'can_manage_form_groups' => :'canManageFormGroups',
|
171
170
|
:'can_share_docs_not_owned' => :'canShareDocsNotOwned',
|
171
|
+
:'can_create_form_templates' => :'canCreateFormTemplates',
|
172
172
|
:'can_add_tasks_to_any_task_lists' => :'canAddTasksToAnyTaskLists',
|
173
173
|
:'can_edit_editable_tasks' => :'canEditEditableTasks',
|
174
174
|
:'can_edit_any_tasks' => :'canEditAnyTasks',
|
@@ -213,7 +213,6 @@ module DocuSign_Rooms
|
|
213
213
|
:'can_delete_owned_rooms' => :'BOOLEAN',
|
214
214
|
:'auto_access_to_rooms' => :'BOOLEAN',
|
215
215
|
:'can_export_room_activity_details_people' => :'BOOLEAN',
|
216
|
-
:'is_visible_in_rooms' => :'BOOLEAN',
|
217
216
|
:'can_copy_room_details' => :'BOOLEAN',
|
218
217
|
:'can_edit_any_room_role' => :'BOOLEAN',
|
219
218
|
:'can_edit_invited_room_role' => :'BOOLEAN',
|
@@ -236,6 +235,7 @@ module DocuSign_Rooms
|
|
236
235
|
:'can_manage_shared_docs' => :'BOOLEAN',
|
237
236
|
:'can_manage_form_groups' => :'BOOLEAN',
|
238
237
|
:'can_share_docs_not_owned' => :'BOOLEAN',
|
238
|
+
:'can_create_form_templates' => :'BOOLEAN',
|
239
239
|
:'can_add_tasks_to_any_task_lists' => :'BOOLEAN',
|
240
240
|
:'can_edit_editable_tasks' => :'BOOLEAN',
|
241
241
|
:'can_edit_any_tasks' => :'BOOLEAN',
|
@@ -309,10 +309,6 @@ module DocuSign_Rooms
|
|
309
309
|
self.can_export_room_activity_details_people = attributes[:'canExportRoomActivityDetailsPeople']
|
310
310
|
end
|
311
311
|
|
312
|
-
if attributes.has_key?(:'isVisibleInRooms')
|
313
|
-
self.is_visible_in_rooms = attributes[:'isVisibleInRooms']
|
314
|
-
end
|
315
|
-
|
316
312
|
if attributes.has_key?(:'canCopyRoomDetails')
|
317
313
|
self.can_copy_room_details = attributes[:'canCopyRoomDetails']
|
318
314
|
end
|
@@ -401,6 +397,10 @@ module DocuSign_Rooms
|
|
401
397
|
self.can_share_docs_not_owned = attributes[:'canShareDocsNotOwned']
|
402
398
|
end
|
403
399
|
|
400
|
+
if attributes.has_key?(:'canCreateFormTemplates')
|
401
|
+
self.can_create_form_templates = attributes[:'canCreateFormTemplates']
|
402
|
+
end
|
403
|
+
|
404
404
|
if attributes.has_key?(:'canAddTasksToAnyTaskLists')
|
405
405
|
self.can_add_tasks_to_any_task_lists = attributes[:'canAddTasksToAnyTaskLists']
|
406
406
|
end
|
@@ -548,7 +548,6 @@ module DocuSign_Rooms
|
|
548
548
|
can_delete_owned_rooms == o.can_delete_owned_rooms &&
|
549
549
|
auto_access_to_rooms == o.auto_access_to_rooms &&
|
550
550
|
can_export_room_activity_details_people == o.can_export_room_activity_details_people &&
|
551
|
-
is_visible_in_rooms == o.is_visible_in_rooms &&
|
552
551
|
can_copy_room_details == o.can_copy_room_details &&
|
553
552
|
can_edit_any_room_role == o.can_edit_any_room_role &&
|
554
553
|
can_edit_invited_room_role == o.can_edit_invited_room_role &&
|
@@ -571,6 +570,7 @@ module DocuSign_Rooms
|
|
571
570
|
can_manage_shared_docs == o.can_manage_shared_docs &&
|
572
571
|
can_manage_form_groups == o.can_manage_form_groups &&
|
573
572
|
can_share_docs_not_owned == o.can_share_docs_not_owned &&
|
573
|
+
can_create_form_templates == o.can_create_form_templates &&
|
574
574
|
can_add_tasks_to_any_task_lists == o.can_add_tasks_to_any_task_lists &&
|
575
575
|
can_edit_editable_tasks == o.can_edit_editable_tasks &&
|
576
576
|
can_edit_any_tasks == o.can_edit_any_tasks &&
|
@@ -612,7 +612,7 @@ module DocuSign_Rooms
|
|
612
612
|
# Calculates hash code according to all attributes.
|
613
613
|
# @return [Fixnum] Hash code
|
614
614
|
def hash
|
615
|
-
[can_add_users_to_rooms, can_create_rooms, can_submit_rooms_for_review, can_close_rooms, can_reopen_rooms, can_delete_owned_rooms, auto_access_to_rooms, can_export_room_activity_details_people,
|
615
|
+
[can_add_users_to_rooms, can_create_rooms, can_submit_rooms_for_review, can_close_rooms, can_reopen_rooms, can_delete_owned_rooms, auto_access_to_rooms, can_export_room_activity_details_people, can_copy_room_details, can_edit_any_room_role, can_edit_invited_room_role, can_edit_room_side, can_manage_any_user_room_access, can_manage_invited_user_room_access, is_hidden_in_room, can_manage_room_owners, can_delete_rooms, can_connect_to_mortgage_cadence, can_view_room_details, can_view_and_edit_room_details, can_send_room_details_to_lone_wolf, can_add_documents, can_add_documents_from_form_groups, can_add_documents_from_form_libraries, documents_viewable_by_others_in_room_from_office, documents_auto_owned_by_peers, can_delete_owned_documents, can_manage_shared_docs, can_manage_form_groups, can_share_docs_not_owned, can_create_form_templates, can_add_tasks_to_any_task_lists, can_edit_editable_tasks, can_edit_any_tasks, can_delete_deletable_tasks, can_delete_any_tasks, can_apply_task_list, can_remove_any_task_list, can_submit_task_list, can_auto_submit_task_list, can_review_task_list, can_auto_approve_task_list, can_manage_task_templates_for_all_regions_all_offices, can_apply_room_templates, can_add_tasks_to_rooms, can_review_any_task, can_manage_docs_on_any_task, can_add_member_and_set_role_lower_access_level, can_add_member_and_set_role_same_access_level, can_change_member_role_lower_access_level, can_change_member_role_same_access_level, can_manage_member_lower_access_level, can_manage_member_same_access_level, can_remove_company_member_lower_access_level, can_remove_company_member_same_access_level, can_manage_account, can_manage_logo, can_manage_roles_and_permissions, can_manage_room_details, can_manage_room_templates, can_manage_integration_settings].hash
|
616
616
|
end
|
617
617
|
|
618
618
|
# Builds the object from hash
|
@@ -0,0 +1,30 @@
|
|
1
|
+
=begin
|
2
|
+
#DocuSign Rooms API - v2
|
3
|
+
|
4
|
+
#An API for an integrator to access the features of DocuSign Rooms
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_Rooms
|
15
|
+
class RolesFilterContextTypes
|
16
|
+
|
17
|
+
ALL_ROLES = 'AllRoles'.freeze
|
18
|
+
ASSIGNABLE_ROLES_BASED_ON_COMPANY_PERMISSIONS = 'AssignableRolesBasedOnCompanyPermissions'.freeze
|
19
|
+
ASSIGNABLE_ROLES_BASED_ON_ALL_PERMISSIONS = 'AssignableRolesBasedOnAllPermissions'.freeze
|
20
|
+
|
21
|
+
# Builds the enum from string
|
22
|
+
# @param [String] The enum value in the form of the string
|
23
|
+
# @return [String] The enum value
|
24
|
+
def build_from_hash(value)
|
25
|
+
constantValues = RolesFilterContextTypes.constants.select { |c| RolesFilterContextTypes::const_get(c) == value }
|
26
|
+
raise "Invalid ENUM value #{value} for class #RolesFilterContextTypes" if constantValues.empty?
|
27
|
+
value
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|