lithic 0.17.0 → 0.18.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 +1 -1
- 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/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.rb +10 -0
- 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/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.rbi +13 -0
- 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.rbs +10 -0
- data/sig/lithic/resources/webhooks.rbs +5 -0
- metadata +17 -2
data/rbi/lithic/models/event.rbi
CHANGED
|
@@ -47,6 +47,15 @@ module Lithic
|
|
|
47
47
|
# - card.renewed: Occurs when a card is renewed.
|
|
48
48
|
# - card.shipped: Occurs when a card is shipped.
|
|
49
49
|
# - card.updated: Occurs when a card is updated.
|
|
50
|
+
# - claim_document.accepted: Occurs when a claim document passes validation and is
|
|
51
|
+
# accepted.
|
|
52
|
+
# - claim_document.rejected: Occurs when a claim document fails validation and is
|
|
53
|
+
# rejected.
|
|
54
|
+
# - claim_document.uploaded: Occurs when a claim document is uploaded and begins
|
|
55
|
+
# validation.
|
|
56
|
+
# - claim.created: Occurs when a dispute intake claim is created.
|
|
57
|
+
# - claim.updated: Occurs when a dispute intake claim is updated, such as a status
|
|
58
|
+
# change or a change to its outstanding requirements.
|
|
50
59
|
# - digital_wallet.tokenization_result: Occurs when a tokenization request
|
|
51
60
|
# succeeded or failed.
|
|
52
61
|
#
|
|
@@ -173,6 +182,15 @@ module Lithic
|
|
|
173
182
|
# - card.renewed: Occurs when a card is renewed.
|
|
174
183
|
# - card.shipped: Occurs when a card is shipped.
|
|
175
184
|
# - card.updated: Occurs when a card is updated.
|
|
185
|
+
# - claim_document.accepted: Occurs when a claim document passes validation and is
|
|
186
|
+
# accepted.
|
|
187
|
+
# - claim_document.rejected: Occurs when a claim document fails validation and is
|
|
188
|
+
# rejected.
|
|
189
|
+
# - claim_document.uploaded: Occurs when a claim document is uploaded and begins
|
|
190
|
+
# validation.
|
|
191
|
+
# - claim.created: Occurs when a dispute intake claim is created.
|
|
192
|
+
# - claim.updated: Occurs when a dispute intake claim is updated, such as a status
|
|
193
|
+
# change or a change to its outstanding requirements.
|
|
176
194
|
# - digital_wallet.tokenization_result: Occurs when a tokenization request
|
|
177
195
|
# succeeded or failed.
|
|
178
196
|
#
|
|
@@ -295,6 +313,15 @@ module Lithic
|
|
|
295
313
|
# - card.renewed: Occurs when a card is renewed.
|
|
296
314
|
# - card.shipped: Occurs when a card is shipped.
|
|
297
315
|
# - card.updated: Occurs when a card is updated.
|
|
316
|
+
# - claim_document.accepted: Occurs when a claim document passes validation and is
|
|
317
|
+
# accepted.
|
|
318
|
+
# - claim_document.rejected: Occurs when a claim document fails validation and is
|
|
319
|
+
# rejected.
|
|
320
|
+
# - claim_document.uploaded: Occurs when a claim document is uploaded and begins
|
|
321
|
+
# validation.
|
|
322
|
+
# - claim.created: Occurs when a dispute intake claim is created.
|
|
323
|
+
# - claim.updated: Occurs when a dispute intake claim is updated, such as a status
|
|
324
|
+
# change or a change to its outstanding requirements.
|
|
298
325
|
# - digital_wallet.tokenization_result: Occurs when a tokenization request
|
|
299
326
|
# succeeded or failed.
|
|
300
327
|
#
|
|
@@ -447,6 +474,25 @@ module Lithic
|
|
|
447
474
|
T.let(:"card.shipped", Lithic::Event::EventType::TaggedSymbol)
|
|
448
475
|
CARD_UPDATED =
|
|
449
476
|
T.let(:"card.updated", Lithic::Event::EventType::TaggedSymbol)
|
|
477
|
+
CLAIM_DOCUMENT_ACCEPTED =
|
|
478
|
+
T.let(
|
|
479
|
+
:"claim_document.accepted",
|
|
480
|
+
Lithic::Event::EventType::TaggedSymbol
|
|
481
|
+
)
|
|
482
|
+
CLAIM_DOCUMENT_REJECTED =
|
|
483
|
+
T.let(
|
|
484
|
+
:"claim_document.rejected",
|
|
485
|
+
Lithic::Event::EventType::TaggedSymbol
|
|
486
|
+
)
|
|
487
|
+
CLAIM_DOCUMENT_UPLOADED =
|
|
488
|
+
T.let(
|
|
489
|
+
:"claim_document.uploaded",
|
|
490
|
+
Lithic::Event::EventType::TaggedSymbol
|
|
491
|
+
)
|
|
492
|
+
CLAIM_CREATED =
|
|
493
|
+
T.let(:"claim.created", Lithic::Event::EventType::TaggedSymbol)
|
|
494
|
+
CLAIM_UPDATED =
|
|
495
|
+
T.let(:"claim.updated", Lithic::Event::EventType::TaggedSymbol)
|
|
450
496
|
DIGITAL_WALLET_TOKENIZATION_RESULT =
|
|
451
497
|
T.let(
|
|
452
498
|
:"digital_wallet.tokenization_result",
|
|
@@ -156,6 +156,15 @@ module Lithic
|
|
|
156
156
|
# - card.renewed: Occurs when a card is renewed.
|
|
157
157
|
# - card.shipped: Occurs when a card is shipped.
|
|
158
158
|
# - card.updated: Occurs when a card is updated.
|
|
159
|
+
# - claim_document.accepted: Occurs when a claim document passes validation and is
|
|
160
|
+
# accepted.
|
|
161
|
+
# - claim_document.rejected: Occurs when a claim document fails validation and is
|
|
162
|
+
# rejected.
|
|
163
|
+
# - claim_document.uploaded: Occurs when a claim document is uploaded and begins
|
|
164
|
+
# validation.
|
|
165
|
+
# - claim.created: Occurs when a dispute intake claim is created.
|
|
166
|
+
# - claim.updated: Occurs when a dispute intake claim is updated, such as a status
|
|
167
|
+
# change or a change to its outstanding requirements.
|
|
159
168
|
# - digital_wallet.tokenization_result: Occurs when a tokenization request
|
|
160
169
|
# succeeded or failed.
|
|
161
170
|
#
|
|
@@ -330,6 +339,31 @@ module Lithic
|
|
|
330
339
|
:"card.updated",
|
|
331
340
|
Lithic::EventListParams::EventType::TaggedSymbol
|
|
332
341
|
)
|
|
342
|
+
CLAIM_DOCUMENT_ACCEPTED =
|
|
343
|
+
T.let(
|
|
344
|
+
:"claim_document.accepted",
|
|
345
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
|
346
|
+
)
|
|
347
|
+
CLAIM_DOCUMENT_REJECTED =
|
|
348
|
+
T.let(
|
|
349
|
+
:"claim_document.rejected",
|
|
350
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
|
351
|
+
)
|
|
352
|
+
CLAIM_DOCUMENT_UPLOADED =
|
|
353
|
+
T.let(
|
|
354
|
+
:"claim_document.uploaded",
|
|
355
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
|
356
|
+
)
|
|
357
|
+
CLAIM_CREATED =
|
|
358
|
+
T.let(
|
|
359
|
+
:"claim.created",
|
|
360
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
|
361
|
+
)
|
|
362
|
+
CLAIM_UPDATED =
|
|
363
|
+
T.let(
|
|
364
|
+
:"claim.updated",
|
|
365
|
+
Lithic::EventListParams::EventType::TaggedSymbol
|
|
366
|
+
)
|
|
333
367
|
DIGITAL_WALLET_TOKENIZATION_RESULT =
|
|
334
368
|
T.let(
|
|
335
369
|
:"digital_wallet.tokenization_result",
|
|
@@ -104,6 +104,15 @@ module Lithic
|
|
|
104
104
|
# - card.renewed: Occurs when a card is renewed.
|
|
105
105
|
# - card.shipped: Occurs when a card is shipped.
|
|
106
106
|
# - card.updated: Occurs when a card is updated.
|
|
107
|
+
# - claim_document.accepted: Occurs when a claim document passes validation and is
|
|
108
|
+
# accepted.
|
|
109
|
+
# - claim_document.rejected: Occurs when a claim document fails validation and is
|
|
110
|
+
# rejected.
|
|
111
|
+
# - claim_document.uploaded: Occurs when a claim document is uploaded and begins
|
|
112
|
+
# validation.
|
|
113
|
+
# - claim.created: Occurs when a dispute intake claim is created.
|
|
114
|
+
# - claim.updated: Occurs when a dispute intake claim is updated, such as a status
|
|
115
|
+
# change or a change to its outstanding requirements.
|
|
107
116
|
# - digital_wallet.tokenization_result: Occurs when a tokenization request
|
|
108
117
|
# succeeded or failed.
|
|
109
118
|
#
|
|
@@ -278,6 +287,31 @@ module Lithic
|
|
|
278
287
|
:"card.updated",
|
|
279
288
|
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
280
289
|
)
|
|
290
|
+
CLAIM_DOCUMENT_ACCEPTED =
|
|
291
|
+
T.let(
|
|
292
|
+
:"claim_document.accepted",
|
|
293
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
294
|
+
)
|
|
295
|
+
CLAIM_DOCUMENT_REJECTED =
|
|
296
|
+
T.let(
|
|
297
|
+
:"claim_document.rejected",
|
|
298
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
299
|
+
)
|
|
300
|
+
CLAIM_DOCUMENT_UPLOADED =
|
|
301
|
+
T.let(
|
|
302
|
+
:"claim_document.uploaded",
|
|
303
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
304
|
+
)
|
|
305
|
+
CLAIM_CREATED =
|
|
306
|
+
T.let(
|
|
307
|
+
:"claim.created",
|
|
308
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
309
|
+
)
|
|
310
|
+
CLAIM_UPDATED =
|
|
311
|
+
T.let(
|
|
312
|
+
:"claim.updated",
|
|
313
|
+
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
314
|
+
)
|
|
281
315
|
DIGITAL_WALLET_TOKENIZATION_RESULT =
|
|
282
316
|
T.let(
|
|
283
317
|
:"digital_wallet.tokenization_result",
|
|
@@ -131,6 +131,15 @@ module Lithic
|
|
|
131
131
|
# - card.renewed: Occurs when a card is renewed.
|
|
132
132
|
# - card.shipped: Occurs when a card is shipped.
|
|
133
133
|
# - card.updated: Occurs when a card is updated.
|
|
134
|
+
# - claim_document.accepted: Occurs when a claim document passes validation and is
|
|
135
|
+
# accepted.
|
|
136
|
+
# - claim_document.rejected: Occurs when a claim document fails validation and is
|
|
137
|
+
# rejected.
|
|
138
|
+
# - claim_document.uploaded: Occurs when a claim document is uploaded and begins
|
|
139
|
+
# validation.
|
|
140
|
+
# - claim.created: Occurs when a dispute intake claim is created.
|
|
141
|
+
# - claim.updated: Occurs when a dispute intake claim is updated, such as a status
|
|
142
|
+
# change or a change to its outstanding requirements.
|
|
134
143
|
# - digital_wallet.tokenization_result: Occurs when a tokenization request
|
|
135
144
|
# succeeded or failed.
|
|
136
145
|
#
|
|
@@ -307,6 +316,31 @@ module Lithic
|
|
|
307
316
|
:"card.updated",
|
|
308
317
|
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
309
318
|
)
|
|
319
|
+
CLAIM_DOCUMENT_ACCEPTED =
|
|
320
|
+
T.let(
|
|
321
|
+
:"claim_document.accepted",
|
|
322
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
323
|
+
)
|
|
324
|
+
CLAIM_DOCUMENT_REJECTED =
|
|
325
|
+
T.let(
|
|
326
|
+
:"claim_document.rejected",
|
|
327
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
328
|
+
)
|
|
329
|
+
CLAIM_DOCUMENT_UPLOADED =
|
|
330
|
+
T.let(
|
|
331
|
+
:"claim_document.uploaded",
|
|
332
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
333
|
+
)
|
|
334
|
+
CLAIM_CREATED =
|
|
335
|
+
T.let(
|
|
336
|
+
:"claim.created",
|
|
337
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
338
|
+
)
|
|
339
|
+
CLAIM_UPDATED =
|
|
340
|
+
T.let(
|
|
341
|
+
:"claim.updated",
|
|
342
|
+
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
343
|
+
)
|
|
310
344
|
DIGITAL_WALLET_TOKENIZATION_RESULT =
|
|
311
345
|
T.let(
|
|
312
346
|
:"digital_wallet.tokenization_result",
|
|
@@ -173,6 +173,31 @@ module Lithic
|
|
|
173
173
|
:"card.updated",
|
|
174
174
|
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
175
175
|
)
|
|
176
|
+
CLAIM_DOCUMENT_ACCEPTED =
|
|
177
|
+
T.let(
|
|
178
|
+
:"claim_document.accepted",
|
|
179
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
180
|
+
)
|
|
181
|
+
CLAIM_DOCUMENT_REJECTED =
|
|
182
|
+
T.let(
|
|
183
|
+
:"claim_document.rejected",
|
|
184
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
185
|
+
)
|
|
186
|
+
CLAIM_DOCUMENT_UPLOADED =
|
|
187
|
+
T.let(
|
|
188
|
+
:"claim_document.uploaded",
|
|
189
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
190
|
+
)
|
|
191
|
+
CLAIM_CREATED =
|
|
192
|
+
T.let(
|
|
193
|
+
:"claim.created",
|
|
194
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
195
|
+
)
|
|
196
|
+
CLAIM_UPDATED =
|
|
197
|
+
T.let(
|
|
198
|
+
:"claim.updated",
|
|
199
|
+
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
200
|
+
)
|
|
176
201
|
DIGITAL_WALLET_TOKENIZATION_RESULT =
|
|
177
202
|
T.let(
|
|
178
203
|
:"digital_wallet.tokenization_result",
|
|
@@ -137,6 +137,15 @@ module Lithic
|
|
|
137
137
|
# - card.renewed: Occurs when a card is renewed.
|
|
138
138
|
# - card.shipped: Occurs when a card is shipped.
|
|
139
139
|
# - card.updated: Occurs when a card is updated.
|
|
140
|
+
# - claim_document.accepted: Occurs when a claim document passes validation and is
|
|
141
|
+
# accepted.
|
|
142
|
+
# - claim_document.rejected: Occurs when a claim document fails validation and is
|
|
143
|
+
# rejected.
|
|
144
|
+
# - claim_document.uploaded: Occurs when a claim document is uploaded and begins
|
|
145
|
+
# validation.
|
|
146
|
+
# - claim.created: Occurs when a dispute intake claim is created.
|
|
147
|
+
# - claim.updated: Occurs when a dispute intake claim is updated, such as a status
|
|
148
|
+
# change or a change to its outstanding requirements.
|
|
140
149
|
# - digital_wallet.tokenization_result: Occurs when a tokenization request
|
|
141
150
|
# succeeded or failed.
|
|
142
151
|
#
|
|
@@ -313,6 +322,31 @@ module Lithic
|
|
|
313
322
|
:"card.updated",
|
|
314
323
|
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
315
324
|
)
|
|
325
|
+
CLAIM_DOCUMENT_ACCEPTED =
|
|
326
|
+
T.let(
|
|
327
|
+
:"claim_document.accepted",
|
|
328
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
329
|
+
)
|
|
330
|
+
CLAIM_DOCUMENT_REJECTED =
|
|
331
|
+
T.let(
|
|
332
|
+
:"claim_document.rejected",
|
|
333
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
334
|
+
)
|
|
335
|
+
CLAIM_DOCUMENT_UPLOADED =
|
|
336
|
+
T.let(
|
|
337
|
+
:"claim_document.uploaded",
|
|
338
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
339
|
+
)
|
|
340
|
+
CLAIM_CREATED =
|
|
341
|
+
T.let(
|
|
342
|
+
:"claim.created",
|
|
343
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
344
|
+
)
|
|
345
|
+
CLAIM_UPDATED =
|
|
346
|
+
T.let(
|
|
347
|
+
:"claim.updated",
|
|
348
|
+
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
349
|
+
)
|
|
316
350
|
DIGITAL_WALLET_TOKENIZATION_RESULT =
|
|
317
351
|
T.let(
|
|
318
352
|
:"digital_wallet.tokenization_result",
|
|
@@ -31,6 +31,11 @@ module Lithic
|
|
|
31
31
|
Lithic::CardTransactionUpdatedWebhookEvent,
|
|
32
32
|
Lithic::CardTransactionEnhancedDataCreatedWebhookEvent,
|
|
33
33
|
Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent,
|
|
34
|
+
Lithic::ClaimCreatedWebhookEvent,
|
|
35
|
+
Lithic::ClaimUpdatedWebhookEvent,
|
|
36
|
+
Lithic::ClaimDocumentUploadedWebhookEvent,
|
|
37
|
+
Lithic::ClaimDocumentAcceptedWebhookEvent,
|
|
38
|
+
Lithic::ClaimDocumentRejectedWebhookEvent,
|
|
34
39
|
Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent,
|
|
35
40
|
Lithic::DigitalWalletTokenizationResultWebhookEvent,
|
|
36
41
|
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent,
|
data/rbi/lithic/models.rbi
CHANGED
|
@@ -194,6 +194,19 @@ module Lithic
|
|
|
194
194
|
|
|
195
195
|
CategoryDetails = Lithic::Models::CategoryDetails
|
|
196
196
|
|
|
197
|
+
ClaimCreatedWebhookEvent = Lithic::Models::ClaimCreatedWebhookEvent
|
|
198
|
+
|
|
199
|
+
ClaimDocumentAcceptedWebhookEvent =
|
|
200
|
+
Lithic::Models::ClaimDocumentAcceptedWebhookEvent
|
|
201
|
+
|
|
202
|
+
ClaimDocumentRejectedWebhookEvent =
|
|
203
|
+
Lithic::Models::ClaimDocumentRejectedWebhookEvent
|
|
204
|
+
|
|
205
|
+
ClaimDocumentUploadedWebhookEvent =
|
|
206
|
+
Lithic::Models::ClaimDocumentUploadedWebhookEvent
|
|
207
|
+
|
|
208
|
+
ClaimUpdatedWebhookEvent = Lithic::Models::ClaimUpdatedWebhookEvent
|
|
209
|
+
|
|
197
210
|
ClientAPIStatusParams = Lithic::Models::ClientAPIStatusParams
|
|
198
211
|
|
|
199
212
|
CreditProducts = Lithic::Models::CreditProducts
|
|
@@ -32,6 +32,11 @@ module Lithic
|
|
|
32
32
|
Lithic::CardTransactionUpdatedWebhookEvent,
|
|
33
33
|
Lithic::CardTransactionEnhancedDataCreatedWebhookEvent,
|
|
34
34
|
Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent,
|
|
35
|
+
Lithic::ClaimCreatedWebhookEvent,
|
|
36
|
+
Lithic::ClaimUpdatedWebhookEvent,
|
|
37
|
+
Lithic::ClaimDocumentUploadedWebhookEvent,
|
|
38
|
+
Lithic::ClaimDocumentAcceptedWebhookEvent,
|
|
39
|
+
Lithic::ClaimDocumentRejectedWebhookEvent,
|
|
35
40
|
Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent,
|
|
36
41
|
Lithic::DigitalWalletTokenizationResultWebhookEvent,
|
|
37
42
|
Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent,
|
|
@@ -8,11 +8,15 @@ module Lithic
|
|
|
8
8
|
| Lithic::AuthRules::RuleFeature::ACHReceiptFeature
|
|
9
9
|
| Lithic::AuthRules::RuleFeature::CardTransactionFeature
|
|
10
10
|
| Lithic::AuthRules::RuleFeature::ACHPaymentFeature
|
|
11
|
+
| Lithic::AuthRules::RuleFeature::ExternalBankAccountFeature
|
|
11
12
|
| Lithic::AuthRules::RuleFeature::CardFeature
|
|
12
13
|
| Lithic::AuthRules::RuleFeature::AccountHolderFeature
|
|
13
14
|
| Lithic::AuthRules::RuleFeature::IPMetadataFeature
|
|
14
15
|
| Lithic::AuthRules::RuleFeature::SpendVelocityFeature
|
|
16
|
+
| Lithic::AuthRules::RuleFeature::PaymentVelocityFeature
|
|
15
17
|
| Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature
|
|
18
|
+
| Lithic::AuthRules::RuleFeature::ConsecutiveDeclinesFeature
|
|
19
|
+
| Lithic::AuthRules::RuleFeature::ACHPaymentHistoryFeature
|
|
16
20
|
|
|
17
21
|
module RuleFeature
|
|
18
22
|
extend Lithic::Internal::Type::Union
|
|
@@ -102,6 +106,21 @@ module Lithic
|
|
|
102
106
|
def to_hash: -> { type: :ACH_PAYMENT, name: String }
|
|
103
107
|
end
|
|
104
108
|
|
|
109
|
+
type external_bank_account_feature =
|
|
110
|
+
{ type: :EXTERNAL_BANK_ACCOUNT, name: String }
|
|
111
|
+
|
|
112
|
+
class ExternalBankAccountFeature < Lithic::Internal::Type::BaseModel
|
|
113
|
+
attr_accessor type: :EXTERNAL_BANK_ACCOUNT
|
|
114
|
+
|
|
115
|
+
attr_reader name: String?
|
|
116
|
+
|
|
117
|
+
def name=: (String) -> String
|
|
118
|
+
|
|
119
|
+
def initialize: (?name: String, ?type: :EXTERNAL_BANK_ACCOUNT) -> void
|
|
120
|
+
|
|
121
|
+
def to_hash: -> { type: :EXTERNAL_BANK_ACCOUNT, name: String }
|
|
122
|
+
end
|
|
123
|
+
|
|
105
124
|
type card_feature = { type: :CARD, name: String }
|
|
106
125
|
|
|
107
126
|
class CardFeature < Lithic::Internal::Type::BaseModel
|
|
@@ -198,6 +217,160 @@ module Lithic
|
|
|
198
217
|
end
|
|
199
218
|
end
|
|
200
219
|
|
|
220
|
+
type payment_velocity_feature =
|
|
221
|
+
{
|
|
222
|
+
period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
223
|
+
scope: Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::scope,
|
|
224
|
+
type: :PAYMENT_VELOCITY,
|
|
225
|
+
filters: Lithic::AuthRules::RuleFeature::PaymentVelocityFeature::Filters,
|
|
226
|
+
name: String
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
class PaymentVelocityFeature < Lithic::Internal::Type::BaseModel
|
|
230
|
+
attr_accessor period: Lithic::Models::AuthRules::velocity_limit_period
|
|
231
|
+
|
|
232
|
+
attr_accessor scope: Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::scope
|
|
233
|
+
|
|
234
|
+
attr_accessor type: :PAYMENT_VELOCITY
|
|
235
|
+
|
|
236
|
+
attr_reader filters: Lithic::AuthRules::RuleFeature::PaymentVelocityFeature::Filters?
|
|
237
|
+
|
|
238
|
+
def filters=: (
|
|
239
|
+
Lithic::AuthRules::RuleFeature::PaymentVelocityFeature::Filters
|
|
240
|
+
) -> Lithic::AuthRules::RuleFeature::PaymentVelocityFeature::Filters
|
|
241
|
+
|
|
242
|
+
attr_reader name: String?
|
|
243
|
+
|
|
244
|
+
def name=: (String) -> String
|
|
245
|
+
|
|
246
|
+
def initialize: (
|
|
247
|
+
period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
248
|
+
scope: Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::scope,
|
|
249
|
+
?filters: Lithic::AuthRules::RuleFeature::PaymentVelocityFeature::Filters,
|
|
250
|
+
?name: String,
|
|
251
|
+
?type: :PAYMENT_VELOCITY
|
|
252
|
+
) -> void
|
|
253
|
+
|
|
254
|
+
def to_hash: -> {
|
|
255
|
+
period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
256
|
+
scope: Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::scope,
|
|
257
|
+
type: :PAYMENT_VELOCITY,
|
|
258
|
+
filters: Lithic::AuthRules::RuleFeature::PaymentVelocityFeature::Filters,
|
|
259
|
+
name: String
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
type scope = :FINANCIAL_ACCOUNT | :GLOBAL
|
|
263
|
+
|
|
264
|
+
module Scope
|
|
265
|
+
extend Lithic::Internal::Type::Enum
|
|
266
|
+
|
|
267
|
+
FINANCIAL_ACCOUNT: :FINANCIAL_ACCOUNT
|
|
268
|
+
GLOBAL: :GLOBAL
|
|
269
|
+
|
|
270
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::scope]
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
type filters =
|
|
274
|
+
{
|
|
275
|
+
exclude_tags: ::Hash[Symbol, String]?,
|
|
276
|
+
include_payment_types: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_payment_type]?,
|
|
277
|
+
include_polarities: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_polarity]?,
|
|
278
|
+
include_statuses: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_status]?,
|
|
279
|
+
include_tags: ::Hash[Symbol, String]?,
|
|
280
|
+
result: Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::result
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
class Filters < Lithic::Internal::Type::BaseModel
|
|
284
|
+
attr_accessor exclude_tags: ::Hash[Symbol, String]?
|
|
285
|
+
|
|
286
|
+
attr_accessor include_payment_types: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_payment_type]?
|
|
287
|
+
|
|
288
|
+
attr_accessor include_polarities: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_polarity]?
|
|
289
|
+
|
|
290
|
+
attr_accessor include_statuses: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_status]?
|
|
291
|
+
|
|
292
|
+
attr_accessor include_tags: ::Hash[Symbol, String]?
|
|
293
|
+
|
|
294
|
+
attr_reader result: Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::result?
|
|
295
|
+
|
|
296
|
+
def result=: (
|
|
297
|
+
Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::result
|
|
298
|
+
) -> Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::result
|
|
299
|
+
|
|
300
|
+
def initialize: (
|
|
301
|
+
?exclude_tags: ::Hash[Symbol, String]?,
|
|
302
|
+
?include_payment_types: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_payment_type]?,
|
|
303
|
+
?include_polarities: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_polarity]?,
|
|
304
|
+
?include_statuses: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_status]?,
|
|
305
|
+
?include_tags: ::Hash[Symbol, String]?,
|
|
306
|
+
?result: Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::result
|
|
307
|
+
) -> void
|
|
308
|
+
|
|
309
|
+
def to_hash: -> {
|
|
310
|
+
exclude_tags: ::Hash[Symbol, String]?,
|
|
311
|
+
include_payment_types: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_payment_type]?,
|
|
312
|
+
include_polarities: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_polarity]?,
|
|
313
|
+
include_statuses: ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_status]?,
|
|
314
|
+
include_tags: ::Hash[Symbol, String]?,
|
|
315
|
+
result: Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::result
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
type include_payment_type = :ORIGINATION | :RECEIPT
|
|
319
|
+
|
|
320
|
+
module IncludePaymentType
|
|
321
|
+
extend Lithic::Internal::Type::Enum
|
|
322
|
+
|
|
323
|
+
ORIGINATION: :ORIGINATION
|
|
324
|
+
RECEIPT: :RECEIPT
|
|
325
|
+
|
|
326
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_payment_type]
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
type include_polarity = :CREDIT | :DEBIT
|
|
330
|
+
|
|
331
|
+
module IncludePolarity
|
|
332
|
+
extend Lithic::Internal::Type::Enum
|
|
333
|
+
|
|
334
|
+
CREDIT: :CREDIT
|
|
335
|
+
DEBIT: :DEBIT
|
|
336
|
+
|
|
337
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_polarity]
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
type include_status =
|
|
341
|
+
:PENDING
|
|
342
|
+
| :SETTLED
|
|
343
|
+
| :DECLINED
|
|
344
|
+
| :REVERSED
|
|
345
|
+
| :CANCELED
|
|
346
|
+
| :RETURNED
|
|
347
|
+
|
|
348
|
+
module IncludeStatus
|
|
349
|
+
extend Lithic::Internal::Type::Enum
|
|
350
|
+
|
|
351
|
+
PENDING: :PENDING
|
|
352
|
+
SETTLED: :SETTLED
|
|
353
|
+
DECLINED: :DECLINED
|
|
354
|
+
REVERSED: :REVERSED
|
|
355
|
+
CANCELED: :CANCELED
|
|
356
|
+
RETURNED: :RETURNED
|
|
357
|
+
|
|
358
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::include_status]
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
type result = :APPROVED | :DECLINED
|
|
362
|
+
|
|
363
|
+
module Result
|
|
364
|
+
extend Lithic::Internal::Type::Enum
|
|
365
|
+
|
|
366
|
+
APPROVED: :APPROVED
|
|
367
|
+
DECLINED: :DECLINED
|
|
368
|
+
|
|
369
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::RuleFeature::PaymentVelocityFeature::Filters::result]
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
|
|
201
374
|
type transaction_history_signals_feature =
|
|
202
375
|
{
|
|
203
376
|
scope: Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature::scope,
|
|
@@ -239,6 +412,85 @@ module Lithic
|
|
|
239
412
|
end
|
|
240
413
|
end
|
|
241
414
|
|
|
415
|
+
type consecutive_declines_feature =
|
|
416
|
+
{
|
|
417
|
+
scope: Lithic::Models::AuthRules::RuleFeature::ConsecutiveDeclinesFeature::scope,
|
|
418
|
+
type: :CONSECUTIVE_DECLINES,
|
|
419
|
+
name: String
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
class ConsecutiveDeclinesFeature < Lithic::Internal::Type::BaseModel
|
|
423
|
+
attr_accessor scope: Lithic::Models::AuthRules::RuleFeature::ConsecutiveDeclinesFeature::scope
|
|
424
|
+
|
|
425
|
+
attr_accessor type: :CONSECUTIVE_DECLINES
|
|
426
|
+
|
|
427
|
+
attr_reader name: String?
|
|
428
|
+
|
|
429
|
+
def name=: (String) -> String
|
|
430
|
+
|
|
431
|
+
def initialize: (
|
|
432
|
+
scope: Lithic::Models::AuthRules::RuleFeature::ConsecutiveDeclinesFeature::scope,
|
|
433
|
+
?name: String,
|
|
434
|
+
?type: :CONSECUTIVE_DECLINES
|
|
435
|
+
) -> void
|
|
436
|
+
|
|
437
|
+
def to_hash: -> {
|
|
438
|
+
scope: Lithic::Models::AuthRules::RuleFeature::ConsecutiveDeclinesFeature::scope,
|
|
439
|
+
type: :CONSECUTIVE_DECLINES,
|
|
440
|
+
name: String
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
type scope = :CARD | :ACCOUNT
|
|
444
|
+
|
|
445
|
+
module Scope
|
|
446
|
+
extend Lithic::Internal::Type::Enum
|
|
447
|
+
|
|
448
|
+
CARD: :CARD
|
|
449
|
+
ACCOUNT: :ACCOUNT
|
|
450
|
+
|
|
451
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::RuleFeature::ConsecutiveDeclinesFeature::scope]
|
|
452
|
+
end
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
type ach_payment_history_feature =
|
|
456
|
+
{
|
|
457
|
+
scope: Lithic::Models::AuthRules::RuleFeature::ACHPaymentHistoryFeature::scope,
|
|
458
|
+
type: :ACH_PAYMENT_HISTORY,
|
|
459
|
+
name: String
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
class ACHPaymentHistoryFeature < Lithic::Internal::Type::BaseModel
|
|
463
|
+
attr_accessor scope: Lithic::Models::AuthRules::RuleFeature::ACHPaymentHistoryFeature::scope
|
|
464
|
+
|
|
465
|
+
attr_accessor type: :ACH_PAYMENT_HISTORY
|
|
466
|
+
|
|
467
|
+
attr_reader name: String?
|
|
468
|
+
|
|
469
|
+
def name=: (String) -> String
|
|
470
|
+
|
|
471
|
+
def initialize: (
|
|
472
|
+
scope: Lithic::Models::AuthRules::RuleFeature::ACHPaymentHistoryFeature::scope,
|
|
473
|
+
?name: String,
|
|
474
|
+
?type: :ACH_PAYMENT_HISTORY
|
|
475
|
+
) -> void
|
|
476
|
+
|
|
477
|
+
def to_hash: -> {
|
|
478
|
+
scope: Lithic::Models::AuthRules::RuleFeature::ACHPaymentHistoryFeature::scope,
|
|
479
|
+
type: :ACH_PAYMENT_HISTORY,
|
|
480
|
+
name: String
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
type scope = :FINANCIAL_ACCOUNT
|
|
484
|
+
|
|
485
|
+
module Scope
|
|
486
|
+
extend Lithic::Internal::Type::Enum
|
|
487
|
+
|
|
488
|
+
FINANCIAL_ACCOUNT: :FINANCIAL_ACCOUNT
|
|
489
|
+
|
|
490
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::RuleFeature::ACHPaymentHistoryFeature::scope]
|
|
491
|
+
end
|
|
492
|
+
end
|
|
493
|
+
|
|
242
494
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::rule_feature]
|
|
243
495
|
end
|
|
244
496
|
end
|