Skip to content

Commit 7b9a282

Browse files
feat(api): deprecate auth rule apply endpoint and fix several schemas
1 parent 8e02557 commit 7b9a282

87 files changed

Lines changed: 9707 additions & 5803 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: 169
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-461a5622f5cf2e4e38fab8b899fa619cfa1bff349e3a485b8e4396c3d5b1282f.yml
3-
openapi_spec_hash: 5314a4458e7ebfc7b374bca71966a6e4
4-
config_hash: 8ac73ccdb428816c89c84802c794a3f8
1+
configured_endpoints: 168
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c10c01eac94b422808bb16cc1044c67c980791b6d1360b01628d13c5a745dfeb.yml
3+
openapi_spec_hash: 9e6642fdb875a6aa6037c107917ebff4
4+
config_hash: 0b45ea129fca7c4755ef61eb97baa096

lib/lithic.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@
9898
require_relative "lithic/models/auth_rules/v2/backtest_create_response"
9999
require_relative "lithic/models/auth_rules/v2/backtest_results"
100100
require_relative "lithic/models/auth_rules/v2/backtest_retrieve_params"
101-
require_relative "lithic/models/auth_rules/v2_apply_params"
102-
require_relative "lithic/models/auth_rules/v2_apply_response"
103101
require_relative "lithic/models/auth_rules/v2_create_params"
104102
require_relative "lithic/models/auth_rules/v2_create_response"
105103
require_relative "lithic/models/auth_rules/v2_delete_params"
@@ -168,15 +166,20 @@
168166
require_relative "lithic/models/digital_card_art_retrieve_params"
169167
require_relative "lithic/models/dispute"
170168
require_relative "lithic/models/dispute_create_params"
169+
require_relative "lithic/models/dispute_create_response"
171170
require_relative "lithic/models/dispute_delete_evidence_params"
172171
require_relative "lithic/models/dispute_delete_params"
172+
require_relative "lithic/models/dispute_delete_response"
173173
require_relative "lithic/models/dispute_evidence"
174174
require_relative "lithic/models/dispute_initiate_evidence_upload_params"
175175
require_relative "lithic/models/dispute_list_evidences_params"
176176
require_relative "lithic/models/dispute_list_params"
177+
require_relative "lithic/models/dispute_list_response"
177178
require_relative "lithic/models/dispute_retrieve_evidence_params"
178179
require_relative "lithic/models/dispute_retrieve_params"
180+
require_relative "lithic/models/dispute_retrieve_response"
179181
require_relative "lithic/models/dispute_update_params"
182+
require_relative "lithic/models/dispute_update_response"
180183
require_relative "lithic/models/document"
181184
require_relative "lithic/models/event"
182185
require_relative "lithic/models/event_list_attempts_params"

lib/lithic/models/account_holder_simulate_enrollment_review_response.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class AccountHolderSimulateEnrollmentReviewResponse < Lithic::Internal::Type::Ba
4040
# with the AUTHORIZED_USER in this field.
4141
#
4242
# @return [String, nil]
43-
optional :business_account_token, String
43+
optional :business_account_token, String, nil?: true
4444

4545
# @!attribute business_entity
4646
# Only present when user_type == "BUSINESS". Information about the business for
@@ -179,7 +179,7 @@ class AccountHolderSimulateEnrollmentReviewResponse < Lithic::Internal::Type::Ba
179179
#
180180
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual>] Only present when user_type == "BUSINESS". You must submit a list of all direct
181181
#
182-
# @param business_account_token [String] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
182+
# @param business_account_token [String, nil] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
183183
#
184184
# @param business_entity [Lithic::Models::KYBBusinessEntity] Only present when user_type == "BUSINESS". Information about the business for wh
185185
#

lib/lithic/models/account_holder_update_response.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class KYBKYCPatchResponse < Lithic::Internal::Type::BaseModel
4747
# with the AUTHORIZED_USER in this field.
4848
#
4949
# @return [String, nil]
50-
optional :business_account_token, String
50+
optional :business_account_token, String, nil?: true
5151

5252
# @!attribute business_entity
5353
# Only present when user_type == "BUSINESS". Information about the business for
@@ -187,7 +187,7 @@ class KYBKYCPatchResponse < Lithic::Internal::Type::BaseModel
187187
#
188188
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual>] Only present when user_type == "BUSINESS". You must submit a list of all direct
189189
#
190-
# @param business_account_token [String] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
190+
# @param business_account_token [String, nil] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
191191
#
192192
# @param business_entity [Lithic::Models::KYBBusinessEntity] Only present when user_type == "BUSINESS". Information about the business for wh
193193
#
@@ -813,7 +813,7 @@ class PatchResponse < Lithic::Internal::Type::BaseModel
813813
# The token for the business account that the account holder is associated with
814814
#
815815
# @return [String, nil]
816-
optional :business_account_token, String
816+
optional :business_account_token, String, nil?: true
817817

818818
# @!attribute email
819819
# The email for the account holder
@@ -850,7 +850,7 @@ class PatchResponse < Lithic::Internal::Type::BaseModel
850850
#
851851
# @param address [Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address] The address for the account holder
852852
#
853-
# @param business_account_token [String] The token for the business account that the account holder is associated with
853+
# @param business_account_token [String, nil] The token for the business account that the account holder is associated with
854854
#
855855
# @param email [String] The email for the account holder
856856
#

lib/lithic/models/auth_rules/v2_apply_params.rb

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

0 commit comments

Comments
 (0)