trinsic_api 3.3.0.pre.alpha3 → 3.3.0
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/docs/AadhaarDocumentOutput.md +28 -0
- data/docs/BrazilCnhProviderOutput.md +4 -0
- data/docs/BrazilCpfProviderOutput.md +0 -2
- data/docs/ChinaResidentIdMatchOutput.md +7 -1
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +4 -0
- data/docs/CzechBankIdProviderOutput.md +2 -2
- data/docs/CzechMojeIdProviderOutput.md +2 -0
- data/docs/DigidentityAddressOutput.md +22 -0
- data/docs/DigidentityProviderOutput.md +40 -0
- data/docs/DigilockerAadhaarProviderOutput.md +5 -1
- data/docs/ElSalvadorDuiProviderOutput.md +2 -2
- data/docs/FinnishTrustNetworkAddressOutput.md +3 -1
- data/docs/FinnishTrustNetworkProviderOutput.md +1 -1
- data/docs/{SignzyIndiaAadhaarFetchProviderOutput.md → IndiaDigilockerAadhaarFetchProviderOutput.md} +6 -2
- data/docs/IndonesiaDukcapilMatchProviderOutput.md +6 -0
- data/docs/ItsmeProviderOutput.md +2 -0
- data/docs/KenyaNidLookup2ProviderOutput.md +4 -0
- data/docs/KoreaTelcoMatchProviderOutput.md +6 -0
- data/docs/NigeriaNinLookup2ProviderOutput.md +4 -0
- data/docs/PhilippinesPhysicalNidProviderOutput.md +5 -1
- data/docs/PolandMobywatelMatchProviderOutput.md +4 -0
- data/docs/Provider.md +6 -2
- data/docs/ProviderInput.md +0 -12
- data/docs/ProviderOutput.md +9 -29
- data/docs/RecommendProviderInformation.md +6 -2
- data/docs/SouthAfricaNidLookup2ProviderOutput.md +2 -0
- data/docs/SubProviderMetadata.md +6 -4
- data/docs/SubmitNativeChallengeResponseRequest.md +1 -1
- data/docs/ZimbabweNidLookup2ProviderOutput.md +2 -0
- data/lib/trinsic_api/api_client.rb +2 -1
- data/lib/trinsic_api/api_model_base.rb +2 -0
- data/lib/trinsic_api/models/{belgium_id_card_provider_output.rb → aadhaar_document_output.rb} +52 -30
- data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +23 -1
- data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +1 -12
- data/lib/trinsic_api/models/china_resident_id_match_output.rb +38 -5
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +2 -2
- data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +12 -1
- data/lib/trinsic_api/models/{nigeria_nin_match2_sex_field.rb → digidentity_address_output.rb} +31 -20
- data/lib/trinsic_api/models/{nigeria_nin_match2_input.rb → digidentity_provider_output.rb} +101 -67
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +27 -5
- data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +2 -2
- data/lib/trinsic_api/models/finnish_trust_network_address_output.rb +16 -5
- data/lib/trinsic_api/models/{signzy_india_aadhaar_fetch_provider_output.rb → india_digilocker_aadhaar_fetch_provider_output.rb} +26 -4
- data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +34 -1
- data/lib/trinsic_api/models/itsme_provider_output.rb +12 -1
- data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +34 -1
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +23 -1
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +27 -5
- data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +23 -1
- data/lib/trinsic_api/models/provider.rb +71 -17
- data/lib/trinsic_api/models/provider_input.rb +1 -67
- data/lib/trinsic_api/models/provider_output.rb +46 -156
- data/lib/trinsic_api/models/recommend_provider_information.rb +71 -17
- data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +12 -1
- data/lib/trinsic_api/models/sub_provider_metadata.rb +68 -25
- data/lib/trinsic_api/models/submit_native_challenge_response_request.rb +1 -1
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +12 -1
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +4 -37
- data/spec/models/{kenya_nid_input_spec.rb → aadhaar_document_output_spec.rb} +12 -12
- data/spec/models/brazil_cnh_provider_output_spec.rb +12 -0
- data/spec/models/brazil_cpf_provider_output_spec.rb +0 -6
- data/spec/models/china_resident_id_match_output_spec.rb +18 -0
- data/spec/models/cote_d_ivoire_nid_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/czech_moje_id_provider_output_spec.rb +6 -0
- data/spec/models/{latvia_eparaksts_provider_output_spec.rb → digidentity_address_output_spec.rb} +9 -9
- data/spec/models/{yoti_deeplink_provider_output_spec.rb → digidentity_provider_output_spec.rb} +18 -18
- data/spec/models/digilocker_aadhaar_provider_output_spec.rb +12 -0
- data/spec/models/finnish_trust_network_address_output_spec.rb +6 -0
- data/spec/models/{signzy_india_aadhaar_fetch_provider_output_spec.rb → india_digilocker_aadhaar_fetch_provider_output_spec.rb} +18 -6
- data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +18 -0
- data/spec/models/itsme_provider_output_spec.rb +6 -0
- data/spec/models/kenya_nid_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/korea_telco_match_provider_output_spec.rb +18 -0
- data/spec/models/nigeria_nin_lookup2_provider_output_spec.rb +12 -0
- data/spec/models/philippines_physical_nid_provider_output_spec.rb +12 -0
- data/spec/models/poland_mobywatel_match_provider_output_spec.rb +12 -0
- data/spec/models/provider_input_spec.rb +0 -36
- data/spec/models/provider_output_spec.rb +21 -81
- data/spec/models/provider_spec.rb +13 -1
- data/spec/models/recommend_provider_information_spec.rb +13 -1
- data/spec/models/south_africa_nid_lookup2_provider_output_spec.rb +6 -0
- data/spec/models/sub_provider_metadata_spec.rb +8 -2
- data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +6 -0
- metadata +293 -425
- data/docs/BelgiumIdCardProviderOutput.md +0 -24
- data/docs/CzechiaMojeIdProviderOutput.md +0 -24
- data/docs/EstoniaIdCardProviderOutput.md +0 -24
- data/docs/FinlandIdCardProviderOutput.md +0 -24
- data/docs/FrejaIndirectProviderOutput.md +0 -24
- data/docs/KenyaNidInput.md +0 -28
- data/docs/KenyaNidMatch2DateOfBirthField.md +0 -20
- data/docs/KenyaNidMatch2FullNameField.md +0 -20
- data/docs/KenyaNidMatch2Input.md +0 -28
- data/docs/KenyaNidMatch2InputSex.md +0 -15
- data/docs/KenyaNidMatch2NationalIdNumberField.md +0 -20
- data/docs/KenyaNidMatch2ProviderOutput.md +0 -24
- data/docs/KenyaNidMatch2SexField.md +0 -20
- data/docs/LatviaEparakstsProviderOutput.md +0 -22
- data/docs/LithuaniaIdCardProviderOutput.md +0 -24
- data/docs/LloydsSmartIdProviderOutput.md +0 -40
- data/docs/NigeriaNinInput.md +0 -30
- data/docs/NigeriaNinMatch2DateOfBirthField.md +0 -20
- data/docs/NigeriaNinMatch2FullNameField.md +0 -20
- data/docs/NigeriaNinMatch2Input.md +0 -30
- data/docs/NigeriaNinMatch2InputSex.md +0 -15
- data/docs/NigeriaNinMatch2NationalIdNumberField.md +0 -20
- data/docs/NigeriaNinMatch2PhoneNumberField.md +0 -20
- data/docs/NigeriaNinMatch2ProviderOutput.md +0 -26
- data/docs/NigeriaNinMatch2SexField.md +0 -20
- data/docs/PortugalIdCardProviderOutput.md +0 -24
- data/docs/SerbiaIdCardProviderOutput.md +0 -24
- data/docs/SouthAfricaNidInput.md +0 -24
- data/docs/SouthAfricaNidMatch2DateOfBirthField.md +0 -20
- data/docs/SouthAfricaNidMatch2FullNameField.md +0 -20
- data/docs/SouthAfricaNidMatch2Input.md +0 -28
- data/docs/SouthAfricaNidMatch2InputSex.md +0 -15
- data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +0 -20
- data/docs/SouthAfricaNidMatch2ProviderOutput.md +0 -26
- data/docs/SouthAfricaNidMatch2SexField.md +0 -20
- data/docs/YotiDeeplinkProviderOutput.md +0 -40
- data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +0 -196
- data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/finland_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/freja_indirect_provider_output.rb +0 -196
- data/lib/trinsic_api/models/kenya_nid_input.rb +0 -353
- data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_input.rb +0 -239
- data/lib/trinsic_api/models/kenya_nid_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +0 -196
- data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +0 -173
- data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +0 -185
- data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +0 -284
- data/lib/trinsic_api/models/nigeria_nin_input.rb +0 -339
- data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +0 -173
- data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +0 -207
- data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +0 -196
- data/lib/trinsic_api/models/south_africa_nid_input.rb +0 -306
- data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +0 -239
- data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +0 -41
- data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +0 -173
- data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +0 -207
- data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +0 -173
- data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +0 -284
- data/spec/models/belgium_id_card_provider_output_spec.rb +0 -54
- data/spec/models/czechia_moje_id_provider_output_spec.rb +0 -54
- data/spec/models/estonia_id_card_provider_output_spec.rb +0 -54
- data/spec/models/finland_id_card_provider_output_spec.rb +0 -54
- data/spec/models/freja_indirect_provider_output_spec.rb +0 -54
- data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_full_name_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_input_sex_spec.rb +0 -30
- data/spec/models/kenya_nid_match2_input_spec.rb +0 -66
- data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/kenya_nid_match2_provider_output_spec.rb +0 -54
- data/spec/models/kenya_nid_match2_sex_field_spec.rb +0 -42
- data/spec/models/lithuania_id_card_provider_output_spec.rb +0 -54
- data/spec/models/lloyds_smart_id_provider_output_spec.rb +0 -102
- data/spec/models/nigeria_nin_input_spec.rb +0 -72
- data/spec/models/nigeria_nin_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_input_sex_spec.rb +0 -30
- data/spec/models/nigeria_nin_match2_input_spec.rb +0 -72
- data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +0 -42
- data/spec/models/nigeria_nin_match2_provider_output_spec.rb +0 -60
- data/spec/models/nigeria_nin_match2_sex_field_spec.rb +0 -42
- data/spec/models/portugal_id_card_provider_output_spec.rb +0 -54
- data/spec/models/serbia_id_card_provider_output_spec.rb +0 -54
- data/spec/models/south_africa_nid_input_spec.rb +0 -54
- data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_input_sex_spec.rb +0 -30
- data/spec/models/south_africa_nid_match2_input_spec.rb +0 -66
- data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +0 -42
- data/spec/models/south_africa_nid_match2_provider_output_spec.rb +0 -60
- data/spec/models/south_africa_nid_match2_sex_field_spec.rb +0 -42
|
@@ -14,50 +14,50 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for TrinsicApi::
|
|
17
|
+
# Unit tests for TrinsicApi::AadhaarDocumentOutput
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe TrinsicApi::
|
|
21
|
-
#let(:instance) { TrinsicApi::
|
|
20
|
+
describe TrinsicApi::AadhaarDocumentOutput do
|
|
21
|
+
#let(:instance) { TrinsicApi::AadhaarDocumentOutput.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of AadhaarDocumentOutput' do
|
|
24
|
+
it 'should create an instance of AadhaarDocumentOutput' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(TrinsicApi::
|
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::AadhaarDocumentOutput)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "aadhaar_number_last_four"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "date_of_birth"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "gender"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "address"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "full_address"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
@@ -27,6 +27,18 @@ describe TrinsicApi::BrazilCnhProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "last_issue_date"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "expiration_date"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
30
42
|
describe 'test attribute "cpf_number"' do
|
|
31
43
|
it 'should work' do
|
|
32
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -75,12 +75,6 @@ describe TrinsicApi::BrazilCpfProviderOutput do
|
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "year_of_death"' do
|
|
79
|
-
it 'should work' do
|
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
78
|
describe 'test attribute "date_of_registration"' do
|
|
85
79
|
it 'should work' do
|
|
86
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -33,16 +33,34 @@ describe TrinsicApi::ChinaResidentIdMatchOutput do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "full_name_match"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
describe 'test attribute "date_of_birth"' do
|
|
37
43
|
it 'should work' do
|
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
45
|
end
|
|
40
46
|
end
|
|
41
47
|
|
|
48
|
+
describe 'test attribute "date_of_birth_match"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
42
54
|
describe 'test attribute "resident_id_number"' do
|
|
43
55
|
it 'should work' do
|
|
44
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
57
|
end
|
|
46
58
|
end
|
|
47
59
|
|
|
60
|
+
describe 'test attribute "resident_id_number_match"' 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
|
+
|
|
48
66
|
end
|
|
@@ -27,6 +27,18 @@ describe TrinsicApi::CoteDIvoireNidLookup2ProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "issuing_country"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "lookup_id_number"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
30
42
|
describe 'test attribute "full_name"' do
|
|
31
43
|
it 'should work' do
|
|
32
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -27,6 +27,12 @@ describe TrinsicApi::CzechMojeIdProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "mailing_address"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
30
36
|
describe 'test attribute "subject_identifier"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
data/spec/models/{latvia_eparaksts_provider_output_spec.rb → digidentity_address_output_spec.rb}
RENAMED
|
@@ -14,32 +14,32 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for TrinsicApi::
|
|
17
|
+
# Unit tests for TrinsicApi::DigidentityAddressOutput
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe TrinsicApi::
|
|
21
|
-
#let(:instance) { TrinsicApi::
|
|
20
|
+
describe TrinsicApi::DigidentityAddressOutput do
|
|
21
|
+
#let(:instance) { TrinsicApi::DigidentityAddressOutput.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of DigidentityAddressOutput' do
|
|
24
|
+
it 'should create an instance of DigidentityAddressOutput' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(TrinsicApi::
|
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::DigidentityAddressOutput)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "street_address"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "postal_code"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "country"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
data/spec/models/{yoti_deeplink_provider_output_spec.rb → digidentity_provider_output_spec.rb}
RENAMED
|
@@ -14,86 +14,86 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for TrinsicApi::
|
|
17
|
+
# Unit tests for TrinsicApi::DigidentityProviderOutput
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe TrinsicApi::
|
|
21
|
-
#let(:instance) { TrinsicApi::
|
|
20
|
+
describe TrinsicApi::DigidentityProviderOutput do
|
|
21
|
+
#let(:instance) { TrinsicApi::DigidentityProviderOutput.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of DigidentityProviderOutput' do
|
|
24
|
+
it 'should create an instance of DigidentityProviderOutput' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(TrinsicApi::
|
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::DigidentityProviderOutput)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "sub"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "preferred_username"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "email"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "email_verified"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "phone_number_verified"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "given_name"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "middle_name"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "family_name"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "birth_date"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "gender"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "phone_number"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "address"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
@@ -27,6 +27,12 @@ describe TrinsicApi::DigilockerAadhaarProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "document"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
30
36
|
describe 'test attribute "document_type"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -69,4 +75,10 @@ describe TrinsicApi::DigilockerAadhaarProviderOutput do
|
|
|
69
75
|
end
|
|
70
76
|
end
|
|
71
77
|
|
|
78
|
+
describe 'test attribute "gender"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
72
84
|
end
|
|
@@ -45,4 +45,10 @@ describe TrinsicApi::FinnishTrustNetworkAddressOutput do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "country"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
48
54
|
end
|
|
@@ -14,16 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for TrinsicApi::
|
|
17
|
+
# Unit tests for TrinsicApi::IndiaDigilockerAadhaarFetchProviderOutput
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe TrinsicApi::
|
|
21
|
-
#let(:instance) { TrinsicApi::
|
|
20
|
+
describe TrinsicApi::IndiaDigilockerAadhaarFetchProviderOutput do
|
|
21
|
+
#let(:instance) { TrinsicApi::IndiaDigilockerAadhaarFetchProviderOutput.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of IndiaDigilockerAadhaarFetchProviderOutput' do
|
|
24
|
+
it 'should create an instance of IndiaDigilockerAadhaarFetchProviderOutput' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(TrinsicApi::
|
|
26
|
+
#expect(instance).to be_instance_of(TrinsicApi::IndiaDigilockerAadhaarFetchProviderOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "document"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
27
33
|
end
|
|
28
34
|
end
|
|
29
35
|
|
|
@@ -69,6 +75,12 @@ describe TrinsicApi::SignzyIndiaAadhaarFetchProviderOutput do
|
|
|
69
75
|
end
|
|
70
76
|
end
|
|
71
77
|
|
|
78
|
+
describe 'test attribute "details"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
72
84
|
describe 'test attribute "digilocker_id"' do
|
|
73
85
|
it 'should work' do
|
|
74
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -27,6 +27,24 @@ describe TrinsicApi::IndonesiaDukcapilMatchProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "liveness"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "face_match"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "image_authenticity"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
30
48
|
describe 'test attribute "national_id_number"' do
|
|
31
49
|
it 'should work' do
|
|
32
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -45,6 +45,12 @@ describe TrinsicApi::ItsmeProviderOutput do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "document_expiration_date"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
48
54
|
describe 'test attribute "sub"' do
|
|
49
55
|
it 'should work' do
|
|
50
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -27,6 +27,18 @@ describe TrinsicApi::KenyaNidLookup2ProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "issuing_country"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "full_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
30
42
|
describe 'test attribute "first_name"' do
|
|
31
43
|
it 'should work' do
|
|
32
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -27,6 +27,24 @@ describe TrinsicApi::KoreaTelcoMatchProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "full_name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "date_of_birth"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "sex"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
30
48
|
describe 'test attribute "phone_number"' do
|
|
31
49
|
it 'should work' do
|
|
32
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -27,6 +27,18 @@ describe TrinsicApi::NigeriaNinLookup2ProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "issuing_country"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "full_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
30
42
|
describe 'test attribute "first_name"' do
|
|
31
43
|
it 'should work' do
|
|
32
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -81,4 +81,16 @@ describe TrinsicApi::PhilippinesPhysicalNidProviderOutput do
|
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
describe 'test attribute "document_number"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "issuing_authority"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
84
96
|
end
|
|
@@ -27,6 +27,18 @@ describe TrinsicApi::PolandMobywatelMatchProviderOutput do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "is_match_for_uploaded_selfie"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "image_authenticity"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
30
42
|
describe 'test attribute "given_name"' do
|
|
31
43
|
it 'should work' do
|
|
32
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -63,24 +63,6 @@ describe TrinsicApi::ProviderInput do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "south_africa_nid_lookup"' do
|
|
67
|
-
it 'should work' do
|
|
68
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
-
end
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
describe 'test attribute "kenya_nid_lookup"' do
|
|
73
|
-
it 'should work' do
|
|
74
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
describe 'test attribute "kenya_nid_match_2"' do
|
|
79
|
-
it 'should work' do
|
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
66
|
describe 'test attribute "kenya_nid_lookup_2"' do
|
|
85
67
|
it 'should work' do
|
|
86
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -93,12 +75,6 @@ describe TrinsicApi::ProviderInput do
|
|
|
93
75
|
end
|
|
94
76
|
end
|
|
95
77
|
|
|
96
|
-
describe 'test attribute "south_africa_nid_match_2"' do
|
|
97
|
-
it 'should work' do
|
|
98
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
-
end
|
|
100
|
-
end
|
|
101
|
-
|
|
102
78
|
describe 'test attribute "nigeria_nin_lookup_2"' do
|
|
103
79
|
it 'should work' do
|
|
104
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -129,24 +105,12 @@ describe TrinsicApi::ProviderInput do
|
|
|
129
105
|
end
|
|
130
106
|
end
|
|
131
107
|
|
|
132
|
-
describe 'test attribute "nigeria_nin_match_2"' do
|
|
133
|
-
it 'should work' do
|
|
134
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
-
end
|
|
136
|
-
end
|
|
137
|
-
|
|
138
108
|
describe 'test attribute "uganda_nid_match_2"' do
|
|
139
109
|
it 'should work' do
|
|
140
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
111
|
end
|
|
142
112
|
end
|
|
143
113
|
|
|
144
|
-
describe 'test attribute "nigeria_nin_lookup"' do
|
|
145
|
-
it 'should work' do
|
|
146
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
-
end
|
|
148
|
-
end
|
|
149
|
-
|
|
150
114
|
describe 'test attribute "india_digilocker_aadhaar_match"' do
|
|
151
115
|
it 'should work' do
|
|
152
116
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|