passfort 0.4.1 → 0.4.2
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/.circleci/config.yml +17 -17
- data/.rubocop.yml +8 -8
- data/.ruby-version +1 -1
- data/CHANGELOG.md +53 -48
- data/Gemfile +5 -5
- data/Gemfile.lock +95 -93
- data/LICENCE.txt +22 -22
- data/README.md +6 -6
- data/lib/passfort.rb +35 -35
- data/lib/passfort/client.rb +35 -35
- data/lib/passfort/endpoint.rb +10 -10
- data/lib/passfort/endpoint/checks.rb +19 -19
- data/lib/passfort/endpoint/profiles.rb +46 -46
- data/lib/passfort/endpoint/tasks.rb +16 -16
- data/lib/passfort/errors.rb +16 -16
- data/lib/passfort/errors/api_error.rb +16 -16
- data/lib/passfort/errors/bad_gateway_error.rb +12 -12
- data/lib/passfort/errors/chargeable_limit_reached_error.rb +12 -12
- data/lib/passfort/errors/invalid_api_key_error.rb +12 -12
- data/lib/passfort/errors/invalid_input_data_error.rb +12 -12
- data/lib/passfort/errors/request_error.rb +12 -12
- data/lib/passfort/errors/timeout_error.rb +12 -12
- data/lib/passfort/errors/unknown_api_error.rb +12 -12
- data/lib/passfort/errors/unparseable_response_error.rb +11 -11
- data/lib/passfort/http.rb +95 -95
- data/lib/passfort/resource.rb +13 -13
- data/lib/passfort/resource/base.rb +21 -21
- data/lib/passfort/resource/check.rb +10 -10
- data/lib/passfort/resource/company_data.rb +11 -11
- data/lib/passfort/resource/company_summary.rb +9 -9
- data/lib/passfort/resource/individual_data.rb +11 -11
- data/lib/passfort/resource/profile.rb +15 -15
- data/lib/passfort/resource/task.rb +9 -9
- data/lib/passfort/version.rb +5 -5
- data/passfort.gemspec +30 -30
- data/spec/fixtures/check.json +67 -67
- data/spec/fixtures/collected_data.json +7 -7
- data/spec/fixtures/companies.json +18 -18
- data/spec/fixtures/company_ownership_check/check.json +78 -78
- data/spec/fixtures/company_ownership_check/collected_data.json +7 -7
- data/spec/fixtures/company_ownership_check/collected_data_update_request.json +63 -63
- data/spec/fixtures/company_ownership_check/profile.json +128 -128
- data/spec/fixtures/profile.json +128 -128
- data/spec/fixtures/task.json +6 -6
- data/spec/integration/company_ownership_check_spec.rb +74 -74
- data/spec/passfort/client_spec.rb +43 -43
- data/spec/passfort/endpoint/checks_spec.rb +22 -22
- data/spec/passfort/endpoint/profiles_spec.rb +79 -79
- data/spec/passfort/endpoint/tasks_spec.rb +21 -21
- data/spec/passfort/http_spec.rb +167 -167
- data/spec/spec_helper.rb +9 -9
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11bc30dad98c2b60b6c272eee5f48556989e88db71b5e915617678472c2c271e
|
4
|
+
data.tar.gz: '088281bd1522c13cd0df32fd7c4a6f8321005fa1ef56e5b2640882ab4119b17b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baf78917a324ecaa99403307123268f6f9046ab872e5eeaa6c531fc5828ae1cbb1080566c153618baf6d03a421e263c0f73029a396841ea439a253b2444bc2f5
|
7
|
+
data.tar.gz: bb667e105ee76cf67765a376d752b5f95a9664fec53491d3cdcd9335c8122706b285b542ee2223ede9761300e14f358f6a4d6d1202cd4bf57d6a54f5002456bf
|
data/.circleci/config.yml
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
version: 2
|
2
|
-
jobs:
|
3
|
-
build:
|
4
|
-
working_directory: ~/passfort
|
5
|
-
docker:
|
6
|
-
- image: ruby:2.5
|
7
|
-
steps:
|
8
|
-
- checkout
|
9
|
-
- restore_cache:
|
10
|
-
key: gemfile-lock-{{ checksum "Gemfile.lock" }}
|
11
|
-
- run: bundle install --deployment
|
12
|
-
- save_cache:
|
13
|
-
key: gemfile-lock-{{ checksum "Gemfile.lock" }}
|
14
|
-
paths:
|
15
|
-
- "vendor/bundle"
|
16
|
-
- run: bundle exec rubocop
|
17
|
-
- run: bundle exec rspec --format RspecJunitFormatter
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
working_directory: ~/passfort
|
5
|
+
docker:
|
6
|
+
- image: ruby:2.5
|
7
|
+
steps:
|
8
|
+
- checkout
|
9
|
+
- restore_cache:
|
10
|
+
key: gemfile-lock-{{ checksum "Gemfile.lock" }}
|
11
|
+
- run: bundle install --deployment
|
12
|
+
- save_cache:
|
13
|
+
key: gemfile-lock-{{ checksum "Gemfile.lock" }}
|
14
|
+
paths:
|
15
|
+
- "vendor/bundle"
|
16
|
+
- run: bundle exec rubocop
|
17
|
+
- run: bundle exec rspec --format RspecJunitFormatter
|
data/.rubocop.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
inherit_gem:
|
2
|
-
gc_ruboconfig: rubocop.yml
|
3
|
-
|
4
|
-
Metrics/AbcSize:
|
5
|
-
Max: 17
|
6
|
-
|
7
|
-
Metrics/MethodLength:
|
8
|
-
Max: 17
|
1
|
+
inherit_gem:
|
2
|
+
gc_ruboconfig: rubocop.yml
|
3
|
+
|
4
|
+
Metrics/AbcSize:
|
5
|
+
Max: 17
|
6
|
+
|
7
|
+
Metrics/MethodLength:
|
8
|
+
Max: 17
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.0
|
1
|
+
2.5.0
|
data/CHANGELOG.md
CHANGED
@@ -1,48 +1,53 @@
|
|
1
|
-
Changelog
|
2
|
-
=========
|
3
|
-
|
4
|
-
Unreleased
|
5
|
-
----------
|
6
|
-
|
7
|
-
No changes.
|
8
|
-
|
9
|
-
0.4.
|
10
|
-
-----
|
11
|
-
|
12
|
-
-
|
13
|
-
|
14
|
-
0.4.
|
15
|
-
-----
|
16
|
-
|
17
|
-
-
|
18
|
-
|
19
|
-
0.
|
20
|
-
-----
|
21
|
-
|
22
|
-
-
|
23
|
-
|
24
|
-
0.3.
|
25
|
-
-----
|
26
|
-
|
27
|
-
-
|
28
|
-
|
29
|
-
0.
|
30
|
-
-----
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
0.2.
|
35
|
-
|
36
|
-
|
37
|
-
- Raise
|
38
|
-
|
39
|
-
0.2.
|
40
|
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
0.2.
|
45
|
-
-----
|
46
|
-
|
47
|
-
-
|
48
|
-
|
1
|
+
Changelog
|
2
|
+
=========
|
3
|
+
|
4
|
+
Unreleased
|
5
|
+
----------
|
6
|
+
|
7
|
+
No changes.
|
8
|
+
|
9
|
+
0.4.2
|
10
|
+
-----
|
11
|
+
|
12
|
+
- Add Rails 6 compatibility
|
13
|
+
|
14
|
+
0.4.1
|
15
|
+
-----
|
16
|
+
|
17
|
+
- Treat Bad Gateway (502) errors separately
|
18
|
+
|
19
|
+
0.4.0
|
20
|
+
-----
|
21
|
+
|
22
|
+
- Add `company_search` functionality
|
23
|
+
|
24
|
+
0.3.1
|
25
|
+
-----
|
26
|
+
|
27
|
+
- Allow setting connection properties
|
28
|
+
|
29
|
+
0.3.0
|
30
|
+
-----
|
31
|
+
|
32
|
+
- Add `ActiveSupport::Notifications` support.
|
33
|
+
|
34
|
+
0.2.3
|
35
|
+
-----
|
36
|
+
|
37
|
+
- Raise `Passfort::Errors::TimeoutError` when a request times out.
|
38
|
+
|
39
|
+
0.2.2
|
40
|
+
----------
|
41
|
+
|
42
|
+
- Raise UnparsesableResponseError when the response cannot be parsed as JSON.
|
43
|
+
|
44
|
+
0.2.1
|
45
|
+
-----
|
46
|
+
|
47
|
+
- Include detailed error information in any raised errors.
|
48
|
+
|
49
|
+
0.2.0
|
50
|
+
-----
|
51
|
+
|
52
|
+
- Convert resource attributes to a hash with indifferent access,
|
53
|
+
so that you can use symbol or string keys.
|
data/Gemfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gemspec
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,93 +1,95 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
passfort (0.4.
|
5
|
-
activesupport (
|
6
|
-
excon (~> 0.60)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activesupport (
|
12
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (>= 0.7, < 2)
|
14
|
-
minitest (~> 5.1)
|
15
|
-
tzinfo (~> 1.1)
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
rubocop
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
rspec-
|
46
|
-
rspec-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
passfort (0.4.2)
|
5
|
+
activesupport (>= 5.0)
|
6
|
+
excon (~> 0.60)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activesupport (6.0.1)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 0.7, < 2)
|
14
|
+
minitest (~> 5.1)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
zeitwerk (~> 2.2)
|
17
|
+
addressable (2.7.0)
|
18
|
+
public_suffix (>= 2.0.2, < 5.0)
|
19
|
+
ast (2.4.0)
|
20
|
+
coderay (1.1.2)
|
21
|
+
concurrent-ruby (1.1.5)
|
22
|
+
crack (0.4.3)
|
23
|
+
safe_yaml (~> 1.0.0)
|
24
|
+
diff-lcs (1.3)
|
25
|
+
excon (0.70.0)
|
26
|
+
gc_ruboconfig (2.3.14)
|
27
|
+
rubocop (>= 0.57, < 0.62)
|
28
|
+
rubocop-rspec (~> 1.25)
|
29
|
+
hashdiff (1.0.0)
|
30
|
+
i18n (1.7.0)
|
31
|
+
concurrent-ruby (~> 1.0)
|
32
|
+
jaro_winkler (1.5.1)
|
33
|
+
method_source (0.9.2)
|
34
|
+
minitest (5.13.0)
|
35
|
+
parallel (1.12.1)
|
36
|
+
parser (2.5.3.0)
|
37
|
+
ast (~> 2.4.0)
|
38
|
+
powerpack (0.1.2)
|
39
|
+
pry (0.12.2)
|
40
|
+
coderay (~> 1.1.0)
|
41
|
+
method_source (~> 0.9.0)
|
42
|
+
public_suffix (4.0.1)
|
43
|
+
rainbow (3.0.0)
|
44
|
+
rspec (3.8.0)
|
45
|
+
rspec-core (~> 3.8.0)
|
46
|
+
rspec-expectations (~> 3.8.0)
|
47
|
+
rspec-mocks (~> 3.8.0)
|
48
|
+
rspec-core (3.8.0)
|
49
|
+
rspec-support (~> 3.8.0)
|
50
|
+
rspec-expectations (3.8.0)
|
51
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
+
rspec-support (~> 3.8.0)
|
53
|
+
rspec-mocks (3.8.0)
|
54
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
+
rspec-support (~> 3.8.0)
|
56
|
+
rspec-support (3.8.0)
|
57
|
+
rspec_junit_formatter (0.4.1)
|
58
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
59
|
+
rubocop (0.61.1)
|
60
|
+
jaro_winkler (~> 1.5.1)
|
61
|
+
parallel (~> 1.10)
|
62
|
+
parser (>= 2.5, != 2.5.1.1)
|
63
|
+
powerpack (~> 0.1)
|
64
|
+
rainbow (>= 2.2.2, < 4.0)
|
65
|
+
ruby-progressbar (~> 1.7)
|
66
|
+
unicode-display_width (~> 1.4.0)
|
67
|
+
rubocop-rspec (1.30.1)
|
68
|
+
rubocop (>= 0.60.0)
|
69
|
+
ruby-progressbar (1.10.0)
|
70
|
+
safe_yaml (1.0.5)
|
71
|
+
thread_safe (0.3.6)
|
72
|
+
timecop (0.9.1)
|
73
|
+
tzinfo (1.2.5)
|
74
|
+
thread_safe (~> 0.1)
|
75
|
+
unicode-display_width (1.4.1)
|
76
|
+
webmock (3.7.2)
|
77
|
+
addressable (>= 2.3.6)
|
78
|
+
crack (>= 0.3.2)
|
79
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
80
|
+
zeitwerk (2.2.2)
|
81
|
+
|
82
|
+
PLATFORMS
|
83
|
+
ruby
|
84
|
+
|
85
|
+
DEPENDENCIES
|
86
|
+
gc_ruboconfig (~> 2.3)
|
87
|
+
passfort!
|
88
|
+
pry (~> 0.10)
|
89
|
+
rspec (~> 3.2)
|
90
|
+
rspec_junit_formatter (~> 0.3)
|
91
|
+
timecop (~> 0.8)
|
92
|
+
webmock (~> 3.3)
|
93
|
+
|
94
|
+
BUNDLED WITH
|
95
|
+
1.17.3
|
data/LICENCE.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
Copyright (c) 2018 GoCardless
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
|
+
Copyright (c) 2018 GoCardless
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
PassFort
|
2
|
-
========
|
3
|
-
|
4
|
-
[](https://circleci.com/gh/gocardless/passfort/tree/master)
|
5
|
-
|
6
|
-
A Ruby client library for the [PassFort](https://passfort.com) API.
|
1
|
+
PassFort
|
2
|
+
========
|
3
|
+
|
4
|
+
[](https://circleci.com/gh/gocardless/passfort/tree/master)
|
5
|
+
|
6
|
+
A Ruby client library for the [PassFort](https://passfort.com) API.
|
data/lib/passfort.rb
CHANGED
@@ -1,35 +1,35 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "passfort/version"
|
4
|
-
require "passfort/errors"
|
5
|
-
|
6
|
-
require "passfort/resource"
|
7
|
-
require "passfort/endpoint"
|
8
|
-
require "passfort/client"
|
9
|
-
|
10
|
-
module Passfort
|
11
|
-
module CheckType
|
12
|
-
IDENTITY_CHECK = "IDENTITY_CHECK"
|
13
|
-
DOCUMENT_VERIFICATION = "DOCUMENT_VERIFICATION"
|
14
|
-
DOCUMENT_FETCH = "DOCUMENT_FETCH"
|
15
|
-
PEPS_SCREEN = "PEPS_SCREEN"
|
16
|
-
SANCTIONS_SCREEN = "SANCTIONS_SCREEN"
|
17
|
-
PEPS_AND_SANCTIONS_SCREEN = "PEPS_AND_SANCTIONS_SCREEN"
|
18
|
-
COMPANY_REGISTRY = "COMPANY_REGISTRY"
|
19
|
-
COMPANY_OWNERSHIP = "COMPANY_OWNERSHIP"
|
20
|
-
COMPANY_FILINGS = "COMPANY_FILINGS"
|
21
|
-
COMPANY_FILING_PURCHASE = "COMPANY_FILING_PURCHASE"
|
22
|
-
COMPANY_PEPS_AND_SANCTIONS_SCREEN = "COMPANY_PEPS_AND_SANCTIONS_SCREEN"
|
23
|
-
end
|
24
|
-
|
25
|
-
module EntityType
|
26
|
-
INDIVIDUAL = "INDIVIDUAL"
|
27
|
-
COMPANY = "COMPANY"
|
28
|
-
end
|
29
|
-
|
30
|
-
module Role
|
31
|
-
INDIVIDUAL_CUSTOMER = "INDIVIDUAL_CUSTOMER"
|
32
|
-
INDIVIDUAL_ASSOCIATED = "INDIVIDUAL_ASSOCIATED"
|
33
|
-
COMPANY_CUSTOMER = "COMPANY_CUSTOMER"
|
34
|
-
end
|
35
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "passfort/version"
|
4
|
+
require "passfort/errors"
|
5
|
+
|
6
|
+
require "passfort/resource"
|
7
|
+
require "passfort/endpoint"
|
8
|
+
require "passfort/client"
|
9
|
+
|
10
|
+
module Passfort
|
11
|
+
module CheckType
|
12
|
+
IDENTITY_CHECK = "IDENTITY_CHECK"
|
13
|
+
DOCUMENT_VERIFICATION = "DOCUMENT_VERIFICATION"
|
14
|
+
DOCUMENT_FETCH = "DOCUMENT_FETCH"
|
15
|
+
PEPS_SCREEN = "PEPS_SCREEN"
|
16
|
+
SANCTIONS_SCREEN = "SANCTIONS_SCREEN"
|
17
|
+
PEPS_AND_SANCTIONS_SCREEN = "PEPS_AND_SANCTIONS_SCREEN"
|
18
|
+
COMPANY_REGISTRY = "COMPANY_REGISTRY"
|
19
|
+
COMPANY_OWNERSHIP = "COMPANY_OWNERSHIP"
|
20
|
+
COMPANY_FILINGS = "COMPANY_FILINGS"
|
21
|
+
COMPANY_FILING_PURCHASE = "COMPANY_FILING_PURCHASE"
|
22
|
+
COMPANY_PEPS_AND_SANCTIONS_SCREEN = "COMPANY_PEPS_AND_SANCTIONS_SCREEN"
|
23
|
+
end
|
24
|
+
|
25
|
+
module EntityType
|
26
|
+
INDIVIDUAL = "INDIVIDUAL"
|
27
|
+
COMPANY = "COMPANY"
|
28
|
+
end
|
29
|
+
|
30
|
+
module Role
|
31
|
+
INDIVIDUAL_CUSTOMER = "INDIVIDUAL_CUSTOMER"
|
32
|
+
INDIVIDUAL_ASSOCIATED = "INDIVIDUAL_ASSOCIATED"
|
33
|
+
COMPANY_CUSTOMER = "COMPANY_CUSTOMER"
|
34
|
+
end
|
35
|
+
end
|