DealMakerAPI 0.99.0 → 0.99.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/V1EntitiesInvestorSearchEntities.md +6 -0
- data/docs/V1EntitiesInvestorSearchEntitiesRequiredFields.md +3 -1
- data/lib/DealMakerAPI/models/patch_investor_profiles_individuals.rb +2 -2
- data/lib/DealMakerAPI/models/patch_investor_profiles_joints.rb +2 -2
- data/lib/DealMakerAPI/models/post_investor_profiles_individuals.rb +2 -2
- data/lib/DealMakerAPI/models/post_investor_profiles_joints.rb +2 -2
- data/lib/DealMakerAPI/models/post_investor_profiles_managed.rb +2 -2
- data/lib/DealMakerAPI/models/v1_entities_investor_search_entities.rb +43 -1
- data/lib/DealMakerAPI/models/v1_entities_investor_search_entities_required_fields.rb +14 -4
- data/lib/DealMakerAPI/version.rb +1 -1
- data/spec/models/patch_investor_profiles_individuals_spec.rb +1 -1
- data/spec/models/patch_investor_profiles_joints_spec.rb +1 -1
- data/spec/models/post_investor_profiles_individuals_spec.rb +1 -1
- data/spec/models/post_investor_profiles_joints_spec.rb +1 -1
- data/spec/models/post_investor_profiles_managed_spec.rb +1 -1
- data/spec/models/v1_entities_investor_search_entities_required_fields_spec.rb +6 -0
- data/spec/models/v1_entities_investor_search_entities_spec.rb +22 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f4e2453718d08f586ad3a78ff85b2fb17a2238e5388b2ea2e5344582e0843ae
|
4
|
+
data.tar.gz: 0a0fa031200f3d1538bdbf5223d99835bcbe05e2ed072c035d25cc49f7e8fdef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcdb09b6de44f1852ce1e41fcb964e9dc32d103c593f1266fe73aafbd3d97dcf7f9b5cd17a31dd9e33124355eed2d79a68cc45ca888192132a512f6bb9c9c6a6
|
7
|
+
data.tar.gz: 6e9816704a37cd047113fa457ee8fd08c263f8a41548d823f46e4c40c4f61bd1465c7c5ab280c94fc54463560ae3043a9ed5cf8bacdc4c782355ca145c70edb5
|
data/README.md
CHANGED
@@ -338,7 +338,7 @@ Given the high number of updates our platform performs on any investor, we’ve
|
|
338
338
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
339
339
|
|
340
340
|
- API version: 1.75.0
|
341
|
-
- Package version: 0.99.
|
341
|
+
- Package version: 0.99.1
|
342
342
|
- Generator version: 7.5.0-SNAPSHOT
|
343
343
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
344
344
|
|
@@ -355,16 +355,16 @@ gem build DealMakerAPI.gemspec
|
|
355
355
|
Then either install the gem locally:
|
356
356
|
|
357
357
|
```shell
|
358
|
-
gem install ./DealMakerAPI-0.99.
|
358
|
+
gem install ./DealMakerAPI-0.99.1.gem
|
359
359
|
```
|
360
360
|
|
361
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.99.
|
361
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.99.1.gem` to install the development dependencies)
|
362
362
|
|
363
363
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
364
364
|
|
365
365
|
Finally add this to the Gemfile:
|
366
366
|
|
367
|
-
gem 'DealMakerAPI', '~> 0.99.
|
367
|
+
gem 'DealMakerAPI', '~> 0.99.1'
|
368
368
|
|
369
369
|
### Install from Git
|
370
370
|
|
@@ -8,6 +8,9 @@
|
|
8
8
|
| **name** | **String** | The full name of the entity. | [optional] |
|
9
9
|
| **type** | **String** | The type of the entity. | [optional] |
|
10
10
|
| **type_num** | **String** | The position in the list when beneficial owner of trustees, if none it returns null. | [optional] |
|
11
|
+
| **status** | **String** | Overall status of all entities. | [optional] |
|
12
|
+
| **re_run_performed** | **Boolean** | Whether or not the entity has been re-run. | [optional] |
|
13
|
+
| **email_content** | **String** | The custom message for the entity | [optional] |
|
11
14
|
| **required_fields** | [**V1EntitiesInvestorSearchEntitiesRequiredFields**](V1EntitiesInvestorSearchEntitiesRequiredFields.md) | | [optional] |
|
12
15
|
|
13
16
|
## Example
|
@@ -20,6 +23,9 @@ instance = DealMakerAPI::V1EntitiesInvestorSearchEntities.new(
|
|
20
23
|
name: null,
|
21
24
|
type: null,
|
22
25
|
type_num: null,
|
26
|
+
status: null,
|
27
|
+
re_run_performed: null,
|
28
|
+
email_content: null,
|
23
29
|
required_fields: null
|
24
30
|
)
|
25
31
|
```
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **address** | **Boolean** | Whether or not the address needs to be updated. | [optional] |
|
10
10
|
| **date_of_birth** | **Boolean** | Whether or not the date of birth needs to be updated. | [optional] |
|
11
11
|
| **tin** | **Boolean** | Whether or not the taxpayer identification number needs to be updated. | [optional] |
|
12
|
+
| **enforcements** | **Boolean** | Whether or not entity is flagged due to enforcements | [optional] |
|
12
13
|
|
13
14
|
## Example
|
14
15
|
|
@@ -20,7 +21,8 @@ instance = DealMakerAPI::V1EntitiesInvestorSearchEntitiesRequiredFields.new(
|
|
20
21
|
name: null,
|
21
22
|
address: null,
|
22
23
|
date_of_birth: null,
|
23
|
-
tin: null
|
24
|
+
tin: null,
|
25
|
+
enforcements: null
|
24
26
|
)
|
25
27
|
```
|
26
28
|
|
@@ -244,7 +244,7 @@ module DealMakerAPI
|
|
244
244
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
245
245
|
us_accredited_category_validator = EnumAttributeValidator.new('String', ["income_individual", "assets_individual", "director", "knowledgable_employee", "broker_or_dealer", "investment_advisor_registered", "investment_advisor_relying", "designated_accredited_investor", "not_accredited"])
|
246
246
|
return false unless us_accredited_category_validator.valid?(@us_accredited_category)
|
247
|
-
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
247
|
+
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
248
248
|
return false unless ca_accredited_investor_validator.valid?(@ca_accredited_investor)
|
249
249
|
true
|
250
250
|
end
|
@@ -262,7 +262,7 @@ module DealMakerAPI
|
|
262
262
|
# Custom attribute writer method checking allowed values (enum).
|
263
263
|
# @param [Object] ca_accredited_investor Object to be assigned
|
264
264
|
def ca_accredited_investor=(ca_accredited_investor)
|
265
|
-
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
265
|
+
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
266
266
|
unless validator.valid?(ca_accredited_investor)
|
267
267
|
fail ArgumentError, "invalid value for \"ca_accredited_investor\", must be one of #{validator.allowable_values}."
|
268
268
|
end
|
@@ -343,7 +343,7 @@ module DealMakerAPI
|
|
343
343
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
344
344
|
us_accredited_category_validator = EnumAttributeValidator.new('String', ["income_individual", "assets_individual", "director", "knowledgable_employee", "broker_or_dealer", "investment_advisor_registered", "investment_advisor_relying", "designated_accredited_investor", "not_accredited"])
|
345
345
|
return false unless us_accredited_category_validator.valid?(@us_accredited_category)
|
346
|
-
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
346
|
+
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
347
347
|
return false unless ca_accredited_investor_validator.valid?(@ca_accredited_investor)
|
348
348
|
joint_type_validator = EnumAttributeValidator.new('String', ["joint_tenant", "tenants_in_common", "community_property"])
|
349
349
|
return false unless joint_type_validator.valid?(@joint_type)
|
@@ -363,7 +363,7 @@ module DealMakerAPI
|
|
363
363
|
# Custom attribute writer method checking allowed values (enum).
|
364
364
|
# @param [Object] ca_accredited_investor Object to be assigned
|
365
365
|
def ca_accredited_investor=(ca_accredited_investor)
|
366
|
-
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
366
|
+
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
367
367
|
unless validator.valid?(ca_accredited_investor)
|
368
368
|
fail ArgumentError, "invalid value for \"ca_accredited_investor\", must be one of #{validator.allowable_values}."
|
369
369
|
end
|
@@ -251,7 +251,7 @@ module DealMakerAPI
|
|
251
251
|
return false if @email.nil?
|
252
252
|
us_accredited_category_validator = EnumAttributeValidator.new('String', ["income_individual", "assets_individual", "director", "knowledgable_employee", "broker_or_dealer", "investment_advisor_registered", "investment_advisor_relying", "designated_accredited_investor", "not_accredited"])
|
253
253
|
return false unless us_accredited_category_validator.valid?(@us_accredited_category)
|
254
|
-
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
254
|
+
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
255
255
|
return false unless ca_accredited_investor_validator.valid?(@ca_accredited_investor)
|
256
256
|
true
|
257
257
|
end
|
@@ -269,7 +269,7 @@ module DealMakerAPI
|
|
269
269
|
# Custom attribute writer method checking allowed values (enum).
|
270
270
|
# @param [Object] ca_accredited_investor Object to be assigned
|
271
271
|
def ca_accredited_investor=(ca_accredited_investor)
|
272
|
-
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
272
|
+
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
273
273
|
unless validator.valid?(ca_accredited_investor)
|
274
274
|
fail ArgumentError, "invalid value for \"ca_accredited_investor\", must be one of #{validator.allowable_values}."
|
275
275
|
end
|
@@ -350,7 +350,7 @@ module DealMakerAPI
|
|
350
350
|
return false if @email.nil?
|
351
351
|
us_accredited_category_validator = EnumAttributeValidator.new('String', ["income_individual", "assets_individual", "director", "knowledgable_employee", "broker_or_dealer", "investment_advisor_registered", "investment_advisor_relying", "designated_accredited_investor", "not_accredited"])
|
352
352
|
return false unless us_accredited_category_validator.valid?(@us_accredited_category)
|
353
|
-
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
353
|
+
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
354
354
|
return false unless ca_accredited_investor_validator.valid?(@ca_accredited_investor)
|
355
355
|
joint_type_validator = EnumAttributeValidator.new('String', ["joint_tenant", "tenants_in_common", "community_property"])
|
356
356
|
return false unless joint_type_validator.valid?(@joint_type)
|
@@ -370,7 +370,7 @@ module DealMakerAPI
|
|
370
370
|
# Custom attribute writer method checking allowed values (enum).
|
371
371
|
# @param [Object] ca_accredited_investor Object to be assigned
|
372
372
|
def ca_accredited_investor=(ca_accredited_investor)
|
373
|
-
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
373
|
+
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
374
374
|
unless validator.valid?(ca_accredited_investor)
|
375
375
|
fail ArgumentError, "invalid value for \"ca_accredited_investor\", must be one of #{validator.allowable_values}."
|
376
376
|
end
|
@@ -332,7 +332,7 @@ module DealMakerAPI
|
|
332
332
|
return false if @email.nil?
|
333
333
|
us_accredited_category_validator = EnumAttributeValidator.new('String', ["income_individual", "assets_individual", "director", "knowledgable_employee", "broker_or_dealer", "investment_advisor_registered", "investment_advisor_relying", "designated_accredited_investor", "not_accredited"])
|
334
334
|
return false unless us_accredited_category_validator.valid?(@us_accredited_category)
|
335
|
-
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
335
|
+
ca_accredited_investor_validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
336
336
|
return false unless ca_accredited_investor_validator.valid?(@ca_accredited_investor)
|
337
337
|
true
|
338
338
|
end
|
@@ -350,7 +350,7 @@ module DealMakerAPI
|
|
350
350
|
# Custom attribute writer method checking allowed values (enum).
|
351
351
|
# @param [Object] ca_accredited_investor Object to be assigned
|
352
352
|
def ca_accredited_investor=(ca_accredited_investor)
|
353
|
-
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
353
|
+
validator = EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
354
354
|
unless validator.valid?(ca_accredited_investor)
|
355
355
|
fail ArgumentError, "invalid value for \"ca_accredited_investor\", must be one of #{validator.allowable_values}."
|
356
356
|
end
|
@@ -28,6 +28,15 @@ module DealMakerAPI
|
|
28
28
|
# The position in the list when beneficial owner of trustees, if none it returns null.
|
29
29
|
attr_accessor :type_num
|
30
30
|
|
31
|
+
# Overall status of all entities.
|
32
|
+
attr_accessor :status
|
33
|
+
|
34
|
+
# Whether or not the entity has been re-run.
|
35
|
+
attr_accessor :re_run_performed
|
36
|
+
|
37
|
+
# The custom message for the entity
|
38
|
+
attr_accessor :email_content
|
39
|
+
|
31
40
|
attr_accessor :required_fields
|
32
41
|
|
33
42
|
class EnumAttributeValidator
|
@@ -59,6 +68,9 @@ module DealMakerAPI
|
|
59
68
|
:'name' => :'name',
|
60
69
|
:'type' => :'type',
|
61
70
|
:'type_num' => :'type_num',
|
71
|
+
:'status' => :'status',
|
72
|
+
:'re_run_performed' => :'re_run_performed',
|
73
|
+
:'email_content' => :'email_content',
|
62
74
|
:'required_fields' => :'required_fields'
|
63
75
|
}
|
64
76
|
end
|
@@ -75,6 +87,9 @@ module DealMakerAPI
|
|
75
87
|
:'name' => :'String',
|
76
88
|
:'type' => :'String',
|
77
89
|
:'type_num' => :'String',
|
90
|
+
:'status' => :'String',
|
91
|
+
:'re_run_performed' => :'Boolean',
|
92
|
+
:'email_content' => :'String',
|
78
93
|
:'required_fields' => :'V1EntitiesInvestorSearchEntitiesRequiredFields'
|
79
94
|
}
|
80
95
|
end
|
@@ -116,6 +131,18 @@ module DealMakerAPI
|
|
116
131
|
self.type_num = attributes[:'type_num']
|
117
132
|
end
|
118
133
|
|
134
|
+
if attributes.key?(:'status')
|
135
|
+
self.status = attributes[:'status']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes.key?(:'re_run_performed')
|
139
|
+
self.re_run_performed = attributes[:'re_run_performed']
|
140
|
+
end
|
141
|
+
|
142
|
+
if attributes.key?(:'email_content')
|
143
|
+
self.email_content = attributes[:'email_content']
|
144
|
+
end
|
145
|
+
|
119
146
|
if attributes.key?(:'required_fields')
|
120
147
|
self.required_fields = attributes[:'required_fields']
|
121
148
|
end
|
@@ -135,6 +162,8 @@ module DealMakerAPI
|
|
135
162
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
136
163
|
type_validator = EnumAttributeValidator.new('String', ["individual", "joint_holder"])
|
137
164
|
return false unless type_validator.valid?(@type)
|
165
|
+
status_validator = EnumAttributeValidator.new('String', ["pending", "document_upload_pending", "document_review_pending", "cleared", "flagged"])
|
166
|
+
return false unless status_validator.valid?(@status)
|
138
167
|
true
|
139
168
|
end
|
140
169
|
|
@@ -148,6 +177,16 @@ module DealMakerAPI
|
|
148
177
|
@type = type
|
149
178
|
end
|
150
179
|
|
180
|
+
# Custom attribute writer method checking allowed values (enum).
|
181
|
+
# @param [Object] status Object to be assigned
|
182
|
+
def status=(status)
|
183
|
+
validator = EnumAttributeValidator.new('String', ["pending", "document_upload_pending", "document_review_pending", "cleared", "flagged"])
|
184
|
+
unless validator.valid?(status)
|
185
|
+
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
186
|
+
end
|
187
|
+
@status = status
|
188
|
+
end
|
189
|
+
|
151
190
|
# Checks equality by comparing each attribute.
|
152
191
|
# @param [Object] Object to be compared
|
153
192
|
def ==(o)
|
@@ -157,6 +196,9 @@ module DealMakerAPI
|
|
157
196
|
name == o.name &&
|
158
197
|
type == o.type &&
|
159
198
|
type_num == o.type_num &&
|
199
|
+
status == o.status &&
|
200
|
+
re_run_performed == o.re_run_performed &&
|
201
|
+
email_content == o.email_content &&
|
160
202
|
required_fields == o.required_fields
|
161
203
|
end
|
162
204
|
|
@@ -169,7 +211,7 @@ module DealMakerAPI
|
|
169
211
|
# Calculates hash code according to all attributes.
|
170
212
|
# @return [Integer] Hash code
|
171
213
|
def hash
|
172
|
-
[id, name, type, type_num, required_fields].hash
|
214
|
+
[id, name, type, type_num, status, re_run_performed, email_content, required_fields].hash
|
173
215
|
end
|
174
216
|
|
175
217
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module DealMakerAPI
|
|
30
30
|
# Whether or not the taxpayer identification number needs to be updated.
|
31
31
|
attr_accessor :tin
|
32
32
|
|
33
|
+
# Whether or not entity is flagged due to enforcements
|
34
|
+
attr_accessor :enforcements
|
35
|
+
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
37
|
def self.attribute_map
|
35
38
|
{
|
@@ -37,7 +40,8 @@ module DealMakerAPI
|
|
37
40
|
:'name' => :'name',
|
38
41
|
:'address' => :'address',
|
39
42
|
:'date_of_birth' => :'date_of_birth',
|
40
|
-
:'tin' => :'tin'
|
43
|
+
:'tin' => :'tin',
|
44
|
+
:'enforcements' => :'enforcements'
|
41
45
|
}
|
42
46
|
end
|
43
47
|
|
@@ -53,7 +57,8 @@ module DealMakerAPI
|
|
53
57
|
:'name' => :'Boolean',
|
54
58
|
:'address' => :'Boolean',
|
55
59
|
:'date_of_birth' => :'Boolean',
|
56
|
-
:'tin' => :'Boolean'
|
60
|
+
:'tin' => :'Boolean',
|
61
|
+
:'enforcements' => :'Boolean'
|
57
62
|
}
|
58
63
|
end
|
59
64
|
|
@@ -97,6 +102,10 @@ module DealMakerAPI
|
|
97
102
|
if attributes.key?(:'tin')
|
98
103
|
self.tin = attributes[:'tin']
|
99
104
|
end
|
105
|
+
|
106
|
+
if attributes.key?(:'enforcements')
|
107
|
+
self.enforcements = attributes[:'enforcements']
|
108
|
+
end
|
100
109
|
end
|
101
110
|
|
102
111
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -123,7 +132,8 @@ module DealMakerAPI
|
|
123
132
|
name == o.name &&
|
124
133
|
address == o.address &&
|
125
134
|
date_of_birth == o.date_of_birth &&
|
126
|
-
tin == o.tin
|
135
|
+
tin == o.tin &&
|
136
|
+
enforcements == o.enforcements
|
127
137
|
end
|
128
138
|
|
129
139
|
# @see the `==` method
|
@@ -135,7 +145,7 @@ module DealMakerAPI
|
|
135
145
|
# Calculates hash code according to all attributes.
|
136
146
|
# @return [Integer] Hash code
|
137
147
|
def hash
|
138
|
-
[count, name, address, date_of_birth, tin].hash
|
148
|
+
[count, name, address, date_of_birth, tin, enforcements].hash
|
139
149
|
end
|
140
150
|
|
141
151
|
# Builds the object from hash
|
data/lib/DealMakerAPI/version.rb
CHANGED
@@ -46,7 +46,7 @@ describe DealMakerAPI::PatchInvestorProfilesIndividuals do
|
|
46
46
|
describe 'test attribute "ca_accredited_investor"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
50
50
|
# validator.allowable_values.each do |value|
|
51
51
|
# expect { instance.ca_accredited_investor = value }.not_to raise_error
|
52
52
|
# end
|
@@ -46,7 +46,7 @@ describe DealMakerAPI::PatchInvestorProfilesJoints do
|
|
46
46
|
describe 'test attribute "ca_accredited_investor"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
50
50
|
# validator.allowable_values.each do |value|
|
51
51
|
# expect { instance.ca_accredited_investor = value }.not_to raise_error
|
52
52
|
# end
|
@@ -46,7 +46,7 @@ describe DealMakerAPI::PostInvestorProfilesIndividuals do
|
|
46
46
|
describe 'test attribute "ca_accredited_investor"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
50
50
|
# validator.allowable_values.each do |value|
|
51
51
|
# expect { instance.ca_accredited_investor = value }.not_to raise_error
|
52
52
|
# end
|
@@ -46,7 +46,7 @@ describe DealMakerAPI::PostInvestorProfilesJoints do
|
|
46
46
|
describe 'test attribute "ca_accredited_investor"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
50
50
|
# validator.allowable_values.each do |value|
|
51
51
|
# expect { instance.ca_accredited_investor = value }.not_to raise_error
|
52
52
|
# end
|
@@ -46,7 +46,7 @@ describe DealMakerAPI::PostInvestorProfilesManaged do
|
|
46
46
|
describe 'test attribute "ca_accredited_investor"' do
|
47
47
|
it 'should work' do
|
48
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["d", "e", "e_1", "j", "j_1", "k_individual", "k_spouse", "l", "q", "v", "x"])
|
50
50
|
# validator.allowable_values.each do |value|
|
51
51
|
# expect { instance.ca_accredited_investor = value }.not_to raise_error
|
52
52
|
# end
|
@@ -57,4 +57,10 @@ describe DealMakerAPI::V1EntitiesInvestorSearchEntitiesRequiredFields do
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
+
describe 'test attribute "enforcements"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
60
66
|
end
|
@@ -55,6 +55,28 @@ describe DealMakerAPI::V1EntitiesInvestorSearchEntities do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
+
describe 'test attribute "status"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "document_upload_pending", "document_review_pending", "cleared", "flagged"])
|
62
|
+
# validator.allowable_values.each do |value|
|
63
|
+
# expect { instance.status = value }.not_to raise_error
|
64
|
+
# end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "re_run_performed"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "email_content"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
58
80
|
describe 'test attribute "required_fields"' do
|
59
81
|
it 'should work' do
|
60
82
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DealMakerAPI
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.99.
|
4
|
+
version: 0.99.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DealMaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|