Skip to content

Commit 46555c1

Browse files
fix(api): [breaking] unify webhook schemas for digital_wallet.tokenization_approval_request webhooks
1 parent 7307a40 commit 46555c1

87 files changed

Lines changed: 472 additions & 4808 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 190
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-d67717d651ba08e30f82e42f4468cfb46f87470f970ae1e19a7c0dc16c275a87.yml
3-
openapi_spec_hash: 969a03848267a110e83a696547b7f2a8
4-
config_hash: 2e69ca9699ec18d9d7337604821d3091
1+
configured_endpoints: 189
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c37843d1525e87f47a292bf11a6fdcc277157556da21c923cc1b4a4473147ef0.yml
3+
openapi_spec_hash: 29a8c4637c8a00339aa0095a929a6096
4+
config_hash: 8799cfd589579f105ef8696a6d664c71

lib/lithic.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
require_relative "lithic/models/api_status"
116116
require_relative "lithic/models/auth_rules/auth_rule"
117117
require_relative "lithic/models/auth_rules/auth_rule_condition"
118-
require_relative "lithic/models/auth_rules/auth_rule_version"
119118
require_relative "lithic/models/auth_rules/backtest_stats"
120119
require_relative "lithic/models/auth_rules/conditional_3ds_action_parameters"
121120
require_relative "lithic/models/auth_rules/conditional_ach_action_parameters"
@@ -139,8 +138,6 @@
139138
require_relative "lithic/models/auth_rules/v2_list_params"
140139
require_relative "lithic/models/auth_rules/v2_list_results_params"
141140
require_relative "lithic/models/auth_rules/v2_list_results_response"
142-
require_relative "lithic/models/auth_rules/v2_list_versions_params"
143-
require_relative "lithic/models/auth_rules/v2_list_versions_response"
144141
require_relative "lithic/models/auth_rules/v2_promote_params"
145142
require_relative "lithic/models/auth_rules/v2_retrieve_features_params"
146143
require_relative "lithic/models/auth_rules/v2_retrieve_features_response"
@@ -410,7 +407,6 @@
410407
require_relative "lithic/models/tokenization_activate_params"
411408
require_relative "lithic/models/tokenization_approval_request_webhook_event"
412409
require_relative "lithic/models/tokenization_deactivate_params"
413-
require_relative "lithic/models/tokenization_decisioning_request_webhook_event"
414410
require_relative "lithic/models/tokenization_decisioning_retrieve_secret_params"
415411
require_relative "lithic/models/tokenization_decisioning_rotate_secret_params"
416412
require_relative "lithic/models/tokenization_decisioning_rotate_secret_response"

lib/lithic/models.rb

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

511511
TokenizationDeactivateParams = Lithic::Models::TokenizationDeactivateParams
512512

513-
TokenizationDecisioningRequestWebhookEvent = Lithic::Models::TokenizationDecisioningRequestWebhookEvent
514-
515513
TokenizationDecisioningRetrieveSecretParams = Lithic::Models::TokenizationDecisioningRetrieveSecretParams
516514

517515
TokenizationDecisioningRotateSecretParams = Lithic::Models::TokenizationDecisioningRotateSecretParams

lib/lithic/models/account_activity_list_params.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ module Category
110110
extend Lithic::Internal::Type::Enum
111111

112112
ACH = :ACH
113-
WIRE = :WIRE
114113
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
115114
FEE = :FEE
116115
REWARD = :REWARD

lib/lithic/models/account_activity_list_response.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ module Category
149149
extend Lithic::Internal::Type::Enum
150150

151151
ACH = :ACH
152-
WIRE = :WIRE
153152
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
154153
FEE = :FEE
155154
REWARD = :REWARD

lib/lithic/models/account_activity_retrieve_transaction_response.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ module Category
152152
extend Lithic::Internal::Type::Enum
153153

154154
ACH = :ACH
155-
WIRE = :WIRE
156155
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
157156
FEE = :FEE
158157
REWARD = :REWARD

lib/lithic/models/auth_rules/auth_rule_version.rb

Lines changed: 0 additions & 92 deletions
This file was deleted.

lib/lithic/models/auth_rules/v2/backtest_results.rb

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,30 @@ class Results < Lithic::Internal::Type::BaseModel
4848

4949
# @see Lithic::Models::AuthRules::V2::BacktestResults#simulation_parameters
5050
class SimulationParameters < Lithic::Internal::Type::BaseModel
51+
# @!attribute auth_rule_token
52+
# Auth Rule Token
53+
#
54+
# @return [String, nil]
55+
optional :auth_rule_token, String
56+
5157
# @!attribute end_
52-
# The end time of the simulation
58+
# The end time of the simulation.
5359
#
54-
# @return [Time]
55-
required :end_, Time, api_name: :end
60+
# @return [Time, nil]
61+
optional :end_, Time, api_name: :end
5662

5763
# @!attribute start
58-
# The start time of the simulation
64+
# The start time of the simulation.
5965
#
60-
# @return [Time]
61-
required :start, Time
66+
# @return [Time, nil]
67+
optional :start, Time
6268

63-
# @!method initialize(end_:, start:)
64-
# @param end_ [Time] The end time of the simulation
69+
# @!method initialize(auth_rule_token: nil, end_: nil, start: nil)
70+
# @param auth_rule_token [String] Auth Rule Token
71+
#
72+
# @param end_ [Time] The end time of the simulation.
6573
#
66-
# @param start [Time] The start time of the simulation
74+
# @param start [Time] The start time of the simulation.
6775
end
6876
end
6977
end

lib/lithic/models/auth_rules/v2_list_versions_params.rb

Lines changed: 0 additions & 22 deletions
This file was deleted.

lib/lithic/models/auth_rules/v2_list_versions_response.rb

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)