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
@@ -37,8 +37,8 @@ module DocuSign_Rooms
|
|
37
37
|
end
|
38
38
|
|
39
39
|
# Creates a new region for a company
|
40
|
-
#
|
41
|
-
# @param account_id
|
40
|
+
# Creates a new region for a company
|
41
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
42
42
|
# @param body (optional parameter)
|
43
43
|
# @return [Region]
|
44
44
|
def create_region(account_id, body)
|
@@ -47,8 +47,8 @@ module DocuSign_Rooms
|
|
47
47
|
end
|
48
48
|
|
49
49
|
# Creates a new region for a company
|
50
|
-
#
|
51
|
-
# @param account_id
|
50
|
+
# Creates a new region for a company
|
51
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
52
52
|
# @param body (optional parameter)
|
53
53
|
# @return [Array<(Region, Fixnum, Hash)>] Region data, response status code and response headers
|
54
54
|
def create_region_with_http_info(account_id, body)
|
@@ -90,9 +90,9 @@ module DocuSign_Rooms
|
|
90
90
|
end
|
91
91
|
|
92
92
|
# Delete a region.
|
93
|
-
#
|
93
|
+
# Delete a region.
|
94
94
|
# @param region_id Id of the desired region
|
95
|
-
# @param account_id
|
95
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
96
96
|
# @return [nil]
|
97
97
|
def delete_region(region_id, account_id)
|
98
98
|
delete_region_with_http_info(region_id, account_id)
|
@@ -100,9 +100,9 @@ module DocuSign_Rooms
|
|
100
100
|
end
|
101
101
|
|
102
102
|
# Delete a region.
|
103
|
-
#
|
103
|
+
# Delete a region.
|
104
104
|
# @param region_id Id of the desired region
|
105
|
-
# @param account_id
|
105
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
106
106
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
107
107
|
def delete_region_with_http_info(region_id, account_id)
|
108
108
|
if @api_client.config.debugging
|
@@ -122,6 +122,8 @@ module DocuSign_Rooms
|
|
122
122
|
header_params = {}
|
123
123
|
# HTTP header 'Accept' (if needed)
|
124
124
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
125
|
+
# HTTP header 'Content-Type'
|
126
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
125
127
|
|
126
128
|
# form parameters
|
127
129
|
form_params = {}
|
@@ -142,9 +144,9 @@ module DocuSign_Rooms
|
|
142
144
|
end
|
143
145
|
|
144
146
|
# Get information about the region with the given regionId
|
145
|
-
#
|
147
|
+
# Get information about the region with the given regionId
|
146
148
|
# @param region_id Id of the desired region
|
147
|
-
# @param account_id
|
149
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
148
150
|
# @return [Region]
|
149
151
|
def get_region(region_id, account_id)
|
150
152
|
data, _status_code, _headers = get_region_with_http_info(region_id, account_id)
|
@@ -152,9 +154,9 @@ module DocuSign_Rooms
|
|
152
154
|
end
|
153
155
|
|
154
156
|
# Get information about the region with the given regionId
|
155
|
-
#
|
157
|
+
# Get information about the region with the given regionId
|
156
158
|
# @param region_id Id of the desired region
|
157
|
-
# @param account_id
|
159
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
158
160
|
# @return [Array<(Region, Fixnum, Hash)>] Region data, response status code and response headers
|
159
161
|
def get_region_with_http_info(region_id, account_id)
|
160
162
|
if @api_client.config.debugging
|
@@ -174,6 +176,8 @@ module DocuSign_Rooms
|
|
174
176
|
header_params = {}
|
175
177
|
# HTTP header 'Accept' (if needed)
|
176
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'])
|
177
181
|
|
178
182
|
# form parameters
|
179
183
|
form_params = {}
|
@@ -195,9 +199,9 @@ module DocuSign_Rooms
|
|
195
199
|
end
|
196
200
|
|
197
201
|
# Get region reference counts.
|
198
|
-
#
|
202
|
+
# This method returns a list of each type of object and the number of objects of that type referencing the specified region.
|
199
203
|
# @param region_id Id of the desired region
|
200
|
-
# @param account_id
|
204
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
201
205
|
# @return [RegionReferenceCountList]
|
202
206
|
def get_region_reference_counts(region_id, account_id)
|
203
207
|
data, _status_code, _headers = get_region_reference_counts_with_http_info(region_id, account_id)
|
@@ -205,9 +209,9 @@ module DocuSign_Rooms
|
|
205
209
|
end
|
206
210
|
|
207
211
|
# Get region reference counts.
|
208
|
-
#
|
212
|
+
# This method returns a list of each type of object and the number of objects of that type referencing the specified region.
|
209
213
|
# @param region_id Id of the desired region
|
210
|
-
# @param account_id
|
214
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
211
215
|
# @return [Array<(RegionReferenceCountList, Fixnum, Hash)>] RegionReferenceCountList data, response status code and response headers
|
212
216
|
def get_region_reference_counts_with_http_info(region_id, account_id)
|
213
217
|
if @api_client.config.debugging
|
@@ -227,6 +231,8 @@ module DocuSign_Rooms
|
|
227
231
|
header_params = {}
|
228
232
|
# HTTP header 'Accept' (if needed)
|
229
233
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
234
|
+
# HTTP header 'Content-Type'
|
235
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
230
236
|
|
231
237
|
# form parameters
|
232
238
|
form_params = {}
|
@@ -247,9 +253,9 @@ module DocuSign_Rooms
|
|
247
253
|
return data, status_code, headers
|
248
254
|
end
|
249
255
|
|
250
|
-
# Get account
|
251
|
-
#
|
252
|
-
# @param account_id
|
256
|
+
# Get account regions.
|
257
|
+
# Returns a list of regions that are associated with a Rooms account.
|
258
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
253
259
|
# @param DocuSign_Rooms::GetRegionsOptions Options for modifying the behavior of the function.
|
254
260
|
# @return [RegionSummaryList]
|
255
261
|
def get_regions(account_id, options = DocuSign_Rooms::GetRegionsOptions.default)
|
@@ -257,9 +263,9 @@ module DocuSign_Rooms
|
|
257
263
|
return data
|
258
264
|
end
|
259
265
|
|
260
|
-
# Get account
|
261
|
-
#
|
262
|
-
# @param account_id
|
266
|
+
# Get account regions.
|
267
|
+
# Returns a list of regions that are associated with a Rooms account.
|
268
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
263
269
|
# @param DocuSign_Rooms::GetRegionsOptions Options for modifying the behavior of the function.
|
264
270
|
# @return [Array<(RegionSummaryList, Fixnum, Hash)>] RegionSummaryList data, response status code and response headers
|
265
271
|
def get_regions_with_http_info(account_id, options = DocuSign_Rooms::GetRegionsOptions.default)
|
@@ -281,6 +287,8 @@ module DocuSign_Rooms
|
|
281
287
|
header_params = {}
|
282
288
|
# HTTP header 'Accept' (if needed)
|
283
289
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
290
|
+
# HTTP header 'Content-Type'
|
291
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
284
292
|
|
285
293
|
# form parameters
|
286
294
|
form_params = {}
|
@@ -14,7 +14,7 @@ require "uri"
|
|
14
14
|
module DocuSign_Rooms
|
15
15
|
|
16
16
|
class GetRoleOptions
|
17
|
-
#
|
17
|
+
# When set to true, the response includes the `isAssigned` property, which specifies whether the role is currently assigned to any users. The default is false.
|
18
18
|
attr_accessor :include_is_assigned
|
19
19
|
|
20
20
|
def self.default
|
@@ -23,16 +23,19 @@ module DocuSign_Rooms
|
|
23
23
|
end
|
24
24
|
|
25
25
|
class GetRolesOptions
|
26
|
-
#
|
26
|
+
# Returns assignable roles based on calling user's company permissions. DEPRECATED: Please use filterContext parameter to get the assignable roles. AssignableRolesBasedOnCompanyPermissions returns same results as onlyAssignable=true
|
27
27
|
attr_accessor :only_assignable
|
28
28
|
|
29
|
-
#
|
29
|
+
# Attribute establishing filter context for roles being returned - AllRoles, AssignableRolesBasedOnCompanyPermissions, AssignableRolesBasedOnAllPermissions
|
30
|
+
attr_accessor :filter_context
|
31
|
+
|
32
|
+
# A search filter that returns roles by the beginning of the role name. You can enter the beginning of the role name only to return all of the roles that begin with the text that you entered.
|
30
33
|
attr_accessor :filter
|
31
34
|
|
32
|
-
#
|
35
|
+
# The starting zero-based index position of the result set. The default value is 0.
|
33
36
|
attr_accessor :start_position
|
34
37
|
|
35
|
-
#
|
38
|
+
# The number of results to return. This value must be a number between `1` and `100` (default).
|
36
39
|
attr_accessor :count
|
37
40
|
|
38
41
|
def self.default
|
@@ -49,8 +52,8 @@ module DocuSign_Rooms
|
|
49
52
|
end
|
50
53
|
|
51
54
|
# Creates a role.
|
52
|
-
#
|
53
|
-
# @param account_id
|
55
|
+
# Creates a new company role in Rooms
|
56
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
54
57
|
# @param body (optional parameter)
|
55
58
|
# @return [Role]
|
56
59
|
def create_role(account_id, body)
|
@@ -59,8 +62,8 @@ module DocuSign_Rooms
|
|
59
62
|
end
|
60
63
|
|
61
64
|
# Creates a role.
|
62
|
-
#
|
63
|
-
# @param account_id
|
65
|
+
# Creates a new company role in Rooms
|
66
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
64
67
|
# @param body (optional parameter)
|
65
68
|
# @return [Array<(Role, Fixnum, Hash)>] Role data, response status code and response headers
|
66
69
|
def create_role_with_http_info(account_id, body)
|
@@ -102,9 +105,9 @@ module DocuSign_Rooms
|
|
102
105
|
end
|
103
106
|
|
104
107
|
# Deletes the role with the given roleId.
|
105
|
-
#
|
106
|
-
# @param role_id
|
107
|
-
# @param account_id
|
108
|
+
# Deletes a role from a company account in Rooms
|
109
|
+
# @param role_id The id of the role.
|
110
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
108
111
|
# @return [nil]
|
109
112
|
def delete_role(role_id, account_id)
|
110
113
|
delete_role_with_http_info(role_id, account_id)
|
@@ -112,9 +115,9 @@ module DocuSign_Rooms
|
|
112
115
|
end
|
113
116
|
|
114
117
|
# Deletes the role with the given roleId.
|
115
|
-
#
|
116
|
-
# @param role_id
|
117
|
-
# @param account_id
|
118
|
+
# Deletes a role from a company account in Rooms
|
119
|
+
# @param role_id The id of the role.
|
120
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
118
121
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
119
122
|
def delete_role_with_http_info(role_id, account_id)
|
120
123
|
if @api_client.config.debugging
|
@@ -134,6 +137,8 @@ module DocuSign_Rooms
|
|
134
137
|
header_params = {}
|
135
138
|
# HTTP header 'Accept' (if needed)
|
136
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'])
|
137
142
|
|
138
143
|
# form parameters
|
139
144
|
form_params = {}
|
@@ -154,9 +159,9 @@ module DocuSign_Rooms
|
|
154
159
|
end
|
155
160
|
|
156
161
|
# Get information about the role with the given roleId.
|
157
|
-
#
|
158
|
-
# @param role_id
|
159
|
-
# @param account_id
|
162
|
+
# Get information about the role with the given roleId.
|
163
|
+
# @param role_id The id of the role.
|
164
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
160
165
|
# @param DocuSign_Rooms::GetRoleOptions Options for modifying the behavior of the function.
|
161
166
|
# @return [Role]
|
162
167
|
def get_role(role_id, account_id, options = DocuSign_Rooms::GetRoleOptions.default)
|
@@ -165,9 +170,9 @@ module DocuSign_Rooms
|
|
165
170
|
end
|
166
171
|
|
167
172
|
# Get information about the role with the given roleId.
|
168
|
-
#
|
169
|
-
# @param role_id
|
170
|
-
# @param account_id
|
173
|
+
# Get information about the role with the given roleId.
|
174
|
+
# @param role_id The id of the role.
|
175
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
171
176
|
# @param DocuSign_Rooms::GetRoleOptions Options for modifying the behavior of the function.
|
172
177
|
# @return [Array<(Role, Fixnum, Hash)>] Role data, response status code and response headers
|
173
178
|
def get_role_with_http_info(role_id, account_id, options = DocuSign_Rooms::GetRoleOptions.default)
|
@@ -189,6 +194,8 @@ module DocuSign_Rooms
|
|
189
194
|
header_params = {}
|
190
195
|
# HTTP header 'Accept' (if needed)
|
191
196
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
197
|
+
# HTTP header 'Content-Type'
|
198
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
192
199
|
|
193
200
|
# form parameters
|
194
201
|
form_params = {}
|
@@ -210,8 +217,8 @@ module DocuSign_Rooms
|
|
210
217
|
end
|
211
218
|
|
212
219
|
# Gets a paged-list of roles in your company
|
213
|
-
#
|
214
|
-
# @param account_id
|
220
|
+
# Returns a list of roles associated with a company account
|
221
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
215
222
|
# @param DocuSign_Rooms::GetRolesOptions Options for modifying the behavior of the function.
|
216
223
|
# @return [RoleSummaryList]
|
217
224
|
def get_roles(account_id, options = DocuSign_Rooms::GetRolesOptions.default)
|
@@ -220,8 +227,8 @@ module DocuSign_Rooms
|
|
220
227
|
end
|
221
228
|
|
222
229
|
# Gets a paged-list of roles in your company
|
223
|
-
#
|
224
|
-
# @param account_id
|
230
|
+
# Returns a list of roles associated with a company account
|
231
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
225
232
|
# @param DocuSign_Rooms::GetRolesOptions Options for modifying the behavior of the function.
|
226
233
|
# @return [Array<(RoleSummaryList, Fixnum, Hash)>] RoleSummaryList data, response status code and response headers
|
227
234
|
def get_roles_with_http_info(account_id, options = DocuSign_Rooms::GetRolesOptions.default)
|
@@ -230,12 +237,16 @@ module DocuSign_Rooms
|
|
230
237
|
end
|
231
238
|
# verify the required parameter 'account_id' is set
|
232
239
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling RolesApi.get_roles" if account_id.nil?
|
240
|
+
if options.filter_context && !['AllRoles', 'AssignableRolesBasedOnCompanyPermissions', 'AssignableRolesBasedOnAllPermissions'].include?(options.filter_context)
|
241
|
+
fail ArgumentError, 'invalid value for "filter_context", must be one of AllRoles, AssignableRolesBasedOnCompanyPermissions, AssignableRolesBasedOnAllPermissions'
|
242
|
+
end
|
233
243
|
# resource path
|
234
244
|
local_var_path = "/v2/accounts/{accountId}/roles".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
235
245
|
|
236
246
|
# query parameters
|
237
247
|
query_params = {}
|
238
248
|
query_params[:'onlyAssignable'] = options.only_assignable if !options.only_assignable.nil?
|
249
|
+
query_params[:'filterContext'] = options.filter_context if !options.filter_context.nil?
|
239
250
|
query_params[:'filter'] = options.filter if !options.filter.nil?
|
240
251
|
query_params[:'startPosition'] = options.start_position if !options.start_position.nil?
|
241
252
|
query_params[:'count'] = options.count if !options.count.nil?
|
@@ -244,6 +255,8 @@ module DocuSign_Rooms
|
|
244
255
|
header_params = {}
|
245
256
|
# HTTP header 'Accept' (if needed)
|
246
257
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
258
|
+
# HTTP header 'Content-Type'
|
259
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
247
260
|
|
248
261
|
# form parameters
|
249
262
|
form_params = {}
|
@@ -265,9 +278,9 @@ module DocuSign_Rooms
|
|
265
278
|
end
|
266
279
|
|
267
280
|
# Updates the role with the given roleId.
|
268
|
-
#
|
269
|
-
# @param role_id
|
270
|
-
# @param account_id
|
281
|
+
# Updates the role with the given roleId.
|
282
|
+
# @param role_id The id of the role.
|
283
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
271
284
|
# @param body (optional parameter)
|
272
285
|
# @return [Role]
|
273
286
|
def update_role(role_id, account_id, body)
|
@@ -276,9 +289,9 @@ module DocuSign_Rooms
|
|
276
289
|
end
|
277
290
|
|
278
291
|
# Updates the role with the given roleId.
|
279
|
-
#
|
280
|
-
# @param role_id
|
281
|
-
# @param account_id
|
292
|
+
# Updates the role with the given roleId.
|
293
|
+
# @param role_id The id of the role.
|
294
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
282
295
|
# @param body (optional parameter)
|
283
296
|
# @return [Array<(Role, Fixnum, Hash)>] Role data, response status code and response headers
|
284
297
|
def update_role_with_http_info(role_id, account_id, body)
|
@@ -22,7 +22,7 @@ module DocuSign_Rooms
|
|
22
22
|
end
|
23
23
|
|
24
24
|
# Retrieves the list of valid room contact types.
|
25
|
-
#
|
25
|
+
# Returns a list of room contact types, such as Buyer, Seller, and Listing Agent.
|
26
26
|
# @return [GlobalRoomContactTypes]
|
27
27
|
def get_room_contact_types()
|
28
28
|
data, _status_code, _headers = get_room_contact_types_with_http_info()
|
@@ -30,7 +30,7 @@ module DocuSign_Rooms
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Retrieves the list of valid room contact types.
|
33
|
-
#
|
33
|
+
# Returns a list of room contact types, such as Buyer, Seller, and Listing Agent.
|
34
34
|
# @return [Array<(GlobalRoomContactTypes, Fixnum, Hash)>] GlobalRoomContactTypes data, response status code and response headers
|
35
35
|
def get_room_contact_types_with_http_info()
|
36
36
|
if @api_client.config.debugging
|
@@ -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 = {}
|
@@ -34,9 +34,9 @@ module DocuSign_Rooms
|
|
34
34
|
end
|
35
35
|
|
36
36
|
# Gets room folders accessible to the calling user.
|
37
|
-
#
|
37
|
+
# Gets a list of room folders in the specified room that are accessible to the current user.
|
38
38
|
# @param room_id The room id from which to retrieve folders.
|
39
|
-
# @param account_id
|
39
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
40
40
|
# @param DocuSign_Rooms::GetRoomFoldersOptions Options for modifying the behavior of the function.
|
41
41
|
# @return [RoomFolderList]
|
42
42
|
def get_room_folders(room_id, account_id, options = DocuSign_Rooms::GetRoomFoldersOptions.default)
|
@@ -45,9 +45,9 @@ module DocuSign_Rooms
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# Gets room folders accessible to the calling user.
|
48
|
-
#
|
48
|
+
# Gets a list of room folders in the specified room that are accessible to the current user.
|
49
49
|
# @param room_id The room id from which to retrieve folders.
|
50
|
-
# @param account_id
|
50
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
51
51
|
# @param DocuSign_Rooms::GetRoomFoldersOptions Options for modifying the behavior of the function.
|
52
52
|
# @return [Array<(RoomFolderList, Fixnum, Hash)>] RoomFolderList data, response status code and response headers
|
53
53
|
def get_room_folders_with_http_info(room_id, account_id, options = DocuSign_Rooms::GetRoomFoldersOptions.default)
|
@@ -70,6 +70,8 @@ module DocuSign_Rooms
|
|
70
70
|
header_params = {}
|
71
71
|
# HTTP header 'Accept' (if needed)
|
72
72
|
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
|
73
|
+
# HTTP header 'Content-Type'
|
74
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/json', 'text/json', 'application/*+json'])
|
73
75
|
|
74
76
|
# form parameters
|
75
77
|
form_params = {}
|
@@ -14,7 +14,7 @@ require "uri"
|
|
14
14
|
module DocuSign_Rooms
|
15
15
|
|
16
16
|
class GetRoomTemplatesOptions
|
17
|
-
# Get all room templates you have access to for this office. Response includes Company and Region level
|
17
|
+
# Get all room templates you have access to for this office. Response includes Company and Region level templates. If onlyAssignable is true, and no officeId is provided, user's default office is assumed.
|
18
18
|
attr_accessor :office_id
|
19
19
|
|
20
20
|
# Get list of templates you have access to. Default value false.
|
@@ -43,8 +43,8 @@ module DocuSign_Rooms
|
|
43
43
|
end
|
44
44
|
|
45
45
|
# Returns all room templates that the active user has access to
|
46
|
-
#
|
47
|
-
# @param account_id
|
46
|
+
# This method returns a list of room templates that the user can use to create a new room. The response includes company and region-level templates
|
47
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
48
48
|
# @param DocuSign_Rooms::GetRoomTemplatesOptions Options for modifying the behavior of the function.
|
49
49
|
# @return [RoomTemplatesSummaryList]
|
50
50
|
def get_room_templates(account_id, options = DocuSign_Rooms::GetRoomTemplatesOptions.default)
|
@@ -53,8 +53,8 @@ module DocuSign_Rooms
|
|
53
53
|
end
|
54
54
|
|
55
55
|
# Returns all room templates that the active user has access to
|
56
|
-
#
|
57
|
-
# @param account_id
|
56
|
+
# This method returns a list of room templates that the user can use to create a new room. The response includes company and region-level templates
|
57
|
+
# @param account_id (Required) The globally unique identifier (GUID) for the account.
|
58
58
|
# @param DocuSign_Rooms::GetRoomTemplatesOptions Options for modifying the behavior of the function.
|
59
59
|
# @return [Array<(RoomTemplatesSummaryList, Fixnum, Hash)>] RoomTemplatesSummaryList data, response status code and response headers
|
60
60
|
def get_room_templates_with_http_info(account_id, options = DocuSign_Rooms::GetRoomTemplatesOptions.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 = {}
|