Skip to content

Commit 24f042b

Browse files
feat(api): Add card state attribute to tokenization rules
feat(api): Add event_type to ASA request and 3DS decisioning request feat(api): Add user defined status to ledger accounts feat(api): Expose Payment Allocation Details chore: update code formatting docs: Update language for Google Web Push Provisioning docs
1 parent 6e0287e commit 24f042b

38 files changed

+1208
-695
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 176
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-854de7cc8f79e150ffe98f038ce9f39367010b2bdfffc9992be2738697dc4880.yml
3-
openapi_spec_hash: fd471b20f3eda1e00cdebf028cbfe867
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-4ecc06edca2cfad4eaf11573611e89823fda5f56370bac5cd02a498a6b277d09.yml
3+
openapi_spec_hash: 8f4a30bec4348cbde85b1e65bef9189a
44
config_hash: 9dddee5f7af579864599849cb28a0770

lib/lithic.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
require_relative "lithic/models/address"
108108
require_relative "lithic/models/address_update"
109109
require_relative "lithic/models/api_status"
110-
require_relative "lithic/models/asa_request_webhook_event"
111110
require_relative "lithic/models/auth_rules/auth_rule"
112111
require_relative "lithic/models/auth_rules/auth_rule_condition"
113112
require_relative "lithic/models/auth_rules/conditional_3ds_action_parameters"
@@ -152,6 +151,7 @@
152151
require_relative "lithic/models/book_transfer_transaction_created_webhook_event"
153152
require_relative "lithic/models/book_transfer_transaction_updated_webhook_event"
154153
require_relative "lithic/models/card"
154+
require_relative "lithic/models/card_authorization_approval_request_webhook_event"
155155
require_relative "lithic/models/card_bulk_order"
156156
require_relative "lithic/models/card_bulk_order_create_params"
157157
require_relative "lithic/models/card_bulk_order_list_params"
@@ -371,6 +371,7 @@
371371
require_relative "lithic/models/three_ds/decisioning_retrieve_secret_params"
372372
require_relative "lithic/models/three_ds/decisioning_retrieve_secret_response"
373373
require_relative "lithic/models/three_ds/decisioning_rotate_secret_params"
374+
require_relative "lithic/models/three_ds_authentication_approval_request_webhook_event"
374375
require_relative "lithic/models/three_ds_authentication_challenge_webhook_event"
375376
require_relative "lithic/models/three_ds_authentication_created_webhook_event"
376377
require_relative "lithic/models/three_ds_authentication_updated_webhook_event"

lib/lithic/models.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ module Lithic
9292

9393
APIStatus = Lithic::Models::APIStatus
9494

95-
AsaRequestWebhookEvent = Lithic::Models::AsaRequestWebhookEvent
96-
9795
AuthRules = Lithic::Models::AuthRules
9896

9997
AuthRulesBacktestReportCreatedWebhookEvent = Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent
@@ -128,6 +126,9 @@ module Lithic
128126

129127
Card = Lithic::Models::Card
130128

129+
CardAuthorizationApprovalRequestWebhookEvent =
130+
Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent
131+
131132
CardBulkOrder = Lithic::Models::CardBulkOrder
132133

133134
CardBulkOrderCreateParams = Lithic::Models::CardBulkOrderCreateParams
@@ -476,6 +477,9 @@ module Lithic
476477

477478
ThreeDSAuthentication = Lithic::Models::ThreeDSAuthentication
478479

480+
ThreeDSAuthenticationApprovalRequestWebhookEvent =
481+
Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent
482+
479483
ThreeDSAuthenticationChallengeWebhookEvent = Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent
480484

481485
ThreeDSAuthenticationCreatedWebhookEvent = Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent

lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ class Condition < Lithic::Internal::Type::BaseModel
185185
# `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
186186
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
187187
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
188+
# - `CARD_STATE`: The state of the card being tokenized. Valid values are
189+
# `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
188190
#
189191
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute]
190192
required :attribute,
@@ -245,6 +247,8 @@ class Condition < Lithic::Internal::Type::BaseModel
245247
# `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
246248
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
247249
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
250+
# - `CARD_STATE`: The state of the card being tokenized. Valid values are
251+
# `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
248252
#
249253
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition#attribute
250254
module Attribute
@@ -260,6 +264,7 @@ module Attribute
260264
WALLET_RECOMMENDATION_REASONS = :WALLET_RECOMMENDATION_REASONS
261265
TOKEN_REQUESTOR_ID = :TOKEN_REQUESTOR_ID
262266
WALLET_TOKEN_STATUS = :WALLET_TOKEN_STATUS
267+
CARD_STATE = :CARD_STATE
263268

264269
# @!method self.values
265270
# @return [Array<Symbol>]

0 commit comments

Comments
 (0)