lithic 0.17.0 → 0.18.1
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 +31 -0
- data/README.md +1 -1
- data/lib/lithic/internal/type/union.rb +7 -21
- data/lib/lithic/models/auth_rules/rule_feature.rb +291 -2
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/card_authorization.rb +7 -6
- data/lib/lithic/models/claim_created_webhook_event.rb +190 -0
- data/lib/lithic/models/claim_document_accepted_webhook_event.rb +175 -0
- data/lib/lithic/models/claim_document_rejected_webhook_event.rb +175 -0
- data/lib/lithic/models/claim_document_uploaded_webhook_event.rb +175 -0
- data/lib/lithic/models/claim_updated_webhook_event.rb +190 -0
- data/lib/lithic/models/event.rb +23 -0
- data/lib/lithic/models/event_list_params.rb +14 -0
- data/lib/lithic/models/event_subscription.rb +14 -0
- data/lib/lithic/models/events/subscription_create_params.rb +14 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +5 -0
- data/lib/lithic/models/events/subscription_update_params.rb +14 -0
- data/lib/lithic/models/parsed_webhook_event.rb +11 -1
- data/lib/lithic/models/transaction_monitoring/case_transaction.rb +120 -43
- data/lib/lithic/models.rb +10 -0
- data/lib/lithic/resources/transaction_monitoring/cases.rb +1 -1
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +5 -0
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +686 -2
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +15 -3
- data/rbi/lithic/models/card_authorization.rbi +12 -10
- data/rbi/lithic/models/claim_created_webhook_event.rbi +386 -0
- data/rbi/lithic/models/claim_document_accepted_webhook_event.rbi +315 -0
- data/rbi/lithic/models/claim_document_rejected_webhook_event.rbi +315 -0
- data/rbi/lithic/models/claim_document_uploaded_webhook_event.rbi +315 -0
- data/rbi/lithic/models/claim_updated_webhook_event.rbi +386 -0
- data/rbi/lithic/models/event.rbi +46 -0
- data/rbi/lithic/models/event_list_params.rbi +34 -0
- data/rbi/lithic/models/event_subscription.rbi +34 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +34 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +25 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +34 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +5 -0
- data/rbi/lithic/models/transaction_monitoring/case_transaction.rbi +151 -46
- data/rbi/lithic/models.rbi +13 -0
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +1 -1
- data/rbi/lithic/resources/webhooks.rbi +5 -0
- data/sig/lithic/models/auth_rules/rule_feature.rbs +252 -0
- data/sig/lithic/models/claim_created_webhook_event.rbs +169 -0
- data/sig/lithic/models/claim_document_accepted_webhook_event.rbs +131 -0
- data/sig/lithic/models/claim_document_rejected_webhook_event.rbs +131 -0
- data/sig/lithic/models/claim_document_uploaded_webhook_event.rbs +131 -0
- data/sig/lithic/models/claim_updated_webhook_event.rbs +169 -0
- data/sig/lithic/models/event.rbs +10 -0
- data/sig/lithic/models/event_list_params.rbs +10 -0
- data/sig/lithic/models/event_subscription.rbs +10 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +10 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +10 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +10 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +5 -0
- data/sig/lithic/models/transaction_monitoring/case_transaction.rbs +93 -34
- data/sig/lithic/models.rbs +10 -0
- data/sig/lithic/resources/transaction_monitoring/cases.rbs +1 -1
- data/sig/lithic/resources/webhooks.rbs +5 -0
- metadata +17 -2
|
@@ -2,40 +2,99 @@ module Lithic
|
|
|
2
2
|
module Models
|
|
3
3
|
module TransactionMonitoring
|
|
4
4
|
type case_transaction =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
card_token: String
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
5
|
+
Lithic::TransactionMonitoring::CaseTransaction::CardCaseTransaction
|
|
6
|
+
| Lithic::TransactionMonitoring::CaseTransaction::PaymentCaseTransaction
|
|
7
|
+
|
|
8
|
+
module CaseTransaction
|
|
9
|
+
extend Lithic::Internal::Type::Union
|
|
10
|
+
|
|
11
|
+
type card_case_transaction =
|
|
12
|
+
{
|
|
13
|
+
token: String,
|
|
14
|
+
account_token: String,
|
|
15
|
+
added_at: Time,
|
|
16
|
+
card_token: String,
|
|
17
|
+
category: :CARD,
|
|
18
|
+
transaction_created_at: Time
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
class CardCaseTransaction < Lithic::Internal::Type::BaseModel
|
|
22
|
+
attr_accessor token: String
|
|
23
|
+
|
|
24
|
+
attr_accessor account_token: String
|
|
25
|
+
|
|
26
|
+
attr_accessor added_at: Time
|
|
27
|
+
|
|
28
|
+
attr_accessor card_token: String
|
|
29
|
+
|
|
30
|
+
attr_accessor category: :CARD
|
|
31
|
+
|
|
32
|
+
attr_accessor transaction_created_at: Time
|
|
33
|
+
|
|
34
|
+
def initialize: (
|
|
35
|
+
token: String,
|
|
36
|
+
account_token: String,
|
|
37
|
+
added_at: Time,
|
|
38
|
+
card_token: String,
|
|
39
|
+
transaction_created_at: Time,
|
|
40
|
+
?category: :CARD
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
token: String,
|
|
45
|
+
account_token: String,
|
|
46
|
+
added_at: Time,
|
|
47
|
+
card_token: String,
|
|
48
|
+
category: :CARD,
|
|
49
|
+
transaction_created_at: Time
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
type payment_case_transaction =
|
|
54
|
+
{
|
|
55
|
+
token: String,
|
|
56
|
+
added_at: Time,
|
|
57
|
+
category: :PAYMENT,
|
|
58
|
+
financial_account_token: String,
|
|
59
|
+
transaction_created_at: Time,
|
|
60
|
+
account_token: String
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
class PaymentCaseTransaction < Lithic::Internal::Type::BaseModel
|
|
64
|
+
attr_accessor token: String
|
|
65
|
+
|
|
66
|
+
attr_accessor added_at: Time
|
|
67
|
+
|
|
68
|
+
attr_accessor category: :PAYMENT
|
|
69
|
+
|
|
70
|
+
attr_accessor financial_account_token: String
|
|
71
|
+
|
|
72
|
+
attr_accessor transaction_created_at: Time
|
|
73
|
+
|
|
74
|
+
attr_reader account_token: String?
|
|
75
|
+
|
|
76
|
+
def account_token=: (String) -> String
|
|
77
|
+
|
|
78
|
+
def initialize: (
|
|
79
|
+
token: String,
|
|
80
|
+
added_at: Time,
|
|
81
|
+
financial_account_token: String,
|
|
82
|
+
transaction_created_at: Time,
|
|
83
|
+
?account_token: String,
|
|
84
|
+
?category: :PAYMENT
|
|
85
|
+
) -> void
|
|
86
|
+
|
|
87
|
+
def to_hash: -> {
|
|
88
|
+
token: String,
|
|
89
|
+
added_at: Time,
|
|
90
|
+
category: :PAYMENT,
|
|
91
|
+
financial_account_token: String,
|
|
92
|
+
transaction_created_at: Time,
|
|
93
|
+
account_token: String
|
|
94
|
+
}
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
def self?.variants: -> ::Array[Lithic::Models::TransactionMonitoring::case_transaction]
|
|
39
98
|
end
|
|
40
99
|
end
|
|
41
100
|
end
|
data/sig/lithic/models.rbs
CHANGED
|
@@ -169,6 +169,16 @@ module Lithic
|
|
|
169
169
|
|
|
170
170
|
class CategoryDetails = Lithic::Models::CategoryDetails
|
|
171
171
|
|
|
172
|
+
class ClaimCreatedWebhookEvent = Lithic::Models::ClaimCreatedWebhookEvent
|
|
173
|
+
|
|
174
|
+
class ClaimDocumentAcceptedWebhookEvent = Lithic::Models::ClaimDocumentAcceptedWebhookEvent
|
|
175
|
+
|
|
176
|
+
class ClaimDocumentRejectedWebhookEvent = Lithic::Models::ClaimDocumentRejectedWebhookEvent
|
|
177
|
+
|
|
178
|
+
class ClaimDocumentUploadedWebhookEvent = Lithic::Models::ClaimDocumentUploadedWebhookEvent
|
|
179
|
+
|
|
180
|
+
class ClaimUpdatedWebhookEvent = Lithic::Models::ClaimUpdatedWebhookEvent
|
|
181
|
+
|
|
172
182
|
class ClientAPIStatusParams = Lithic::Models::ClientAPIStatusParams
|
|
173
183
|
|
|
174
184
|
module CreditProducts = Lithic::Models::CreditProducts
|
|
@@ -57,7 +57,7 @@ module Lithic
|
|
|
57
57
|
?page_size: Integer,
|
|
58
58
|
?starting_after: String,
|
|
59
59
|
?request_options: Lithic::request_opts
|
|
60
|
-
) -> Lithic::Internal::CursorPage[Lithic::TransactionMonitoring::
|
|
60
|
+
) -> Lithic::Internal::CursorPage[Lithic::Models::TransactionMonitoring::case_transaction]
|
|
61
61
|
|
|
62
62
|
def retrieve_cards: (
|
|
63
63
|
String case_token,
|
|
@@ -27,6 +27,11 @@ module Lithic
|
|
|
27
27
|
| Lithic::CardTransactionUpdatedWebhookEvent
|
|
28
28
|
| Lithic::CardTransactionEnhancedDataCreatedWebhookEvent
|
|
29
29
|
| Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent
|
|
30
|
+
| Lithic::ClaimCreatedWebhookEvent
|
|
31
|
+
| Lithic::ClaimUpdatedWebhookEvent
|
|
32
|
+
| Lithic::ClaimDocumentUploadedWebhookEvent
|
|
33
|
+
| Lithic::ClaimDocumentAcceptedWebhookEvent
|
|
34
|
+
| Lithic::ClaimDocumentRejectedWebhookEvent
|
|
30
35
|
| Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent
|
|
31
36
|
| Lithic::DigitalWalletTokenizationResultWebhookEvent
|
|
32
37
|
| Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lithic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.18.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lithic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -214,6 +214,11 @@ files:
|
|
|
214
214
|
- lib/lithic/models/cards/financial_transaction_retrieve_params.rb
|
|
215
215
|
- lib/lithic/models/carrier.rb
|
|
216
216
|
- lib/lithic/models/category_details.rb
|
|
217
|
+
- lib/lithic/models/claim_created_webhook_event.rb
|
|
218
|
+
- lib/lithic/models/claim_document_accepted_webhook_event.rb
|
|
219
|
+
- lib/lithic/models/claim_document_rejected_webhook_event.rb
|
|
220
|
+
- lib/lithic/models/claim_document_uploaded_webhook_event.rb
|
|
221
|
+
- lib/lithic/models/claim_updated_webhook_event.rb
|
|
217
222
|
- lib/lithic/models/client_api_status_params.rb
|
|
218
223
|
- lib/lithic/models/credit_products/extended_credit.rb
|
|
219
224
|
- lib/lithic/models/credit_products/extended_credit_retrieve_params.rb
|
|
@@ -756,6 +761,11 @@ files:
|
|
|
756
761
|
- rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi
|
|
757
762
|
- rbi/lithic/models/carrier.rbi
|
|
758
763
|
- rbi/lithic/models/category_details.rbi
|
|
764
|
+
- rbi/lithic/models/claim_created_webhook_event.rbi
|
|
765
|
+
- rbi/lithic/models/claim_document_accepted_webhook_event.rbi
|
|
766
|
+
- rbi/lithic/models/claim_document_rejected_webhook_event.rbi
|
|
767
|
+
- rbi/lithic/models/claim_document_uploaded_webhook_event.rbi
|
|
768
|
+
- rbi/lithic/models/claim_updated_webhook_event.rbi
|
|
759
769
|
- rbi/lithic/models/client_api_status_params.rbi
|
|
760
770
|
- rbi/lithic/models/credit_products/extended_credit.rbi
|
|
761
771
|
- rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi
|
|
@@ -1297,6 +1307,11 @@ files:
|
|
|
1297
1307
|
- sig/lithic/models/cards/financial_transaction_retrieve_params.rbs
|
|
1298
1308
|
- sig/lithic/models/carrier.rbs
|
|
1299
1309
|
- sig/lithic/models/category_details.rbs
|
|
1310
|
+
- sig/lithic/models/claim_created_webhook_event.rbs
|
|
1311
|
+
- sig/lithic/models/claim_document_accepted_webhook_event.rbs
|
|
1312
|
+
- sig/lithic/models/claim_document_rejected_webhook_event.rbs
|
|
1313
|
+
- sig/lithic/models/claim_document_uploaded_webhook_event.rbs
|
|
1314
|
+
- sig/lithic/models/claim_updated_webhook_event.rbs
|
|
1300
1315
|
- sig/lithic/models/client_api_status_params.rbs
|
|
1301
1316
|
- sig/lithic/models/credit_products/extended_credit.rbs
|
|
1302
1317
|
- sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs
|