docusign_rooms 1.0.0.beta → 1.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +7 -56
- data/README.md +1 -1
- data/docusign_rooms.gemspec +1 -0
- data/lib/docusign_rooms/api/accounts_api.rb +7 -5
- data/lib/docusign_rooms/api/activity_types_api.rb +5 -3
- data/lib/docusign_rooms/api/closing_statuses_api.rb +5 -3
- data/lib/docusign_rooms/api/contact_sides_api.rb +5 -3
- data/lib/docusign_rooms/api/countries_api.rb +5 -3
- data/lib/docusign_rooms/api/currencies_api.rb +5 -3
- data/lib/docusign_rooms/api/documents_api.rb +33 -31
- data/lib/docusign_rooms/api/e_sign_permission_profiles_api.rb +7 -5
- data/lib/docusign_rooms/api/external_form_fill_sessions_api.rb +12 -14
- data/lib/docusign_rooms/api/fields_api.rb +11 -9
- data/lib/docusign_rooms/api/financing_types_api.rb +5 -3
- data/lib/docusign_rooms/api/form_details_api.rb +7 -5
- data/lib/docusign_rooms/api/form_groups_api.rb +457 -5
- data/lib/docusign_rooms/api/form_libraries_api.rb +14 -10
- data/lib/docusign_rooms/api/offices_api.rb +42 -36
- data/lib/docusign_rooms/api/origins_of_leads_api.rb +5 -3
- data/lib/docusign_rooms/api/property_types_api.rb +5 -3
- data/lib/docusign_rooms/api/regions_api.rb +40 -34
- data/lib/docusign_rooms/api/roles_api.rb +63 -54
- data/lib/docusign_rooms/api/room_contact_types_api.rb +5 -3
- data/lib/docusign_rooms/api/room_folders_api.rb +7 -5
- data/lib/docusign_rooms/api/room_templates_api.rb +11 -5
- data/lib/docusign_rooms/api/rooms_api.rb +202 -179
- data/lib/docusign_rooms/api/seller_decision_types_api.rb +5 -3
- data/lib/docusign_rooms/api/special_circumstance_types_api.rb +5 -3
- data/lib/docusign_rooms/api/states_api.rb +5 -3
- data/lib/docusign_rooms/api/task_date_types_api.rb +5 -3
- data/lib/docusign_rooms/api/task_list_templates_api.rb +9 -7
- data/lib/docusign_rooms/api/task_lists_api.rb +26 -24
- data/lib/docusign_rooms/api/task_responsibility_types_api.rb +5 -3
- data/lib/docusign_rooms/api/task_statuses_api.rb +5 -3
- data/lib/docusign_rooms/api/time_zones_api.rb +5 -3
- data/lib/docusign_rooms/api/transaction_sides_api.rb +5 -3
- data/lib/docusign_rooms/api/users_api.rb +164 -174
- data/lib/docusign_rooms/client/api_client.rb +3 -2
- data/lib/docusign_rooms/configuration.rb +2 -1
- data/lib/docusign_rooms/models/access_level.rb +32 -0
- data/lib/docusign_rooms/models/account_status.rb +29 -0
- data/lib/docusign_rooms/models/account_summary.rb +1 -35
- data/lib/docusign_rooms/models/assignable_roles.rb +13 -4
- data/lib/docusign_rooms/models/classic_agent_to_invite.rb +10 -1
- data/lib/docusign_rooms/models/classic_manager_to_invite.rb +1 -35
- data/lib/docusign_rooms/models/document.rb +22 -4
- data/lib/docusign_rooms/models/fields_custom_data_filter_type.rb +30 -0
- data/lib/docusign_rooms/models/form_group.rb +214 -0
- data/lib/docusign_rooms/models/form_group_for_create.rb +188 -0
- data/lib/docusign_rooms/models/form_group_for_update.rb +188 -0
- data/lib/docusign_rooms/models/form_group_form_to_assign.rb +197 -0
- data/lib/docusign_rooms/models/form_group_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/form_library_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/form_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/group_form.rb +210 -0
- data/lib/docusign_rooms/models/member_sorting_option.rb +33 -0
- data/lib/docusign_rooms/models/office_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/permissions.rb +79 -16
- data/lib/docusign_rooms/models/product_version.rb +29 -0
- data/lib/docusign_rooms/models/region_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/role.rb +1 -1
- data/lib/docusign_rooms/models/role_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/roles_filter_context_types.rb +30 -0
- data/lib/docusign_rooms/models/room.rb +1 -1
- data/lib/docusign_rooms/models/room_document.rb +40 -4
- data/lib/docusign_rooms/models/room_document_list.rb +10 -1
- data/lib/docusign_rooms/models/room_document_owner.rb +219 -0
- data/lib/docusign_rooms/models/room_folder_list.rb +13 -4
- data/lib/docusign_rooms/models/room_status.rb +31 -0
- data/lib/docusign_rooms/models/room_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/room_templates_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/room_user_sorting_option.rb +33 -0
- data/lib/docusign_rooms/models/room_user_summary.rb +22 -4
- data/lib/docusign_rooms/models/room_users_result.rb +13 -4
- data/lib/docusign_rooms/models/task_list_template_list.rb +13 -4
- data/lib/docusign_rooms/models/user.rb +1 -35
- data/lib/docusign_rooms/models/user_summary.rb +1 -35
- data/lib/docusign_rooms/models/user_summary_list.rb +13 -4
- data/lib/docusign_rooms/models/user_to_invite.rb +1 -35
- data/lib/docusign_rooms/version.rb +1 -1
- data/lib/docusign_rooms.rb +14 -2
- data/runLinter.sh +1 -0
- metadata +113 -60
- checksums.yaml +0 -7
- data/Gemfile.lock +0 -71
- data/docusign_rooms-1.0.0.pre.alpha.gem +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/docusign_rooms/.DS_Store +0 -0
- data/lib/docusign_rooms/client/.DS_Store +0 -0
- data/tests/Gemfile.lock +0 -42
- data/tests/docs/private.pem +0 -27
@@ -25,6 +25,8 @@ module DocuSign_Rooms
|
|
25
25
|
|
26
26
|
attr_accessor :prior_uri
|
27
27
|
|
28
|
+
attr_accessor :total_row_count
|
29
|
+
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
31
|
def self.attribute_map
|
30
32
|
{
|
@@ -33,7 +35,8 @@ module DocuSign_Rooms
|
|
33
35
|
:'start_position' => :'startPosition',
|
34
36
|
:'end_position' => :'endPosition',
|
35
37
|
:'next_uri' => :'nextUri',
|
36
|
-
:'prior_uri' => :'priorUri'
|
38
|
+
:'prior_uri' => :'priorUri',
|
39
|
+
:'total_row_count' => :'totalRowCount'
|
37
40
|
}
|
38
41
|
end
|
39
42
|
|
@@ -45,7 +48,8 @@ module DocuSign_Rooms
|
|
45
48
|
:'start_position' => :'Integer',
|
46
49
|
:'end_position' => :'Integer',
|
47
50
|
:'next_uri' => :'String',
|
48
|
-
:'prior_uri' => :'String'
|
51
|
+
:'prior_uri' => :'String',
|
52
|
+
:'total_row_count' => :'Integer'
|
49
53
|
}
|
50
54
|
end
|
51
55
|
|
@@ -82,6 +86,10 @@ module DocuSign_Rooms
|
|
82
86
|
if attributes.has_key?(:'priorUri')
|
83
87
|
self.prior_uri = attributes[:'priorUri']
|
84
88
|
end
|
89
|
+
|
90
|
+
if attributes.has_key?(:'totalRowCount')
|
91
|
+
self.total_row_count = attributes[:'totalRowCount']
|
92
|
+
end
|
85
93
|
end
|
86
94
|
|
87
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,7 +115,8 @@ module DocuSign_Rooms
|
|
107
115
|
start_position == o.start_position &&
|
108
116
|
end_position == o.end_position &&
|
109
117
|
next_uri == o.next_uri &&
|
110
|
-
prior_uri == o.prior_uri
|
118
|
+
prior_uri == o.prior_uri &&
|
119
|
+
total_row_count == o.total_row_count
|
111
120
|
end
|
112
121
|
|
113
122
|
# @see the `==` method
|
@@ -119,7 +128,7 @@ module DocuSign_Rooms
|
|
119
128
|
# Calculates hash code according to all attributes.
|
120
129
|
# @return [Fixnum] Hash code
|
121
130
|
def hash
|
122
|
-
[forms, result_set_size, start_position, end_position, next_uri, prior_uri].hash
|
131
|
+
[forms, result_set_size, start_position, end_position, next_uri, prior_uri, total_row_count].hash
|
123
132
|
end
|
124
133
|
|
125
134
|
# Builds the object from hash
|
@@ -0,0 +1,210 @@
|
|
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 GroupForm
|
16
|
+
attr_accessor :form_id
|
17
|
+
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
attr_accessor :is_required
|
21
|
+
|
22
|
+
attr_accessor :last_updated_date
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
:'form_id' => :'formId',
|
28
|
+
:'name' => :'name',
|
29
|
+
:'is_required' => :'isRequired',
|
30
|
+
:'last_updated_date' => :'lastUpdatedDate'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# Attribute type mapping.
|
35
|
+
def self.swagger_types
|
36
|
+
{
|
37
|
+
:'form_id' => :'String',
|
38
|
+
:'name' => :'String',
|
39
|
+
:'is_required' => :'BOOLEAN',
|
40
|
+
:'last_updated_date' => :'DateTime'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
def initialize(attributes = {})
|
47
|
+
return unless attributes.is_a?(Hash)
|
48
|
+
|
49
|
+
# convert string to symbol for hash key
|
50
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
|
+
|
52
|
+
if attributes.has_key?(:'formId')
|
53
|
+
self.form_id = attributes[:'formId']
|
54
|
+
end
|
55
|
+
|
56
|
+
if attributes.has_key?(:'name')
|
57
|
+
self.name = attributes[:'name']
|
58
|
+
end
|
59
|
+
|
60
|
+
if attributes.has_key?(:'isRequired')
|
61
|
+
self.is_required = attributes[:'isRequired']
|
62
|
+
end
|
63
|
+
|
64
|
+
if attributes.has_key?(:'lastUpdatedDate')
|
65
|
+
self.last_updated_date = attributes[:'lastUpdatedDate']
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
70
|
+
# @return Array for valid properties with the reasons
|
71
|
+
def list_invalid_properties
|
72
|
+
invalid_properties = Array.new
|
73
|
+
invalid_properties
|
74
|
+
end
|
75
|
+
|
76
|
+
# Check to see if the all the properties in the model are valid
|
77
|
+
# @return true if the model is valid
|
78
|
+
def valid?
|
79
|
+
true
|
80
|
+
end
|
81
|
+
|
82
|
+
# Checks equality by comparing each attribute.
|
83
|
+
# @param [Object] Object to be compared
|
84
|
+
def ==(o)
|
85
|
+
return true if self.equal?(o)
|
86
|
+
self.class == o.class &&
|
87
|
+
form_id == o.form_id &&
|
88
|
+
name == o.name &&
|
89
|
+
is_required == o.is_required &&
|
90
|
+
last_updated_date == o.last_updated_date
|
91
|
+
end
|
92
|
+
|
93
|
+
# @see the `==` method
|
94
|
+
# @param [Object] Object to be compared
|
95
|
+
def eql?(o)
|
96
|
+
self == o
|
97
|
+
end
|
98
|
+
|
99
|
+
# Calculates hash code according to all attributes.
|
100
|
+
# @return [Fixnum] Hash code
|
101
|
+
def hash
|
102
|
+
[form_id, name, is_required, last_updated_date].hash
|
103
|
+
end
|
104
|
+
|
105
|
+
# Builds the object from hash
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
107
|
+
# @return [Object] Returns the model itself
|
108
|
+
def build_from_hash(attributes)
|
109
|
+
return nil unless attributes.is_a?(Hash)
|
110
|
+
self.class.swagger_types.each_pair do |key, type|
|
111
|
+
if type =~ /\AArray<(.*)>/i
|
112
|
+
# check to ensure the input is an array given that the attribute
|
113
|
+
# is documented as an array but the input is not
|
114
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
115
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
116
|
+
end
|
117
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
118
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
119
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
120
|
+
end
|
121
|
+
|
122
|
+
self
|
123
|
+
end
|
124
|
+
|
125
|
+
# Deserializes the data based on type
|
126
|
+
# @param string type Data type
|
127
|
+
# @param string value Value to be deserialized
|
128
|
+
# @return [Object] Deserialized data
|
129
|
+
def _deserialize(type, value)
|
130
|
+
case type.to_sym
|
131
|
+
when :DateTime
|
132
|
+
DateTime.parse(value)
|
133
|
+
when :Date
|
134
|
+
Date.parse(value)
|
135
|
+
when :String
|
136
|
+
value.to_s
|
137
|
+
when :Integer
|
138
|
+
value.to_i
|
139
|
+
when :Float
|
140
|
+
value.to_f
|
141
|
+
when :BOOLEAN
|
142
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
143
|
+
true
|
144
|
+
else
|
145
|
+
false
|
146
|
+
end
|
147
|
+
when :Object
|
148
|
+
# generic object (usually a Hash), return directly
|
149
|
+
value
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
153
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
156
|
+
{}.tap do |hash|
|
157
|
+
value.each do |k, v|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
else # model
|
162
|
+
temp_model = DocuSign_Rooms.const_get(type).new
|
163
|
+
temp_model.build_from_hash(value)
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# Returns the string representation of the object
|
168
|
+
# @return [String] String presentation of the object
|
169
|
+
def to_s
|
170
|
+
to_hash.to_s
|
171
|
+
end
|
172
|
+
|
173
|
+
# to_body is an alias to to_hash (backward compatibility)
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
175
|
+
def to_body
|
176
|
+
to_hash
|
177
|
+
end
|
178
|
+
|
179
|
+
# Returns the object in the form of hash
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
181
|
+
def to_hash
|
182
|
+
hash = {}
|
183
|
+
self.class.attribute_map.each_pair do |attr, param|
|
184
|
+
value = self.send(attr)
|
185
|
+
next if value.nil?
|
186
|
+
hash[param] = _to_hash(value)
|
187
|
+
end
|
188
|
+
hash
|
189
|
+
end
|
190
|
+
|
191
|
+
# Outputs non-array value in the form of hash
|
192
|
+
# For object, use to_hash. Otherwise, just return the value
|
193
|
+
# @param [Object] value Any valid value
|
194
|
+
# @return [Hash] Returns the value in the form of hash
|
195
|
+
def _to_hash(value)
|
196
|
+
if value.is_a?(Array)
|
197
|
+
value.compact.map { |v| _to_hash(v) }
|
198
|
+
elsif value.is_a?(Hash)
|
199
|
+
{}.tap do |hash|
|
200
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
201
|
+
end
|
202
|
+
elsif value.respond_to? :to_hash
|
203
|
+
value.to_hash
|
204
|
+
else
|
205
|
+
value
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
end
|
210
|
+
end
|
@@ -0,0 +1,33 @@
|
|
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 MemberSortingOption
|
16
|
+
|
17
|
+
FIRST_NAME_ASC = 'FirstNameAsc'.freeze
|
18
|
+
LAST_NAME_ASC = 'LastNameAsc'.freeze
|
19
|
+
EMAIL_ASC = 'EmailAsc'.freeze
|
20
|
+
FIRST_NAME_DESC = 'FirstNameDesc'.freeze
|
21
|
+
LAST_NAME_DESC = 'LastNameDesc'.freeze
|
22
|
+
EMAIL_DESC = 'EmailDesc'.freeze
|
23
|
+
|
24
|
+
# Builds the enum from string
|
25
|
+
# @param [String] The enum value in the form of the string
|
26
|
+
# @return [String] The enum value
|
27
|
+
def build_from_hash(value)
|
28
|
+
constantValues = MemberSortingOption.constants.select { |c| MemberSortingOption::const_get(c) == value }
|
29
|
+
raise "Invalid ENUM value #{value} for class #MemberSortingOption" if constantValues.empty?
|
30
|
+
value
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -25,6 +25,8 @@ module DocuSign_Rooms
|
|
25
25
|
|
26
26
|
attr_accessor :prior_uri
|
27
27
|
|
28
|
+
attr_accessor :total_row_count
|
29
|
+
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
31
|
def self.attribute_map
|
30
32
|
{
|
@@ -33,7 +35,8 @@ module DocuSign_Rooms
|
|
33
35
|
:'start_position' => :'startPosition',
|
34
36
|
:'end_position' => :'endPosition',
|
35
37
|
:'next_uri' => :'nextUri',
|
36
|
-
:'prior_uri' => :'priorUri'
|
38
|
+
:'prior_uri' => :'priorUri',
|
39
|
+
:'total_row_count' => :'totalRowCount'
|
37
40
|
}
|
38
41
|
end
|
39
42
|
|
@@ -45,7 +48,8 @@ module DocuSign_Rooms
|
|
45
48
|
:'start_position' => :'Integer',
|
46
49
|
:'end_position' => :'Integer',
|
47
50
|
:'next_uri' => :'String',
|
48
|
-
:'prior_uri' => :'String'
|
51
|
+
:'prior_uri' => :'String',
|
52
|
+
:'total_row_count' => :'Integer'
|
49
53
|
}
|
50
54
|
end
|
51
55
|
|
@@ -82,6 +86,10 @@ module DocuSign_Rooms
|
|
82
86
|
if attributes.has_key?(:'priorUri')
|
83
87
|
self.prior_uri = attributes[:'priorUri']
|
84
88
|
end
|
89
|
+
|
90
|
+
if attributes.has_key?(:'totalRowCount')
|
91
|
+
self.total_row_count = attributes[:'totalRowCount']
|
92
|
+
end
|
85
93
|
end
|
86
94
|
|
87
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,7 +115,8 @@ module DocuSign_Rooms
|
|
107
115
|
start_position == o.start_position &&
|
108
116
|
end_position == o.end_position &&
|
109
117
|
next_uri == o.next_uri &&
|
110
|
-
prior_uri == o.prior_uri
|
118
|
+
prior_uri == o.prior_uri &&
|
119
|
+
total_row_count == o.total_row_count
|
111
120
|
end
|
112
121
|
|
113
122
|
# @see the `==` method
|
@@ -119,7 +128,7 @@ module DocuSign_Rooms
|
|
119
128
|
# Calculates hash code according to all attributes.
|
120
129
|
# @return [Fixnum] Hash code
|
121
130
|
def hash
|
122
|
-
[office_summaries, result_set_size, start_position, end_position, next_uri, prior_uri].hash
|
131
|
+
[office_summaries, result_set_size, start_position, end_position, next_uri, prior_uri, total_row_count].hash
|
123
132
|
end
|
124
133
|
|
125
134
|
# Builds the object from hash
|
@@ -29,18 +29,26 @@ 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
|
37
35
|
|
38
36
|
attr_accessor :can_edit_invited_room_role
|
39
37
|
|
38
|
+
attr_accessor :can_edit_room_side
|
39
|
+
|
40
40
|
attr_accessor :can_manage_any_user_room_access
|
41
41
|
|
42
42
|
attr_accessor :can_manage_invited_user_room_access
|
43
43
|
|
44
|
+
attr_accessor :is_hidden_in_room
|
45
|
+
|
46
|
+
attr_accessor :can_manage_room_owners
|
47
|
+
|
48
|
+
attr_accessor :can_delete_rooms
|
49
|
+
|
50
|
+
attr_accessor :can_connect_to_mortgage_cadence
|
51
|
+
|
44
52
|
attr_accessor :can_view_room_details
|
45
53
|
|
46
54
|
attr_accessor :can_view_and_edit_room_details
|
@@ -65,6 +73,8 @@ module DocuSign_Rooms
|
|
65
73
|
|
66
74
|
attr_accessor :can_share_docs_not_owned
|
67
75
|
|
76
|
+
attr_accessor :can_create_form_templates
|
77
|
+
|
68
78
|
attr_accessor :can_add_tasks_to_any_task_lists
|
69
79
|
|
70
80
|
attr_accessor :can_edit_editable_tasks
|
@@ -93,7 +103,9 @@ module DocuSign_Rooms
|
|
93
103
|
|
94
104
|
attr_accessor :can_add_tasks_to_rooms
|
95
105
|
|
96
|
-
attr_accessor :
|
106
|
+
attr_accessor :can_review_any_task
|
107
|
+
|
108
|
+
attr_accessor :can_manage_docs_on_any_task
|
97
109
|
|
98
110
|
attr_accessor :can_add_member_and_set_role_lower_access_level
|
99
111
|
|
@@ -115,6 +127,8 @@ module DocuSign_Rooms
|
|
115
127
|
|
116
128
|
attr_accessor :can_manage_logo
|
117
129
|
|
130
|
+
attr_accessor :can_manage_roles_and_permissions
|
131
|
+
|
118
132
|
attr_accessor :can_manage_room_details
|
119
133
|
|
120
134
|
attr_accessor :can_manage_room_templates
|
@@ -132,12 +146,16 @@ module DocuSign_Rooms
|
|
132
146
|
:'can_delete_owned_rooms' => :'canDeleteOwnedRooms',
|
133
147
|
:'auto_access_to_rooms' => :'autoAccessToRooms',
|
134
148
|
:'can_export_room_activity_details_people' => :'canExportRoomActivityDetailsPeople',
|
135
|
-
:'is_visible_in_rooms' => :'isVisibleInRooms',
|
136
149
|
:'can_copy_room_details' => :'canCopyRoomDetails',
|
137
150
|
:'can_edit_any_room_role' => :'canEditAnyRoomRole',
|
138
151
|
:'can_edit_invited_room_role' => :'canEditInvitedRoomRole',
|
152
|
+
:'can_edit_room_side' => :'canEditRoomSide',
|
139
153
|
:'can_manage_any_user_room_access' => :'canManageAnyUserRoomAccess',
|
140
154
|
:'can_manage_invited_user_room_access' => :'canManageInvitedUserRoomAccess',
|
155
|
+
:'is_hidden_in_room' => :'isHiddenInRoom',
|
156
|
+
:'can_manage_room_owners' => :'canManageRoomOwners',
|
157
|
+
:'can_delete_rooms' => :'canDeleteRooms',
|
158
|
+
:'can_connect_to_mortgage_cadence' => :'canConnectToMortgageCadence',
|
141
159
|
:'can_view_room_details' => :'canViewRoomDetails',
|
142
160
|
:'can_view_and_edit_room_details' => :'canViewAndEditRoomDetails',
|
143
161
|
:'can_send_room_details_to_lone_wolf' => :'canSendRoomDetailsToLoneWolf',
|
@@ -150,6 +168,7 @@ module DocuSign_Rooms
|
|
150
168
|
:'can_manage_shared_docs' => :'canManageSharedDocs',
|
151
169
|
:'can_manage_form_groups' => :'canManageFormGroups',
|
152
170
|
:'can_share_docs_not_owned' => :'canShareDocsNotOwned',
|
171
|
+
:'can_create_form_templates' => :'canCreateFormTemplates',
|
153
172
|
:'can_add_tasks_to_any_task_lists' => :'canAddTasksToAnyTaskLists',
|
154
173
|
:'can_edit_editable_tasks' => :'canEditEditableTasks',
|
155
174
|
:'can_edit_any_tasks' => :'canEditAnyTasks',
|
@@ -164,7 +183,8 @@ module DocuSign_Rooms
|
|
164
183
|
:'can_manage_task_templates_for_all_regions_all_offices' => :'canManageTaskTemplatesForAllRegionsAllOffices',
|
165
184
|
:'can_apply_room_templates' => :'canApplyRoomTemplates',
|
166
185
|
:'can_add_tasks_to_rooms' => :'canAddTasksToRooms',
|
167
|
-
:'
|
186
|
+
:'can_review_any_task' => :'canReviewAnyTask',
|
187
|
+
:'can_manage_docs_on_any_task' => :'canManageDocsOnAnyTask',
|
168
188
|
:'can_add_member_and_set_role_lower_access_level' => :'canAddMemberAndSetRoleLowerAccessLevel',
|
169
189
|
:'can_add_member_and_set_role_same_access_level' => :'canAddMemberAndSetRoleSameAccessLevel',
|
170
190
|
:'can_change_member_role_lower_access_level' => :'canChangeMemberRoleLowerAccessLevel',
|
@@ -175,6 +195,7 @@ module DocuSign_Rooms
|
|
175
195
|
:'can_remove_company_member_same_access_level' => :'canRemoveCompanyMemberSameAccessLevel',
|
176
196
|
:'can_manage_account' => :'canManageAccount',
|
177
197
|
:'can_manage_logo' => :'canManageLogo',
|
198
|
+
:'can_manage_roles_and_permissions' => :'canManageRolesAndPermissions',
|
178
199
|
:'can_manage_room_details' => :'canManageRoomDetails',
|
179
200
|
:'can_manage_room_templates' => :'canManageRoomTemplates',
|
180
201
|
:'can_manage_integration_settings' => :'canManageIntegrationSettings'
|
@@ -192,12 +213,16 @@ module DocuSign_Rooms
|
|
192
213
|
:'can_delete_owned_rooms' => :'BOOLEAN',
|
193
214
|
:'auto_access_to_rooms' => :'BOOLEAN',
|
194
215
|
:'can_export_room_activity_details_people' => :'BOOLEAN',
|
195
|
-
:'is_visible_in_rooms' => :'BOOLEAN',
|
196
216
|
:'can_copy_room_details' => :'BOOLEAN',
|
197
217
|
:'can_edit_any_room_role' => :'BOOLEAN',
|
198
218
|
:'can_edit_invited_room_role' => :'BOOLEAN',
|
219
|
+
:'can_edit_room_side' => :'BOOLEAN',
|
199
220
|
:'can_manage_any_user_room_access' => :'BOOLEAN',
|
200
221
|
:'can_manage_invited_user_room_access' => :'BOOLEAN',
|
222
|
+
:'is_hidden_in_room' => :'BOOLEAN',
|
223
|
+
:'can_manage_room_owners' => :'BOOLEAN',
|
224
|
+
:'can_delete_rooms' => :'BOOLEAN',
|
225
|
+
:'can_connect_to_mortgage_cadence' => :'BOOLEAN',
|
201
226
|
:'can_view_room_details' => :'BOOLEAN',
|
202
227
|
:'can_view_and_edit_room_details' => :'BOOLEAN',
|
203
228
|
:'can_send_room_details_to_lone_wolf' => :'BOOLEAN',
|
@@ -210,6 +235,7 @@ module DocuSign_Rooms
|
|
210
235
|
:'can_manage_shared_docs' => :'BOOLEAN',
|
211
236
|
:'can_manage_form_groups' => :'BOOLEAN',
|
212
237
|
:'can_share_docs_not_owned' => :'BOOLEAN',
|
238
|
+
:'can_create_form_templates' => :'BOOLEAN',
|
213
239
|
:'can_add_tasks_to_any_task_lists' => :'BOOLEAN',
|
214
240
|
:'can_edit_editable_tasks' => :'BOOLEAN',
|
215
241
|
:'can_edit_any_tasks' => :'BOOLEAN',
|
@@ -224,7 +250,8 @@ module DocuSign_Rooms
|
|
224
250
|
:'can_manage_task_templates_for_all_regions_all_offices' => :'BOOLEAN',
|
225
251
|
:'can_apply_room_templates' => :'BOOLEAN',
|
226
252
|
:'can_add_tasks_to_rooms' => :'BOOLEAN',
|
227
|
-
:'
|
253
|
+
:'can_review_any_task' => :'BOOLEAN',
|
254
|
+
:'can_manage_docs_on_any_task' => :'BOOLEAN',
|
228
255
|
:'can_add_member_and_set_role_lower_access_level' => :'BOOLEAN',
|
229
256
|
:'can_add_member_and_set_role_same_access_level' => :'BOOLEAN',
|
230
257
|
:'can_change_member_role_lower_access_level' => :'BOOLEAN',
|
@@ -235,6 +262,7 @@ module DocuSign_Rooms
|
|
235
262
|
:'can_remove_company_member_same_access_level' => :'BOOLEAN',
|
236
263
|
:'can_manage_account' => :'BOOLEAN',
|
237
264
|
:'can_manage_logo' => :'BOOLEAN',
|
265
|
+
:'can_manage_roles_and_permissions' => :'BOOLEAN',
|
238
266
|
:'can_manage_room_details' => :'BOOLEAN',
|
239
267
|
:'can_manage_room_templates' => :'BOOLEAN',
|
240
268
|
:'can_manage_integration_settings' => :'BOOLEAN'
|
@@ -281,10 +309,6 @@ module DocuSign_Rooms
|
|
281
309
|
self.can_export_room_activity_details_people = attributes[:'canExportRoomActivityDetailsPeople']
|
282
310
|
end
|
283
311
|
|
284
|
-
if attributes.has_key?(:'isVisibleInRooms')
|
285
|
-
self.is_visible_in_rooms = attributes[:'isVisibleInRooms']
|
286
|
-
end
|
287
|
-
|
288
312
|
if attributes.has_key?(:'canCopyRoomDetails')
|
289
313
|
self.can_copy_room_details = attributes[:'canCopyRoomDetails']
|
290
314
|
end
|
@@ -297,6 +321,10 @@ module DocuSign_Rooms
|
|
297
321
|
self.can_edit_invited_room_role = attributes[:'canEditInvitedRoomRole']
|
298
322
|
end
|
299
323
|
|
324
|
+
if attributes.has_key?(:'canEditRoomSide')
|
325
|
+
self.can_edit_room_side = attributes[:'canEditRoomSide']
|
326
|
+
end
|
327
|
+
|
300
328
|
if attributes.has_key?(:'canManageAnyUserRoomAccess')
|
301
329
|
self.can_manage_any_user_room_access = attributes[:'canManageAnyUserRoomAccess']
|
302
330
|
end
|
@@ -305,6 +333,22 @@ module DocuSign_Rooms
|
|
305
333
|
self.can_manage_invited_user_room_access = attributes[:'canManageInvitedUserRoomAccess']
|
306
334
|
end
|
307
335
|
|
336
|
+
if attributes.has_key?(:'isHiddenInRoom')
|
337
|
+
self.is_hidden_in_room = attributes[:'isHiddenInRoom']
|
338
|
+
end
|
339
|
+
|
340
|
+
if attributes.has_key?(:'canManageRoomOwners')
|
341
|
+
self.can_manage_room_owners = attributes[:'canManageRoomOwners']
|
342
|
+
end
|
343
|
+
|
344
|
+
if attributes.has_key?(:'canDeleteRooms')
|
345
|
+
self.can_delete_rooms = attributes[:'canDeleteRooms']
|
346
|
+
end
|
347
|
+
|
348
|
+
if attributes.has_key?(:'canConnectToMortgageCadence')
|
349
|
+
self.can_connect_to_mortgage_cadence = attributes[:'canConnectToMortgageCadence']
|
350
|
+
end
|
351
|
+
|
308
352
|
if attributes.has_key?(:'canViewRoomDetails')
|
309
353
|
self.can_view_room_details = attributes[:'canViewRoomDetails']
|
310
354
|
end
|
@@ -353,6 +397,10 @@ module DocuSign_Rooms
|
|
353
397
|
self.can_share_docs_not_owned = attributes[:'canShareDocsNotOwned']
|
354
398
|
end
|
355
399
|
|
400
|
+
if attributes.has_key?(:'canCreateFormTemplates')
|
401
|
+
self.can_create_form_templates = attributes[:'canCreateFormTemplates']
|
402
|
+
end
|
403
|
+
|
356
404
|
if attributes.has_key?(:'canAddTasksToAnyTaskLists')
|
357
405
|
self.can_add_tasks_to_any_task_lists = attributes[:'canAddTasksToAnyTaskLists']
|
358
406
|
end
|
@@ -409,8 +457,12 @@ module DocuSign_Rooms
|
|
409
457
|
self.can_add_tasks_to_rooms = attributes[:'canAddTasksToRooms']
|
410
458
|
end
|
411
459
|
|
412
|
-
if attributes.has_key?(:'
|
413
|
-
self.
|
460
|
+
if attributes.has_key?(:'canReviewAnyTask')
|
461
|
+
self.can_review_any_task = attributes[:'canReviewAnyTask']
|
462
|
+
end
|
463
|
+
|
464
|
+
if attributes.has_key?(:'canManageDocsOnAnyTask')
|
465
|
+
self.can_manage_docs_on_any_task = attributes[:'canManageDocsOnAnyTask']
|
414
466
|
end
|
415
467
|
|
416
468
|
if attributes.has_key?(:'canAddMemberAndSetRoleLowerAccessLevel')
|
@@ -453,6 +505,10 @@ module DocuSign_Rooms
|
|
453
505
|
self.can_manage_logo = attributes[:'canManageLogo']
|
454
506
|
end
|
455
507
|
|
508
|
+
if attributes.has_key?(:'canManageRolesAndPermissions')
|
509
|
+
self.can_manage_roles_and_permissions = attributes[:'canManageRolesAndPermissions']
|
510
|
+
end
|
511
|
+
|
456
512
|
if attributes.has_key?(:'canManageRoomDetails')
|
457
513
|
self.can_manage_room_details = attributes[:'canManageRoomDetails']
|
458
514
|
end
|
@@ -492,12 +548,16 @@ module DocuSign_Rooms
|
|
492
548
|
can_delete_owned_rooms == o.can_delete_owned_rooms &&
|
493
549
|
auto_access_to_rooms == o.auto_access_to_rooms &&
|
494
550
|
can_export_room_activity_details_people == o.can_export_room_activity_details_people &&
|
495
|
-
is_visible_in_rooms == o.is_visible_in_rooms &&
|
496
551
|
can_copy_room_details == o.can_copy_room_details &&
|
497
552
|
can_edit_any_room_role == o.can_edit_any_room_role &&
|
498
553
|
can_edit_invited_room_role == o.can_edit_invited_room_role &&
|
554
|
+
can_edit_room_side == o.can_edit_room_side &&
|
499
555
|
can_manage_any_user_room_access == o.can_manage_any_user_room_access &&
|
500
556
|
can_manage_invited_user_room_access == o.can_manage_invited_user_room_access &&
|
557
|
+
is_hidden_in_room == o.is_hidden_in_room &&
|
558
|
+
can_manage_room_owners == o.can_manage_room_owners &&
|
559
|
+
can_delete_rooms == o.can_delete_rooms &&
|
560
|
+
can_connect_to_mortgage_cadence == o.can_connect_to_mortgage_cadence &&
|
501
561
|
can_view_room_details == o.can_view_room_details &&
|
502
562
|
can_view_and_edit_room_details == o.can_view_and_edit_room_details &&
|
503
563
|
can_send_room_details_to_lone_wolf == o.can_send_room_details_to_lone_wolf &&
|
@@ -510,6 +570,7 @@ module DocuSign_Rooms
|
|
510
570
|
can_manage_shared_docs == o.can_manage_shared_docs &&
|
511
571
|
can_manage_form_groups == o.can_manage_form_groups &&
|
512
572
|
can_share_docs_not_owned == o.can_share_docs_not_owned &&
|
573
|
+
can_create_form_templates == o.can_create_form_templates &&
|
513
574
|
can_add_tasks_to_any_task_lists == o.can_add_tasks_to_any_task_lists &&
|
514
575
|
can_edit_editable_tasks == o.can_edit_editable_tasks &&
|
515
576
|
can_edit_any_tasks == o.can_edit_any_tasks &&
|
@@ -524,7 +585,8 @@ module DocuSign_Rooms
|
|
524
585
|
can_manage_task_templates_for_all_regions_all_offices == o.can_manage_task_templates_for_all_regions_all_offices &&
|
525
586
|
can_apply_room_templates == o.can_apply_room_templates &&
|
526
587
|
can_add_tasks_to_rooms == o.can_add_tasks_to_rooms &&
|
527
|
-
|
588
|
+
can_review_any_task == o.can_review_any_task &&
|
589
|
+
can_manage_docs_on_any_task == o.can_manage_docs_on_any_task &&
|
528
590
|
can_add_member_and_set_role_lower_access_level == o.can_add_member_and_set_role_lower_access_level &&
|
529
591
|
can_add_member_and_set_role_same_access_level == o.can_add_member_and_set_role_same_access_level &&
|
530
592
|
can_change_member_role_lower_access_level == o.can_change_member_role_lower_access_level &&
|
@@ -535,6 +597,7 @@ module DocuSign_Rooms
|
|
535
597
|
can_remove_company_member_same_access_level == o.can_remove_company_member_same_access_level &&
|
536
598
|
can_manage_account == o.can_manage_account &&
|
537
599
|
can_manage_logo == o.can_manage_logo &&
|
600
|
+
can_manage_roles_and_permissions == o.can_manage_roles_and_permissions &&
|
538
601
|
can_manage_room_details == o.can_manage_room_details &&
|
539
602
|
can_manage_room_templates == o.can_manage_room_templates &&
|
540
603
|
can_manage_integration_settings == o.can_manage_integration_settings
|
@@ -549,7 +612,7 @@ module DocuSign_Rooms
|
|
549
612
|
# Calculates hash code according to all attributes.
|
550
613
|
# @return [Fixnum] Hash code
|
551
614
|
def hash
|
552
|
-
[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
|
553
616
|
end
|
554
617
|
|
555
618
|
# Builds the object from hash
|
@@ -0,0 +1,29 @@
|
|
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 ProductVersion
|
16
|
+
|
17
|
+
V5 = 'v5'.freeze
|
18
|
+
V6 = 'v6'.freeze
|
19
|
+
|
20
|
+
# Builds the enum from string
|
21
|
+
# @param [String] The enum value in the form of the string
|
22
|
+
# @return [String] The enum value
|
23
|
+
def build_from_hash(value)
|
24
|
+
constantValues = ProductVersion.constants.select { |c| ProductVersion::const_get(c) == value }
|
25
|
+
raise "Invalid ENUM value #{value} for class #ProductVersion" if constantValues.empty?
|
26
|
+
value
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|