trinsic_api 2.3.0.pre.alpha2 → 3.0.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/{EnvironmentRedirectUrisAddRequest.md → AddRedirectUriRequest.md} +2 -2
- data/docs/Address.md +2 -2
- data/docs/AppleWalletProviderOutput.md +18 -0
- data/docs/AttachmentInfo.md +24 -0
- data/docs/{MdlFieldDataType.md → AttributeAvailability.md} +2 -2
- data/docs/AustriaHandySignaturProviderOutput.md +20 -0
- data/docs/BelgiumIdCardProviderOutput.md +24 -0
- data/docs/ContractAttachment.md +20 -0
- data/docs/ContractAttribute.md +20 -0
- data/docs/CoteDIvoireNidLookup2Input.md +18 -0
- data/docs/CzechiaMojeIdProviderOutput.md +24 -0
- data/docs/DocumentData.md +12 -10
- data/docs/EstoniaIdCardProviderOutput.md +24 -0
- data/docs/FaydaProviderOutput.md +1 -1
- data/docs/FinlandIdCardProviderOutput.md +24 -0
- data/docs/FrejaProviderOutput.md +24 -0
- data/docs/FrenchNumeriqueGivenName.md +22 -0
- data/docs/FrenchNumeriqueNationality.md +20 -0
- data/docs/FrenchNumeriquePhone.md +22 -0
- data/docs/FrenchNumeriqueProviderOutput.md +66 -0
- data/docs/GetAttachmentRequest.md +2 -4
- data/docs/GoogleWalletProviderOutput.md +18 -0
- data/docs/IdentityData.md +9 -11
- data/docs/ItsmeProviderOutput.md +26 -0
- data/docs/KenyaNidMatch2Input.md +1 -1
- data/docs/{Language.md → KenyaNidMatch2InputSex.md} +2 -2
- data/docs/LaWalletProviderOutput.md +52 -0
- data/docs/LatviaEparakstsMobileProviderOutput.md +22 -0
- data/docs/LatviaEparakstsProviderOutput.md +22 -0
- data/docs/ListProvidersResponse.md +1 -1
- data/docs/{ListEnvironmentRedirectUrisResponse.md → ListRedirectUrisResponse.md} +2 -2
- data/docs/LithuaniaIdCardProviderOutput.md +24 -0
- data/docs/LloydsSmartIdProviderOutput.md +40 -0
- data/docs/Match.md +2 -2
- data/docs/MatchData.md +12 -10
- data/docs/MdlOutput.md +24 -0
- data/docs/MdlOutputCertificateData.md +26 -0
- data/docs/{ExternalMdlFieldData.md → MdlOutputFieldData.md} +3 -3
- data/docs/{FieldAvailability.md → MdlOutputFieldDataType.md} +2 -2
- data/docs/MexicoCurpProviderOutput.md +1 -1
- data/docs/MitIdProviderOutput.md +38 -0
- data/docs/MobileIdInput.md +1 -1
- data/docs/{SexV1.md → MobileIdLanguage.md} +2 -2
- data/docs/MobileIdProviderOutput.md +34 -0
- data/docs/NigeriaNinBiometric2Input.md +22 -0
- data/docs/NigeriaNinLookup2Input.md +18 -0
- data/docs/NigeriaNinMatch2Input.md +30 -0
- data/docs/NigeriaNinMatch2InputSex.md +15 -0
- data/docs/PersonData.md +10 -10
- data/docs/PeruDniAddress.md +22 -0
- data/docs/PeruDniLookupInput.md +18 -0
- data/docs/PeruDniProviderOutput.md +48 -0
- data/docs/PhilippinesDigitalNidProviderOutput.md +2 -2
- data/docs/PhilippinesPhysicalNidProviderOutput.md +2 -2
- data/docs/PolandEdoAppProviderOutput.md +24 -0
- data/docs/PolandMojeIdProviderOutput.md +22 -0
- data/docs/PortugalIdCardProviderOutput.md +24 -0
- data/docs/PostOfficeEasyIdProviderOutput.md +40 -0
- data/docs/{ProviderContract.md → Provider.md} +29 -25
- data/docs/ProviderInput.md +50 -32
- data/docs/ProviderOutput.md +61 -7
- data/docs/ProvidersApi.md +79 -0
- data/docs/RecommendProviderHealthOption.md +15 -0
- data/docs/{ProviderInformation.md → RecommendProviderInformation.md} +14 -14
- data/docs/{RecommendRequest.md → RecommendProvidersRequest.md} +3 -3
- data/docs/RecommendProvidersResponse.md +18 -0
- data/docs/{EnvironmentRedirectUrisApi.md → RedirectUrisApi.md} +21 -21
- data/docs/SamsungWalletProviderOutput.md +18 -0
- data/docs/SerbiaIdCardProviderOutput.md +24 -0
- data/docs/SessionsApi.md +149 -1
- data/docs/SmartIdInput.md +0 -2
- data/docs/SmartIdProviderOutput.md +42 -0
- data/docs/SouthAfricaNidBiometric2Input.md +22 -0
- data/docs/SouthAfricaNidMatch2Input.md +30 -0
- data/docs/SouthAfricaNidMatch2InputSex.md +15 -0
- data/docs/SpidProviderOutput.md +45 -25
- data/docs/SubProviderMetadata.md +0 -2
- data/docs/SwedenBankIdProviderOutput.md +42 -0
- data/docs/UgandaNidMatch2Input.md +22 -0
- data/docs/VerificationProfileResponse.md +3 -1
- data/docs/VerificationProfilesApi.md +3 -1
- data/docs/YotiDocumentDetails.md +26 -0
- data/docs/YotiProviderOutput.md +40 -0
- data/docs/YotiStructuredPostalAddress.md +56 -0
- data/docs/ZimbabweNidLookup2Input.md +18 -0
- data/lib/trinsic_api/api/providers_api.rb +82 -0
- data/lib/trinsic_api/api/{environment_redirect_uris_api.rb → redirect_uris_api.rb} +28 -28
- data/lib/trinsic_api/api/sessions_api.rb +142 -2
- data/lib/trinsic_api/api/verification_profiles_api.rb +3 -0
- data/lib/trinsic_api/models/{environment_redirect_uris_add_request.rb → add_redirect_uri_request.rb} +12 -3
- data/lib/trinsic_api/models/address.rb +3 -0
- data/lib/trinsic_api/models/apple_wallet_provider_output.rb +239 -0
- data/lib/trinsic_api/models/attachment_info.rb +319 -0
- data/lib/trinsic_api/models/{field_availability.rb → attribute_availability.rb} +3 -3
- data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +266 -0
- data/lib/trinsic_api/models/{bangladesh_nid_input.rb → belgium_id_card_provider_output.rb} +60 -90
- data/lib/trinsic_api/models/{contract_identifier_field.rb → contract_attachment.rb} +25 -52
- data/lib/trinsic_api/models/{contract_field.rb → contract_attribute.rb} +8 -35
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_input.rb +222 -0
- data/lib/trinsic_api/models/{finalize_mdl_exchange_response.rb → czechia_moje_id_provider_output.rb} +85 -52
- data/lib/trinsic_api/models/document_data.rb +18 -1
- data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +320 -0
- data/lib/trinsic_api/models/fayda_provider_output.rb +1 -0
- data/lib/trinsic_api/models/finland_id_card_provider_output.rb +320 -0
- data/lib/trinsic_api/models/freja_provider_output.rb +320 -0
- data/lib/trinsic_api/models/french_numerique_given_name.rb +245 -0
- data/lib/trinsic_api/models/french_numerique_nationality.rb +234 -0
- data/lib/trinsic_api/models/french_numerique_phone.rb +245 -0
- data/lib/trinsic_api/models/french_numerique_provider_output.rb +487 -0
- data/lib/trinsic_api/models/get_attachment_request.rb +22 -49
- data/lib/trinsic_api/models/google_wallet_provider_output.rb +239 -0
- data/lib/trinsic_api/models/identity_data.rb +30 -33
- data/lib/trinsic_api/models/itsme_provider_output.rb +315 -0
- data/lib/trinsic_api/models/kenya_nid_match2_input.rb +1 -1
- data/lib/trinsic_api/models/{sex_v1.rb → kenya_nid_match2_input_sex.rb} +4 -6
- data/lib/trinsic_api/models/la_wallet_provider_output.rb +682 -0
- data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +293 -0
- data/lib/trinsic_api/models/{create_mdl_exchange_response.rb → latvia_eparaksts_provider_output.rb} +53 -52
- data/lib/trinsic_api/models/list_providers_response.rb +2 -2
- data/lib/trinsic_api/models/{list_environment_redirect_uris_response.rb → list_redirect_uris_response.rb} +3 -3
- data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +320 -0
- data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +344 -0
- data/lib/trinsic_api/models/match.rb +2 -0
- data/lib/trinsic_api/models/match_data.rb +23 -1
- data/lib/trinsic_api/models/{mdl_identity_data.rb → mdl_output.rb} +35 -8
- data/lib/trinsic_api/models/{mdl_certificate_data.rb → mdl_output_certificate_data.rb} +4 -4
- data/lib/trinsic_api/models/{external_mdl_field_data.rb → mdl_output_field_data.rb} +4 -4
- data/lib/trinsic_api/models/{mdl_field_data_type.rb → mdl_output_field_data_type.rb} +5 -4
- data/lib/trinsic_api/models/mexico_curp_provider_output.rb +1 -0
- data/lib/trinsic_api/models/mit_id_provider_output.rb +333 -0
- data/lib/trinsic_api/models/mobile_id_input.rb +1 -1
- data/lib/trinsic_api/models/{language.rb → mobile_id_language.rb} +3 -3
- data/lib/trinsic_api/models/mobile_id_provider_output.rb +311 -0
- data/lib/trinsic_api/models/nigeria_nin_biometric2_input.rb +246 -0
- data/lib/trinsic_api/models/{provider_attachments.rb → nigeria_nin_lookup2_input.rb} +12 -11
- data/lib/trinsic_api/models/{recommend_response.rb → nigeria_nin_match2_input.rb} +94 -82
- data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +40 -0
- data/lib/trinsic_api/models/person_data.rb +7 -0
- data/lib/trinsic_api/models/{identifier.rb → peru_dni_address.rb} +53 -49
- data/lib/trinsic_api/models/peru_dni_lookup_input.rb +222 -0
- data/lib/trinsic_api/models/peru_dni_provider_output.rb +518 -0
- data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +2 -1
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +2 -1
- data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +320 -0
- data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +293 -0
- data/lib/trinsic_api/models/{finalize_mdl_exchange_request.rb → portugal_id_card_provider_output.rb} +69 -68
- data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +344 -0
- data/lib/trinsic_api/models/{provider_contract.rb → provider.rb} +183 -125
- data/lib/trinsic_api/models/provider_input.rb +223 -124
- data/lib/trinsic_api/models/provider_output.rb +317 -15
- data/lib/trinsic_api/models/recommend_provider_health_option.rb +41 -0
- data/lib/trinsic_api/models/{provider_information.rb → recommend_provider_information.rb} +79 -73
- data/lib/trinsic_api/models/{recommend_request.rb → recommend_providers_request.rb} +27 -5
- data/lib/trinsic_api/models/{list_provider_contracts_response.rb → recommend_providers_response.rb} +20 -21
- data/lib/trinsic_api/models/redirect_uri_response.rb +9 -0
- data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +239 -0
- data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +320 -0
- data/lib/trinsic_api/models/smart_id_input.rb +1 -12
- data/lib/trinsic_api/models/smart_id_provider_output.rb +355 -0
- data/lib/trinsic_api/models/south_africa_nid_biometric2_input.rb +246 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +310 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +40 -0
- data/lib/trinsic_api/models/spid_provider_output.rb +131 -20
- data/lib/trinsic_api/models/sub_provider_metadata.rb +1 -28
- data/lib/trinsic_api/models/{provider_info.rb → sweden_bank_id_provider_output.rb} +121 -153
- data/lib/trinsic_api/models/uganda_nid_match2_input.rb +244 -0
- data/lib/trinsic_api/models/verification_profile_response.rb +31 -4
- data/lib/trinsic_api/models/yoti_document_details.rb +266 -0
- data/lib/trinsic_api/models/yoti_provider_output.rb +344 -0
- data/lib/trinsic_api/models/yoti_structured_postal_address.rb +431 -0
- data/lib/trinsic_api/models/{document_scan_attachments.rb → zimbabwe_nid_lookup2_input.rb} +12 -11
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +63 -30
- data/spec/api/providers_api_spec.rb +47 -0
- data/spec/api/{environment_redirect_uris_api_spec.rb → redirect_uris_api_spec.rb} +10 -10
- data/spec/api/sessions_api_spec.rb +27 -1
- data/spec/api/verification_profiles_api_spec.rb +1 -0
- data/spec/models/{environment_redirect_uris_add_request_spec.rb → add_redirect_uri_request_spec.rb} +6 -6
- data/spec/models/{list_provider_contracts_response_spec.rb → apple_wallet_provider_output_spec.rb} +7 -7
- data/spec/models/attachment_info_spec.rb +54 -0
- data/spec/models/{mdl_field_data_type_spec.rb → attribute_availability_spec.rb} +6 -6
- data/spec/models/austria_handy_signatur_provider_output_spec.rb +42 -0
- data/spec/models/{finalize_mdl_exchange_response_spec.rb → belgium_id_card_provider_output_spec.rb} +10 -10
- data/spec/models/contract_attachment_spec.rb +42 -0
- data/spec/models/contract_attribute_spec.rb +42 -0
- data/spec/models/cote_d_ivoire_nid_lookup2_input_spec.rb +36 -0
- data/spec/models/czechia_moje_id_provider_output_spec.rb +54 -0
- data/spec/models/document_data_spec.rb +6 -0
- data/spec/models/estonia_id_card_provider_output_spec.rb +54 -0
- data/spec/models/finland_id_card_provider_output_spec.rb +54 -0
- data/spec/models/freja_provider_output_spec.rb +54 -0
- data/spec/models/french_numerique_given_name_spec.rb +48 -0
- data/spec/models/french_numerique_nationality_spec.rb +42 -0
- data/spec/models/{contract_identifier_field_spec.rb → french_numerique_phone_spec.rb} +9 -9
- data/spec/models/french_numerique_provider_output_spec.rb +180 -0
- data/spec/models/get_attachment_request_spec.rb +1 -7
- data/spec/models/google_wallet_provider_output_spec.rb +36 -0
- data/spec/models/identity_data_spec.rb +1 -7
- data/spec/models/{bangladesh_nid_input_spec.rb → itsme_provider_output_spec.rb} +11 -11
- data/spec/models/{sex_v1_spec.rb → kenya_nid_match2_input_sex_spec.rb} +6 -6
- data/spec/models/la_wallet_provider_output_spec.rb +138 -0
- data/spec/models/latvia_eparaksts_mobile_provider_output_spec.rb +48 -0
- data/spec/models/latvia_eparaksts_provider_output_spec.rb +48 -0
- data/spec/models/{list_environment_redirect_uris_response_spec.rb → list_redirect_uris_response_spec.rb} +6 -6
- data/spec/models/lithuania_id_card_provider_output_spec.rb +54 -0
- data/spec/models/lloyds_smart_id_provider_output_spec.rb +102 -0
- data/spec/models/match_data_spec.rb +6 -0
- data/spec/models/{mdl_certificate_data_spec.rb → mdl_output_certificate_data_spec.rb} +6 -6
- data/spec/models/{external_mdl_field_data_spec.rb → mdl_output_field_data_spec.rb} +6 -6
- data/spec/models/{field_availability_spec.rb → mdl_output_field_data_type_spec.rb} +6 -6
- data/spec/models/{mdl_identity_data_spec.rb → mdl_output_spec.rb} +12 -6
- data/spec/models/mit_id_provider_output_spec.rb +96 -0
- data/spec/models/{language_spec.rb → mobile_id_language_spec.rb} +6 -6
- data/spec/models/{create_mdl_exchange_request_spec.rb → mobile_id_provider_output_spec.rb} +20 -14
- data/spec/models/nigeria_nin_biometric2_input_spec.rb +48 -0
- data/spec/models/{document_scan_attachments_spec.rb → nigeria_nin_lookup2_input_spec.rb} +7 -7
- data/spec/models/nigeria_nin_match2_input_sex_spec.rb +30 -0
- data/spec/models/{provider_info_spec.rb → nigeria_nin_match2_input_spec.rb} +13 -13
- data/spec/models/{identifier_spec.rb → peru_dni_address_spec.rb} +9 -9
- data/spec/models/{provider_attachments_spec.rb → peru_dni_lookup_input_spec.rb} +7 -7
- data/spec/models/peru_dni_provider_output_spec.rb +126 -0
- data/spec/models/{finalize_mdl_exchange_request_spec.rb → poland_edo_app_provider_output_spec.rb} +10 -10
- data/spec/models/{create_mdl_exchange_response_spec.rb → poland_moje_id_provider_output_spec.rb} +9 -9
- data/spec/models/portugal_id_card_provider_output_spec.rb +54 -0
- data/spec/models/post_office_easy_id_provider_output_spec.rb +102 -0
- data/spec/models/provider_input_spec.rb +70 -16
- data/spec/models/provider_output_spec.rb +164 -2
- data/spec/models/{provider_contract_spec.rb → provider_spec.rb} +28 -16
- data/spec/models/recommend_provider_health_option_spec.rb +30 -0
- data/spec/models/{provider_information_spec.rb → recommend_provider_information_spec.rb} +11 -11
- data/spec/models/{recommend_request_spec.rb → recommend_providers_request_spec.rb} +6 -6
- data/spec/models/recommend_providers_response_spec.rb +36 -0
- data/spec/models/samsung_wallet_provider_output_spec.rb +36 -0
- data/spec/models/serbia_id_card_provider_output_spec.rb +54 -0
- data/spec/models/smart_id_input_spec.rb +0 -6
- data/spec/models/smart_id_provider_output_spec.rb +108 -0
- data/spec/models/south_africa_nid_biometric2_input_spec.rb +48 -0
- data/spec/models/south_africa_nid_match2_input_sex_spec.rb +30 -0
- data/spec/models/{attachment_access_keys_spec.rb → south_africa_nid_match2_input_spec.rb} +18 -12
- data/spec/models/spid_provider_output_spec.rb +61 -1
- data/spec/models/sub_provider_metadata_spec.rb +0 -6
- data/spec/models/sweden_bank_id_provider_output_spec.rb +108 -0
- data/spec/models/{contract_field_spec.rb → uganda_nid_match2_input_spec.rb} +9 -9
- data/spec/models/verification_profile_response_spec.rb +6 -0
- data/spec/models/yoti_document_details_spec.rb +60 -0
- data/spec/models/yoti_provider_output_spec.rb +102 -0
- data/spec/models/yoti_structured_postal_address_spec.rb +150 -0
- data/spec/models/zimbabwe_nid_lookup2_input_spec.rb +36 -0
- metadata +254 -122
- data/docs/AttachmentAccessKeys.md +0 -28
- data/docs/AttachmentsApi.md +0 -79
- data/docs/BangladeshNidInput.md +0 -26
- data/docs/ContractField.md +0 -22
- data/docs/ContractIdentifierField.md +0 -22
- data/docs/CreateMdlExchangeRequest.md +0 -32
- data/docs/CreateMdlExchangeResponse.md +0 -22
- data/docs/DocumentScanAttachments.md +0 -18
- data/docs/FinalizeMdlExchangeRequest.md +0 -24
- data/docs/FinalizeMdlExchangeResponse.md +0 -24
- data/docs/Identifier.md +0 -22
- data/docs/ListProviderContractsResponse.md +0 -18
- data/docs/MdlApi.md +0 -151
- data/docs/MdlCertificateData.md +0 -26
- data/docs/MdlIdentityData.md +0 -22
- data/docs/NetworkApi.md +0 -223
- data/docs/ProviderAttachments.md +0 -18
- data/docs/ProviderInfo.md +0 -30
- data/docs/RecommendResponse.md +0 -22
- data/lib/trinsic_api/api/attachments_api.rb +0 -86
- data/lib/trinsic_api/api/mdl_api.rb +0 -150
- data/lib/trinsic_api/api/network_api.rb +0 -215
- data/lib/trinsic_api/models/attachment_access_keys.rb +0 -287
- data/lib/trinsic_api/models/create_mdl_exchange_request.rb +0 -404
- data/spec/api/attachments_api_spec.rb +0 -47
- data/spec/api/mdl_api_spec.rb +0 -59
- data/spec/api/network_api_spec.rb +0 -72
- data/spec/models/recommend_response_spec.rb +0 -48
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class
|
|
17
|
+
class RecommendProviderInformation
|
|
18
18
|
# The ID of the provider
|
|
19
19
|
attr_accessor :id
|
|
20
20
|
|
|
@@ -27,21 +27,21 @@ module TrinsicApi
|
|
|
27
27
|
# The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider.
|
|
28
28
|
attr_accessor :subtext
|
|
29
29
|
|
|
30
|
-
# The ID of the provider
|
|
31
|
-
attr_accessor :provider_id
|
|
32
|
-
|
|
33
|
-
# The friendly, human-readable name of the provider
|
|
34
|
-
attr_accessor :provider_display_name
|
|
35
|
-
|
|
36
|
-
# A URL pointing to the provider's logo
|
|
37
|
-
attr_accessor :provider_logo
|
|
38
|
-
|
|
39
30
|
# The current health status of the provider
|
|
40
31
|
attr_accessor :health
|
|
41
32
|
|
|
42
33
|
# Metadata about the sub-providers which are available for this Provider. For example, Italy's SPID is a Provider which aggregates access to multiple sub-providers.
|
|
43
34
|
attr_accessor :sub_providers
|
|
44
35
|
|
|
36
|
+
# The regions a provider is available in.
|
|
37
|
+
attr_accessor :regions
|
|
38
|
+
|
|
39
|
+
# A list of countries, in alpha-2 ISO 3166-1 format, that the provider is available in.
|
|
40
|
+
attr_accessor :countries
|
|
41
|
+
|
|
42
|
+
# A list of subdivisions, in ISO 3166-2 format, that the provider is available in.
|
|
43
|
+
attr_accessor :subdivisions
|
|
44
|
+
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
@@ -49,11 +49,11 @@ module TrinsicApi
|
|
|
49
49
|
:'name' => :'name',
|
|
50
50
|
:'logo_url' => :'logoUrl',
|
|
51
51
|
:'subtext' => :'subtext',
|
|
52
|
-
:'provider_id' => :'providerId',
|
|
53
|
-
:'provider_display_name' => :'providerDisplayName',
|
|
54
|
-
:'provider_logo' => :'providerLogo',
|
|
55
52
|
:'health' => :'health',
|
|
56
|
-
:'sub_providers' => :'subProviders'
|
|
53
|
+
:'sub_providers' => :'subProviders',
|
|
54
|
+
:'regions' => :'regions',
|
|
55
|
+
:'countries' => :'countries',
|
|
56
|
+
:'subdivisions' => :'subdivisions'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
@@ -74,18 +74,18 @@ module TrinsicApi
|
|
|
74
74
|
:'name' => :'String',
|
|
75
75
|
:'logo_url' => :'String',
|
|
76
76
|
:'subtext' => :'String',
|
|
77
|
-
:'provider_id' => :'String',
|
|
78
|
-
:'provider_display_name' => :'String',
|
|
79
|
-
:'provider_logo' => :'String',
|
|
80
77
|
:'health' => :'String',
|
|
81
|
-
:'sub_providers' => :'Array<SubProviderMetadata>'
|
|
78
|
+
:'sub_providers' => :'Array<SubProviderMetadata>',
|
|
79
|
+
:'regions' => :'Array<String>',
|
|
80
|
+
:'countries' => :'Array<String>',
|
|
81
|
+
:'subdivisions' => :'Array<String>'
|
|
82
82
|
}
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
# List of attributes with nullable: true
|
|
86
86
|
def self.openapi_nullable
|
|
87
87
|
Set.new([
|
|
88
|
-
:'sub_providers'
|
|
88
|
+
:'sub_providers',
|
|
89
89
|
])
|
|
90
90
|
end
|
|
91
91
|
|
|
@@ -93,14 +93,14 @@ module TrinsicApi
|
|
|
93
93
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
94
94
|
def initialize(attributes = {})
|
|
95
95
|
if (!attributes.is_a?(Hash))
|
|
96
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::
|
|
96
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::RecommendProviderInformation` initialize method"
|
|
97
97
|
end
|
|
98
98
|
|
|
99
99
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
100
100
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
101
101
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
102
102
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
103
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::
|
|
103
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendProviderInformation`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
104
104
|
end
|
|
105
105
|
h[k.to_sym] = v
|
|
106
106
|
}
|
|
@@ -129,34 +129,40 @@ module TrinsicApi
|
|
|
129
129
|
self.subtext = nil
|
|
130
130
|
end
|
|
131
131
|
|
|
132
|
-
if attributes.key?(:'
|
|
133
|
-
self.
|
|
132
|
+
if attributes.key?(:'health')
|
|
133
|
+
self.health = attributes[:'health']
|
|
134
134
|
else
|
|
135
|
-
self.
|
|
135
|
+
self.health = nil
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
if attributes.key?(:'
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
if attributes.key?(:'sub_providers')
|
|
139
|
+
if (value = attributes[:'sub_providers']).is_a?(Array)
|
|
140
|
+
self.sub_providers = value
|
|
141
|
+
end
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
-
if attributes.key?(:'
|
|
145
|
-
|
|
144
|
+
if attributes.key?(:'regions')
|
|
145
|
+
if (value = attributes[:'regions']).is_a?(Array)
|
|
146
|
+
self.regions = value
|
|
147
|
+
end
|
|
146
148
|
else
|
|
147
|
-
self.
|
|
149
|
+
self.regions = nil
|
|
148
150
|
end
|
|
149
151
|
|
|
150
|
-
if attributes.key?(:'
|
|
151
|
-
|
|
152
|
+
if attributes.key?(:'countries')
|
|
153
|
+
if (value = attributes[:'countries']).is_a?(Array)
|
|
154
|
+
self.countries = value
|
|
155
|
+
end
|
|
152
156
|
else
|
|
153
|
-
self.
|
|
157
|
+
self.countries = nil
|
|
154
158
|
end
|
|
155
159
|
|
|
156
|
-
if attributes.key?(:'
|
|
157
|
-
if (value = attributes[:'
|
|
158
|
-
self.
|
|
160
|
+
if attributes.key?(:'subdivisions')
|
|
161
|
+
if (value = attributes[:'subdivisions']).is_a?(Array)
|
|
162
|
+
self.subdivisions = value
|
|
159
163
|
end
|
|
164
|
+
else
|
|
165
|
+
self.subdivisions = nil
|
|
160
166
|
end
|
|
161
167
|
end
|
|
162
168
|
|
|
@@ -181,20 +187,20 @@ module TrinsicApi
|
|
|
181
187
|
invalid_properties.push('invalid value for "subtext", subtext cannot be nil.')
|
|
182
188
|
end
|
|
183
189
|
|
|
184
|
-
if @
|
|
185
|
-
invalid_properties.push('invalid value for "
|
|
190
|
+
if @health.nil?
|
|
191
|
+
invalid_properties.push('invalid value for "health", health cannot be nil.')
|
|
186
192
|
end
|
|
187
193
|
|
|
188
|
-
if @
|
|
189
|
-
invalid_properties.push('invalid value for "
|
|
194
|
+
if @regions.nil?
|
|
195
|
+
invalid_properties.push('invalid value for "regions", regions cannot be nil.')
|
|
190
196
|
end
|
|
191
197
|
|
|
192
|
-
if @
|
|
193
|
-
invalid_properties.push('invalid value for "
|
|
198
|
+
if @countries.nil?
|
|
199
|
+
invalid_properties.push('invalid value for "countries", countries cannot be nil.')
|
|
194
200
|
end
|
|
195
201
|
|
|
196
|
-
if @
|
|
197
|
-
invalid_properties.push('invalid value for "
|
|
202
|
+
if @subdivisions.nil?
|
|
203
|
+
invalid_properties.push('invalid value for "subdivisions", subdivisions cannot be nil.')
|
|
198
204
|
end
|
|
199
205
|
|
|
200
206
|
invalid_properties
|
|
@@ -208,10 +214,10 @@ module TrinsicApi
|
|
|
208
214
|
return false if @name.nil?
|
|
209
215
|
return false if @logo_url.nil?
|
|
210
216
|
return false if @subtext.nil?
|
|
211
|
-
return false if @provider_id.nil?
|
|
212
|
-
return false if @provider_display_name.nil?
|
|
213
|
-
return false if @provider_logo.nil?
|
|
214
217
|
return false if @health.nil?
|
|
218
|
+
return false if @regions.nil?
|
|
219
|
+
return false if @countries.nil?
|
|
220
|
+
return false if @subdivisions.nil?
|
|
215
221
|
true
|
|
216
222
|
end
|
|
217
223
|
|
|
@@ -256,43 +262,43 @@ module TrinsicApi
|
|
|
256
262
|
end
|
|
257
263
|
|
|
258
264
|
# Custom attribute writer method with validation
|
|
259
|
-
# @param [Object]
|
|
260
|
-
def
|
|
261
|
-
if
|
|
262
|
-
fail ArgumentError, '
|
|
265
|
+
# @param [Object] health Value to be assigned
|
|
266
|
+
def health=(health)
|
|
267
|
+
if health.nil?
|
|
268
|
+
fail ArgumentError, 'health cannot be nil'
|
|
263
269
|
end
|
|
264
270
|
|
|
265
|
-
@
|
|
271
|
+
@health = health
|
|
266
272
|
end
|
|
267
273
|
|
|
268
274
|
# Custom attribute writer method with validation
|
|
269
|
-
# @param [Object]
|
|
270
|
-
def
|
|
271
|
-
if
|
|
272
|
-
fail ArgumentError, '
|
|
275
|
+
# @param [Object] regions Value to be assigned
|
|
276
|
+
def regions=(regions)
|
|
277
|
+
if regions.nil?
|
|
278
|
+
fail ArgumentError, 'regions cannot be nil'
|
|
273
279
|
end
|
|
274
280
|
|
|
275
|
-
@
|
|
281
|
+
@regions = regions
|
|
276
282
|
end
|
|
277
283
|
|
|
278
284
|
# Custom attribute writer method with validation
|
|
279
|
-
# @param [Object]
|
|
280
|
-
def
|
|
281
|
-
if
|
|
282
|
-
fail ArgumentError, '
|
|
285
|
+
# @param [Object] countries Value to be assigned
|
|
286
|
+
def countries=(countries)
|
|
287
|
+
if countries.nil?
|
|
288
|
+
fail ArgumentError, 'countries cannot be nil'
|
|
283
289
|
end
|
|
284
290
|
|
|
285
|
-
@
|
|
291
|
+
@countries = countries
|
|
286
292
|
end
|
|
287
293
|
|
|
288
294
|
# Custom attribute writer method with validation
|
|
289
|
-
# @param [Object]
|
|
290
|
-
def
|
|
291
|
-
if
|
|
292
|
-
fail ArgumentError, '
|
|
295
|
+
# @param [Object] subdivisions Value to be assigned
|
|
296
|
+
def subdivisions=(subdivisions)
|
|
297
|
+
if subdivisions.nil?
|
|
298
|
+
fail ArgumentError, 'subdivisions cannot be nil'
|
|
293
299
|
end
|
|
294
300
|
|
|
295
|
-
@
|
|
301
|
+
@subdivisions = subdivisions
|
|
296
302
|
end
|
|
297
303
|
|
|
298
304
|
# Checks equality by comparing each attribute.
|
|
@@ -304,11 +310,11 @@ module TrinsicApi
|
|
|
304
310
|
name == o.name &&
|
|
305
311
|
logo_url == o.logo_url &&
|
|
306
312
|
subtext == o.subtext &&
|
|
307
|
-
provider_id == o.provider_id &&
|
|
308
|
-
provider_display_name == o.provider_display_name &&
|
|
309
|
-
provider_logo == o.provider_logo &&
|
|
310
313
|
health == o.health &&
|
|
311
|
-
sub_providers == o.sub_providers
|
|
314
|
+
sub_providers == o.sub_providers &&
|
|
315
|
+
regions == o.regions &&
|
|
316
|
+
countries == o.countries &&
|
|
317
|
+
subdivisions == o.subdivisions
|
|
312
318
|
end
|
|
313
319
|
|
|
314
320
|
# @see the `==` method
|
|
@@ -320,7 +326,7 @@ module TrinsicApi
|
|
|
320
326
|
# Calculates hash code according to all attributes.
|
|
321
327
|
# @return [Integer] Hash code
|
|
322
328
|
def hash
|
|
323
|
-
[id, name, logo_url, subtext,
|
|
329
|
+
[id, name, logo_url, subtext, health, sub_providers, regions, countries, subdivisions].hash
|
|
324
330
|
end
|
|
325
331
|
|
|
326
332
|
# Builds the object from hash
|
|
@@ -14,16 +14,38 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class
|
|
17
|
+
class RecommendProvidersRequest
|
|
18
18
|
# The ID of the VerificationProfile to use for this recommendation.
|
|
19
19
|
attr_accessor :verification_profile_id
|
|
20
20
|
|
|
21
21
|
# Information about the user you wish to generate a recommendation for.
|
|
22
22
|
attr_accessor :recommendation_info
|
|
23
23
|
|
|
24
|
-
# Filter providers by health status.
|
|
24
|
+
# Filter providers by health status.
|
|
25
25
|
attr_accessor :health
|
|
26
26
|
|
|
27
|
+
class EnumAttributeValidator
|
|
28
|
+
attr_reader :datatype
|
|
29
|
+
attr_reader :allowable_values
|
|
30
|
+
|
|
31
|
+
def initialize(datatype, allowable_values)
|
|
32
|
+
@allowable_values = allowable_values.map do |value|
|
|
33
|
+
case datatype.to_s
|
|
34
|
+
when /Integer/i
|
|
35
|
+
value.to_i
|
|
36
|
+
when /Float/i
|
|
37
|
+
value.to_f
|
|
38
|
+
else
|
|
39
|
+
value
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def valid?(value)
|
|
45
|
+
!value || allowable_values.include?(value)
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
27
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
28
50
|
def self.attribute_map
|
|
29
51
|
{
|
|
@@ -48,7 +70,7 @@ module TrinsicApi
|
|
|
48
70
|
{
|
|
49
71
|
:'verification_profile_id' => :'String',
|
|
50
72
|
:'recommendation_info' => :'RecommendationInfo',
|
|
51
|
-
:'health' => :'
|
|
73
|
+
:'health' => :'RecommendProviderHealthOption'
|
|
52
74
|
}
|
|
53
75
|
end
|
|
54
76
|
|
|
@@ -64,14 +86,14 @@ module TrinsicApi
|
|
|
64
86
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
65
87
|
def initialize(attributes = {})
|
|
66
88
|
if (!attributes.is_a?(Hash))
|
|
67
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::
|
|
89
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::RecommendProvidersRequest` initialize method"
|
|
68
90
|
end
|
|
69
91
|
|
|
70
92
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
71
93
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
72
94
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
73
95
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
74
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::
|
|
96
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendProvidersRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
75
97
|
end
|
|
76
98
|
h[k.to_sym] = v
|
|
77
99
|
}
|
data/lib/trinsic_api/models/{list_provider_contracts_response.rb → recommend_providers_response.rb}
RENAMED
|
@@ -14,14 +14,13 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class
|
|
18
|
-
|
|
19
|
-
attr_accessor :provider_contracts
|
|
17
|
+
class RecommendProvidersResponse
|
|
18
|
+
attr_accessor :recommended_providers
|
|
20
19
|
|
|
21
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
21
|
def self.attribute_map
|
|
23
22
|
{
|
|
24
|
-
:'
|
|
23
|
+
:'recommended_providers' => :'recommendedProviders'
|
|
25
24
|
}
|
|
26
25
|
end
|
|
27
26
|
|
|
@@ -38,7 +37,7 @@ module TrinsicApi
|
|
|
38
37
|
# Attribute type mapping.
|
|
39
38
|
def self.openapi_types
|
|
40
39
|
{
|
|
41
|
-
:'
|
|
40
|
+
:'recommended_providers' => :'Array<RecommendProviderInformation>'
|
|
42
41
|
}
|
|
43
42
|
end
|
|
44
43
|
|
|
@@ -52,24 +51,24 @@ module TrinsicApi
|
|
|
52
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
53
52
|
def initialize(attributes = {})
|
|
54
53
|
if (!attributes.is_a?(Hash))
|
|
55
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::
|
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::RecommendProvidersResponse` initialize method"
|
|
56
55
|
end
|
|
57
56
|
|
|
58
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
59
58
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
60
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
61
60
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::RecommendProvidersResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
63
62
|
end
|
|
64
63
|
h[k.to_sym] = v
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
if attributes.key?(:'
|
|
68
|
-
if (value = attributes[:'
|
|
69
|
-
self.
|
|
66
|
+
if attributes.key?(:'recommended_providers')
|
|
67
|
+
if (value = attributes[:'recommended_providers']).is_a?(Array)
|
|
68
|
+
self.recommended_providers = value
|
|
70
69
|
end
|
|
71
70
|
else
|
|
72
|
-
self.
|
|
71
|
+
self.recommended_providers = nil
|
|
73
72
|
end
|
|
74
73
|
end
|
|
75
74
|
|
|
@@ -78,8 +77,8 @@ module TrinsicApi
|
|
|
78
77
|
def list_invalid_properties
|
|
79
78
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
80
79
|
invalid_properties = Array.new
|
|
81
|
-
if @
|
|
82
|
-
invalid_properties.push('invalid value for "
|
|
80
|
+
if @recommended_providers.nil?
|
|
81
|
+
invalid_properties.push('invalid value for "recommended_providers", recommended_providers cannot be nil.')
|
|
83
82
|
end
|
|
84
83
|
|
|
85
84
|
invalid_properties
|
|
@@ -89,18 +88,18 @@ module TrinsicApi
|
|
|
89
88
|
# @return true if the model is valid
|
|
90
89
|
def valid?
|
|
91
90
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
92
|
-
return false if @
|
|
91
|
+
return false if @recommended_providers.nil?
|
|
93
92
|
true
|
|
94
93
|
end
|
|
95
94
|
|
|
96
95
|
# Custom attribute writer method with validation
|
|
97
|
-
# @param [Object]
|
|
98
|
-
def
|
|
99
|
-
if
|
|
100
|
-
fail ArgumentError, '
|
|
96
|
+
# @param [Object] recommended_providers Value to be assigned
|
|
97
|
+
def recommended_providers=(recommended_providers)
|
|
98
|
+
if recommended_providers.nil?
|
|
99
|
+
fail ArgumentError, 'recommended_providers cannot be nil'
|
|
101
100
|
end
|
|
102
101
|
|
|
103
|
-
@
|
|
102
|
+
@recommended_providers = recommended_providers
|
|
104
103
|
end
|
|
105
104
|
|
|
106
105
|
# Checks equality by comparing each attribute.
|
|
@@ -108,7 +107,7 @@ module TrinsicApi
|
|
|
108
107
|
def ==(o)
|
|
109
108
|
return true if self.equal?(o)
|
|
110
109
|
self.class == o.class &&
|
|
111
|
-
|
|
110
|
+
recommended_providers == o.recommended_providers
|
|
112
111
|
end
|
|
113
112
|
|
|
114
113
|
# @see the `==` method
|
|
@@ -120,7 +119,7 @@ module TrinsicApi
|
|
|
120
119
|
# Calculates hash code according to all attributes.
|
|
121
120
|
# @return [Integer] Hash code
|
|
122
121
|
def hash
|
|
123
|
-
[
|
|
122
|
+
[recommended_providers].hash
|
|
124
123
|
end
|
|
125
124
|
|
|
126
125
|
# Builds the object from hash
|
|
@@ -93,6 +93,10 @@ module TrinsicApi
|
|
|
93
93
|
invalid_properties.push('invalid value for "uri", uri cannot be nil.')
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
if @uri.to_s.length < 1
|
|
97
|
+
invalid_properties.push('invalid value for "uri", the character length must be great than or equal to 1.')
|
|
98
|
+
end
|
|
99
|
+
|
|
96
100
|
invalid_properties
|
|
97
101
|
end
|
|
98
102
|
|
|
@@ -102,6 +106,7 @@ module TrinsicApi
|
|
|
102
106
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
103
107
|
return false if @id.nil?
|
|
104
108
|
return false if @uri.nil?
|
|
109
|
+
return false if @uri.to_s.length < 1
|
|
105
110
|
true
|
|
106
111
|
end
|
|
107
112
|
|
|
@@ -122,6 +127,10 @@ module TrinsicApi
|
|
|
122
127
|
fail ArgumentError, 'uri cannot be nil'
|
|
123
128
|
end
|
|
124
129
|
|
|
130
|
+
if uri.to_s.length < 1
|
|
131
|
+
fail ArgumentError, 'invalid value for "uri", the character length must be great than or equal to 1.'
|
|
132
|
+
end
|
|
133
|
+
|
|
125
134
|
@uri = uri
|
|
126
135
|
end
|
|
127
136
|
|