sygna-bridge-ivms-util 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/LegalPerson.md +2 -2
- data/docs/LegalPersonName.md +1 -1
- data/docs/NaturalPersonName.md +1 -1
- data/docs/PhoneticLegalPersonNameId.md +19 -0
- data/docs/PhoneticNaturalPersonNameId.md +21 -0
- data/lib/sygna-bridge-ivms-util/models/legal_person.rb +7 -7
- data/lib/sygna-bridge-ivms-util/models/legal_person_name.rb +1 -1
- data/lib/sygna-bridge-ivms-util/models/natural_person_name.rb +1 -1
- data/lib/sygna-bridge-ivms-util/models/phonetic_legal_person_name_id.rb +249 -0
- data/lib/sygna-bridge-ivms-util/models/phonetic_natural_person_name_id.rb +258 -0
- data/lib/sygna-bridge-ivms-util/version.rb +1 -1
- data/lib/sygna-bridge-ivms-util.rb +2 -0
- data/spec/models/legal_person_spec.rb +1 -1
- data/spec/models/phonetic_legal_person_name_id_spec.rb +51 -0
- data/spec/models/phonetic_natural_person_name_id_spec.rb +57 -0
- data/sygna-bridge-ivms-util.gemspec +3 -3
- metadata +37 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b8724bdb372419ef52f7293745b141fa684642e85e5e80e491753712cbe6423
|
|
4
|
+
data.tar.gz: 1279c0dc1eb1028abd7c59326a1d323a932006693518d47c468925d7a6bcf870
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4aba2403b75074cfb2f98d723129c634f67953ea0d4e9a79b1db76b5c6a96f666e7e1ccd00bf3fda6d59f727f240fbefbc75500f6a0cc87d3ee6483f051aa15
|
|
7
|
+
data.tar.gz: 2b6faefe967d74b7b8e49f69289ef8d99d485e408ca732596c0c238101d249df7c15700ce16d73b661032cd17fe24bc16e6c163fc0a68ce43cbfea2da43d0737
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2
|
|
10
|
-
- Package version: 0.0.
|
|
10
|
+
- Package version: 0.0.6
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,16 +23,16 @@ gem build sygna-bridge-ivms-util.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./sygna-bridge-ivms-util-0.0.
|
|
26
|
+
gem install ./sygna-bridge-ivms-util-0.0.6.gem
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
(for development, run `gem install --dev ./sygna-bridge-ivms-util-0.0.
|
|
29
|
+
(for development, run `gem install --dev ./sygna-bridge-ivms-util-0.0.6.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'sygna-bridge-ivms-util', '~> 0.0.
|
|
35
|
+
gem 'sygna-bridge-ivms-util', '~> 0.0.6'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -101,6 +101,8 @@ Class | Method | HTTP request | Description
|
|
|
101
101
|
- [SygnaBridgeIvmsUtil::Originator](docs/Originator.md)
|
|
102
102
|
- [SygnaBridgeIvmsUtil::PayloadMetadata](docs/PayloadMetadata.md)
|
|
103
103
|
- [SygnaBridgeIvmsUtil::Person](docs/Person.md)
|
|
104
|
+
- [SygnaBridgeIvmsUtil::PhoneticLegalPersonNameId](docs/PhoneticLegalPersonNameId.md)
|
|
105
|
+
- [SygnaBridgeIvmsUtil::PhoneticNaturalPersonNameId](docs/PhoneticNaturalPersonNameId.md)
|
|
104
106
|
- [SygnaBridgeIvmsUtil::TransliterationMethodCode](docs/TransliterationMethodCode.md)
|
|
105
107
|
|
|
106
108
|
|
data/docs/LegalPerson.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | [**LegalPersonName**](LegalPersonName.md) | | [optional]
|
|
8
8
|
**geographic_addresses** | [**Array<Address>**](Address.md) | | [optional]
|
|
9
|
-
**
|
|
9
|
+
**customer_identification** | **String** | | [optional]
|
|
10
10
|
**national_identification** | [**NationalIdentification**](NationalIdentification.md) | | [optional]
|
|
11
11
|
**country_of_registration** | **String** | | [optional]
|
|
12
12
|
|
|
@@ -17,7 +17,7 @@ require 'SygnaBridgeIvmsUtil'
|
|
|
17
17
|
|
|
18
18
|
instance = SygnaBridgeIvmsUtil::LegalPerson.new(name: null,
|
|
19
19
|
geographic_addresses: null,
|
|
20
|
-
|
|
20
|
+
customer_identification: null,
|
|
21
21
|
national_identification: null,
|
|
22
22
|
country_of_registration: null)
|
|
23
23
|
```
|
data/docs/LegalPersonName.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name_identifiers** | [**Array<LegalPersonNameId>**](LegalPersonNameId.md) | | [optional]
|
|
8
8
|
**local_name_identifiers** | [**Array<LocalLegalPersonNameId>**](LocalLegalPersonNameId.md) | | [optional]
|
|
9
|
-
**phonetic_name_identifiers** | [**Array<
|
|
9
|
+
**phonetic_name_identifiers** | [**Array<PhoneticLegalPersonNameId>**](PhoneticLegalPersonNameId.md) | | [optional]
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
data/docs/NaturalPersonName.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name_identifiers** | [**Array<NaturalPersonNameId>**](NaturalPersonNameId.md) | | [optional]
|
|
8
8
|
**local_name_identifiers** | [**Array<LocalNaturalPersonNameId>**](LocalNaturalPersonNameId.md) | | [optional]
|
|
9
|
-
**phonetic_name_identifiers** | [**Array<
|
|
9
|
+
**phonetic_name_identifiers** | [**Array<PhoneticNaturalPersonNameId>**](PhoneticNaturalPersonNameId.md) | | [optional]
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# SygnaBridgeIvmsUtil::PhoneticLegalPersonNameId
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**legal_person_name** | **String** | | [optional]
|
|
8
|
+
**legal_person_name_identifier_type** | **String** | | [optional]
|
|
9
|
+
|
|
10
|
+
## Code Sample
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'SygnaBridgeIvmsUtil'
|
|
14
|
+
|
|
15
|
+
instance = SygnaBridgeIvmsUtil::PhoneticLegalPersonNameId.new(legal_person_name: null,
|
|
16
|
+
legal_person_name_identifier_type: null)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# SygnaBridgeIvmsUtil::PhoneticNaturalPersonNameId
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**primary_identifier** | **String** | | [optional]
|
|
8
|
+
**secondary_identifier** | **String** | | [optional]
|
|
9
|
+
**name_identifier_type** | **String** | | [optional]
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'SygnaBridgeIvmsUtil'
|
|
15
|
+
|
|
16
|
+
instance = SygnaBridgeIvmsUtil::PhoneticNaturalPersonNameId.new(primary_identifier: null,
|
|
17
|
+
secondary_identifier: null,
|
|
18
|
+
name_identifier_type: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
|
@@ -18,7 +18,7 @@ module SygnaBridgeIvmsUtil
|
|
|
18
18
|
|
|
19
19
|
attr_accessor :geographic_addresses
|
|
20
20
|
|
|
21
|
-
attr_accessor :
|
|
21
|
+
attr_accessor :customer_identification
|
|
22
22
|
|
|
23
23
|
attr_accessor :national_identification
|
|
24
24
|
|
|
@@ -29,7 +29,7 @@ module SygnaBridgeIvmsUtil
|
|
|
29
29
|
{
|
|
30
30
|
:'name' => :'name',
|
|
31
31
|
:'geographic_addresses' => :'geographic_addresses',
|
|
32
|
-
:'
|
|
32
|
+
:'customer_identification' => :'customer_identification',
|
|
33
33
|
:'national_identification' => :'national_identification',
|
|
34
34
|
:'country_of_registration' => :'country_of_registration'
|
|
35
35
|
}
|
|
@@ -40,7 +40,7 @@ module SygnaBridgeIvmsUtil
|
|
|
40
40
|
{
|
|
41
41
|
:'name' => :'LegalPersonName',
|
|
42
42
|
:'geographic_addresses' => :'Array<Address>',
|
|
43
|
-
:'
|
|
43
|
+
:'customer_identification' => :'String',
|
|
44
44
|
:'national_identification' => :'NationalIdentification',
|
|
45
45
|
:'country_of_registration' => :'String'
|
|
46
46
|
}
|
|
@@ -77,8 +77,8 @@ module SygnaBridgeIvmsUtil
|
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
if attributes.key?(:'
|
|
81
|
-
self.
|
|
80
|
+
if attributes.key?(:'customer_identification')
|
|
81
|
+
self.customer_identification = attributes[:'customer_identification']
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
if attributes.key?(:'national_identification')
|
|
@@ -110,7 +110,7 @@ module SygnaBridgeIvmsUtil
|
|
|
110
110
|
self.class == o.class &&
|
|
111
111
|
name == o.name &&
|
|
112
112
|
geographic_addresses == o.geographic_addresses &&
|
|
113
|
-
|
|
113
|
+
customer_identification == o.customer_identification &&
|
|
114
114
|
national_identification == o.national_identification &&
|
|
115
115
|
country_of_registration == o.country_of_registration
|
|
116
116
|
end
|
|
@@ -124,7 +124,7 @@ module SygnaBridgeIvmsUtil
|
|
|
124
124
|
# Calculates hash code according to all attributes.
|
|
125
125
|
# @return [Integer] Hash code
|
|
126
126
|
def hash
|
|
127
|
-
[name, geographic_addresses,
|
|
127
|
+
[name, geographic_addresses, customer_identification, national_identification, country_of_registration].hash
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
# Builds the object from hash
|
|
@@ -34,7 +34,7 @@ module SygnaBridgeIvmsUtil
|
|
|
34
34
|
{
|
|
35
35
|
:'name_identifiers' => :'Array<LegalPersonNameId>',
|
|
36
36
|
:'local_name_identifiers' => :'Array<LocalLegalPersonNameId>',
|
|
37
|
-
:'phonetic_name_identifiers' => :'Array<
|
|
37
|
+
:'phonetic_name_identifiers' => :'Array<PhoneticLegalPersonNameId>'
|
|
38
38
|
}
|
|
39
39
|
end
|
|
40
40
|
|
|
@@ -34,7 +34,7 @@ module SygnaBridgeIvmsUtil
|
|
|
34
34
|
{
|
|
35
35
|
:'name_identifiers' => :'Array<NaturalPersonNameId>',
|
|
36
36
|
:'local_name_identifiers' => :'Array<LocalNaturalPersonNameId>',
|
|
37
|
-
:'phonetic_name_identifiers' => :'Array<
|
|
37
|
+
:'phonetic_name_identifiers' => :'Array<PhoneticNaturalPersonNameId>'
|
|
38
38
|
}
|
|
39
39
|
end
|
|
40
40
|
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Bridge
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.0.0-beta
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
|
|
15
|
+
module SygnaBridgeIvmsUtil
|
|
16
|
+
class PhoneticLegalPersonNameId
|
|
17
|
+
attr_accessor :legal_person_name
|
|
18
|
+
|
|
19
|
+
attr_accessor :legal_person_name_identifier_type
|
|
20
|
+
|
|
21
|
+
class EnumAttributeValidator
|
|
22
|
+
attr_reader :datatype
|
|
23
|
+
attr_reader :allowable_values
|
|
24
|
+
|
|
25
|
+
def initialize(datatype, allowable_values)
|
|
26
|
+
@allowable_values = allowable_values.map do |value|
|
|
27
|
+
case datatype.to_s
|
|
28
|
+
when /Integer/i
|
|
29
|
+
value.to_i
|
|
30
|
+
when /Float/i
|
|
31
|
+
value.to_f
|
|
32
|
+
else
|
|
33
|
+
value
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def valid?(value)
|
|
39
|
+
!value || allowable_values.include?(value)
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
44
|
+
def self.attribute_map
|
|
45
|
+
{
|
|
46
|
+
:'legal_person_name' => :'legal_person_name',
|
|
47
|
+
:'legal_person_name_identifier_type' => :'legal_person_name_identifier_type'
|
|
48
|
+
}
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Attribute type mapping.
|
|
52
|
+
def self.openapi_types
|
|
53
|
+
{
|
|
54
|
+
:'legal_person_name' => :'String',
|
|
55
|
+
:'legal_person_name_identifier_type' => :'String'
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# List of attributes with nullable: true
|
|
60
|
+
def self.openapi_nullable
|
|
61
|
+
Set.new([
|
|
62
|
+
])
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Initializes the object
|
|
66
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
67
|
+
def initialize(attributes = {})
|
|
68
|
+
if (!attributes.is_a?(Hash))
|
|
69
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SygnaBridgeIvmsUtil::PhoneticLegalPersonNameId` initialize method"
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
73
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
74
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
75
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SygnaBridgeIvmsUtil::PhoneticLegalPersonNameId`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
76
|
+
end
|
|
77
|
+
h[k.to_sym] = v
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if attributes.key?(:'legal_person_name')
|
|
81
|
+
self.legal_person_name = attributes[:'legal_person_name']
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'legal_person_name_identifier_type')
|
|
85
|
+
self.legal_person_name_identifier_type = attributes[:'legal_person_name_identifier_type']
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
90
|
+
# @return Array for valid properties with the reasons
|
|
91
|
+
def list_invalid_properties
|
|
92
|
+
invalid_properties = Array.new
|
|
93
|
+
invalid_properties
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Check to see if the all the properties in the model are valid
|
|
97
|
+
# @return true if the model is valid
|
|
98
|
+
def valid?
|
|
99
|
+
legal_person_name_identifier_type_validator = EnumAttributeValidator.new('String', ["LEGL", "SHRT", "TRAD"])
|
|
100
|
+
return false unless legal_person_name_identifier_type_validator.valid?(@legal_person_name_identifier_type)
|
|
101
|
+
true
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
105
|
+
# @param [Object] legal_person_name_identifier_type Object to be assigned
|
|
106
|
+
def legal_person_name_identifier_type=(legal_person_name_identifier_type)
|
|
107
|
+
validator = EnumAttributeValidator.new('String', ["LEGL", "SHRT", "TRAD"])
|
|
108
|
+
unless validator.valid?(legal_person_name_identifier_type)
|
|
109
|
+
fail ArgumentError, "invalid value for \"legal_person_name_identifier_type\", must be one of #{validator.allowable_values}."
|
|
110
|
+
end
|
|
111
|
+
@legal_person_name_identifier_type = legal_person_name_identifier_type
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Checks equality by comparing each attribute.
|
|
115
|
+
# @param [Object] Object to be compared
|
|
116
|
+
def ==(o)
|
|
117
|
+
return true if self.equal?(o)
|
|
118
|
+
self.class == o.class &&
|
|
119
|
+
legal_person_name == o.legal_person_name &&
|
|
120
|
+
legal_person_name_identifier_type == o.legal_person_name_identifier_type
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# @see the `==` method
|
|
124
|
+
# @param [Object] Object to be compared
|
|
125
|
+
def eql?(o)
|
|
126
|
+
self == o
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Calculates hash code according to all attributes.
|
|
130
|
+
# @return [Integer] Hash code
|
|
131
|
+
def hash
|
|
132
|
+
[legal_person_name, legal_person_name_identifier_type].hash
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Builds the object from hash
|
|
136
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
137
|
+
# @return [Object] Returns the model itself
|
|
138
|
+
def self.build_from_hash(attributes)
|
|
139
|
+
new.build_from_hash(attributes)
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Builds the object from hash
|
|
143
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
144
|
+
# @return [Object] Returns the model itself
|
|
145
|
+
def build_from_hash(attributes)
|
|
146
|
+
return nil unless attributes.is_a?(Hash)
|
|
147
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
148
|
+
if type =~ /\AArray<(.*)>/i
|
|
149
|
+
# check to ensure the input is an array given that the attribute
|
|
150
|
+
# is documented as an array but the input is not
|
|
151
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
152
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
153
|
+
end
|
|
154
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
155
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
156
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
self
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# Deserializes the data based on type
|
|
163
|
+
# @param string type Data type
|
|
164
|
+
# @param string value Value to be deserialized
|
|
165
|
+
# @return [Object] Deserialized data
|
|
166
|
+
def _deserialize(type, value)
|
|
167
|
+
case type.to_sym
|
|
168
|
+
when :DateTime
|
|
169
|
+
DateTime.parse(value)
|
|
170
|
+
when :Date
|
|
171
|
+
Date.parse(value)
|
|
172
|
+
when :String
|
|
173
|
+
value.to_s
|
|
174
|
+
when :Integer
|
|
175
|
+
value.to_i
|
|
176
|
+
when :Float
|
|
177
|
+
value.to_f
|
|
178
|
+
when :Boolean
|
|
179
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
180
|
+
true
|
|
181
|
+
else
|
|
182
|
+
false
|
|
183
|
+
end
|
|
184
|
+
when :Object
|
|
185
|
+
# generic object (usually a Hash), return directly
|
|
186
|
+
value
|
|
187
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
188
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
189
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
190
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
191
|
+
k_type = Regexp.last_match[:k_type]
|
|
192
|
+
v_type = Regexp.last_match[:v_type]
|
|
193
|
+
{}.tap do |hash|
|
|
194
|
+
value.each do |k, v|
|
|
195
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
else # model
|
|
199
|
+
SygnaBridgeIvmsUtil.const_get(type).build_from_hash(value)
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Returns the string representation of the object
|
|
204
|
+
# @return [String] String presentation of the object
|
|
205
|
+
def to_s
|
|
206
|
+
to_hash.to_s
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
210
|
+
# @return [Hash] Returns the object in the form of hash
|
|
211
|
+
def to_body
|
|
212
|
+
to_hash
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
# Returns the object in the form of hash
|
|
216
|
+
# @return [Hash] Returns the object in the form of hash
|
|
217
|
+
def to_hash
|
|
218
|
+
hash = {}
|
|
219
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
220
|
+
value = self.send(attr)
|
|
221
|
+
if value.nil?
|
|
222
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
223
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
hash[param] = _to_hash(value)
|
|
227
|
+
end
|
|
228
|
+
hash
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# Outputs non-array value in the form of hash
|
|
232
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
233
|
+
# @param [Object] value Any valid value
|
|
234
|
+
# @return [Hash] Returns the value in the form of hash
|
|
235
|
+
def _to_hash(value)
|
|
236
|
+
if value.is_a?(Array)
|
|
237
|
+
value.compact.map { |v| _to_hash(v) }
|
|
238
|
+
elsif value.is_a?(Hash)
|
|
239
|
+
{}.tap do |hash|
|
|
240
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
241
|
+
end
|
|
242
|
+
elsif value.respond_to? :to_hash
|
|
243
|
+
value.to_hash
|
|
244
|
+
else
|
|
245
|
+
value
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
end
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Bridge
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.0.0-beta
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
|
|
15
|
+
module SygnaBridgeIvmsUtil
|
|
16
|
+
class PhoneticNaturalPersonNameId
|
|
17
|
+
attr_accessor :primary_identifier
|
|
18
|
+
|
|
19
|
+
attr_accessor :secondary_identifier
|
|
20
|
+
|
|
21
|
+
attr_accessor :name_identifier_type
|
|
22
|
+
|
|
23
|
+
class EnumAttributeValidator
|
|
24
|
+
attr_reader :datatype
|
|
25
|
+
attr_reader :allowable_values
|
|
26
|
+
|
|
27
|
+
def initialize(datatype, allowable_values)
|
|
28
|
+
@allowable_values = allowable_values.map do |value|
|
|
29
|
+
case datatype.to_s
|
|
30
|
+
when /Integer/i
|
|
31
|
+
value.to_i
|
|
32
|
+
when /Float/i
|
|
33
|
+
value.to_f
|
|
34
|
+
else
|
|
35
|
+
value
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def valid?(value)
|
|
41
|
+
!value || allowable_values.include?(value)
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
|
+
def self.attribute_map
|
|
47
|
+
{
|
|
48
|
+
:'primary_identifier' => :'primary_identifier',
|
|
49
|
+
:'secondary_identifier' => :'secondary_identifier',
|
|
50
|
+
:'name_identifier_type' => :'name_identifier_type'
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Attribute type mapping.
|
|
55
|
+
def self.openapi_types
|
|
56
|
+
{
|
|
57
|
+
:'primary_identifier' => :'String',
|
|
58
|
+
:'secondary_identifier' => :'String',
|
|
59
|
+
:'name_identifier_type' => :'String'
|
|
60
|
+
}
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# List of attributes with nullable: true
|
|
64
|
+
def self.openapi_nullable
|
|
65
|
+
Set.new([
|
|
66
|
+
])
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Initializes the object
|
|
70
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
71
|
+
def initialize(attributes = {})
|
|
72
|
+
if (!attributes.is_a?(Hash))
|
|
73
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SygnaBridgeIvmsUtil::PhoneticNaturalPersonNameId` initialize method"
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
77
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
78
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
79
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SygnaBridgeIvmsUtil::PhoneticNaturalPersonNameId`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
80
|
+
end
|
|
81
|
+
h[k.to_sym] = v
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'primary_identifier')
|
|
85
|
+
self.primary_identifier = attributes[:'primary_identifier']
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.key?(:'secondary_identifier')
|
|
89
|
+
self.secondary_identifier = attributes[:'secondary_identifier']
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
if attributes.key?(:'name_identifier_type')
|
|
93
|
+
self.name_identifier_type = attributes[:'name_identifier_type']
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
98
|
+
# @return Array for valid properties with the reasons
|
|
99
|
+
def list_invalid_properties
|
|
100
|
+
invalid_properties = Array.new
|
|
101
|
+
invalid_properties
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Check to see if the all the properties in the model are valid
|
|
105
|
+
# @return true if the model is valid
|
|
106
|
+
def valid?
|
|
107
|
+
name_identifier_type_validator = EnumAttributeValidator.new('String', ["ALIA", "BIRT", "MAID", "LEGL", "MISC"])
|
|
108
|
+
return false unless name_identifier_type_validator.valid?(@name_identifier_type)
|
|
109
|
+
true
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
113
|
+
# @param [Object] name_identifier_type Object to be assigned
|
|
114
|
+
def name_identifier_type=(name_identifier_type)
|
|
115
|
+
validator = EnumAttributeValidator.new('String', ["ALIA", "BIRT", "MAID", "LEGL", "MISC"])
|
|
116
|
+
unless validator.valid?(name_identifier_type)
|
|
117
|
+
fail ArgumentError, "invalid value for \"name_identifier_type\", must be one of #{validator.allowable_values}."
|
|
118
|
+
end
|
|
119
|
+
@name_identifier_type = name_identifier_type
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Checks equality by comparing each attribute.
|
|
123
|
+
# @param [Object] Object to be compared
|
|
124
|
+
def ==(o)
|
|
125
|
+
return true if self.equal?(o)
|
|
126
|
+
self.class == o.class &&
|
|
127
|
+
primary_identifier == o.primary_identifier &&
|
|
128
|
+
secondary_identifier == o.secondary_identifier &&
|
|
129
|
+
name_identifier_type == o.name_identifier_type
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# @see the `==` method
|
|
133
|
+
# @param [Object] Object to be compared
|
|
134
|
+
def eql?(o)
|
|
135
|
+
self == o
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Calculates hash code according to all attributes.
|
|
139
|
+
# @return [Integer] Hash code
|
|
140
|
+
def hash
|
|
141
|
+
[primary_identifier, secondary_identifier, name_identifier_type].hash
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Builds the object from hash
|
|
145
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
146
|
+
# @return [Object] Returns the model itself
|
|
147
|
+
def self.build_from_hash(attributes)
|
|
148
|
+
new.build_from_hash(attributes)
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Builds the object from hash
|
|
152
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
153
|
+
# @return [Object] Returns the model itself
|
|
154
|
+
def build_from_hash(attributes)
|
|
155
|
+
return nil unless attributes.is_a?(Hash)
|
|
156
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
157
|
+
if type =~ /\AArray<(.*)>/i
|
|
158
|
+
# check to ensure the input is an array given that the attribute
|
|
159
|
+
# is documented as an array but the input is not
|
|
160
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
161
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
162
|
+
end
|
|
163
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
164
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
165
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
self
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Deserializes the data based on type
|
|
172
|
+
# @param string type Data type
|
|
173
|
+
# @param string value Value to be deserialized
|
|
174
|
+
# @return [Object] Deserialized data
|
|
175
|
+
def _deserialize(type, value)
|
|
176
|
+
case type.to_sym
|
|
177
|
+
when :DateTime
|
|
178
|
+
DateTime.parse(value)
|
|
179
|
+
when :Date
|
|
180
|
+
Date.parse(value)
|
|
181
|
+
when :String
|
|
182
|
+
value.to_s
|
|
183
|
+
when :Integer
|
|
184
|
+
value.to_i
|
|
185
|
+
when :Float
|
|
186
|
+
value.to_f
|
|
187
|
+
when :Boolean
|
|
188
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
189
|
+
true
|
|
190
|
+
else
|
|
191
|
+
false
|
|
192
|
+
end
|
|
193
|
+
when :Object
|
|
194
|
+
# generic object (usually a Hash), return directly
|
|
195
|
+
value
|
|
196
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
197
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
198
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
199
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
200
|
+
k_type = Regexp.last_match[:k_type]
|
|
201
|
+
v_type = Regexp.last_match[:v_type]
|
|
202
|
+
{}.tap do |hash|
|
|
203
|
+
value.each do |k, v|
|
|
204
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
else # model
|
|
208
|
+
SygnaBridgeIvmsUtil.const_get(type).build_from_hash(value)
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
# Returns the string representation of the object
|
|
213
|
+
# @return [String] String presentation of the object
|
|
214
|
+
def to_s
|
|
215
|
+
to_hash.to_s
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
219
|
+
# @return [Hash] Returns the object in the form of hash
|
|
220
|
+
def to_body
|
|
221
|
+
to_hash
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Returns the object in the form of hash
|
|
225
|
+
# @return [Hash] Returns the object in the form of hash
|
|
226
|
+
def to_hash
|
|
227
|
+
hash = {}
|
|
228
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
229
|
+
value = self.send(attr)
|
|
230
|
+
if value.nil?
|
|
231
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
232
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
hash[param] = _to_hash(value)
|
|
236
|
+
end
|
|
237
|
+
hash
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# Outputs non-array value in the form of hash
|
|
241
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
242
|
+
# @param [Object] value Any valid value
|
|
243
|
+
# @return [Hash] Returns the value in the form of hash
|
|
244
|
+
def _to_hash(value)
|
|
245
|
+
if value.is_a?(Array)
|
|
246
|
+
value.compact.map { |v| _to_hash(v) }
|
|
247
|
+
elsif value.is_a?(Hash)
|
|
248
|
+
{}.tap do |hash|
|
|
249
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
250
|
+
end
|
|
251
|
+
elsif value.respond_to? :to_hash
|
|
252
|
+
value.to_hash
|
|
253
|
+
else
|
|
254
|
+
value
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
end
|
|
@@ -40,6 +40,8 @@ require 'sygna-bridge-ivms-util/models/originating_vasp'
|
|
|
40
40
|
require 'sygna-bridge-ivms-util/models/originator'
|
|
41
41
|
require 'sygna-bridge-ivms-util/models/payload_metadata'
|
|
42
42
|
require 'sygna-bridge-ivms-util/models/person'
|
|
43
|
+
require 'sygna-bridge-ivms-util/models/phonetic_legal_person_name_id'
|
|
44
|
+
require 'sygna-bridge-ivms-util/models/phonetic_natural_person_name_id'
|
|
43
45
|
require 'sygna-bridge-ivms-util/models/transliteration_method_code'
|
|
44
46
|
|
|
45
47
|
# APIs
|
|
@@ -44,7 +44,7 @@ describe 'LegalPerson' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "customer_identification"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Bridge
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.0.0-beta
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SygnaBridgeIvmsUtil::PhoneticLegalPersonNameId
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PhoneticLegalPersonNameId' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = SygnaBridgeIvmsUtil::PhoneticLegalPersonNameId.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PhoneticLegalPersonNameId' do
|
|
31
|
+
it 'should create an instance of PhoneticLegalPersonNameId' do
|
|
32
|
+
expect(@instance).to be_instance_of(SygnaBridgeIvmsUtil::PhoneticLegalPersonNameId)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "legal_person_name"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "legal_person_name_identifier_type"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["LEGL", "SHRT", "TRAD"])
|
|
45
|
+
# validator.allowable_values.each do |value|
|
|
46
|
+
# expect { @instance.legal_person_name_identifier_type = value }.not_to raise_error
|
|
47
|
+
# end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Bridge
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.0.0-beta
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SygnaBridgeIvmsUtil::PhoneticNaturalPersonNameId
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PhoneticNaturalPersonNameId' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = SygnaBridgeIvmsUtil::PhoneticNaturalPersonNameId.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PhoneticNaturalPersonNameId' do
|
|
31
|
+
it 'should create an instance of PhoneticNaturalPersonNameId' do
|
|
32
|
+
expect(@instance).to be_instance_of(SygnaBridgeIvmsUtil::PhoneticNaturalPersonNameId)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "primary_identifier"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "secondary_identifier"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "name_identifier_type"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ALIA", "BIRT", "MAID", "LEGL", "MISC"])
|
|
51
|
+
# validator.allowable_values.each do |value|
|
|
52
|
+
# expect { @instance.name_identifier_type = value }.not_to raise_error
|
|
53
|
+
# end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
end
|
|
@@ -19,9 +19,9 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.name = "sygna-bridge-ivms-util"
|
|
20
20
|
s.version = SygnaBridgeIvmsUtil::VERSION
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
|
22
|
-
s.authors = ["
|
|
23
|
-
s.email = ["
|
|
24
|
-
s.homepage = "https://github.com/
|
|
22
|
+
s.authors = ["Sygna"]
|
|
23
|
+
s.email = ["sygna.tech@coolbitx.com"]
|
|
24
|
+
s.homepage = "https://github.com/sygnaio/sygna-bridge-ivms-utils/tree/master/ruby"
|
|
25
25
|
s.summary = "Bridge Ruby Gem"
|
|
26
26
|
s.description = "This is a Ruby library for building IVMS data structure."
|
|
27
27
|
s.license = 'MIT'
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sygna-bridge-ivms-util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
autorequire:
|
|
7
|
+
- Sygna
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: typhoeus
|
|
@@ -34,25 +33,25 @@ dependencies:
|
|
|
34
33
|
name: rspec
|
|
35
34
|
requirement: !ruby/object:Gem::Requirement
|
|
36
35
|
requirements:
|
|
37
|
-
- - ">="
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: 3.6.0
|
|
40
36
|
- - "~>"
|
|
41
37
|
- !ruby/object:Gem::Version
|
|
42
38
|
version: '3.6'
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: 3.6.0
|
|
43
42
|
type: :development
|
|
44
43
|
prerelease: false
|
|
45
44
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
45
|
requirements:
|
|
47
|
-
- - ">="
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: 3.6.0
|
|
50
46
|
- - "~>"
|
|
51
47
|
- !ruby/object:Gem::Version
|
|
52
48
|
version: '3.6'
|
|
49
|
+
- - ">="
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: 3.6.0
|
|
53
52
|
description: This is a Ruby library for building IVMS data structure.
|
|
54
53
|
email:
|
|
55
|
-
-
|
|
54
|
+
- sygna.tech@coolbitx.com
|
|
56
55
|
executables: []
|
|
57
56
|
extensions: []
|
|
58
57
|
extra_rdoc_files: []
|
|
@@ -84,6 +83,8 @@ files:
|
|
|
84
83
|
- docs/Originator.md
|
|
85
84
|
- docs/PayloadMetadata.md
|
|
86
85
|
- docs/Person.md
|
|
86
|
+
- docs/PhoneticLegalPersonNameId.md
|
|
87
|
+
- docs/PhoneticNaturalPersonNameId.md
|
|
87
88
|
- docs/TransliterationMethodCode.md
|
|
88
89
|
- git_push.sh
|
|
89
90
|
- lib/sygna-bridge-ivms-util.rb
|
|
@@ -114,6 +115,8 @@ files:
|
|
|
114
115
|
- lib/sygna-bridge-ivms-util/models/originator.rb
|
|
115
116
|
- lib/sygna-bridge-ivms-util/models/payload_metadata.rb
|
|
116
117
|
- lib/sygna-bridge-ivms-util/models/person.rb
|
|
118
|
+
- lib/sygna-bridge-ivms-util/models/phonetic_legal_person_name_id.rb
|
|
119
|
+
- lib/sygna-bridge-ivms-util/models/phonetic_natural_person_name_id.rb
|
|
117
120
|
- lib/sygna-bridge-ivms-util/models/transliteration_method_code.rb
|
|
118
121
|
- lib/sygna-bridge-ivms-util/version.rb
|
|
119
122
|
- spec/api/default_api_spec.rb
|
|
@@ -142,14 +145,15 @@ files:
|
|
|
142
145
|
- spec/models/originator_spec.rb
|
|
143
146
|
- spec/models/payload_metadata_spec.rb
|
|
144
147
|
- spec/models/person_spec.rb
|
|
148
|
+
- spec/models/phonetic_legal_person_name_id_spec.rb
|
|
149
|
+
- spec/models/phonetic_natural_person_name_id_spec.rb
|
|
145
150
|
- spec/models/transliteration_method_code_spec.rb
|
|
146
151
|
- spec/spec_helper.rb
|
|
147
152
|
- sygna-bridge-ivms-util.gemspec
|
|
148
|
-
homepage: https://github.com/
|
|
153
|
+
homepage: https://github.com/sygnaio/sygna-bridge-ivms-utils/tree/master/ruby
|
|
149
154
|
licenses:
|
|
150
155
|
- MIT
|
|
151
156
|
metadata: {}
|
|
152
|
-
post_install_message:
|
|
153
157
|
rdoc_options: []
|
|
154
158
|
require_paths:
|
|
155
159
|
- lib
|
|
@@ -164,36 +168,37 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
164
168
|
- !ruby/object:Gem::Version
|
|
165
169
|
version: '0'
|
|
166
170
|
requirements: []
|
|
167
|
-
rubygems_version: 3.
|
|
168
|
-
signing_key:
|
|
171
|
+
rubygems_version: 3.6.9
|
|
169
172
|
specification_version: 4
|
|
170
173
|
summary: Bridge Ruby Gem
|
|
171
174
|
test_files:
|
|
172
175
|
- spec/api/default_api_spec.rb
|
|
173
176
|
- spec/api_client_spec.rb
|
|
174
177
|
- spec/configuration_spec.rb
|
|
175
|
-
- spec/models/
|
|
176
|
-
- spec/models/person_spec.rb
|
|
177
|
-
- spec/models/payload_metadata_spec.rb
|
|
178
|
-
- spec/models/originator_spec.rb
|
|
179
|
-
- spec/models/natural_person_name_type_code_spec.rb
|
|
178
|
+
- spec/models/address_spec.rb
|
|
180
179
|
- spec/models/address_type_code_spec.rb
|
|
181
|
-
- spec/models/originating_vasp_spec.rb
|
|
182
180
|
- spec/models/beneficiary_spec.rb
|
|
183
|
-
- spec/models/
|
|
184
|
-
- spec/models/local_legal_person_name_id_spec.rb
|
|
181
|
+
- spec/models/beneficiary_vasp_spec.rb
|
|
185
182
|
- spec/models/date_and_place_of_birth_spec.rb
|
|
186
|
-
- spec/models/
|
|
187
|
-
- spec/models/
|
|
188
|
-
- spec/models/local_natural_person_name_id_spec.rb
|
|
189
|
-
- spec/models/legal_person_name_spec.rb
|
|
183
|
+
- spec/models/identity_payload_spec.rb
|
|
184
|
+
- spec/models/intermediary_vasp_spec.rb
|
|
190
185
|
- spec/models/legal_person_name_id_spec.rb
|
|
186
|
+
- spec/models/legal_person_name_spec.rb
|
|
191
187
|
- spec/models/legal_person_name_type_code_spec.rb
|
|
192
|
-
- spec/models/natural_person_spec.rb
|
|
193
|
-
- spec/models/natural_person_name_id_spec.rb
|
|
194
|
-
- spec/models/beneficiary_vasp_spec.rb
|
|
195
|
-
- spec/models/national_identifier_type_code_spec.rb
|
|
196
|
-
- spec/models/address_spec.rb
|
|
197
188
|
- spec/models/legal_person_spec.rb
|
|
189
|
+
- spec/models/local_legal_person_name_id_spec.rb
|
|
190
|
+
- spec/models/local_natural_person_name_id_spec.rb
|
|
191
|
+
- spec/models/national_identification_spec.rb
|
|
192
|
+
- spec/models/national_identifier_type_code_spec.rb
|
|
193
|
+
- spec/models/natural_person_name_id_spec.rb
|
|
198
194
|
- spec/models/natural_person_name_spec.rb
|
|
195
|
+
- spec/models/natural_person_name_type_code_spec.rb
|
|
196
|
+
- spec/models/natural_person_spec.rb
|
|
197
|
+
- spec/models/originating_vasp_spec.rb
|
|
198
|
+
- spec/models/originator_spec.rb
|
|
199
|
+
- spec/models/payload_metadata_spec.rb
|
|
200
|
+
- spec/models/person_spec.rb
|
|
201
|
+
- spec/models/phonetic_legal_person_name_id_spec.rb
|
|
202
|
+
- spec/models/phonetic_natural_person_name_id_spec.rb
|
|
203
|
+
- spec/models/transliteration_method_code_spec.rb
|
|
199
204
|
- spec/spec_helper.rb
|