lithic 0.1.0 → 0.2.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 +13 -0
- data/README.md +36 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/errors.rb +15 -0
- data/lib/lithic/models/account_holder_created_webhook_event.rb +75 -0
- data/lib/lithic/models/account_holder_document_updated_webhook_event.rb +191 -0
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +702 -0
- data/lib/lithic/models/account_holder_verification_webhook_event.rb +69 -0
- data/lib/lithic/models/asa_request_webhook_event.rb +1010 -0
- data/lib/lithic/models/auth_rules_backtest_report_created_webhook_event.rb +16 -0
- data/lib/lithic/models/balance_updated_webhook_event.rb +23 -0
- data/lib/lithic/models/book_transfer_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/book_transfer_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/card_converted_webhook_event.rb +24 -0
- data/lib/lithic/models/card_created_webhook_event.rb +32 -0
- data/lib/lithic/models/card_reissued_webhook_event.rb +24 -0
- data/lib/lithic/models/card_renewed_webhook_event.rb +56 -0
- data/lib/lithic/models/card_shipped_webhook_event.rb +70 -0
- data/lib/lithic/models/card_transaction_enhanced_data_created_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +253 -0
- data/lib/lithic/models/digital_wallet_tokenization_result_webhook_event.rb +145 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/digital_wallet_tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/dispute_evidence_upload_failed_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/external_bank_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_bank_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/funding_event_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_created_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_created_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_created_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/parsed_webhook_event.rb +818 -0
- data/lib/lithic/models/payment_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/payment_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/settlement_report_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/statements_created_webhook_event.rb +16 -0
- data/lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb +89 -0
- data/lib/lithic/models/three_ds_authentication_created_webhook_event.rb +18 -0
- data/lib/lithic/models/three_ds_authentication_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +249 -0
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +159 -0
- data/lib/lithic/models/tokenization_result_webhook_event.rb +141 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/webhook_parsed_params.rb +14 -0
- data/lib/lithic/models.rb +120 -0
- data/lib/lithic/resources/webhooks.rb +87 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +74 -17
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_holder_created_webhook_event.rbi +149 -0
- data/rbi/lithic/models/account_holder_document_updated_webhook_event.rbi +479 -0
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +1274 -0
- data/rbi/lithic/models/account_holder_verification_webhook_event.rbi +143 -0
- data/rbi/lithic/models/asa_request_webhook_event.rbi +2229 -0
- data/rbi/lithic/models/auth_rules_backtest_report_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/balance_updated_webhook_event.rbi +43 -0
- data/rbi/lithic/models/book_transfer_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/book_transfer_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/card_converted_webhook_event.rbi +35 -0
- data/rbi/lithic/models/card_created_webhook_event.rbi +53 -0
- data/rbi/lithic/models/card_reissued_webhook_event.rbi +38 -0
- data/rbi/lithic/models/card_renewed_webhook_event.rbi +92 -0
- data/rbi/lithic/models/card_shipped_webhook_event.rbi +150 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +2 -2
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/digital_wallet_tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/dispute_evidence_upload_failed_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_updated_webhook_event.rbi +28 -0
- data/rbi/lithic/models/external_bank_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/funding_event_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction.rbi +15 -10
- data/rbi/lithic/models/internal_transaction_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/loan_tape_created_webhook_event.rbi +27 -0
- data/rbi/lithic/models/loan_tape_updated_webhook_event.rbi +27 -0
- data/rbi/lithic/models/management_operation_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/management_operation_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1310 -0
- data/rbi/lithic/models/payment_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/payment_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/settlement_report_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/statements_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi +175 -0
- data/rbi/lithic/models/three_ds_authentication_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/three_ds_authentication_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +333 -0
- data/rbi/lithic/models/tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/webhook_parsed_params.rbi +27 -0
- data/rbi/lithic/models.rbi +155 -0
- data/rbi/lithic/resources/webhooks.rbi +158 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_holder_created_webhook_event.rbs +77 -0
- data/sig/lithic/models/account_holder_document_updated_webhook_event.rbs +219 -0
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +587 -0
- data/sig/lithic/models/account_holder_verification_webhook_event.rbs +69 -0
- data/sig/lithic/models/asa_request_webhook_event.rbs +881 -0
- data/sig/lithic/models/auth_rules_backtest_report_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/balance_updated_webhook_event.rbs +25 -0
- data/sig/lithic/models/book_transfer_transaction_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/book_transfer_transaction_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_converted_webhook_event.rbs +19 -0
- data/sig/lithic/models/card_created_webhook_event.rbs +30 -0
- data/sig/lithic/models/card_reissued_webhook_event.rbs +21 -0
- data/sig/lithic/models/card_renewed_webhook_event.rbs +55 -0
- data/sig/lithic/models/card_shipped_webhook_event.rbs +71 -0
- data/sig/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/digital_wallet_tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/dispute_evidence_upload_failed_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/external_bank_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_bank_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/funding_event_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/internal_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/internal_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/loan_tape_created_webhook_event.rbs +15 -0
- data/sig/lithic/models/loan_tape_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/management_operation_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/management_operation_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/network_total_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/network_total_updated_webhook_event.rbs +16 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +641 -0
- data/sig/lithic/models/payment_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/payment_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/settlement_report_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/statements_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs +72 -0
- data/sig/lithic/models/three_ds_authentication_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/three_ds_authentication_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +134 -0
- data/sig/lithic/models/tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/webhook_parsed_params.rbs +15 -0
- data/sig/lithic/models.rbs +112 -0
- data/sig/lithic/resources/webhooks.rbs +135 -0
- metadata +173 -2
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type account_holder_document_updated_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
event_type: :"account_holder_document.updated",
|
|
6
|
+
token: String,
|
|
7
|
+
account_holder_token: String,
|
|
8
|
+
created: Time,
|
|
9
|
+
document_type: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::document_type,
|
|
10
|
+
entity_token: String,
|
|
11
|
+
required_document_uploads: ::Array[Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload]
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class AccountHolderDocumentUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor event_type: :"account_holder_document.updated"
|
|
16
|
+
|
|
17
|
+
attr_reader token: String?
|
|
18
|
+
|
|
19
|
+
def token=: (String) -> String
|
|
20
|
+
|
|
21
|
+
attr_reader account_holder_token: String?
|
|
22
|
+
|
|
23
|
+
def account_holder_token=: (String) -> String
|
|
24
|
+
|
|
25
|
+
attr_reader created: Time?
|
|
26
|
+
|
|
27
|
+
def created=: (Time) -> Time
|
|
28
|
+
|
|
29
|
+
attr_reader document_type: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::document_type?
|
|
30
|
+
|
|
31
|
+
def document_type=: (
|
|
32
|
+
Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::document_type
|
|
33
|
+
) -> Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::document_type
|
|
34
|
+
|
|
35
|
+
attr_reader entity_token: String?
|
|
36
|
+
|
|
37
|
+
def entity_token=: (String) -> String
|
|
38
|
+
|
|
39
|
+
attr_reader required_document_uploads: ::Array[Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload]?
|
|
40
|
+
|
|
41
|
+
def required_document_uploads=: (
|
|
42
|
+
::Array[Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload]
|
|
43
|
+
) -> ::Array[Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload]
|
|
44
|
+
|
|
45
|
+
def initialize: (
|
|
46
|
+
?token: String,
|
|
47
|
+
?account_holder_token: String,
|
|
48
|
+
?created: Time,
|
|
49
|
+
?document_type: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::document_type,
|
|
50
|
+
?entity_token: String,
|
|
51
|
+
?required_document_uploads: ::Array[Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload],
|
|
52
|
+
?event_type: :"account_holder_document.updated"
|
|
53
|
+
) -> void
|
|
54
|
+
|
|
55
|
+
def to_hash: -> {
|
|
56
|
+
event_type: :"account_holder_document.updated",
|
|
57
|
+
token: String,
|
|
58
|
+
account_holder_token: String,
|
|
59
|
+
created: Time,
|
|
60
|
+
document_type: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::document_type,
|
|
61
|
+
entity_token: String,
|
|
62
|
+
required_document_uploads: ::Array[Lithic::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload]
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type document_type =
|
|
66
|
+
:DRIVERS_LICENSE
|
|
67
|
+
| :PASSPORT
|
|
68
|
+
| :PASSPORT_CARD
|
|
69
|
+
| :EIN_LETTER
|
|
70
|
+
| :TAX_RETURN
|
|
71
|
+
| :OPERATING_AGREEMENT
|
|
72
|
+
| :CERTIFICATE_OF_FORMATION
|
|
73
|
+
| :CERTIFICATE_OF_GOOD_STANDING
|
|
74
|
+
| :ARTICLES_OF_INCORPORATION
|
|
75
|
+
| :ARTICLES_OF_ORGANIZATION
|
|
76
|
+
| :BYLAWS
|
|
77
|
+
| :GOVERNMENT_BUSINESS_LICENSE
|
|
78
|
+
| :PARTNERSHIP_AGREEMENT
|
|
79
|
+
| :SS4_FORM
|
|
80
|
+
| :BANK_STATEMENT
|
|
81
|
+
| :UTILITY_BILL_STATEMENT
|
|
82
|
+
| :SSN_CARD
|
|
83
|
+
| :ITIN_LETTER
|
|
84
|
+
| :FINCEN_BOI_REPORT
|
|
85
|
+
|
|
86
|
+
module DocumentType
|
|
87
|
+
extend Lithic::Internal::Type::Enum
|
|
88
|
+
|
|
89
|
+
DRIVERS_LICENSE: :DRIVERS_LICENSE
|
|
90
|
+
PASSPORT: :PASSPORT
|
|
91
|
+
PASSPORT_CARD: :PASSPORT_CARD
|
|
92
|
+
EIN_LETTER: :EIN_LETTER
|
|
93
|
+
TAX_RETURN: :TAX_RETURN
|
|
94
|
+
OPERATING_AGREEMENT: :OPERATING_AGREEMENT
|
|
95
|
+
CERTIFICATE_OF_FORMATION: :CERTIFICATE_OF_FORMATION
|
|
96
|
+
CERTIFICATE_OF_GOOD_STANDING: :CERTIFICATE_OF_GOOD_STANDING
|
|
97
|
+
ARTICLES_OF_INCORPORATION: :ARTICLES_OF_INCORPORATION
|
|
98
|
+
ARTICLES_OF_ORGANIZATION: :ARTICLES_OF_ORGANIZATION
|
|
99
|
+
BYLAWS: :BYLAWS
|
|
100
|
+
GOVERNMENT_BUSINESS_LICENSE: :GOVERNMENT_BUSINESS_LICENSE
|
|
101
|
+
PARTNERSHIP_AGREEMENT: :PARTNERSHIP_AGREEMENT
|
|
102
|
+
SS4_FORM: :SS4_FORM
|
|
103
|
+
BANK_STATEMENT: :BANK_STATEMENT
|
|
104
|
+
UTILITY_BILL_STATEMENT: :UTILITY_BILL_STATEMENT
|
|
105
|
+
SSN_CARD: :SSN_CARD
|
|
106
|
+
ITIN_LETTER: :ITIN_LETTER
|
|
107
|
+
FINCEN_BOI_REPORT: :FINCEN_BOI_REPORT
|
|
108
|
+
|
|
109
|
+
def self?.values: -> ::Array[Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::document_type]
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
type required_document_upload =
|
|
113
|
+
{
|
|
114
|
+
token: String,
|
|
115
|
+
accepted_entity_status_reasons: ::Array[String],
|
|
116
|
+
created: Time,
|
|
117
|
+
image_type: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::image_type,
|
|
118
|
+
rejected_entity_status_reasons: ::Array[String],
|
|
119
|
+
status: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::status,
|
|
120
|
+
status_reasons: ::Array[String],
|
|
121
|
+
updated: Time
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
class RequiredDocumentUpload < Lithic::Internal::Type::BaseModel
|
|
125
|
+
attr_reader token: String?
|
|
126
|
+
|
|
127
|
+
def token=: (String) -> String
|
|
128
|
+
|
|
129
|
+
attr_reader accepted_entity_status_reasons: ::Array[String]?
|
|
130
|
+
|
|
131
|
+
def accepted_entity_status_reasons=: (
|
|
132
|
+
::Array[String]
|
|
133
|
+
) -> ::Array[String]
|
|
134
|
+
|
|
135
|
+
attr_reader created: Time?
|
|
136
|
+
|
|
137
|
+
def created=: (Time) -> Time
|
|
138
|
+
|
|
139
|
+
attr_reader image_type: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::image_type?
|
|
140
|
+
|
|
141
|
+
def image_type=: (
|
|
142
|
+
Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::image_type
|
|
143
|
+
) -> Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::image_type
|
|
144
|
+
|
|
145
|
+
attr_reader rejected_entity_status_reasons: ::Array[String]?
|
|
146
|
+
|
|
147
|
+
def rejected_entity_status_reasons=: (
|
|
148
|
+
::Array[String]
|
|
149
|
+
) -> ::Array[String]
|
|
150
|
+
|
|
151
|
+
attr_reader status: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::status?
|
|
152
|
+
|
|
153
|
+
def status=: (
|
|
154
|
+
Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::status
|
|
155
|
+
) -> Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::status
|
|
156
|
+
|
|
157
|
+
attr_reader status_reasons: ::Array[String]?
|
|
158
|
+
|
|
159
|
+
def status_reasons=: (::Array[String]) -> ::Array[String]
|
|
160
|
+
|
|
161
|
+
attr_reader updated: Time?
|
|
162
|
+
|
|
163
|
+
def updated=: (Time) -> Time
|
|
164
|
+
|
|
165
|
+
def initialize: (
|
|
166
|
+
?token: String,
|
|
167
|
+
?accepted_entity_status_reasons: ::Array[String],
|
|
168
|
+
?created: Time,
|
|
169
|
+
?image_type: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::image_type,
|
|
170
|
+
?rejected_entity_status_reasons: ::Array[String],
|
|
171
|
+
?status: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::status,
|
|
172
|
+
?status_reasons: ::Array[String],
|
|
173
|
+
?updated: Time
|
|
174
|
+
) -> void
|
|
175
|
+
|
|
176
|
+
def to_hash: -> {
|
|
177
|
+
token: String,
|
|
178
|
+
accepted_entity_status_reasons: ::Array[String],
|
|
179
|
+
created: Time,
|
|
180
|
+
image_type: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::image_type,
|
|
181
|
+
rejected_entity_status_reasons: ::Array[String],
|
|
182
|
+
status: Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::status,
|
|
183
|
+
status_reasons: ::Array[String],
|
|
184
|
+
updated: Time
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
type image_type = :FRONT | :BACK
|
|
188
|
+
|
|
189
|
+
module ImageType
|
|
190
|
+
extend Lithic::Internal::Type::Enum
|
|
191
|
+
|
|
192
|
+
FRONT: :FRONT
|
|
193
|
+
BACK: :BACK
|
|
194
|
+
|
|
195
|
+
def self?.values: -> ::Array[Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::image_type]
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
type status =
|
|
199
|
+
:ACCEPTED
|
|
200
|
+
| :REJECTED
|
|
201
|
+
| :PENDING_UPLOAD
|
|
202
|
+
| :UPLOADED
|
|
203
|
+
| :PARTIAL_APPROVAL
|
|
204
|
+
|
|
205
|
+
module Status
|
|
206
|
+
extend Lithic::Internal::Type::Enum
|
|
207
|
+
|
|
208
|
+
ACCEPTED: :ACCEPTED
|
|
209
|
+
REJECTED: :REJECTED
|
|
210
|
+
PENDING_UPLOAD: :PENDING_UPLOAD
|
|
211
|
+
UPLOADED: :UPLOADED
|
|
212
|
+
PARTIAL_APPROVAL: :PARTIAL_APPROVAL
|
|
213
|
+
|
|
214
|
+
def self?.values: -> ::Array[Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent::RequiredDocumentUpload::status]
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
end
|