DealMakerAPI 0.83.2 → 0.83.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/CompanyApi.md +1 -1
- data/docs/CreateBulkUploadRequest.md +3 -1
- data/docs/V1EntitiesBulkUpload.md +2 -0
- data/lib/DealMakerAPI/models/create_bulk_upload_request.rb +21 -4
- data/lib/DealMakerAPI/models/v1_entities_bulk_upload.rb +11 -1
- data/lib/DealMakerAPI/version.rb +1 -1
- data/spec/models/create_bulk_upload_request_spec.rb +6 -0
- data/spec/models/v1_entities_bulk_upload_spec.rb +6 -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: 11d72fc324c0c232b2d318959a5544bfd10d15fce4c5d16bb4eb6287c6a87f2b
|
4
|
+
data.tar.gz: c97056a777e441ab5dc616e48b8c0229130df7124e862f8b7f839189a5690770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a81f17e42b94f664b584876f60fe0af58aebd58ed1ffd6898afd2dba703240f9eb1c78aa75d19c9be9fe0b7e6091cb93df64b25225bb1e6eb45fc4b738a5ce56
|
7
|
+
data.tar.gz: 13a6eb47dec0dd9b29e599a4aa7a14c520d8f031ce65d53516d2484d08172f72b86fdbdb38e7e6fd8b4ed698148784f473ea951d8f205a12b1d528314c045609
|
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.83.
|
341
|
+
- Package version: 0.83.3
|
342
342
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
343
343
|
|
344
344
|
## Installation
|
@@ -354,16 +354,16 @@ gem build DealMakerAPI.gemspec
|
|
354
354
|
Then either install the gem locally:
|
355
355
|
|
356
356
|
```shell
|
357
|
-
gem install ./DealMakerAPI-0.83.
|
357
|
+
gem install ./DealMakerAPI-0.83.3.gem
|
358
358
|
```
|
359
359
|
|
360
|
-
(for development, run `gem install --dev ./DealMakerAPI-0.83.
|
360
|
+
(for development, run `gem install --dev ./DealMakerAPI-0.83.3.gem` to install the development dependencies)
|
361
361
|
|
362
362
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
363
363
|
|
364
364
|
Finally add this to the Gemfile:
|
365
365
|
|
366
|
-
gem 'DealMakerAPI', '~> 0.83.
|
366
|
+
gem 'DealMakerAPI', '~> 0.83.3'
|
367
367
|
|
368
368
|
### Install from Git
|
369
369
|
|
@@ -392,7 +392,7 @@ DealMakerAPI.configure do |config|end
|
|
392
392
|
|
393
393
|
api_instance = DealMakerAPI::CompanyApi.new
|
394
394
|
id = 56 # Integer | The company id
|
395
|
-
create_bulk_upload_request = DealMakerAPI::CreateBulkUploadRequest.new({file_identifier: 'file_identifier_example', document_type: 'document_type_example'}) # CreateBulkUploadRequest |
|
395
|
+
create_bulk_upload_request = DealMakerAPI::CreateBulkUploadRequest.new({file_identifier: 'file_identifier_example', document_type: 'document_type_example', upload_name: 'upload_name_example'}) # CreateBulkUploadRequest |
|
396
396
|
|
397
397
|
begin
|
398
398
|
#Create bulk upload record
|
data/docs/CompanyApi.md
CHANGED
@@ -32,7 +32,7 @@ DealMakerAPI.configure do |config|end
|
|
32
32
|
|
33
33
|
api_instance = DealMakerAPI::CompanyApi.new
|
34
34
|
id = 56 # Integer | The company id
|
35
|
-
create_bulk_upload_request = DealMakerAPI::CreateBulkUploadRequest.new({file_identifier: 'file_identifier_example', document_type: 'document_type_example'}) # CreateBulkUploadRequest |
|
35
|
+
create_bulk_upload_request = DealMakerAPI::CreateBulkUploadRequest.new({file_identifier: 'file_identifier_example', document_type: 'document_type_example', upload_name: 'upload_name_example'}) # CreateBulkUploadRequest |
|
36
36
|
|
37
37
|
begin
|
38
38
|
# Create bulk upload record
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **file_identifier** | **String** | The file identifier | |
|
8
8
|
| **document_type** | **String** | The document type | |
|
9
|
+
| **upload_name** | **String** | The bulk upload name | |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'DealMakerAPI'
|
|
14
15
|
|
15
16
|
instance = DealMakerAPI::CreateBulkUploadRequest.new(
|
16
17
|
file_identifier: null,
|
17
|
-
document_type: null
|
18
|
+
document_type: null,
|
19
|
+
upload_name: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **company_id** | **Integer** | The company ID | [optional] |
|
9
9
|
| **file_identifier** | **String** | The file identifier [shareholder, investor] | [optional] |
|
10
10
|
| **document_type** | **String** | The document type [drs_statement, shareholder_statement, book_entry_statement] | [optional] |
|
11
|
+
| **upload_name** | **String** | The bulk upload name | [optional] |
|
11
12
|
| **status** | **String** | The status [pending, processing, completed, failed] | [optional] |
|
12
13
|
| **created_at** | **String** | The created at timestamp | [optional] |
|
13
14
|
| **updated_at** | **String** | The updated at timestamp | [optional] |
|
@@ -22,6 +23,7 @@ instance = DealMakerAPI::V1EntitiesBulkUpload.new(
|
|
22
23
|
company_id: null,
|
23
24
|
file_identifier: null,
|
24
25
|
document_type: null,
|
26
|
+
upload_name: null,
|
25
27
|
status: null,
|
26
28
|
created_at: null,
|
27
29
|
updated_at: null
|
@@ -21,11 +21,15 @@ module DealMakerAPI
|
|
21
21
|
# The document type
|
22
22
|
attr_accessor :document_type
|
23
23
|
|
24
|
+
# The bulk upload name
|
25
|
+
attr_accessor :upload_name
|
26
|
+
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'file_identifier' => :'file_identifier',
|
28
|
-
:'document_type' => :'document_type'
|
31
|
+
:'document_type' => :'document_type',
|
32
|
+
:'upload_name' => :'upload_name'
|
29
33
|
}
|
30
34
|
end
|
31
35
|
|
@@ -38,7 +42,8 @@ module DealMakerAPI
|
|
38
42
|
def self.openapi_types
|
39
43
|
{
|
40
44
|
:'file_identifier' => :'String',
|
41
|
-
:'document_type' => :'String'
|
45
|
+
:'document_type' => :'String',
|
46
|
+
:'upload_name' => :'String'
|
42
47
|
}
|
43
48
|
end
|
44
49
|
|
@@ -74,6 +79,12 @@ module DealMakerAPI
|
|
74
79
|
else
|
75
80
|
self.document_type = nil
|
76
81
|
end
|
82
|
+
|
83
|
+
if attributes.key?(:'upload_name')
|
84
|
+
self.upload_name = attributes[:'upload_name']
|
85
|
+
else
|
86
|
+
self.upload_name = nil
|
87
|
+
end
|
77
88
|
end
|
78
89
|
|
79
90
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -89,6 +100,10 @@ module DealMakerAPI
|
|
89
100
|
invalid_properties.push('invalid value for "document_type", document_type cannot be nil.')
|
90
101
|
end
|
91
102
|
|
103
|
+
if @upload_name.nil?
|
104
|
+
invalid_properties.push('invalid value for "upload_name", upload_name cannot be nil.')
|
105
|
+
end
|
106
|
+
|
92
107
|
invalid_properties
|
93
108
|
end
|
94
109
|
|
@@ -98,6 +113,7 @@ module DealMakerAPI
|
|
98
113
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
99
114
|
return false if @file_identifier.nil?
|
100
115
|
return false if @document_type.nil?
|
116
|
+
return false if @upload_name.nil?
|
101
117
|
true
|
102
118
|
end
|
103
119
|
|
@@ -107,7 +123,8 @@ module DealMakerAPI
|
|
107
123
|
return true if self.equal?(o)
|
108
124
|
self.class == o.class &&
|
109
125
|
file_identifier == o.file_identifier &&
|
110
|
-
document_type == o.document_type
|
126
|
+
document_type == o.document_type &&
|
127
|
+
upload_name == o.upload_name
|
111
128
|
end
|
112
129
|
|
113
130
|
# @see the `==` method
|
@@ -119,7 +136,7 @@ module DealMakerAPI
|
|
119
136
|
# Calculates hash code according to all attributes.
|
120
137
|
# @return [Integer] Hash code
|
121
138
|
def hash
|
122
|
-
[file_identifier, document_type].hash
|
139
|
+
[file_identifier, document_type, upload_name].hash
|
123
140
|
end
|
124
141
|
|
125
142
|
# Builds the object from hash
|
@@ -28,6 +28,9 @@ module DealMakerAPI
|
|
28
28
|
# The document type [drs_statement, shareholder_statement, book_entry_statement]
|
29
29
|
attr_accessor :document_type
|
30
30
|
|
31
|
+
# The bulk upload name
|
32
|
+
attr_accessor :upload_name
|
33
|
+
|
31
34
|
# The status [pending, processing, completed, failed]
|
32
35
|
attr_accessor :status
|
33
36
|
|
@@ -44,6 +47,7 @@ module DealMakerAPI
|
|
44
47
|
:'company_id' => :'company_id',
|
45
48
|
:'file_identifier' => :'file_identifier',
|
46
49
|
:'document_type' => :'document_type',
|
50
|
+
:'upload_name' => :'upload_name',
|
47
51
|
:'status' => :'status',
|
48
52
|
:'created_at' => :'created_at',
|
49
53
|
:'updated_at' => :'updated_at'
|
@@ -62,6 +66,7 @@ module DealMakerAPI
|
|
62
66
|
:'company_id' => :'Integer',
|
63
67
|
:'file_identifier' => :'String',
|
64
68
|
:'document_type' => :'String',
|
69
|
+
:'upload_name' => :'String',
|
65
70
|
:'status' => :'String',
|
66
71
|
:'created_at' => :'String',
|
67
72
|
:'updated_at' => :'String'
|
@@ -105,6 +110,10 @@ module DealMakerAPI
|
|
105
110
|
self.document_type = attributes[:'document_type']
|
106
111
|
end
|
107
112
|
|
113
|
+
if attributes.key?(:'upload_name')
|
114
|
+
self.upload_name = attributes[:'upload_name']
|
115
|
+
end
|
116
|
+
|
108
117
|
if attributes.key?(:'status')
|
109
118
|
self.status = attributes[:'status']
|
110
119
|
end
|
@@ -142,6 +151,7 @@ module DealMakerAPI
|
|
142
151
|
company_id == o.company_id &&
|
143
152
|
file_identifier == o.file_identifier &&
|
144
153
|
document_type == o.document_type &&
|
154
|
+
upload_name == o.upload_name &&
|
145
155
|
status == o.status &&
|
146
156
|
created_at == o.created_at &&
|
147
157
|
updated_at == o.updated_at
|
@@ -156,7 +166,7 @@ module DealMakerAPI
|
|
156
166
|
# Calculates hash code according to all attributes.
|
157
167
|
# @return [Integer] Hash code
|
158
168
|
def hash
|
159
|
-
[id, company_id, file_identifier, document_type, status, created_at, updated_at].hash
|
169
|
+
[id, company_id, file_identifier, document_type, upload_name, status, created_at, updated_at].hash
|
160
170
|
end
|
161
171
|
|
162
172
|
# Builds the object from hash
|
data/lib/DealMakerAPI/version.rb
CHANGED
@@ -49,6 +49,12 @@ describe DealMakerAPI::V1EntitiesBulkUpload do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
describe 'test attribute "upload_name"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
52
58
|
describe 'test attribute "status"' do
|
53
59
|
it 'should work' do
|
54
60
|
# 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.83.
|
4
|
+
version: 0.83.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DealMaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|