lithic 0.16.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 +22 -0
- data/README.md +1 -1
- data/lib/lithic/models/auth_rules/ach_payment_update_action.rb +108 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +18 -14
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/conditional_ach_payment_update_action_parameters.rb +142 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +1 -0
- data/lib/lithic/models/auth_rules/rule_feature.rb +316 -5
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_params.rb +39 -33
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +426 -1
- 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/auth_rules/v2.rb +2 -2
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +7 -0
- data/rbi/lithic/models/auth_rules/ach_payment_update_action.rbi +237 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +16 -12
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +2 -0
- data/rbi/lithic/models/auth_rules/conditional_ach_payment_update_action_parameters.rbi +298 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +5 -0
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +724 -5
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +18 -3
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +48 -36
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +826 -1
- 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/auth_rules/v2.rbi +1 -0
- data/rbi/lithic/resources/webhooks.rbi +5 -0
- data/sig/lithic/models/auth_rules/ach_payment_update_action.rbs +99 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/conditional_ach_payment_update_action_parameters.rbs +81 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +2 -0
- data/sig/lithic/models/auth_rules/rule_feature.rbs +267 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +355 -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 +23 -2
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class ClaimUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Lithic::ClaimUpdatedWebhookEvent, Lithic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Unique identifier for the claim, in UUID format
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
attr_accessor :token
|
|
14
|
+
|
|
15
|
+
# Token for the account holder that filed the claim
|
|
16
|
+
sig { returns(T.nilable(String)) }
|
|
17
|
+
attr_accessor :account_holder_token
|
|
18
|
+
|
|
19
|
+
# Token for the account associated with the claim
|
|
20
|
+
sig { returns(T.nilable(String)) }
|
|
21
|
+
attr_accessor :account_token
|
|
22
|
+
|
|
23
|
+
# Tokens for the cards associated with the disputed transactions
|
|
24
|
+
sig { returns(T::Array[String]) }
|
|
25
|
+
attr_accessor :card_tokens
|
|
26
|
+
|
|
27
|
+
# When the claim was created
|
|
28
|
+
sig { returns(Time) }
|
|
29
|
+
attr_accessor :created
|
|
30
|
+
|
|
31
|
+
# Transactions included in this claim
|
|
32
|
+
sig do
|
|
33
|
+
returns(T::Array[Lithic::ClaimUpdatedWebhookEvent::DisputedTransaction])
|
|
34
|
+
end
|
|
35
|
+
attr_accessor :disputed_transactions
|
|
36
|
+
|
|
37
|
+
# The type of event that occurred.
|
|
38
|
+
sig { returns(Symbol) }
|
|
39
|
+
attr_accessor :event_type
|
|
40
|
+
|
|
41
|
+
# Requirements that must be fulfilled before the claim can be submitted
|
|
42
|
+
sig do
|
|
43
|
+
returns(
|
|
44
|
+
T::Array[
|
|
45
|
+
Lithic::ClaimUpdatedWebhookEvent::OutstandingRequirement::TaggedSymbol
|
|
46
|
+
]
|
|
47
|
+
)
|
|
48
|
+
end
|
|
49
|
+
attr_accessor :outstanding_requirements
|
|
50
|
+
|
|
51
|
+
# Dispute reason code provided when creating the claim
|
|
52
|
+
sig { returns(Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol) }
|
|
53
|
+
attr_accessor :reason
|
|
54
|
+
|
|
55
|
+
# Current lifecycle status of the claim
|
|
56
|
+
sig { returns(Lithic::ClaimUpdatedWebhookEvent::Status::TaggedSymbol) }
|
|
57
|
+
attr_accessor :status
|
|
58
|
+
|
|
59
|
+
# When the claim was submitted. Null until the claim reaches `SUBMITTED` status
|
|
60
|
+
sig { returns(T.nilable(Time)) }
|
|
61
|
+
attr_accessor :submitted
|
|
62
|
+
|
|
63
|
+
# When the claim was last updated
|
|
64
|
+
sig { returns(Time) }
|
|
65
|
+
attr_accessor :updated
|
|
66
|
+
|
|
67
|
+
sig do
|
|
68
|
+
params(
|
|
69
|
+
token: String,
|
|
70
|
+
account_holder_token: T.nilable(String),
|
|
71
|
+
account_token: T.nilable(String),
|
|
72
|
+
card_tokens: T::Array[String],
|
|
73
|
+
created: Time,
|
|
74
|
+
disputed_transactions:
|
|
75
|
+
T::Array[
|
|
76
|
+
Lithic::ClaimUpdatedWebhookEvent::DisputedTransaction::OrHash
|
|
77
|
+
],
|
|
78
|
+
outstanding_requirements:
|
|
79
|
+
T::Array[
|
|
80
|
+
Lithic::ClaimUpdatedWebhookEvent::OutstandingRequirement::OrSymbol
|
|
81
|
+
],
|
|
82
|
+
reason: Lithic::ClaimUpdatedWebhookEvent::Reason::OrSymbol,
|
|
83
|
+
status: Lithic::ClaimUpdatedWebhookEvent::Status::OrSymbol,
|
|
84
|
+
submitted: T.nilable(Time),
|
|
85
|
+
updated: Time,
|
|
86
|
+
event_type: Symbol
|
|
87
|
+
).returns(T.attached_class)
|
|
88
|
+
end
|
|
89
|
+
def self.new(
|
|
90
|
+
# Unique identifier for the claim, in UUID format
|
|
91
|
+
token:,
|
|
92
|
+
# Token for the account holder that filed the claim
|
|
93
|
+
account_holder_token:,
|
|
94
|
+
# Token for the account associated with the claim
|
|
95
|
+
account_token:,
|
|
96
|
+
# Tokens for the cards associated with the disputed transactions
|
|
97
|
+
card_tokens:,
|
|
98
|
+
# When the claim was created
|
|
99
|
+
created:,
|
|
100
|
+
# Transactions included in this claim
|
|
101
|
+
disputed_transactions:,
|
|
102
|
+
# Requirements that must be fulfilled before the claim can be submitted
|
|
103
|
+
outstanding_requirements:,
|
|
104
|
+
# Dispute reason code provided when creating the claim
|
|
105
|
+
reason:,
|
|
106
|
+
# Current lifecycle status of the claim
|
|
107
|
+
status:,
|
|
108
|
+
# When the claim was submitted. Null until the claim reaches `SUBMITTED` status
|
|
109
|
+
submitted:,
|
|
110
|
+
# When the claim was last updated
|
|
111
|
+
updated:,
|
|
112
|
+
# The type of event that occurred.
|
|
113
|
+
event_type: :"claim.updated"
|
|
114
|
+
)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
sig do
|
|
118
|
+
override.returns(
|
|
119
|
+
{
|
|
120
|
+
token: String,
|
|
121
|
+
account_holder_token: T.nilable(String),
|
|
122
|
+
account_token: T.nilable(String),
|
|
123
|
+
card_tokens: T::Array[String],
|
|
124
|
+
created: Time,
|
|
125
|
+
disputed_transactions:
|
|
126
|
+
T::Array[Lithic::ClaimUpdatedWebhookEvent::DisputedTransaction],
|
|
127
|
+
event_type: Symbol,
|
|
128
|
+
outstanding_requirements:
|
|
129
|
+
T::Array[
|
|
130
|
+
Lithic::ClaimUpdatedWebhookEvent::OutstandingRequirement::TaggedSymbol
|
|
131
|
+
],
|
|
132
|
+
reason: Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol,
|
|
133
|
+
status: Lithic::ClaimUpdatedWebhookEvent::Status::TaggedSymbol,
|
|
134
|
+
submitted: T.nilable(Time),
|
|
135
|
+
updated: Time
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
end
|
|
139
|
+
def to_hash
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
class DisputedTransaction < Lithic::Internal::Type::BaseModel
|
|
143
|
+
OrHash =
|
|
144
|
+
T.type_alias do
|
|
145
|
+
T.any(
|
|
146
|
+
Lithic::ClaimUpdatedWebhookEvent::DisputedTransaction,
|
|
147
|
+
Lithic::Internal::AnyHash
|
|
148
|
+
)
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Tokens for the specific events within the transaction being disputed. Lithic
|
|
152
|
+
# creates one dispute per event token
|
|
153
|
+
sig { returns(T::Array[String]) }
|
|
154
|
+
attr_accessor :event_tokens
|
|
155
|
+
|
|
156
|
+
# Token for the transaction being disputed, in UUID format
|
|
157
|
+
sig { returns(String) }
|
|
158
|
+
attr_accessor :transaction_token
|
|
159
|
+
|
|
160
|
+
# A transaction included in a claim, along with the specific events being
|
|
161
|
+
# disputed.
|
|
162
|
+
sig do
|
|
163
|
+
params(
|
|
164
|
+
event_tokens: T::Array[String],
|
|
165
|
+
transaction_token: String
|
|
166
|
+
).returns(T.attached_class)
|
|
167
|
+
end
|
|
168
|
+
def self.new(
|
|
169
|
+
# Tokens for the specific events within the transaction being disputed. Lithic
|
|
170
|
+
# creates one dispute per event token
|
|
171
|
+
event_tokens:,
|
|
172
|
+
# Token for the transaction being disputed, in UUID format
|
|
173
|
+
transaction_token:
|
|
174
|
+
)
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
sig do
|
|
178
|
+
override.returns(
|
|
179
|
+
{ event_tokens: T::Array[String], transaction_token: String }
|
|
180
|
+
)
|
|
181
|
+
end
|
|
182
|
+
def to_hash
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
module OutstandingRequirement
|
|
187
|
+
extend Lithic::Internal::Type::Enum
|
|
188
|
+
|
|
189
|
+
TaggedSymbol =
|
|
190
|
+
T.type_alias do
|
|
191
|
+
T.all(
|
|
192
|
+
Symbol,
|
|
193
|
+
Lithic::ClaimUpdatedWebhookEvent::OutstandingRequirement
|
|
194
|
+
)
|
|
195
|
+
end
|
|
196
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
197
|
+
|
|
198
|
+
QUESTIONNAIRE =
|
|
199
|
+
T.let(
|
|
200
|
+
:QUESTIONNAIRE,
|
|
201
|
+
Lithic::ClaimUpdatedWebhookEvent::OutstandingRequirement::TaggedSymbol
|
|
202
|
+
)
|
|
203
|
+
DOCUMENTS =
|
|
204
|
+
T.let(
|
|
205
|
+
:DOCUMENTS,
|
|
206
|
+
Lithic::ClaimUpdatedWebhookEvent::OutstandingRequirement::TaggedSymbol
|
|
207
|
+
)
|
|
208
|
+
|
|
209
|
+
sig do
|
|
210
|
+
override.returns(
|
|
211
|
+
T::Array[
|
|
212
|
+
Lithic::ClaimUpdatedWebhookEvent::OutstandingRequirement::TaggedSymbol
|
|
213
|
+
]
|
|
214
|
+
)
|
|
215
|
+
end
|
|
216
|
+
def self.values
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Dispute reason code provided when creating the claim
|
|
221
|
+
module Reason
|
|
222
|
+
extend Lithic::Internal::Type::Enum
|
|
223
|
+
|
|
224
|
+
TaggedSymbol =
|
|
225
|
+
T.type_alias do
|
|
226
|
+
T.all(Symbol, Lithic::ClaimUpdatedWebhookEvent::Reason)
|
|
227
|
+
end
|
|
228
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
229
|
+
|
|
230
|
+
CARD_NOT_PRESENT =
|
|
231
|
+
T.let(
|
|
232
|
+
:CARD_NOT_PRESENT,
|
|
233
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
234
|
+
)
|
|
235
|
+
CARD_LOST =
|
|
236
|
+
T.let(
|
|
237
|
+
:CARD_LOST,
|
|
238
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
239
|
+
)
|
|
240
|
+
CARD_STOLEN =
|
|
241
|
+
T.let(
|
|
242
|
+
:CARD_STOLEN,
|
|
243
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
244
|
+
)
|
|
245
|
+
CARD_NEVER_RECEIVED =
|
|
246
|
+
T.let(
|
|
247
|
+
:CARD_NEVER_RECEIVED,
|
|
248
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
249
|
+
)
|
|
250
|
+
COUNTERFEIT =
|
|
251
|
+
T.let(
|
|
252
|
+
:COUNTERFEIT,
|
|
253
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
254
|
+
)
|
|
255
|
+
ACCOUNT_TAKEOVER =
|
|
256
|
+
T.let(
|
|
257
|
+
:ACCOUNT_TAKEOVER,
|
|
258
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
259
|
+
)
|
|
260
|
+
PRODUCT_NOT_RECEIVED =
|
|
261
|
+
T.let(
|
|
262
|
+
:PRODUCT_NOT_RECEIVED,
|
|
263
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
264
|
+
)
|
|
265
|
+
NOT_AS_DESCRIBED =
|
|
266
|
+
T.let(
|
|
267
|
+
:NOT_AS_DESCRIBED,
|
|
268
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
269
|
+
)
|
|
270
|
+
CREDIT_NOT_PROCESSED =
|
|
271
|
+
T.let(
|
|
272
|
+
:CREDIT_NOT_PROCESSED,
|
|
273
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
274
|
+
)
|
|
275
|
+
CANCELLED_RECURRING =
|
|
276
|
+
T.let(
|
|
277
|
+
:CANCELLED_RECURRING,
|
|
278
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
279
|
+
)
|
|
280
|
+
PAID_BY_OTHER_MEANS =
|
|
281
|
+
T.let(
|
|
282
|
+
:PAID_BY_OTHER_MEANS,
|
|
283
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
284
|
+
)
|
|
285
|
+
DUPLICATE_CHARGE =
|
|
286
|
+
T.let(
|
|
287
|
+
:DUPLICATE_CHARGE,
|
|
288
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
289
|
+
)
|
|
290
|
+
LATE_PRESENTMENT =
|
|
291
|
+
T.let(
|
|
292
|
+
:LATE_PRESENTMENT,
|
|
293
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
294
|
+
)
|
|
295
|
+
INCORRECT_TRANSACTION_CODE =
|
|
296
|
+
T.let(
|
|
297
|
+
:INCORRECT_TRANSACTION_CODE,
|
|
298
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
299
|
+
)
|
|
300
|
+
NO_AUTHORIZATION =
|
|
301
|
+
T.let(
|
|
302
|
+
:NO_AUTHORIZATION,
|
|
303
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
304
|
+
)
|
|
305
|
+
DECLINED =
|
|
306
|
+
T.let(
|
|
307
|
+
:DECLINED,
|
|
308
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
309
|
+
)
|
|
310
|
+
INCORRECT_AMOUNT =
|
|
311
|
+
T.let(
|
|
312
|
+
:INCORRECT_AMOUNT,
|
|
313
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
314
|
+
)
|
|
315
|
+
ATM_CASH_NOT_DISPENSED =
|
|
316
|
+
T.let(
|
|
317
|
+
:ATM_CASH_NOT_DISPENSED,
|
|
318
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
319
|
+
)
|
|
320
|
+
ATM_DEPOSIT_WRONG_AMOUNT =
|
|
321
|
+
T.let(
|
|
322
|
+
:ATM_DEPOSIT_WRONG_AMOUNT,
|
|
323
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
324
|
+
)
|
|
325
|
+
ATM_DEPOSIT_MISSING =
|
|
326
|
+
T.let(
|
|
327
|
+
:ATM_DEPOSIT_MISSING,
|
|
328
|
+
Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol
|
|
329
|
+
)
|
|
330
|
+
|
|
331
|
+
sig do
|
|
332
|
+
override.returns(
|
|
333
|
+
T::Array[Lithic::ClaimUpdatedWebhookEvent::Reason::TaggedSymbol]
|
|
334
|
+
)
|
|
335
|
+
end
|
|
336
|
+
def self.values
|
|
337
|
+
end
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# Current lifecycle status of the claim
|
|
341
|
+
module Status
|
|
342
|
+
extend Lithic::Internal::Type::Enum
|
|
343
|
+
|
|
344
|
+
TaggedSymbol =
|
|
345
|
+
T.type_alias do
|
|
346
|
+
T.all(Symbol, Lithic::ClaimUpdatedWebhookEvent::Status)
|
|
347
|
+
end
|
|
348
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
349
|
+
|
|
350
|
+
INITIALIZING =
|
|
351
|
+
T.let(
|
|
352
|
+
:INITIALIZING,
|
|
353
|
+
Lithic::ClaimUpdatedWebhookEvent::Status::TaggedSymbol
|
|
354
|
+
)
|
|
355
|
+
AWAITING_INFO =
|
|
356
|
+
T.let(
|
|
357
|
+
:AWAITING_INFO,
|
|
358
|
+
Lithic::ClaimUpdatedWebhookEvent::Status::TaggedSymbol
|
|
359
|
+
)
|
|
360
|
+
SUBMITTED =
|
|
361
|
+
T.let(
|
|
362
|
+
:SUBMITTED,
|
|
363
|
+
Lithic::ClaimUpdatedWebhookEvent::Status::TaggedSymbol
|
|
364
|
+
)
|
|
365
|
+
RESOLVED =
|
|
366
|
+
T.let(
|
|
367
|
+
:RESOLVED,
|
|
368
|
+
Lithic::ClaimUpdatedWebhookEvent::Status::TaggedSymbol
|
|
369
|
+
)
|
|
370
|
+
ABANDONED =
|
|
371
|
+
T.let(
|
|
372
|
+
:ABANDONED,
|
|
373
|
+
Lithic::ClaimUpdatedWebhookEvent::Status::TaggedSymbol
|
|
374
|
+
)
|
|
375
|
+
|
|
376
|
+
sig do
|
|
377
|
+
override.returns(
|
|
378
|
+
T::Array[Lithic::ClaimUpdatedWebhookEvent::Status::TaggedSymbol]
|
|
379
|
+
)
|
|
380
|
+
end
|
|
381
|
+
def self.values
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
end
|
|
385
|
+
end
|
|
386
|
+
end
|
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,
|