modern_treasury 0.29.2 → 0.30.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 +25 -0
- data/README.md +1 -1
- data/lib/modern_treasury/client.rb +4 -0
- data/lib/modern_treasury/models/child_legal_entity.rb +3 -207
- data/lib/modern_treasury/models/identification.rb +209 -0
- data/lib/modern_treasury/models/identification_create_params.rb +231 -0
- data/lib/modern_treasury/models/identification_retrieve_params.rb +20 -0
- data/lib/modern_treasury/models/identification_update_params.rb +176 -0
- data/lib/modern_treasury/models/internal_account_update_params.rb +12 -1
- data/lib/modern_treasury/models/legal_entity.rb +3 -207
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +17 -9
- data/lib/modern_treasury/models/virtual_account_create_params.rb +9 -1
- data/lib/modern_treasury/models.rb +8 -0
- data/lib/modern_treasury/resources/identifications.rb +106 -0
- data/lib/modern_treasury/resources/internal_accounts.rb +3 -1
- data/lib/modern_treasury/resources/legal_entity_associations.rb +5 -3
- data/lib/modern_treasury/resources/virtual_accounts.rb +3 -1
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +5 -0
- data/rbi/modern_treasury/client.rbi +3 -0
- data/rbi/modern_treasury/models/child_legal_entity.rbi +3 -652
- data/rbi/modern_treasury/models/identification.rbi +346 -0
- data/rbi/modern_treasury/models/identification_create_params.rbi +768 -0
- data/rbi/modern_treasury/models/identification_retrieve_params.rbi +38 -0
- data/rbi/modern_treasury/models/identification_update_params.rbi +632 -0
- data/rbi/modern_treasury/models/internal_account_update_params.rbi +17 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +3 -647
- data/rbi/modern_treasury/models/legal_entity_association_create_params.rbi +26 -8
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +11 -0
- data/rbi/modern_treasury/models.rbi +11 -0
- data/rbi/modern_treasury/resources/identifications.rbi +94 -0
- data/rbi/modern_treasury/resources/internal_accounts.rbi +6 -0
- data/rbi/modern_treasury/resources/legal_entity_associations.rbi +6 -3
- data/rbi/modern_treasury/resources/virtual_accounts.rbi +3 -0
- data/sig/modern_treasury/client.rbs +2 -0
- data/sig/modern_treasury/models/child_legal_entity.rbs +4 -282
- data/sig/modern_treasury/models/identification.rbs +281 -0
- data/sig/modern_treasury/models/identification_create_params.rbs +323 -0
- data/sig/modern_treasury/models/identification_retrieve_params.rbs +23 -0
- data/sig/modern_treasury/models/identification_update_params.rbs +268 -0
- data/sig/modern_treasury/models/internal_account_update_params.rbs +9 -0
- data/sig/modern_treasury/models/legal_entity.rbs +4 -282
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +16 -5
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +7 -0
- data/sig/modern_treasury/models.rbs +8 -0
- data/sig/modern_treasury/resources/identifications.rbs +33 -0
- data/sig/modern_treasury/resources/internal_accounts.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +2 -1
- data/sig/modern_treasury/resources/virtual_accounts.rbs +1 -0
- metadata +17 -2
|
@@ -93,7 +93,7 @@ module ModernTreasury
|
|
|
93
93
|
attr_accessor :first_name
|
|
94
94
|
|
|
95
95
|
# A list of identifications for the legal entity.
|
|
96
|
-
sig { returns(T::Array[ModernTreasury::
|
|
96
|
+
sig { returns(T::Array[ModernTreasury::Identification]) }
|
|
97
97
|
attr_accessor :identifications
|
|
98
98
|
|
|
99
99
|
# A list of industry classifications for the legal entity.
|
|
@@ -281,8 +281,7 @@ module ModernTreasury
|
|
|
281
281
|
expected_activity_volume: T.nilable(Integer),
|
|
282
282
|
external_id: T.nilable(String),
|
|
283
283
|
first_name: T.nilable(String),
|
|
284
|
-
identifications:
|
|
285
|
-
T::Array[ModernTreasury::LegalEntity::Identification::OrHash],
|
|
284
|
+
identifications: T::Array[ModernTreasury::Identification::OrHash],
|
|
286
285
|
industry_classifications:
|
|
287
286
|
T::Array[ModernTreasury::LegalEntityIndustryClassification::OrHash],
|
|
288
287
|
intended_use: T.nilable(String),
|
|
@@ -448,8 +447,7 @@ module ModernTreasury
|
|
|
448
447
|
expected_activity_volume: T.nilable(Integer),
|
|
449
448
|
external_id: T.nilable(String),
|
|
450
449
|
first_name: T.nilable(String),
|
|
451
|
-
identifications:
|
|
452
|
-
T::Array[ModernTreasury::LegalEntity::Identification],
|
|
450
|
+
identifications: T::Array[ModernTreasury::Identification],
|
|
453
451
|
industry_classifications:
|
|
454
452
|
T::Array[ModernTreasury::LegalEntityIndustryClassification],
|
|
455
453
|
intended_use: T.nilable(String),
|
|
@@ -730,648 +728,6 @@ module ModernTreasury
|
|
|
730
728
|
end
|
|
731
729
|
end
|
|
732
730
|
|
|
733
|
-
class Identification < ModernTreasury::Internal::Type::BaseModel
|
|
734
|
-
OrHash =
|
|
735
|
-
T.type_alias do
|
|
736
|
-
T.any(
|
|
737
|
-
ModernTreasury::LegalEntity::Identification,
|
|
738
|
-
ModernTreasury::Internal::AnyHash
|
|
739
|
-
)
|
|
740
|
-
end
|
|
741
|
-
|
|
742
|
-
sig { returns(String) }
|
|
743
|
-
attr_accessor :id
|
|
744
|
-
|
|
745
|
-
sig { returns(Time) }
|
|
746
|
-
attr_accessor :created_at
|
|
747
|
-
|
|
748
|
-
sig { returns(T.nilable(Time)) }
|
|
749
|
-
attr_accessor :discarded_at
|
|
750
|
-
|
|
751
|
-
sig { returns(T::Array[ModernTreasury::Document]) }
|
|
752
|
-
attr_accessor :documents
|
|
753
|
-
|
|
754
|
-
# The date when the Identification is no longer considered valid by the issuing
|
|
755
|
-
# authority.
|
|
756
|
-
sig { returns(T.nilable(Date)) }
|
|
757
|
-
attr_accessor :expiration_date
|
|
758
|
-
|
|
759
|
-
# The type of ID number.
|
|
760
|
-
sig do
|
|
761
|
-
returns(
|
|
762
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
763
|
-
)
|
|
764
|
-
end
|
|
765
|
-
attr_accessor :id_type
|
|
766
|
-
|
|
767
|
-
# The ISO 3166-1 alpha-2 country code of the country that issued the
|
|
768
|
-
# identification
|
|
769
|
-
sig { returns(T.nilable(String)) }
|
|
770
|
-
attr_accessor :issuing_country
|
|
771
|
-
|
|
772
|
-
# The region in which the identifcation was issued.
|
|
773
|
-
sig { returns(T.nilable(String)) }
|
|
774
|
-
attr_accessor :issuing_region
|
|
775
|
-
|
|
776
|
-
# This field will be true if this object exists in the live environment or false
|
|
777
|
-
# if it exists in the test environment.
|
|
778
|
-
sig { returns(T::Boolean) }
|
|
779
|
-
attr_accessor :live_mode
|
|
780
|
-
|
|
781
|
-
sig { returns(String) }
|
|
782
|
-
attr_accessor :object
|
|
783
|
-
|
|
784
|
-
sig { returns(Time) }
|
|
785
|
-
attr_accessor :updated_at
|
|
786
|
-
|
|
787
|
-
sig do
|
|
788
|
-
params(
|
|
789
|
-
id: String,
|
|
790
|
-
created_at: Time,
|
|
791
|
-
discarded_at: T.nilable(Time),
|
|
792
|
-
documents: T::Array[ModernTreasury::Document::OrHash],
|
|
793
|
-
expiration_date: T.nilable(Date),
|
|
794
|
-
id_type:
|
|
795
|
-
ModernTreasury::LegalEntity::Identification::IDType::OrSymbol,
|
|
796
|
-
issuing_country: T.nilable(String),
|
|
797
|
-
issuing_region: T.nilable(String),
|
|
798
|
-
live_mode: T::Boolean,
|
|
799
|
-
object: String,
|
|
800
|
-
updated_at: Time
|
|
801
|
-
).returns(T.attached_class)
|
|
802
|
-
end
|
|
803
|
-
def self.new(
|
|
804
|
-
id:,
|
|
805
|
-
created_at:,
|
|
806
|
-
discarded_at:,
|
|
807
|
-
documents:,
|
|
808
|
-
# The date when the Identification is no longer considered valid by the issuing
|
|
809
|
-
# authority.
|
|
810
|
-
expiration_date:,
|
|
811
|
-
# The type of ID number.
|
|
812
|
-
id_type:,
|
|
813
|
-
# The ISO 3166-1 alpha-2 country code of the country that issued the
|
|
814
|
-
# identification
|
|
815
|
-
issuing_country:,
|
|
816
|
-
# The region in which the identifcation was issued.
|
|
817
|
-
issuing_region:,
|
|
818
|
-
# This field will be true if this object exists in the live environment or false
|
|
819
|
-
# if it exists in the test environment.
|
|
820
|
-
live_mode:,
|
|
821
|
-
object:,
|
|
822
|
-
updated_at:
|
|
823
|
-
)
|
|
824
|
-
end
|
|
825
|
-
|
|
826
|
-
sig do
|
|
827
|
-
override.returns(
|
|
828
|
-
{
|
|
829
|
-
id: String,
|
|
830
|
-
created_at: Time,
|
|
831
|
-
discarded_at: T.nilable(Time),
|
|
832
|
-
documents: T::Array[ModernTreasury::Document],
|
|
833
|
-
expiration_date: T.nilable(Date),
|
|
834
|
-
id_type:
|
|
835
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol,
|
|
836
|
-
issuing_country: T.nilable(String),
|
|
837
|
-
issuing_region: T.nilable(String),
|
|
838
|
-
live_mode: T::Boolean,
|
|
839
|
-
object: String,
|
|
840
|
-
updated_at: Time
|
|
841
|
-
}
|
|
842
|
-
)
|
|
843
|
-
end
|
|
844
|
-
def to_hash
|
|
845
|
-
end
|
|
846
|
-
|
|
847
|
-
# The type of ID number.
|
|
848
|
-
module IDType
|
|
849
|
-
extend ModernTreasury::Internal::Type::Enum
|
|
850
|
-
|
|
851
|
-
TaggedSymbol =
|
|
852
|
-
T.type_alias do
|
|
853
|
-
T.all(Symbol, ModernTreasury::LegalEntity::Identification::IDType)
|
|
854
|
-
end
|
|
855
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
856
|
-
|
|
857
|
-
AR_CUIL =
|
|
858
|
-
T.let(
|
|
859
|
-
:ar_cuil,
|
|
860
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
861
|
-
)
|
|
862
|
-
AR_CUIT =
|
|
863
|
-
T.let(
|
|
864
|
-
:ar_cuit,
|
|
865
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
866
|
-
)
|
|
867
|
-
AT_ATIN =
|
|
868
|
-
T.let(
|
|
869
|
-
:at_atin,
|
|
870
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
871
|
-
)
|
|
872
|
-
AT_VAT =
|
|
873
|
-
T.let(
|
|
874
|
-
:at_vat,
|
|
875
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
876
|
-
)
|
|
877
|
-
AU_ABN =
|
|
878
|
-
T.let(
|
|
879
|
-
:au_abn,
|
|
880
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
881
|
-
)
|
|
882
|
-
AU_TFN =
|
|
883
|
-
T.let(
|
|
884
|
-
:au_tfn,
|
|
885
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
886
|
-
)
|
|
887
|
-
BE_ENT =
|
|
888
|
-
T.let(
|
|
889
|
-
:be_ent,
|
|
890
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
891
|
-
)
|
|
892
|
-
BE_NRN =
|
|
893
|
-
T.let(
|
|
894
|
-
:be_nrn,
|
|
895
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
896
|
-
)
|
|
897
|
-
BR_CNPJ =
|
|
898
|
-
T.let(
|
|
899
|
-
:br_cnpj,
|
|
900
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
901
|
-
)
|
|
902
|
-
BR_CPF =
|
|
903
|
-
T.let(
|
|
904
|
-
:br_cpf,
|
|
905
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
906
|
-
)
|
|
907
|
-
CA_BN =
|
|
908
|
-
T.let(
|
|
909
|
-
:ca_bn,
|
|
910
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
911
|
-
)
|
|
912
|
-
CA_SIN =
|
|
913
|
-
T.let(
|
|
914
|
-
:ca_sin,
|
|
915
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
916
|
-
)
|
|
917
|
-
CH_AHV =
|
|
918
|
-
T.let(
|
|
919
|
-
:ch_ahv,
|
|
920
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
921
|
-
)
|
|
922
|
-
CH_UID =
|
|
923
|
-
T.let(
|
|
924
|
-
:ch_uid,
|
|
925
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
926
|
-
)
|
|
927
|
-
CL_RUN =
|
|
928
|
-
T.let(
|
|
929
|
-
:cl_run,
|
|
930
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
931
|
-
)
|
|
932
|
-
CL_RUT =
|
|
933
|
-
T.let(
|
|
934
|
-
:cl_rut,
|
|
935
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
936
|
-
)
|
|
937
|
-
CO_CEDULAS =
|
|
938
|
-
T.let(
|
|
939
|
-
:co_cedulas,
|
|
940
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
941
|
-
)
|
|
942
|
-
CO_NIT =
|
|
943
|
-
T.let(
|
|
944
|
-
:co_nit,
|
|
945
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
946
|
-
)
|
|
947
|
-
CY_TIN =
|
|
948
|
-
T.let(
|
|
949
|
-
:cy_tin,
|
|
950
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
951
|
-
)
|
|
952
|
-
CZ_ICO =
|
|
953
|
-
T.let(
|
|
954
|
-
:cz_ico,
|
|
955
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
956
|
-
)
|
|
957
|
-
CZ_RC =
|
|
958
|
-
T.let(
|
|
959
|
-
:cz_rc,
|
|
960
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
961
|
-
)
|
|
962
|
-
DE_STID =
|
|
963
|
-
T.let(
|
|
964
|
-
:de_stid,
|
|
965
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
966
|
-
)
|
|
967
|
-
DE_STNR =
|
|
968
|
-
T.let(
|
|
969
|
-
:de_stnr,
|
|
970
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
971
|
-
)
|
|
972
|
-
DE_VAT =
|
|
973
|
-
T.let(
|
|
974
|
-
:de_vat,
|
|
975
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
976
|
-
)
|
|
977
|
-
DK_CPR =
|
|
978
|
-
T.let(
|
|
979
|
-
:dk_cpr,
|
|
980
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
981
|
-
)
|
|
982
|
-
DK_CVR =
|
|
983
|
-
T.let(
|
|
984
|
-
:dk_cvr,
|
|
985
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
986
|
-
)
|
|
987
|
-
DRIVERS_LICENSE =
|
|
988
|
-
T.let(
|
|
989
|
-
:drivers_license,
|
|
990
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
991
|
-
)
|
|
992
|
-
EE_IK =
|
|
993
|
-
T.let(
|
|
994
|
-
:ee_ik,
|
|
995
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
996
|
-
)
|
|
997
|
-
EE_RK =
|
|
998
|
-
T.let(
|
|
999
|
-
:ee_rk,
|
|
1000
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1001
|
-
)
|
|
1002
|
-
ES_NIE =
|
|
1003
|
-
T.let(
|
|
1004
|
-
:es_nie,
|
|
1005
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1006
|
-
)
|
|
1007
|
-
ES_NIF =
|
|
1008
|
-
T.let(
|
|
1009
|
-
:es_nif,
|
|
1010
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1011
|
-
)
|
|
1012
|
-
FI_HETU =
|
|
1013
|
-
T.let(
|
|
1014
|
-
:fi_hetu,
|
|
1015
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1016
|
-
)
|
|
1017
|
-
FI_YTJ =
|
|
1018
|
-
T.let(
|
|
1019
|
-
:fi_ytj,
|
|
1020
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1021
|
-
)
|
|
1022
|
-
FR_NIF =
|
|
1023
|
-
T.let(
|
|
1024
|
-
:fr_nif,
|
|
1025
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1026
|
-
)
|
|
1027
|
-
FR_SIREN =
|
|
1028
|
-
T.let(
|
|
1029
|
-
:fr_siren,
|
|
1030
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1031
|
-
)
|
|
1032
|
-
FR_VAT =
|
|
1033
|
-
T.let(
|
|
1034
|
-
:fr_vat,
|
|
1035
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1036
|
-
)
|
|
1037
|
-
GB_NINO =
|
|
1038
|
-
T.let(
|
|
1039
|
-
:gb_nino,
|
|
1040
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1041
|
-
)
|
|
1042
|
-
GB_UTR =
|
|
1043
|
-
T.let(
|
|
1044
|
-
:gb_utr,
|
|
1045
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1046
|
-
)
|
|
1047
|
-
GB_VAT =
|
|
1048
|
-
T.let(
|
|
1049
|
-
:gb_vat,
|
|
1050
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1051
|
-
)
|
|
1052
|
-
GENERIC_INTERNATIONAL =
|
|
1053
|
-
T.let(
|
|
1054
|
-
:generic_international,
|
|
1055
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1056
|
-
)
|
|
1057
|
-
GR_VAT =
|
|
1058
|
-
T.let(
|
|
1059
|
-
:gr_vat,
|
|
1060
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1061
|
-
)
|
|
1062
|
-
HK_BRN =
|
|
1063
|
-
T.let(
|
|
1064
|
-
:hk_brn,
|
|
1065
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1066
|
-
)
|
|
1067
|
-
HK_HKID =
|
|
1068
|
-
T.let(
|
|
1069
|
-
:hk_hkid,
|
|
1070
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1071
|
-
)
|
|
1072
|
-
HN_ID =
|
|
1073
|
-
T.let(
|
|
1074
|
-
:hn_id,
|
|
1075
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1076
|
-
)
|
|
1077
|
-
HN_RTN =
|
|
1078
|
-
T.let(
|
|
1079
|
-
:hn_rtn,
|
|
1080
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1081
|
-
)
|
|
1082
|
-
HR_OIB =
|
|
1083
|
-
T.let(
|
|
1084
|
-
:hr_oib,
|
|
1085
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1086
|
-
)
|
|
1087
|
-
HU_ADJ =
|
|
1088
|
-
T.let(
|
|
1089
|
-
:hu_adj,
|
|
1090
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1091
|
-
)
|
|
1092
|
-
HU_ANUM =
|
|
1093
|
-
T.let(
|
|
1094
|
-
:hu_anum,
|
|
1095
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1096
|
-
)
|
|
1097
|
-
IE_PPS =
|
|
1098
|
-
T.let(
|
|
1099
|
-
:ie_pps,
|
|
1100
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1101
|
-
)
|
|
1102
|
-
IE_TRN =
|
|
1103
|
-
T.let(
|
|
1104
|
-
:ie_trn,
|
|
1105
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1106
|
-
)
|
|
1107
|
-
IN_LEI =
|
|
1108
|
-
T.let(
|
|
1109
|
-
:in_lei,
|
|
1110
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1111
|
-
)
|
|
1112
|
-
IS_KNT =
|
|
1113
|
-
T.let(
|
|
1114
|
-
:is_knt,
|
|
1115
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1116
|
-
)
|
|
1117
|
-
IT_CF =
|
|
1118
|
-
T.let(
|
|
1119
|
-
:it_cf,
|
|
1120
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1121
|
-
)
|
|
1122
|
-
IT_PIVA =
|
|
1123
|
-
T.let(
|
|
1124
|
-
:it_piva,
|
|
1125
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1126
|
-
)
|
|
1127
|
-
JP_HB =
|
|
1128
|
-
T.let(
|
|
1129
|
-
:jp_hb,
|
|
1130
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1131
|
-
)
|
|
1132
|
-
JP_MN =
|
|
1133
|
-
T.let(
|
|
1134
|
-
:jp_mn,
|
|
1135
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1136
|
-
)
|
|
1137
|
-
KR_BRN =
|
|
1138
|
-
T.let(
|
|
1139
|
-
:kr_brn,
|
|
1140
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1141
|
-
)
|
|
1142
|
-
KR_CRN =
|
|
1143
|
-
T.let(
|
|
1144
|
-
:kr_crn,
|
|
1145
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1146
|
-
)
|
|
1147
|
-
KR_RRN =
|
|
1148
|
-
T.let(
|
|
1149
|
-
:kr_rrn,
|
|
1150
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1151
|
-
)
|
|
1152
|
-
LI_PEID =
|
|
1153
|
-
T.let(
|
|
1154
|
-
:li_peid,
|
|
1155
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1156
|
-
)
|
|
1157
|
-
LT_AK =
|
|
1158
|
-
T.let(
|
|
1159
|
-
:lt_ak,
|
|
1160
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1161
|
-
)
|
|
1162
|
-
LT_JAK =
|
|
1163
|
-
T.let(
|
|
1164
|
-
:lt_jak,
|
|
1165
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1166
|
-
)
|
|
1167
|
-
LU_MTC =
|
|
1168
|
-
T.let(
|
|
1169
|
-
:lu_mtc,
|
|
1170
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1171
|
-
)
|
|
1172
|
-
LU_VAT =
|
|
1173
|
-
T.let(
|
|
1174
|
-
:lu_vat,
|
|
1175
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1176
|
-
)
|
|
1177
|
-
LV_PK =
|
|
1178
|
-
T.let(
|
|
1179
|
-
:lv_pk,
|
|
1180
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1181
|
-
)
|
|
1182
|
-
LV_RN =
|
|
1183
|
-
T.let(
|
|
1184
|
-
:lv_rn,
|
|
1185
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1186
|
-
)
|
|
1187
|
-
MT_TIN =
|
|
1188
|
-
T.let(
|
|
1189
|
-
:mt_tin,
|
|
1190
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1191
|
-
)
|
|
1192
|
-
MT_VAT =
|
|
1193
|
-
T.let(
|
|
1194
|
-
:mt_vat,
|
|
1195
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1196
|
-
)
|
|
1197
|
-
MX_CURP =
|
|
1198
|
-
T.let(
|
|
1199
|
-
:mx_curp,
|
|
1200
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1201
|
-
)
|
|
1202
|
-
MX_INE =
|
|
1203
|
-
T.let(
|
|
1204
|
-
:mx_ine,
|
|
1205
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1206
|
-
)
|
|
1207
|
-
MX_RFC =
|
|
1208
|
-
T.let(
|
|
1209
|
-
:mx_rfc,
|
|
1210
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1211
|
-
)
|
|
1212
|
-
NATIONAL_ID =
|
|
1213
|
-
T.let(
|
|
1214
|
-
:national_id,
|
|
1215
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1216
|
-
)
|
|
1217
|
-
NL_BSN =
|
|
1218
|
-
T.let(
|
|
1219
|
-
:nl_bsn,
|
|
1220
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1221
|
-
)
|
|
1222
|
-
NL_BTW =
|
|
1223
|
-
T.let(
|
|
1224
|
-
:nl_btw,
|
|
1225
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1226
|
-
)
|
|
1227
|
-
NL_RSIN =
|
|
1228
|
-
T.let(
|
|
1229
|
-
:nl_rsin,
|
|
1230
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1231
|
-
)
|
|
1232
|
-
NO_FDN =
|
|
1233
|
-
T.let(
|
|
1234
|
-
:no_fdn,
|
|
1235
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1236
|
-
)
|
|
1237
|
-
NO_MVA =
|
|
1238
|
-
T.let(
|
|
1239
|
-
:no_mva,
|
|
1240
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1241
|
-
)
|
|
1242
|
-
NO_ORGNR =
|
|
1243
|
-
T.let(
|
|
1244
|
-
:no_orgnr,
|
|
1245
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1246
|
-
)
|
|
1247
|
-
NZ_IRD =
|
|
1248
|
-
T.let(
|
|
1249
|
-
:nz_ird,
|
|
1250
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1251
|
-
)
|
|
1252
|
-
PASSPORT =
|
|
1253
|
-
T.let(
|
|
1254
|
-
:passport,
|
|
1255
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1256
|
-
)
|
|
1257
|
-
PL_NIP =
|
|
1258
|
-
T.let(
|
|
1259
|
-
:pl_nip,
|
|
1260
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1261
|
-
)
|
|
1262
|
-
PL_PESEL =
|
|
1263
|
-
T.let(
|
|
1264
|
-
:pl_pesel,
|
|
1265
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1266
|
-
)
|
|
1267
|
-
PT_NIF =
|
|
1268
|
-
T.let(
|
|
1269
|
-
:pt_nif,
|
|
1270
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1271
|
-
)
|
|
1272
|
-
RO_CNP =
|
|
1273
|
-
T.let(
|
|
1274
|
-
:ro_cnp,
|
|
1275
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1276
|
-
)
|
|
1277
|
-
RO_CUI =
|
|
1278
|
-
T.let(
|
|
1279
|
-
:ro_cui,
|
|
1280
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1281
|
-
)
|
|
1282
|
-
SA_TIN =
|
|
1283
|
-
T.let(
|
|
1284
|
-
:sa_tin,
|
|
1285
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1286
|
-
)
|
|
1287
|
-
SA_VAT =
|
|
1288
|
-
T.let(
|
|
1289
|
-
:sa_vat,
|
|
1290
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1291
|
-
)
|
|
1292
|
-
SE_ORGNR =
|
|
1293
|
-
T.let(
|
|
1294
|
-
:se_orgnr,
|
|
1295
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1296
|
-
)
|
|
1297
|
-
SE_PNMR =
|
|
1298
|
-
T.let(
|
|
1299
|
-
:se_pnmr,
|
|
1300
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1301
|
-
)
|
|
1302
|
-
SG_FIN =
|
|
1303
|
-
T.let(
|
|
1304
|
-
:sg_fin,
|
|
1305
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1306
|
-
)
|
|
1307
|
-
SG_NRIC =
|
|
1308
|
-
T.let(
|
|
1309
|
-
:sg_nric,
|
|
1310
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1311
|
-
)
|
|
1312
|
-
SG_UEN =
|
|
1313
|
-
T.let(
|
|
1314
|
-
:sg_uen,
|
|
1315
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1316
|
-
)
|
|
1317
|
-
SI_DAV =
|
|
1318
|
-
T.let(
|
|
1319
|
-
:si_dav,
|
|
1320
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1321
|
-
)
|
|
1322
|
-
SI_TIN =
|
|
1323
|
-
T.let(
|
|
1324
|
-
:si_tin,
|
|
1325
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1326
|
-
)
|
|
1327
|
-
SK_ICO =
|
|
1328
|
-
T.let(
|
|
1329
|
-
:sk_ico,
|
|
1330
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1331
|
-
)
|
|
1332
|
-
SK_RC =
|
|
1333
|
-
T.let(
|
|
1334
|
-
:sk_rc,
|
|
1335
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1336
|
-
)
|
|
1337
|
-
US_EIN =
|
|
1338
|
-
T.let(
|
|
1339
|
-
:us_ein,
|
|
1340
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1341
|
-
)
|
|
1342
|
-
US_ITIN =
|
|
1343
|
-
T.let(
|
|
1344
|
-
:us_itin,
|
|
1345
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1346
|
-
)
|
|
1347
|
-
US_SSN =
|
|
1348
|
-
T.let(
|
|
1349
|
-
:us_ssn,
|
|
1350
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1351
|
-
)
|
|
1352
|
-
UY_RUT =
|
|
1353
|
-
T.let(
|
|
1354
|
-
:uy_rut,
|
|
1355
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1356
|
-
)
|
|
1357
|
-
VN_TIN =
|
|
1358
|
-
T.let(
|
|
1359
|
-
:vn_tin,
|
|
1360
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1361
|
-
)
|
|
1362
|
-
|
|
1363
|
-
sig do
|
|
1364
|
-
override.returns(
|
|
1365
|
-
T::Array[
|
|
1366
|
-
ModernTreasury::LegalEntity::Identification::IDType::TaggedSymbol
|
|
1367
|
-
]
|
|
1368
|
-
)
|
|
1369
|
-
end
|
|
1370
|
-
def self.values
|
|
1371
|
-
end
|
|
1372
|
-
end
|
|
1373
|
-
end
|
|
1374
|
-
|
|
1375
731
|
# The type of legal entity.
|
|
1376
732
|
module LegalEntityType
|
|
1377
733
|
extend ModernTreasury::Internal::Type::Enum
|