lithic 0.21.0 → 0.22.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 +19 -0
- data/README.md +1 -10
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +55 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +203 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/card_authorization.rb +11 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +120 -66
- data/lib/lithic/models/payment.rb +2 -1
- data/lib/lithic/models/transaction.rb +2 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/cards.rb +6 -2
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +4 -0
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +18 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -1
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +53 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +325 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/card_authorization.rbi +12 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +195 -90
- data/rbi/lithic/models/payment.rbi +4 -2
- data/rbi/lithic/models/transaction.rbi +4 -2
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/cards.rbi +11 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +7 -0
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +8 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +86 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/card_authorization.rbs +5 -0
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +39 -39
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +2 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- metadata +26 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -466,7 +466,8 @@ module Lithic
|
|
|
466
466
|
end
|
|
467
467
|
|
|
468
468
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
469
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
469
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
470
|
+
# and KYC workflows.
|
|
470
471
|
sig do
|
|
471
472
|
returns(
|
|
472
473
|
T.nilable(
|
|
@@ -533,7 +534,8 @@ module Lithic
|
|
|
533
534
|
end
|
|
534
535
|
def self.new(
|
|
535
536
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
536
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
537
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
538
|
+
# and KYC workflows.
|
|
537
539
|
address: nil,
|
|
538
540
|
# Individual's date of birth, as an RFC 3339 date.
|
|
539
541
|
dob: nil,
|
|
@@ -583,21 +585,12 @@ module Lithic
|
|
|
583
585
|
sig { returns(String) }
|
|
584
586
|
attr_accessor :city
|
|
585
587
|
|
|
586
|
-
# Valid country code
|
|
587
|
-
#
|
|
588
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
589
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
590
|
+
# account holder.
|
|
588
591
|
sig { returns(String) }
|
|
589
592
|
attr_accessor :country
|
|
590
593
|
|
|
591
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
592
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
593
|
-
sig { returns(String) }
|
|
594
|
-
attr_accessor :postal_code
|
|
595
|
-
|
|
596
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
597
|
-
# uppercase ISO 3166-2 two-character format.
|
|
598
|
-
sig { returns(String) }
|
|
599
|
-
attr_accessor :state
|
|
600
|
-
|
|
601
594
|
# Unit or apartment number (if applicable).
|
|
602
595
|
sig { returns(T.nilable(String)) }
|
|
603
596
|
attr_reader :address2
|
|
@@ -605,16 +598,42 @@ module Lithic
|
|
|
605
598
|
sig { params(address2: String).void }
|
|
606
599
|
attr_writer :address2
|
|
607
600
|
|
|
601
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
602
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
603
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
604
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
605
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
606
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
607
|
+
sig { returns(T.nilable(String)) }
|
|
608
|
+
attr_accessor :postal_code
|
|
609
|
+
|
|
610
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
611
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
612
|
+
# California. Optional unless the address is in one of the following countries,
|
|
613
|
+
# where it is required:
|
|
614
|
+
#
|
|
615
|
+
# - `USA`
|
|
616
|
+
# - `CAN`
|
|
617
|
+
# - `AUS`
|
|
618
|
+
# - `CHN`
|
|
619
|
+
# - `KOR`
|
|
620
|
+
# - `MEX`
|
|
621
|
+
# - `MYS`
|
|
622
|
+
# - `NZL`
|
|
623
|
+
sig { returns(T.nilable(String)) }
|
|
624
|
+
attr_accessor :state
|
|
625
|
+
|
|
608
626
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
609
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
627
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
628
|
+
# and KYC workflows.
|
|
610
629
|
sig do
|
|
611
630
|
params(
|
|
612
631
|
address1: String,
|
|
613
632
|
city: String,
|
|
614
633
|
country: String,
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
634
|
+
address2: String,
|
|
635
|
+
postal_code: T.nilable(String),
|
|
636
|
+
state: T.nilable(String)
|
|
618
637
|
).returns(T.attached_class)
|
|
619
638
|
end
|
|
620
639
|
def self.new(
|
|
@@ -622,17 +641,33 @@ module Lithic
|
|
|
622
641
|
address1:,
|
|
623
642
|
# Name of city.
|
|
624
643
|
city:,
|
|
625
|
-
# Valid country code
|
|
626
|
-
#
|
|
644
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
645
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
646
|
+
# account holder.
|
|
627
647
|
country:,
|
|
628
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
629
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
630
|
-
postal_code:,
|
|
631
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
632
|
-
# uppercase ISO 3166-2 two-character format.
|
|
633
|
-
state:,
|
|
634
648
|
# Unit or apartment number (if applicable).
|
|
635
|
-
address2: nil
|
|
649
|
+
address2: nil,
|
|
650
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
651
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
652
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
653
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
654
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
655
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
656
|
+
postal_code: nil,
|
|
657
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
658
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
659
|
+
# California. Optional unless the address is in one of the following countries,
|
|
660
|
+
# where it is required:
|
|
661
|
+
#
|
|
662
|
+
# - `USA`
|
|
663
|
+
# - `CAN`
|
|
664
|
+
# - `AUS`
|
|
665
|
+
# - `CHN`
|
|
666
|
+
# - `KOR`
|
|
667
|
+
# - `MEX`
|
|
668
|
+
# - `MYS`
|
|
669
|
+
# - `NZL`
|
|
670
|
+
state: nil
|
|
636
671
|
)
|
|
637
672
|
end
|
|
638
673
|
|
|
@@ -642,9 +677,9 @@ module Lithic
|
|
|
642
677
|
address1: String,
|
|
643
678
|
city: String,
|
|
644
679
|
country: String,
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
680
|
+
address2: String,
|
|
681
|
+
postal_code: T.nilable(String),
|
|
682
|
+
state: T.nilable(String)
|
|
648
683
|
}
|
|
649
684
|
)
|
|
650
685
|
end
|
|
@@ -663,7 +698,8 @@ module Lithic
|
|
|
663
698
|
end
|
|
664
699
|
|
|
665
700
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
666
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
701
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
702
|
+
# and KYC workflows.
|
|
667
703
|
sig do
|
|
668
704
|
returns(
|
|
669
705
|
T.nilable(
|
|
@@ -741,7 +777,8 @@ module Lithic
|
|
|
741
777
|
end
|
|
742
778
|
def self.new(
|
|
743
779
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
744
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
780
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
781
|
+
# and KYC workflows.
|
|
745
782
|
address: nil,
|
|
746
783
|
# Individual's date of birth, as an RFC 3339 date.
|
|
747
784
|
dob: nil,
|
|
@@ -791,21 +828,12 @@ module Lithic
|
|
|
791
828
|
sig { returns(String) }
|
|
792
829
|
attr_accessor :city
|
|
793
830
|
|
|
794
|
-
# Valid country code
|
|
795
|
-
#
|
|
831
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
832
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
833
|
+
# account holder.
|
|
796
834
|
sig { returns(String) }
|
|
797
835
|
attr_accessor :country
|
|
798
836
|
|
|
799
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
800
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
801
|
-
sig { returns(String) }
|
|
802
|
-
attr_accessor :postal_code
|
|
803
|
-
|
|
804
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
805
|
-
# uppercase ISO 3166-2 two-character format.
|
|
806
|
-
sig { returns(String) }
|
|
807
|
-
attr_accessor :state
|
|
808
|
-
|
|
809
837
|
# Unit or apartment number (if applicable).
|
|
810
838
|
sig { returns(T.nilable(String)) }
|
|
811
839
|
attr_reader :address2
|
|
@@ -813,16 +841,42 @@ module Lithic
|
|
|
813
841
|
sig { params(address2: String).void }
|
|
814
842
|
attr_writer :address2
|
|
815
843
|
|
|
844
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
845
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
846
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
847
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
848
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
849
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
850
|
+
sig { returns(T.nilable(String)) }
|
|
851
|
+
attr_accessor :postal_code
|
|
852
|
+
|
|
853
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
854
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
855
|
+
# California. Optional unless the address is in one of the following countries,
|
|
856
|
+
# where it is required:
|
|
857
|
+
#
|
|
858
|
+
# - `USA`
|
|
859
|
+
# - `CAN`
|
|
860
|
+
# - `AUS`
|
|
861
|
+
# - `CHN`
|
|
862
|
+
# - `KOR`
|
|
863
|
+
# - `MEX`
|
|
864
|
+
# - `MYS`
|
|
865
|
+
# - `NZL`
|
|
866
|
+
sig { returns(T.nilable(String)) }
|
|
867
|
+
attr_accessor :state
|
|
868
|
+
|
|
816
869
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
817
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
870
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
871
|
+
# and KYC workflows.
|
|
818
872
|
sig do
|
|
819
873
|
params(
|
|
820
874
|
address1: String,
|
|
821
875
|
city: String,
|
|
822
876
|
country: String,
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
877
|
+
address2: String,
|
|
878
|
+
postal_code: T.nilable(String),
|
|
879
|
+
state: T.nilable(String)
|
|
826
880
|
).returns(T.attached_class)
|
|
827
881
|
end
|
|
828
882
|
def self.new(
|
|
@@ -830,17 +884,33 @@ module Lithic
|
|
|
830
884
|
address1:,
|
|
831
885
|
# Name of city.
|
|
832
886
|
city:,
|
|
833
|
-
# Valid country code
|
|
834
|
-
#
|
|
887
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
888
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
889
|
+
# account holder.
|
|
835
890
|
country:,
|
|
836
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
837
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
838
|
-
postal_code:,
|
|
839
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
840
|
-
# uppercase ISO 3166-2 two-character format.
|
|
841
|
-
state:,
|
|
842
891
|
# Unit or apartment number (if applicable).
|
|
843
|
-
address2: nil
|
|
892
|
+
address2: nil,
|
|
893
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
894
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
895
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
896
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
897
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
898
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
899
|
+
postal_code: nil,
|
|
900
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
901
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
902
|
+
# California. Optional unless the address is in one of the following countries,
|
|
903
|
+
# where it is required:
|
|
904
|
+
#
|
|
905
|
+
# - `USA`
|
|
906
|
+
# - `CAN`
|
|
907
|
+
# - `AUS`
|
|
908
|
+
# - `CHN`
|
|
909
|
+
# - `KOR`
|
|
910
|
+
# - `MEX`
|
|
911
|
+
# - `MYS`
|
|
912
|
+
# - `NZL`
|
|
913
|
+
state: nil
|
|
844
914
|
)
|
|
845
915
|
end
|
|
846
916
|
|
|
@@ -850,9 +920,9 @@ module Lithic
|
|
|
850
920
|
address1: String,
|
|
851
921
|
city: String,
|
|
852
922
|
country: String,
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
923
|
+
address2: String,
|
|
924
|
+
postal_code: T.nilable(String),
|
|
925
|
+
state: T.nilable(String)
|
|
856
926
|
}
|
|
857
927
|
)
|
|
858
928
|
end
|
|
@@ -907,7 +977,8 @@ module Lithic
|
|
|
907
977
|
end
|
|
908
978
|
|
|
909
979
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
910
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
980
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
981
|
+
# and KYC workflows.
|
|
911
982
|
sig do
|
|
912
983
|
returns(
|
|
913
984
|
T.nilable(
|
|
@@ -976,7 +1047,8 @@ module Lithic
|
|
|
976
1047
|
end
|
|
977
1048
|
def self.new(
|
|
978
1049
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
979
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
1050
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
1051
|
+
# and KYC workflows.
|
|
980
1052
|
address: nil,
|
|
981
1053
|
# Individual's date of birth, as an RFC 3339 date.
|
|
982
1054
|
dob: nil,
|
|
@@ -1026,21 +1098,12 @@ module Lithic
|
|
|
1026
1098
|
sig { returns(String) }
|
|
1027
1099
|
attr_accessor :city
|
|
1028
1100
|
|
|
1029
|
-
# Valid country code
|
|
1030
|
-
#
|
|
1101
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
1102
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
1103
|
+
# account holder.
|
|
1031
1104
|
sig { returns(String) }
|
|
1032
1105
|
attr_accessor :country
|
|
1033
1106
|
|
|
1034
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
1035
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
1036
|
-
sig { returns(String) }
|
|
1037
|
-
attr_accessor :postal_code
|
|
1038
|
-
|
|
1039
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
1040
|
-
# uppercase ISO 3166-2 two-character format.
|
|
1041
|
-
sig { returns(String) }
|
|
1042
|
-
attr_accessor :state
|
|
1043
|
-
|
|
1044
1107
|
# Unit or apartment number (if applicable).
|
|
1045
1108
|
sig { returns(T.nilable(String)) }
|
|
1046
1109
|
attr_reader :address2
|
|
@@ -1048,16 +1111,42 @@ module Lithic
|
|
|
1048
1111
|
sig { params(address2: String).void }
|
|
1049
1112
|
attr_writer :address2
|
|
1050
1113
|
|
|
1114
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
1115
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
1116
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
1117
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
1118
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
1119
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
1120
|
+
sig { returns(T.nilable(String)) }
|
|
1121
|
+
attr_accessor :postal_code
|
|
1122
|
+
|
|
1123
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
1124
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
1125
|
+
# California. Optional unless the address is in one of the following countries,
|
|
1126
|
+
# where it is required:
|
|
1127
|
+
#
|
|
1128
|
+
# - `USA`
|
|
1129
|
+
# - `CAN`
|
|
1130
|
+
# - `AUS`
|
|
1131
|
+
# - `CHN`
|
|
1132
|
+
# - `KOR`
|
|
1133
|
+
# - `MEX`
|
|
1134
|
+
# - `MYS`
|
|
1135
|
+
# - `NZL`
|
|
1136
|
+
sig { returns(T.nilable(String)) }
|
|
1137
|
+
attr_accessor :state
|
|
1138
|
+
|
|
1051
1139
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
1052
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
1140
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
1141
|
+
# and KYC workflows.
|
|
1053
1142
|
sig do
|
|
1054
1143
|
params(
|
|
1055
1144
|
address1: String,
|
|
1056
1145
|
city: String,
|
|
1057
1146
|
country: String,
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1147
|
+
address2: String,
|
|
1148
|
+
postal_code: T.nilable(String),
|
|
1149
|
+
state: T.nilable(String)
|
|
1061
1150
|
).returns(T.attached_class)
|
|
1062
1151
|
end
|
|
1063
1152
|
def self.new(
|
|
@@ -1065,17 +1154,33 @@ module Lithic
|
|
|
1065
1154
|
address1:,
|
|
1066
1155
|
# Name of city.
|
|
1067
1156
|
city:,
|
|
1068
|
-
# Valid country code
|
|
1069
|
-
#
|
|
1157
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
1158
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
1159
|
+
# account holder.
|
|
1070
1160
|
country:,
|
|
1071
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
1072
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
1073
|
-
postal_code:,
|
|
1074
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
1075
|
-
# uppercase ISO 3166-2 two-character format.
|
|
1076
|
-
state:,
|
|
1077
1161
|
# Unit or apartment number (if applicable).
|
|
1078
|
-
address2: nil
|
|
1162
|
+
address2: nil,
|
|
1163
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
1164
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
1165
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
1166
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
1167
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
1168
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
1169
|
+
postal_code: nil,
|
|
1170
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
1171
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
1172
|
+
# California. Optional unless the address is in one of the following countries,
|
|
1173
|
+
# where it is required:
|
|
1174
|
+
#
|
|
1175
|
+
# - `USA`
|
|
1176
|
+
# - `CAN`
|
|
1177
|
+
# - `AUS`
|
|
1178
|
+
# - `CHN`
|
|
1179
|
+
# - `KOR`
|
|
1180
|
+
# - `MEX`
|
|
1181
|
+
# - `MYS`
|
|
1182
|
+
# - `NZL`
|
|
1183
|
+
state: nil
|
|
1079
1184
|
)
|
|
1080
1185
|
end
|
|
1081
1186
|
|
|
@@ -1085,9 +1190,9 @@ module Lithic
|
|
|
1085
1190
|
address1: String,
|
|
1086
1191
|
city: String,
|
|
1087
1192
|
country: String,
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1193
|
+
address2: String,
|
|
1194
|
+
postal_code: T.nilable(String),
|
|
1195
|
+
state: T.nilable(String)
|
|
1091
1196
|
}
|
|
1092
1197
|
)
|
|
1093
1198
|
end
|
|
@@ -1762,21 +1867,12 @@ module Lithic
|
|
|
1762
1867
|
sig { returns(String) }
|
|
1763
1868
|
attr_accessor :city
|
|
1764
1869
|
|
|
1765
|
-
# Valid country code
|
|
1766
|
-
#
|
|
1870
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
1871
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
1872
|
+
# account holder.
|
|
1767
1873
|
sig { returns(String) }
|
|
1768
1874
|
attr_accessor :country
|
|
1769
1875
|
|
|
1770
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
1771
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
1772
|
-
sig { returns(String) }
|
|
1773
|
-
attr_accessor :postal_code
|
|
1774
|
-
|
|
1775
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
1776
|
-
# uppercase ISO 3166-2 two-character format.
|
|
1777
|
-
sig { returns(String) }
|
|
1778
|
-
attr_accessor :state
|
|
1779
|
-
|
|
1780
1876
|
# Unit or apartment number (if applicable).
|
|
1781
1877
|
sig { returns(T.nilable(String)) }
|
|
1782
1878
|
attr_reader :address2
|
|
@@ -1784,15 +1880,40 @@ module Lithic
|
|
|
1784
1880
|
sig { params(address2: String).void }
|
|
1785
1881
|
attr_writer :address2
|
|
1786
1882
|
|
|
1883
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
1884
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
1885
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
1886
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
1887
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
1888
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
1889
|
+
sig { returns(T.nilable(String)) }
|
|
1890
|
+
attr_accessor :postal_code
|
|
1891
|
+
|
|
1892
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
1893
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
1894
|
+
# California. Optional unless the address is in one of the following countries,
|
|
1895
|
+
# where it is required:
|
|
1896
|
+
#
|
|
1897
|
+
# - `USA`
|
|
1898
|
+
# - `CAN`
|
|
1899
|
+
# - `AUS`
|
|
1900
|
+
# - `CHN`
|
|
1901
|
+
# - `KOR`
|
|
1902
|
+
# - `MEX`
|
|
1903
|
+
# - `MYS`
|
|
1904
|
+
# - `NZL`
|
|
1905
|
+
sig { returns(T.nilable(String)) }
|
|
1906
|
+
attr_accessor :state
|
|
1907
|
+
|
|
1787
1908
|
# The address for the account holder
|
|
1788
1909
|
sig do
|
|
1789
1910
|
params(
|
|
1790
1911
|
address1: String,
|
|
1791
1912
|
city: String,
|
|
1792
1913
|
country: String,
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1914
|
+
address2: String,
|
|
1915
|
+
postal_code: T.nilable(String),
|
|
1916
|
+
state: T.nilable(String)
|
|
1796
1917
|
).returns(T.attached_class)
|
|
1797
1918
|
end
|
|
1798
1919
|
def self.new(
|
|
@@ -1800,17 +1921,33 @@ module Lithic
|
|
|
1800
1921
|
address1:,
|
|
1801
1922
|
# Name of city.
|
|
1802
1923
|
city:,
|
|
1803
|
-
# Valid country code
|
|
1804
|
-
#
|
|
1924
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
1925
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
1926
|
+
# account holder.
|
|
1805
1927
|
country:,
|
|
1806
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
1807
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
1808
|
-
postal_code:,
|
|
1809
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
1810
|
-
# uppercase ISO 3166-2 two-character format.
|
|
1811
|
-
state:,
|
|
1812
1928
|
# Unit or apartment number (if applicable).
|
|
1813
|
-
address2: nil
|
|
1929
|
+
address2: nil,
|
|
1930
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
1931
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
1932
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
1933
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
1934
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
1935
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
1936
|
+
postal_code: nil,
|
|
1937
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
1938
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
1939
|
+
# California. Optional unless the address is in one of the following countries,
|
|
1940
|
+
# where it is required:
|
|
1941
|
+
#
|
|
1942
|
+
# - `USA`
|
|
1943
|
+
# - `CAN`
|
|
1944
|
+
# - `AUS`
|
|
1945
|
+
# - `CHN`
|
|
1946
|
+
# - `KOR`
|
|
1947
|
+
# - `MEX`
|
|
1948
|
+
# - `MYS`
|
|
1949
|
+
# - `NZL`
|
|
1950
|
+
state: nil
|
|
1814
1951
|
)
|
|
1815
1952
|
end
|
|
1816
1953
|
|
|
@@ -1820,9 +1957,9 @@ module Lithic
|
|
|
1820
1957
|
address1: String,
|
|
1821
1958
|
city: String,
|
|
1822
1959
|
country: String,
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1960
|
+
address2: String,
|
|
1961
|
+
postal_code: T.nilable(String),
|
|
1962
|
+
state: T.nilable(String)
|
|
1826
1963
|
}
|
|
1827
1964
|
)
|
|
1828
1965
|
end
|