didit-sdk 2.34.0 → 2.36.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/CHANGELOG.md +48 -0
- data/lib/didit/resources/authentication_setup.rb +29 -28
- data/lib/didit/resources/bank.rb +183 -61
- data/lib/didit/resources/messages.rb +1 -1
- data/lib/didit/resources/phone.rb +757 -1
- data/lib/didit/resources/pricing.rb +42 -0
- data/lib/didit/types/bank.rb +60 -0
- data/lib/didit/types/components.rb +123 -6
- data/lib/didit/types/phone.rb +673 -0
- data/lib/didit/types.rb +94 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/bank.rbs +2 -0
- data/sig/didit/resources/phone.rbs +39 -0
- data/sig/didit/resources/pricing.rbs +2 -0
- data/sig/didit/types/bank.rbs +58 -0
- data/sig/didit/types/components.rbs +103 -0
- data/sig/didit/types/phone.rbs +607 -0
- metadata +1 -1
data/lib/didit/types.rb
CHANGED
|
@@ -255,6 +255,10 @@ module Didit
|
|
|
255
255
|
autoload :BankSignInPricingAddOns, "didit/types/components"
|
|
256
256
|
autoload :BankSignInPricingOneTimeData, "didit/types/components"
|
|
257
257
|
autoload :BankSignInPricingOngoing, "didit/types/components"
|
|
258
|
+
autoload :BankSimulateConnectionParamsAction, "didit/types/bank"
|
|
259
|
+
autoload :BankSimulateLinkParamsErrorCode, "didit/types/bank"
|
|
260
|
+
autoload :BankSimulateLinkParamsOutcome, "didit/types/bank"
|
|
261
|
+
autoload :BankSimulateLinkParamsPersona, "didit/types/bank"
|
|
258
262
|
autoload :BankStatementUploadPricing, "didit/types/components"
|
|
259
263
|
autoload :BankSyncBudget, "didit/types/components"
|
|
260
264
|
autoload :BankSyncBudgetResource, "didit/types/components"
|
|
@@ -279,6 +283,19 @@ module Didit
|
|
|
279
283
|
autoload :BankTransactionPage, "didit/types/components"
|
|
280
284
|
autoload :BankTransactionRemittance, "didit/types/components"
|
|
281
285
|
autoload :BankTransactionStatus, "didit/types/components"
|
|
286
|
+
autoload :BankVerificationCountryCoverage, "didit/types/components"
|
|
287
|
+
autoload :BankVerificationCoverage, "didit/types/components"
|
|
288
|
+
autoload :BankVerificationCoverageAvailability, "didit/types/components"
|
|
289
|
+
autoload :BankVerificationCoverageBank, "didit/types/components"
|
|
290
|
+
autoload :BankVerificationCoverageBankAccess, "didit/types/components"
|
|
291
|
+
autoload :BankVerificationCoverageBankSegments, "didit/types/components"
|
|
292
|
+
autoload :BankVerificationCoverageBankStatus, "didit/types/components"
|
|
293
|
+
autoload :BankVerificationCoverageCountriesValue, "didit/types/components"
|
|
294
|
+
autoload :BankVerificationCoverageCountriesValueBanksBySegment, "didit/types/components"
|
|
295
|
+
autoload :BankVerificationCoverageDataRead, "didit/types/components"
|
|
296
|
+
autoload :BankVerificationCoverageOpen, "didit/types/components"
|
|
297
|
+
autoload :BankVerificationOneTimeAvailability, "didit/types/components"
|
|
298
|
+
autoload :BankVerificationOngoingAvailability, "didit/types/components"
|
|
282
299
|
autoload :BankVerificationPricing, "didit/types/components"
|
|
283
300
|
autoload :BankVerificationPricingCountry, "didit/types/components"
|
|
284
301
|
autoload :BankVerificationPricingCurrency, "didit/types/components"
|
|
@@ -306,6 +323,7 @@ module Didit
|
|
|
306
323
|
autoload :BankVerificationResultRoute, "didit/types/components"
|
|
307
324
|
autoload :BankVerificationResultRouteCredentialSource, "didit/types/components"
|
|
308
325
|
autoload :BankVerificationResultStatus, "didit/types/components"
|
|
326
|
+
autoload :BankVerificationWorkflowsAvailability, "didit/types/components"
|
|
309
327
|
autoload :BillingRetrieveBalanceResponse, "didit/types/billing"
|
|
310
328
|
autoload :BillingTopUpCharge, "didit/types/components"
|
|
311
329
|
autoload :BillingTopUpChargeOutcome, "didit/types/components"
|
|
@@ -1088,17 +1106,93 @@ module Didit
|
|
|
1088
1106
|
autoload :PhoneCheckCodeParamsPhoneTypeRiskAction, "didit/types/phone"
|
|
1089
1107
|
autoload :PhoneCheckCodeParamsRecentPortAction, "didit/types/phone"
|
|
1090
1108
|
autoload :PhoneCheckCodeParamsVoipNumberAction, "didit/types/phone"
|
|
1109
|
+
autoload :PhoneFactorsCreateParamsType, "didit/types/phone"
|
|
1110
|
+
autoload :PhoneFactorsCreateResponse, "didit/types/phone"
|
|
1111
|
+
autoload :PhoneFactorsCreateResponseStatus, "didit/types/phone"
|
|
1112
|
+
autoload :PhoneFactorsCreateResponseTotp, "didit/types/phone"
|
|
1113
|
+
autoload :PhoneFactorsCreateResponseType, "didit/types/phone"
|
|
1114
|
+
autoload :PhoneFactorsListParamsFormat, "didit/types/phone"
|
|
1115
|
+
autoload :PhoneFactorsListParamsStatus, "didit/types/phone"
|
|
1116
|
+
autoload :PhoneFactorsListParamsType, "didit/types/phone"
|
|
1117
|
+
autoload :PhoneFactorsListResponse, "didit/types/phone"
|
|
1118
|
+
autoload :PhoneFactorsListResponseResults, "didit/types/phone"
|
|
1119
|
+
autoload :PhoneFactorsListResponseResultsStatus, "didit/types/phone"
|
|
1120
|
+
autoload :PhoneFactorsListResponseResultsType, "didit/types/phone"
|
|
1121
|
+
autoload :PhoneFactorsRetrieveResponse, "didit/types/phone"
|
|
1122
|
+
autoload :PhoneFactorsRetrieveResponseStatus, "didit/types/phone"
|
|
1123
|
+
autoload :PhoneFactorsRetrieveResponseType, "didit/types/phone"
|
|
1124
|
+
autoload :PhoneFactorsUpdateParamsStatus, "didit/types/phone"
|
|
1125
|
+
autoload :PhoneFactorsUpdateResponse, "didit/types/phone"
|
|
1126
|
+
autoload :PhoneFactorsUpdateResponseStatus, "didit/types/phone"
|
|
1127
|
+
autoload :PhoneFactorsUpdateResponseType, "didit/types/phone"
|
|
1091
1128
|
autoload :PhoneIntelligence, "didit/types/components"
|
|
1092
1129
|
autoload :PhoneIntelligenceReasonCodes, "didit/types/components"
|
|
1093
1130
|
autoload :PhoneIntelligenceReasonCodesDirection, "didit/types/components"
|
|
1094
1131
|
autoload :PhoneMatchItem, "didit/types/components"
|
|
1132
|
+
autoload :PhoneNetworkRegistrationsCreateParamsFeature, "didit/types/phone"
|
|
1133
|
+
autoload :PhoneNetworkRegistrationsCreateParamsUseCase, "didit/types/phone"
|
|
1134
|
+
autoload :PhoneNetworkRegistrationsCreateResponse, "didit/types/phone"
|
|
1135
|
+
autoload :PhoneNetworkRegistrationsCreateResponseFeature, "didit/types/phone"
|
|
1136
|
+
autoload :PhoneNetworkRegistrationsCreateResponseNetworks, "didit/types/phone"
|
|
1137
|
+
autoload :PhoneNetworkRegistrationsCreateResponseNetworksStatus, "didit/types/phone"
|
|
1138
|
+
autoload :PhoneNetworkRegistrationsCreateResponseStatus, "didit/types/phone"
|
|
1139
|
+
autoload :PhoneNetworkRegistrationsCreateResponseTestAccess, "didit/types/phone"
|
|
1140
|
+
autoload :PhoneNetworkRegistrationsCreateResponseTestNumbers, "didit/types/phone"
|
|
1141
|
+
autoload :PhoneNetworkRegistrationsCreateResponseTestNumbersStatus, "didit/types/phone"
|
|
1142
|
+
autoload :PhoneNetworkRegistrationsCreateResponseTestNumbersTestAccess, "didit/types/phone"
|
|
1143
|
+
autoload :PhoneNetworkRegistrationsListParamsFeature, "didit/types/phone"
|
|
1144
|
+
autoload :PhoneNetworkRegistrationsListParamsFormat, "didit/types/phone"
|
|
1145
|
+
autoload :PhoneNetworkRegistrationsListParamsStatus, "didit/types/phone"
|
|
1146
|
+
autoload :PhoneNetworkRegistrationsListResponse, "didit/types/phone"
|
|
1147
|
+
autoload :PhoneNetworkRegistrationsListResponseResults, "didit/types/phone"
|
|
1148
|
+
autoload :PhoneNetworkRegistrationsListResponseResultsFeature, "didit/types/phone"
|
|
1149
|
+
autoload :PhoneNetworkRegistrationsListResponseResultsStatus, "didit/types/phone"
|
|
1150
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponse, "didit/types/phone"
|
|
1151
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponseFeature, "didit/types/phone"
|
|
1152
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponseNetworks, "didit/types/phone"
|
|
1153
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponseNetworksStatus, "didit/types/phone"
|
|
1154
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponseStatus, "didit/types/phone"
|
|
1155
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponseTestAccess, "didit/types/phone"
|
|
1156
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponseTestNumbers, "didit/types/phone"
|
|
1157
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponseTestNumbersStatus, "didit/types/phone"
|
|
1158
|
+
autoload :PhoneNetworkRegistrationsRetrieveResponseTestNumbersTestAccess, "didit/types/phone"
|
|
1159
|
+
autoload :PhoneNetworkRegistrationsTestNumbersCreateResponse, "didit/types/phone"
|
|
1160
|
+
autoload :PhoneNetworkRegistrationsTestNumbersCreateResponseStatus, "didit/types/phone"
|
|
1161
|
+
autoload :PhoneNetworkRegistrationsTestNumbersCreateResponseTestAccess, "didit/types/phone"
|
|
1095
1162
|
autoload :PhoneRiskResponse, "didit/types/components"
|
|
1096
1163
|
autoload :PhoneRiskResponsePhone, "didit/types/components"
|
|
1097
1164
|
autoload :PhoneRiskResponsePhoneCarrier, "didit/types/components"
|
|
1098
1165
|
autoload :PhoneRiskResponsePhoneStatus, "didit/types/components"
|
|
1099
1166
|
autoload :PhoneRiskResponseStatus, "didit/types/components"
|
|
1167
|
+
autoload :PhoneSdkKeysCreateParamsPlatform, "didit/types/phone"
|
|
1168
|
+
autoload :PhoneSdkKeysCreateResponse, "didit/types/phone"
|
|
1169
|
+
autoload :PhoneSdkKeysCreateResponsePlatform, "didit/types/phone"
|
|
1170
|
+
autoload :PhoneSdkKeysCreateResponseStatus, "didit/types/phone"
|
|
1171
|
+
autoload :PhoneSdkKeysListParamsPlatform, "didit/types/phone"
|
|
1172
|
+
autoload :PhoneSdkKeysListResponse, "didit/types/phone"
|
|
1173
|
+
autoload :PhoneSdkKeysListResponseResults, "didit/types/phone"
|
|
1174
|
+
autoload :PhoneSdkKeysListResponseResultsPlatform, "didit/types/phone"
|
|
1175
|
+
autoload :PhoneSdkKeysListResponseResultsStatus, "didit/types/phone"
|
|
1176
|
+
autoload :PhoneSdkKeysRotateResponse, "didit/types/phone"
|
|
1177
|
+
autoload :PhoneSdkKeysRotateResponsePlatform, "didit/types/phone"
|
|
1178
|
+
autoload :PhoneSdkKeysRotateResponseStatus, "didit/types/phone"
|
|
1100
1179
|
autoload :PhoneSendCodeParamsOptionsPreferredChannel, "didit/types/phone"
|
|
1101
1180
|
autoload :PhoneSendCodeParamsSignalsDevicePlatform, "didit/types/phone"
|
|
1181
|
+
autoload :PhoneSilentCoverageResponse, "didit/types/phone"
|
|
1182
|
+
autoload :PhoneSilentCoverageResponseCountries, "didit/types/phone"
|
|
1183
|
+
autoload :PhoneSilentCoverageResponseCountriesNetworks, "didit/types/phone"
|
|
1184
|
+
autoload :PhoneSilentCoverageResponseCountriesNetworksApproval, "didit/types/phone"
|
|
1185
|
+
autoload :PhoneSilentEligibilityResponse, "didit/types/phone"
|
|
1186
|
+
autoload :PhoneSilentEligibilityResponseReason, "didit/types/phone"
|
|
1187
|
+
autoload :PhoneSilentRegistrationsCreateParamsUseCase, "didit/types/phone"
|
|
1188
|
+
autoload :PhoneSilentRegistrationsCreateResponse, "didit/types/phone"
|
|
1189
|
+
autoload :PhoneSilentRegistrationsCreateResponseNetworks, "didit/types/phone"
|
|
1190
|
+
autoload :PhoneSilentRegistrationsCreateResponseNetworksStatus, "didit/types/phone"
|
|
1191
|
+
autoload :PhoneSilentRegistrationsCreateResponseStatus, "didit/types/phone"
|
|
1192
|
+
autoload :PhoneSilentRegistrationsRetrieveResponse, "didit/types/phone"
|
|
1193
|
+
autoload :PhoneSilentRegistrationsRetrieveResponseNetworks, "didit/types/phone"
|
|
1194
|
+
autoload :PhoneSilentRegistrationsRetrieveResponseNetworksStatus, "didit/types/phone"
|
|
1195
|
+
autoload :PhoneSilentRegistrationsRetrieveResponseStatus, "didit/types/phone"
|
|
1102
1196
|
autoload :PhoneSocialFootprint, "didit/types/components"
|
|
1103
1197
|
autoload :PhoneSocialFootprintWhatsappProfileCompleteness, "didit/types/components"
|
|
1104
1198
|
autoload :PhoneVerificationCheckResponse, "didit/types/components"
|
data/lib/didit/version.rb
CHANGED
|
@@ -22,6 +22,8 @@ module Didit
|
|
|
22
22
|
def refresh_connection: (String id, ?wait: bool, ?idempotency_key: String, ?request_options: Didit::request_options?) -> (Didit::Types::BankSyncCompleted | Didit::Types::BankRefreshAccepted)
|
|
23
23
|
def renew_connection: (String id, ?redirect_url: String, ?allowed_origins: Array[String], ?language: String, ?expires_in: Integer, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::BankLink
|
|
24
24
|
def revoke_connection: (String id, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::BankConnection
|
|
25
|
+
def simulate_connection: (String id, action: String, ?days: Integer, ?count: Integer, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::BankConnection
|
|
26
|
+
def simulate_link: (String id, ?persona: String, ?outcome: String, ?error_code: String, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::BankLink
|
|
25
27
|
def sync_transactions: (String id, ?cursor: String, ?limit: Integer, ?page_token: String, ?request_options: Didit::request_options?) -> Didit::Types::BankTransactionChanges
|
|
26
28
|
end
|
|
27
29
|
end
|
|
@@ -3,9 +3,48 @@
|
|
|
3
3
|
module Didit
|
|
4
4
|
module Resources
|
|
5
5
|
class Phone < Didit::Resource
|
|
6
|
+
def factors: () -> Didit::Resources::Phone::Factors
|
|
7
|
+
def network: () -> Didit::Resources::Phone::Network
|
|
8
|
+
def sdk_keys: () -> Didit::Resources::Phone::SdkKeys
|
|
9
|
+
def silent: () -> Didit::Resources::Phone::Silent
|
|
6
10
|
def assess_risk: (phone_number: String, ?country_code: String, ?signals: Didit::Types::risk_signals, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])?, ?enable_social: bool, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneRiskResponse
|
|
7
11
|
def check_code: (phone_number: String, code: String, ?duplicated_phone_number_action: String, ?disposable_number_action: String, ?voip_number_action: String, ?enable_enrichment: bool, ?phone_intelligence_score_action: String, ?phone_type_risk_action: String, ?recent_port_action: String, ?low_phone_trust_action: String, ?enable_social: bool, ?phone_no_social_presence_action: String, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneVerificationCheckResponse
|
|
8
12
|
def send_code: (phone_number: String, ?options: Didit::Types::phone_send_code_params_options, ?signals: Didit::Types::phone_send_code_params_signals, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])?, ?idempotency_key: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneVerificationSendResponse
|
|
13
|
+
class Factors < Didit::Resource
|
|
14
|
+
def create: (type: String, user_id: String, ?friendly_name: String, ?metadata: Hash[String | Symbol, String], ?request_options: Didit::request_options?) -> Didit::Types::PhoneFactorsCreateResponse
|
|
15
|
+
def delete: (String factor_id, ?request_options: Didit::request_options?) -> nil
|
|
16
|
+
def list: (user_id: String, ?type: String, ?status: String, ?limit: Integer, ?offset: Integer, ?format: String, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::PhoneFactorsListResponseResults]
|
|
17
|
+
def retrieve: (String factor_id, ?request_options: Didit::request_options?) -> Didit::Types::PhoneFactorsRetrieveResponse
|
|
18
|
+
def update: (String factor_id, ?friendly_name: String, ?metadata: Hash[String | Symbol, String], ?status: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneFactorsUpdateResponse
|
|
19
|
+
end
|
|
20
|
+
class Network < Didit::Resource
|
|
21
|
+
def registrations: () -> Didit::Resources::Phone::Network::Registrations
|
|
22
|
+
class Registrations < Didit::Resource
|
|
23
|
+
def test_numbers: () -> Didit::Resources::Phone::Network::Registrations::TestNumbers
|
|
24
|
+
def create: (feature: String, country: String, use_case: String, company_name: String, website: String, ?networks: Array[String], ?purpose: String, ?monthly_volume: Integer, ?request_options: Didit::request_options?) -> Didit::Types::PhoneNetworkRegistrationsCreateResponse
|
|
25
|
+
def list: (?feature: String, ?country: String, ?status: String, ?limit: Integer, ?offset: Integer, ?format: String, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::PhoneNetworkRegistrationsListResponseResults]
|
|
26
|
+
def retrieve: (String registration_id, ?request_options: Didit::request_options?) -> Didit::Types::PhoneNetworkRegistrationsRetrieveResponse
|
|
27
|
+
class TestNumbers < Didit::Resource
|
|
28
|
+
def create: (String registration_id, phone_number: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneNetworkRegistrationsTestNumbersCreateResponse
|
|
29
|
+
def delete: (String registration_id, String phone_number, ?request_options: Didit::request_options?) -> nil
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
class SdkKeys < Didit::Resource
|
|
34
|
+
def create: (platform: String, app_ids: Array[String], ?name: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneSdkKeysCreateResponse
|
|
35
|
+
def list: (?platform: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneSdkKeysListResponse
|
|
36
|
+
def revoke: (String key_id, ?request_options: Didit::request_options?) -> nil
|
|
37
|
+
def rotate: (String key_id, ?overlap_hours: Integer, ?request_options: Didit::request_options?) -> Didit::Types::PhoneSdkKeysRotateResponse
|
|
38
|
+
end
|
|
39
|
+
class Silent < Didit::Resource
|
|
40
|
+
def registrations: () -> Didit::Resources::Phone::Silent::Registrations
|
|
41
|
+
def coverage: (?country: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneSilentCoverageResponse
|
|
42
|
+
def eligibility: (phone_number: String, ?ip_address: String, ?request_options: Didit::request_options?) -> Didit::Types::PhoneSilentEligibilityResponse
|
|
43
|
+
class Registrations < Didit::Resource
|
|
44
|
+
def create: (country: String, use_case: String, company_name: String, website: String, ?networks: Array[String], ?monthly_volume: Integer, ?flow_screenshots: Array[String], ?request_options: Didit::request_options?) -> Didit::Types::PhoneSilentRegistrationsCreateResponse
|
|
45
|
+
def retrieve: (String registration_id, ?request_options: Didit::request_options?) -> Didit::Types::PhoneSilentRegistrationsRetrieveResponse
|
|
46
|
+
end
|
|
47
|
+
end
|
|
9
48
|
end
|
|
10
49
|
end
|
|
11
50
|
end
|
|
@@ -4,6 +4,8 @@ module Didit
|
|
|
4
4
|
module Resources
|
|
5
5
|
class Pricing < Didit::Resource
|
|
6
6
|
def bank_verification: (?request_options: Didit::request_options?) -> Didit::Types::BankVerificationPricing
|
|
7
|
+
def bank_verification_country_coverage: (String country, ?request_options: Didit::request_options?) -> Didit::Types::BankVerificationCountryCoverage
|
|
8
|
+
def bank_verification_coverage: (?request_options: Didit::request_options?) -> Didit::Types::BankVerificationCoverage
|
|
7
9
|
def price_book: (?request_options: Didit::request_options?) -> Didit::Types::PublicPriceBook
|
|
8
10
|
end
|
|
9
11
|
end
|
data/sig/didit/types/bank.rbs
CHANGED
|
@@ -110,6 +110,60 @@ module Didit
|
|
|
110
110
|
VALUES: Array[String]
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
module BankSimulateConnectionParamsAction
|
|
114
|
+
NEW_TRANSACTIONS: String
|
|
115
|
+
PENDING_POSTED: String
|
|
116
|
+
BOOKING_CORRECTION: String
|
|
117
|
+
CONSENT_EXPIRING: String
|
|
118
|
+
CONSENT_EXPIRED: String
|
|
119
|
+
REVOKED_BY_USER: String
|
|
120
|
+
REVOKED_BY_BANK: String
|
|
121
|
+
SYNC_FAILED: String
|
|
122
|
+
SYNC_RECOVERED: String
|
|
123
|
+
WEBHOOK_TWICE: String
|
|
124
|
+
MIDNIGHT_BOOKING: String
|
|
125
|
+
BUDGET_USED: String
|
|
126
|
+
BUDGET_RESET: String
|
|
127
|
+
|
|
128
|
+
VALUES: Array[String]
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
module BankSimulateLinkParamsErrorCode
|
|
132
|
+
DUPLICATE_CONFLICT: String
|
|
133
|
+
RENEWAL_LOGIN_MISMATCH: String
|
|
134
|
+
REDUCED_GRANT: String
|
|
135
|
+
CORPORATE_APPROVAL_NOT_SUPPORTED: String
|
|
136
|
+
ONGOING_ACCESS_NOT_AVAILABLE: String
|
|
137
|
+
BANK_UNAVAILABLE: String
|
|
138
|
+
BANK_CANCELLED: String
|
|
139
|
+
CONSENT_DECLINED: String
|
|
140
|
+
READ_LIMIT: String
|
|
141
|
+
|
|
142
|
+
VALUES: Array[String]
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
module BankSimulateLinkParamsOutcome
|
|
146
|
+
COMPLETED: String
|
|
147
|
+
CANCELLED: String
|
|
148
|
+
FAILED: String
|
|
149
|
+
DUPLICATE_CONFLICT: String
|
|
150
|
+
REDUCED_GRANT: String
|
|
151
|
+
RENEWAL_LOGIN_MISMATCH: String
|
|
152
|
+
|
|
153
|
+
VALUES: Array[String]
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
module BankSimulateLinkParamsPersona
|
|
157
|
+
PERSONAL_BASIC: String
|
|
158
|
+
BUSINESS_MULTI: String
|
|
159
|
+
LONG_HISTORY: String
|
|
160
|
+
PENDING: String
|
|
161
|
+
SPARSE_FIELDS: String
|
|
162
|
+
NO_ONGOING: String
|
|
163
|
+
|
|
164
|
+
VALUES: Array[String]
|
|
165
|
+
end
|
|
166
|
+
|
|
113
167
|
type bank_account_check_params = { country: String, account: Didit::Types::bank_account_check_params_account, holder: (Didit::Types::bank_account_check_person_holder | Didit::Types::bank_account_check_business_holder), ?vendor_data: String?, ?consent: bool }
|
|
114
168
|
|
|
115
169
|
type bank_account_check_params_account = { ?iban: String, ?account_number: String, ?sort_code: String, ?routing_number: String, ?transit_institution: String, ?bsb: String, ?ifsc: String, ?bank_code: String, ?bic: String, ?clabe: String, ?cbu_cvu: String, ?registration_id: String }
|
|
@@ -121,5 +175,9 @@ module Didit
|
|
|
121
175
|
type bank_refresh_connection_params = { ?wait: bool }
|
|
122
176
|
|
|
123
177
|
type bank_renew_connection_params = { ?redirect_url: String, ?allowed_origins: Array[String], ?language: String, ?expires_in: Integer }
|
|
178
|
+
|
|
179
|
+
type bank_simulate_connection_params = { action: String, ?days: Integer, ?count: Integer }
|
|
180
|
+
|
|
181
|
+
type bank_simulate_link_params = { ?persona: String, ?outcome: String, ?error_code: String }
|
|
124
182
|
end
|
|
125
183
|
end
|
|
@@ -748,6 +748,36 @@ module Didit
|
|
|
748
748
|
VALUES: Array[String]
|
|
749
749
|
end
|
|
750
750
|
|
|
751
|
+
module BankVerificationCoverageBankAccess
|
|
752
|
+
ONE_TIME: String
|
|
753
|
+
ONGOING: String
|
|
754
|
+
|
|
755
|
+
VALUES: Array[String]
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
module BankVerificationCoverageBankSegments
|
|
759
|
+
PERSONAL: String
|
|
760
|
+
BUSINESS: String
|
|
761
|
+
|
|
762
|
+
VALUES: Array[String]
|
|
763
|
+
end
|
|
764
|
+
|
|
765
|
+
module BankVerificationCoverageBankStatus
|
|
766
|
+
OPERATIONAL: String
|
|
767
|
+
DEGRADED: String
|
|
768
|
+
DOWN: String
|
|
769
|
+
|
|
770
|
+
VALUES: Array[String]
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
module BankVerificationCoverageDataRead
|
|
774
|
+
ACCOUNTS: String
|
|
775
|
+
BALANCES: String
|
|
776
|
+
TRANSACTIONS: String
|
|
777
|
+
|
|
778
|
+
VALUES: Array[String]
|
|
779
|
+
end
|
|
780
|
+
|
|
751
781
|
module BankVerificationPricingCurrency
|
|
752
782
|
USD: String
|
|
753
783
|
|
|
@@ -7571,6 +7601,74 @@ module Didit
|
|
|
7571
7601
|
def reference: () -> String?
|
|
7572
7602
|
end
|
|
7573
7603
|
|
|
7604
|
+
class BankVerificationCountryCoverage < Didit::Model
|
|
7605
|
+
def country: () -> String
|
|
7606
|
+
def name: () -> String
|
|
7607
|
+
def updated_at: () -> Time?
|
|
7608
|
+
def open: () -> Didit::Types::BankVerificationCoverageOpen
|
|
7609
|
+
def data_read: () -> Array[String]
|
|
7610
|
+
def balances_note: () -> String
|
|
7611
|
+
def banks: () -> Array[Didit::Types::BankVerificationCoverageBank]
|
|
7612
|
+
end
|
|
7613
|
+
|
|
7614
|
+
class BankVerificationCoverage < Didit::Model
|
|
7615
|
+
def updated_at: () -> Time?
|
|
7616
|
+
def open: () -> Didit::Types::BankVerificationCoverageAvailability
|
|
7617
|
+
def data_read: () -> Array[String]
|
|
7618
|
+
def balances_note: () -> String
|
|
7619
|
+
def countries: () -> Hash[String, Didit::Types::BankVerificationCoverageCountriesValue]
|
|
7620
|
+
end
|
|
7621
|
+
|
|
7622
|
+
class BankVerificationCoverageAvailability < Didit::Model
|
|
7623
|
+
def bank_verification_in_workflows: () -> Didit::Types::BankVerificationWorkflowsAvailability
|
|
7624
|
+
def bank_data_api_one_time: () -> Didit::Types::BankVerificationOneTimeAvailability
|
|
7625
|
+
def bank_data_api_ongoing: () -> Didit::Types::BankVerificationOngoingAvailability
|
|
7626
|
+
end
|
|
7627
|
+
|
|
7628
|
+
class BankVerificationCoverageBank < Didit::Model
|
|
7629
|
+
def id: () -> String
|
|
7630
|
+
def name: () -> String
|
|
7631
|
+
def country: () -> String
|
|
7632
|
+
def segments: () -> Array[String]
|
|
7633
|
+
def access: () -> Array[String]
|
|
7634
|
+
def history_days_max: () -> Integer?
|
|
7635
|
+
def pending_transactions: () -> bool?
|
|
7636
|
+
def status: () -> String
|
|
7637
|
+
def consent_days_max: () -> Integer?
|
|
7638
|
+
def balance_types: () -> Array[String]?
|
|
7639
|
+
def logo_url: () -> String?
|
|
7640
|
+
end
|
|
7641
|
+
|
|
7642
|
+
class BankVerificationCoverageCountriesValue < Didit::Model
|
|
7643
|
+
def name: () -> String
|
|
7644
|
+
def banks: () -> Integer
|
|
7645
|
+
def banks_by_segment: () -> Didit::Types::BankVerificationCoverageCountriesValueBanksBySegment
|
|
7646
|
+
def open: () -> Didit::Types::BankVerificationCoverageOpen
|
|
7647
|
+
def banks_url: () -> String
|
|
7648
|
+
end
|
|
7649
|
+
|
|
7650
|
+
class BankVerificationCoverageCountriesValueBanksBySegment < Didit::Model
|
|
7651
|
+
def personal: () -> Integer?
|
|
7652
|
+
def business: () -> Integer?
|
|
7653
|
+
end
|
|
7654
|
+
|
|
7655
|
+
class BankVerificationCoverageOpen < Didit::Model
|
|
7656
|
+
def bank_verification_in_workflows: () -> bool
|
|
7657
|
+
def bank_data_api_one_time: () -> bool
|
|
7658
|
+
def bank_data_api_ongoing: () -> bool
|
|
7659
|
+
def account_check: () -> bool
|
|
7660
|
+
end
|
|
7661
|
+
|
|
7662
|
+
class BankVerificationOneTimeAvailability < Didit::Model
|
|
7663
|
+
def live_applications: () -> bool
|
|
7664
|
+
def countries: () -> Array[String]
|
|
7665
|
+
end
|
|
7666
|
+
|
|
7667
|
+
class BankVerificationOngoingAvailability < Didit::Model
|
|
7668
|
+
def live_applications: () -> bool
|
|
7669
|
+
def countries: () -> Array[String]
|
|
7670
|
+
end
|
|
7671
|
+
|
|
7574
7672
|
class BankVerificationPricing < Didit::Model
|
|
7575
7673
|
def currency: () -> String
|
|
7576
7674
|
def statement_upload: () -> Didit::Types::BankStatementUploadPricing
|
|
@@ -7694,6 +7792,11 @@ module Didit
|
|
|
7694
7792
|
def requested_scopes: () -> Array[String]?
|
|
7695
7793
|
end
|
|
7696
7794
|
|
|
7795
|
+
class BankVerificationWorkflowsAvailability < Didit::Model
|
|
7796
|
+
def live: () -> bool
|
|
7797
|
+
def countries: () -> Array[String]
|
|
7798
|
+
end
|
|
7799
|
+
|
|
7697
7800
|
class BillingTopUpCharge < Didit::Model
|
|
7698
7801
|
def outcome: () -> String
|
|
7699
7802
|
def top_up: () -> Didit::Types::AgentTopUp
|