increase 1.347.0 → 1.348.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.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
  4. data/lib/increase/models/ach_transfer.rb +2 -2
  5. data/lib/increase/models/ach_transfer_create_params.rb +1 -24
  6. data/lib/increase/models/balance_lookup.rb +49 -1
  7. data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
  8. data/lib/increase/models/card.rb +43 -1
  9. data/lib/increase/models/card_create_params.rb +42 -1
  10. data/lib/increase/models/card_dispute.rb +1 -1
  11. data/lib/increase/models/card_dispute_list_params.rb +1 -1
  12. data/lib/increase/models/card_payment.rb +18 -1
  13. data/lib/increase/models/check_transfer.rb +13 -1
  14. data/lib/increase/models/check_transfer_create_params.rb +25 -13
  15. data/lib/increase/models/entity.rb +22 -4
  16. data/lib/increase/models/entity_update_params.rb +754 -1
  17. data/lib/increase/models/event.rb +9 -0
  18. data/lib/increase/models/event_list_params.rb +9 -0
  19. data/lib/increase/models/event_subscription.rb +9 -0
  20. data/lib/increase/models/event_subscription_create_params.rb +9 -0
  21. data/lib/increase/models/file.rb +7 -6
  22. data/lib/increase/models/inbound_ach_transfer.rb +6 -6
  23. data/lib/increase/models/pending_transaction.rb +18 -1
  24. data/lib/increase/models/real_time_decision.rb +18 -1
  25. data/lib/increase/models/real_time_payments_transfer.rb +30 -19
  26. data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
  27. data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
  28. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  29. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
  30. data/lib/increase/models/unwrap_webhook_event.rb +9 -0
  31. data/lib/increase/models/wire_transfer_create_params.rb +100 -42
  32. data/lib/increase/resources/ach_prenotifications.rb +1 -1
  33. data/lib/increase/resources/ach_transfers.rb +1 -4
  34. data/lib/increase/resources/beneficial_owners.rb +3 -1
  35. data/lib/increase/resources/cards.rb +5 -1
  36. data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
  37. data/lib/increase/version.rb +1 -1
  38. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  39. data/rbi/increase/models/ach_transfer.rbi +2 -2
  40. data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
  41. data/rbi/increase/models/balance_lookup.rbi +48 -0
  42. data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
  43. data/rbi/increase/models/card.rbi +63 -0
  44. data/rbi/increase/models/card_create_params.rbi +65 -0
  45. data/rbi/increase/models/card_dispute.rbi +1 -1
  46. data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
  47. data/rbi/increase/models/card_payment.rbi +16 -0
  48. data/rbi/increase/models/check_transfer.rbi +15 -0
  49. data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
  50. data/rbi/increase/models/entity.rbi +61 -3
  51. data/rbi/increase/models/entity_update_params.rbi +1326 -3
  52. data/rbi/increase/models/event.rbi +21 -0
  53. data/rbi/increase/models/event_list_params.rbi +21 -0
  54. data/rbi/increase/models/event_subscription.rbi +21 -0
  55. data/rbi/increase/models/event_subscription_create_params.rbi +21 -0
  56. data/rbi/increase/models/file.rbi +7 -6
  57. data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
  58. data/rbi/increase/models/pending_transaction.rbi +16 -0
  59. data/rbi/increase/models/real_time_decision.rbi +16 -0
  60. data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
  61. data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
  62. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
  63. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  64. data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
  65. data/rbi/increase/models/unwrap_webhook_event.rbi +21 -0
  66. data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
  67. data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
  68. data/rbi/increase/resources/ach_transfers.rbi +0 -4
  69. data/rbi/increase/resources/beneficial_owners.rbi +3 -0
  70. data/rbi/increase/resources/cards.rbi +4 -0
  71. data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
  72. data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
  73. data/sig/increase/models/balance_lookup.rbs +30 -0
  74. data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
  75. data/sig/increase/models/card.rbs +19 -0
  76. data/sig/increase/models/card_create_params.rbs +25 -0
  77. data/sig/increase/models/card_dispute.rbs +1 -1
  78. data/sig/increase/models/card_dispute_list_params.rbs +1 -1
  79. data/sig/increase/models/card_payment.rbs +5 -0
  80. data/sig/increase/models/check_transfer.rbs +9 -0
  81. data/sig/increase/models/check_transfer_create_params.rbs +7 -0
  82. data/sig/increase/models/entity.rbs +21 -4
  83. data/sig/increase/models/entity_update_params.rbs +585 -3
  84. data/sig/increase/models/event.rbs +12 -0
  85. data/sig/increase/models/event_list_params.rbs +12 -0
  86. data/sig/increase/models/event_subscription.rbs +12 -0
  87. data/sig/increase/models/event_subscription_create_params.rbs +12 -0
  88. data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
  89. data/sig/increase/models/pending_transaction.rbs +5 -0
  90. data/sig/increase/models/real_time_decision.rbs +5 -0
  91. data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
  92. data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
  93. data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
  94. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  95. data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
  96. data/sig/increase/models/unwrap_webhook_event.rbs +12 -0
  97. data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
  98. data/sig/increase/resources/ach_transfers.rbs +0 -1
  99. data/sig/increase/resources/beneficial_owners.rbs +1 -0
  100. data/sig/increase/resources/cards.rbs +1 -0
  101. data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
  102. metadata +2 -2
@@ -687,7 +687,12 @@ module Increase
687
687
  end
688
688
 
689
689
  type trust =
690
- { address: Increase::EntityUpdateParams::Trust::Address, name: String }
690
+ {
691
+ address: Increase::EntityUpdateParams::Trust::Address,
692
+ grantor: Increase::EntityUpdateParams::Trust::Grantor,
693
+ name: String,
694
+ trustees: ::Array[Increase::EntityUpdateParams::Trust::Trustee]
695
+ }
691
696
 
692
697
  class Trust < Increase::Internal::Type::BaseModel
693
698
  attr_reader address: Increase::EntityUpdateParams::Trust::Address?
@@ -696,18 +701,34 @@ module Increase
696
701
  Increase::EntityUpdateParams::Trust::Address
697
702
  ) -> Increase::EntityUpdateParams::Trust::Address
698
703
 
704
+ attr_reader grantor: Increase::EntityUpdateParams::Trust::Grantor?
705
+
706
+ def grantor=: (
707
+ Increase::EntityUpdateParams::Trust::Grantor
708
+ ) -> Increase::EntityUpdateParams::Trust::Grantor
709
+
699
710
  attr_reader name: String?
700
711
 
701
712
  def name=: (String) -> String
702
713
 
714
+ attr_reader trustees: ::Array[Increase::EntityUpdateParams::Trust::Trustee]?
715
+
716
+ def trustees=: (
717
+ ::Array[Increase::EntityUpdateParams::Trust::Trustee]
718
+ ) -> ::Array[Increase::EntityUpdateParams::Trust::Trustee]
719
+
703
720
  def initialize: (
704
721
  ?address: Increase::EntityUpdateParams::Trust::Address,
705
- ?name: String
722
+ ?grantor: Increase::EntityUpdateParams::Trust::Grantor,
723
+ ?name: String,
724
+ ?trustees: ::Array[Increase::EntityUpdateParams::Trust::Trustee]
706
725
  ) -> void
707
726
 
708
727
  def to_hash: -> {
709
728
  address: Increase::EntityUpdateParams::Trust::Address,
710
- name: String
729
+ grantor: Increase::EntityUpdateParams::Trust::Grantor,
730
+ name: String,
731
+ trustees: ::Array[Increase::EntityUpdateParams::Trust::Trustee]
711
732
  }
712
733
 
713
734
  type address =
@@ -748,6 +769,567 @@ module Increase
748
769
  :line2 => String
749
770
  }
750
771
  end
772
+
773
+ type grantor =
774
+ {
775
+ address: Increase::EntityUpdateParams::Trust::Grantor::Address,
776
+ date_of_birth: Date,
777
+ identification: Increase::EntityUpdateParams::Trust::Grantor::Identification,
778
+ name: String,
779
+ confirmed_no_us_tax_id: bool
780
+ }
781
+
782
+ class Grantor < Increase::Internal::Type::BaseModel
783
+ attr_accessor address: Increase::EntityUpdateParams::Trust::Grantor::Address
784
+
785
+ attr_accessor date_of_birth: Date
786
+
787
+ attr_accessor identification: Increase::EntityUpdateParams::Trust::Grantor::Identification
788
+
789
+ attr_accessor name: String
790
+
791
+ attr_reader confirmed_no_us_tax_id: bool?
792
+
793
+ def confirmed_no_us_tax_id=: (bool) -> bool
794
+
795
+ def initialize: (
796
+ address: Increase::EntityUpdateParams::Trust::Grantor::Address,
797
+ date_of_birth: Date,
798
+ identification: Increase::EntityUpdateParams::Trust::Grantor::Identification,
799
+ name: String,
800
+ ?confirmed_no_us_tax_id: bool
801
+ ) -> void
802
+
803
+ def to_hash: -> {
804
+ address: Increase::EntityUpdateParams::Trust::Grantor::Address,
805
+ date_of_birth: Date,
806
+ identification: Increase::EntityUpdateParams::Trust::Grantor::Identification,
807
+ name: String,
808
+ confirmed_no_us_tax_id: bool
809
+ }
810
+
811
+ type address =
812
+ {
813
+ city: String,
814
+ country: String,
815
+ :line1 => String,
816
+ :line2 => String,
817
+ state: String,
818
+ zip: String
819
+ }
820
+
821
+ class Address < Increase::Internal::Type::BaseModel
822
+ attr_accessor city: String
823
+
824
+ attr_accessor country: String
825
+
826
+ attr_accessor line1: String
827
+
828
+ attr_reader line2: String?
829
+
830
+ def line2=: (String) -> String
831
+
832
+ attr_reader state: String?
833
+
834
+ def state=: (String) -> String
835
+
836
+ attr_reader zip: String?
837
+
838
+ def zip=: (String) -> String
839
+
840
+ def initialize: (
841
+ city: String,
842
+ country: String,
843
+ line1: String,
844
+ ?line2: String,
845
+ ?state: String,
846
+ ?zip: String
847
+ ) -> void
848
+
849
+ def to_hash: -> {
850
+ city: String,
851
+ country: String,
852
+ :line1 => String,
853
+ :line2 => String,
854
+ state: String,
855
+ zip: String
856
+ }
857
+ end
858
+
859
+ type identification =
860
+ {
861
+ method_: Increase::Models::EntityUpdateParams::Trust::Grantor::Identification::method_,
862
+ number: String,
863
+ drivers_license: Increase::EntityUpdateParams::Trust::Grantor::Identification::DriversLicense,
864
+ other: Increase::EntityUpdateParams::Trust::Grantor::Identification::Other,
865
+ passport: Increase::EntityUpdateParams::Trust::Grantor::Identification::Passport
866
+ }
867
+
868
+ class Identification < Increase::Internal::Type::BaseModel
869
+ attr_accessor method_: Increase::Models::EntityUpdateParams::Trust::Grantor::Identification::method_
870
+
871
+ attr_accessor number: String
872
+
873
+ attr_reader drivers_license: Increase::EntityUpdateParams::Trust::Grantor::Identification::DriversLicense?
874
+
875
+ def drivers_license=: (
876
+ Increase::EntityUpdateParams::Trust::Grantor::Identification::DriversLicense
877
+ ) -> Increase::EntityUpdateParams::Trust::Grantor::Identification::DriversLicense
878
+
879
+ attr_reader other: Increase::EntityUpdateParams::Trust::Grantor::Identification::Other?
880
+
881
+ def other=: (
882
+ Increase::EntityUpdateParams::Trust::Grantor::Identification::Other
883
+ ) -> Increase::EntityUpdateParams::Trust::Grantor::Identification::Other
884
+
885
+ attr_reader passport: Increase::EntityUpdateParams::Trust::Grantor::Identification::Passport?
886
+
887
+ def passport=: (
888
+ Increase::EntityUpdateParams::Trust::Grantor::Identification::Passport
889
+ ) -> Increase::EntityUpdateParams::Trust::Grantor::Identification::Passport
890
+
891
+ def initialize: (
892
+ method_: Increase::Models::EntityUpdateParams::Trust::Grantor::Identification::method_,
893
+ number: String,
894
+ ?drivers_license: Increase::EntityUpdateParams::Trust::Grantor::Identification::DriversLicense,
895
+ ?other: Increase::EntityUpdateParams::Trust::Grantor::Identification::Other,
896
+ ?passport: Increase::EntityUpdateParams::Trust::Grantor::Identification::Passport
897
+ ) -> void
898
+
899
+ def to_hash: -> {
900
+ method_: Increase::Models::EntityUpdateParams::Trust::Grantor::Identification::method_,
901
+ number: String,
902
+ drivers_license: Increase::EntityUpdateParams::Trust::Grantor::Identification::DriversLicense,
903
+ other: Increase::EntityUpdateParams::Trust::Grantor::Identification::Other,
904
+ passport: Increase::EntityUpdateParams::Trust::Grantor::Identification::Passport
905
+ }
906
+
907
+ type method_ =
908
+ :social_security_number
909
+ | :individual_taxpayer_identification_number
910
+ | :passport
911
+ | :drivers_license
912
+ | :other
913
+
914
+ module Method
915
+ extend Increase::Internal::Type::Enum
916
+
917
+ # A social security number.
918
+ SOCIAL_SECURITY_NUMBER: :social_security_number
919
+
920
+ # An individual taxpayer identification number (ITIN).
921
+ INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
922
+
923
+ # A passport number.
924
+ PASSPORT: :passport
925
+
926
+ # A driver's license number.
927
+ DRIVERS_LICENSE: :drivers_license
928
+
929
+ # Another identifying document.
930
+ OTHER: :other
931
+
932
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::Trust::Grantor::Identification::method_]
933
+ end
934
+
935
+ type drivers_license =
936
+ {
937
+ expiration_date: Date,
938
+ file_id: String,
939
+ state: String,
940
+ back_file_id: String
941
+ }
942
+
943
+ class DriversLicense < Increase::Internal::Type::BaseModel
944
+ attr_accessor expiration_date: Date
945
+
946
+ attr_accessor file_id: String
947
+
948
+ attr_accessor state: String
949
+
950
+ attr_reader back_file_id: String?
951
+
952
+ def back_file_id=: (String) -> String
953
+
954
+ def initialize: (
955
+ expiration_date: Date,
956
+ file_id: String,
957
+ state: String,
958
+ ?back_file_id: String
959
+ ) -> void
960
+
961
+ def to_hash: -> {
962
+ expiration_date: Date,
963
+ file_id: String,
964
+ state: String,
965
+ back_file_id: String
966
+ }
967
+ end
968
+
969
+ type other =
970
+ {
971
+ country: String,
972
+ description: String,
973
+ file_id: String,
974
+ back_file_id: String,
975
+ expiration_date: Date
976
+ }
977
+
978
+ class Other < Increase::Internal::Type::BaseModel
979
+ attr_accessor country: String
980
+
981
+ attr_accessor description: String
982
+
983
+ attr_accessor file_id: String
984
+
985
+ attr_reader back_file_id: String?
986
+
987
+ def back_file_id=: (String) -> String
988
+
989
+ attr_reader expiration_date: Date?
990
+
991
+ def expiration_date=: (Date) -> Date
992
+
993
+ def initialize: (
994
+ country: String,
995
+ description: String,
996
+ file_id: String,
997
+ ?back_file_id: String,
998
+ ?expiration_date: Date
999
+ ) -> void
1000
+
1001
+ def to_hash: -> {
1002
+ country: String,
1003
+ description: String,
1004
+ file_id: String,
1005
+ back_file_id: String,
1006
+ expiration_date: Date
1007
+ }
1008
+ end
1009
+
1010
+ type passport =
1011
+ { country: String, expiration_date: Date, file_id: String }
1012
+
1013
+ class Passport < Increase::Internal::Type::BaseModel
1014
+ attr_accessor country: String
1015
+
1016
+ attr_accessor expiration_date: Date
1017
+
1018
+ attr_accessor file_id: String
1019
+
1020
+ def initialize: (
1021
+ country: String,
1022
+ expiration_date: Date,
1023
+ file_id: String
1024
+ ) -> void
1025
+
1026
+ def to_hash: -> {
1027
+ country: String,
1028
+ expiration_date: Date,
1029
+ file_id: String
1030
+ }
1031
+ end
1032
+ end
1033
+ end
1034
+
1035
+ type trustee =
1036
+ {
1037
+ structure: Increase::Models::EntityUpdateParams::Trust::Trustee::structure,
1038
+ individual: Increase::EntityUpdateParams::Trust::Trustee::Individual
1039
+ }
1040
+
1041
+ class Trustee < Increase::Internal::Type::BaseModel
1042
+ attr_accessor structure: Increase::Models::EntityUpdateParams::Trust::Trustee::structure
1043
+
1044
+ attr_reader individual: Increase::EntityUpdateParams::Trust::Trustee::Individual?
1045
+
1046
+ def individual=: (
1047
+ Increase::EntityUpdateParams::Trust::Trustee::Individual
1048
+ ) -> Increase::EntityUpdateParams::Trust::Trustee::Individual
1049
+
1050
+ def initialize: (
1051
+ structure: Increase::Models::EntityUpdateParams::Trust::Trustee::structure,
1052
+ ?individual: Increase::EntityUpdateParams::Trust::Trustee::Individual
1053
+ ) -> void
1054
+
1055
+ def to_hash: -> {
1056
+ structure: Increase::Models::EntityUpdateParams::Trust::Trustee::structure,
1057
+ individual: Increase::EntityUpdateParams::Trust::Trustee::Individual
1058
+ }
1059
+
1060
+ type structure = :individual
1061
+
1062
+ module Structure
1063
+ extend Increase::Internal::Type::Enum
1064
+
1065
+ # The trustee is an individual.
1066
+ INDIVIDUAL: :individual
1067
+
1068
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::Trust::Trustee::structure]
1069
+ end
1070
+
1071
+ type individual =
1072
+ {
1073
+ address: Increase::EntityUpdateParams::Trust::Trustee::Individual::Address,
1074
+ date_of_birth: Date,
1075
+ identification: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification,
1076
+ name: String,
1077
+ confirmed_no_us_tax_id: bool
1078
+ }
1079
+
1080
+ class Individual < Increase::Internal::Type::BaseModel
1081
+ attr_accessor address: Increase::EntityUpdateParams::Trust::Trustee::Individual::Address
1082
+
1083
+ attr_accessor date_of_birth: Date
1084
+
1085
+ attr_accessor identification: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification
1086
+
1087
+ attr_accessor name: String
1088
+
1089
+ attr_reader confirmed_no_us_tax_id: bool?
1090
+
1091
+ def confirmed_no_us_tax_id=: (bool) -> bool
1092
+
1093
+ def initialize: (
1094
+ address: Increase::EntityUpdateParams::Trust::Trustee::Individual::Address,
1095
+ date_of_birth: Date,
1096
+ identification: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification,
1097
+ name: String,
1098
+ ?confirmed_no_us_tax_id: bool
1099
+ ) -> void
1100
+
1101
+ def to_hash: -> {
1102
+ address: Increase::EntityUpdateParams::Trust::Trustee::Individual::Address,
1103
+ date_of_birth: Date,
1104
+ identification: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification,
1105
+ name: String,
1106
+ confirmed_no_us_tax_id: bool
1107
+ }
1108
+
1109
+ type address =
1110
+ {
1111
+ city: String,
1112
+ country: String,
1113
+ :line1 => String,
1114
+ :line2 => String,
1115
+ state: String,
1116
+ zip: String
1117
+ }
1118
+
1119
+ class Address < Increase::Internal::Type::BaseModel
1120
+ attr_accessor city: String
1121
+
1122
+ attr_accessor country: String
1123
+
1124
+ attr_accessor line1: String
1125
+
1126
+ attr_reader line2: String?
1127
+
1128
+ def line2=: (String) -> String
1129
+
1130
+ attr_reader state: String?
1131
+
1132
+ def state=: (String) -> String
1133
+
1134
+ attr_reader zip: String?
1135
+
1136
+ def zip=: (String) -> String
1137
+
1138
+ def initialize: (
1139
+ city: String,
1140
+ country: String,
1141
+ line1: String,
1142
+ ?line2: String,
1143
+ ?state: String,
1144
+ ?zip: String
1145
+ ) -> void
1146
+
1147
+ def to_hash: -> {
1148
+ city: String,
1149
+ country: String,
1150
+ :line1 => String,
1151
+ :line2 => String,
1152
+ state: String,
1153
+ zip: String
1154
+ }
1155
+ end
1156
+
1157
+ type identification =
1158
+ {
1159
+ method_: Increase::Models::EntityUpdateParams::Trust::Trustee::Individual::Identification::method_,
1160
+ number: String,
1161
+ drivers_license: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::DriversLicense,
1162
+ other: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Other,
1163
+ passport: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Passport
1164
+ }
1165
+
1166
+ class Identification < Increase::Internal::Type::BaseModel
1167
+ attr_accessor method_: Increase::Models::EntityUpdateParams::Trust::Trustee::Individual::Identification::method_
1168
+
1169
+ attr_accessor number: String
1170
+
1171
+ attr_reader drivers_license: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::DriversLicense?
1172
+
1173
+ def drivers_license=: (
1174
+ Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::DriversLicense
1175
+ ) -> Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::DriversLicense
1176
+
1177
+ attr_reader other: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Other?
1178
+
1179
+ def other=: (
1180
+ Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Other
1181
+ ) -> Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Other
1182
+
1183
+ attr_reader passport: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Passport?
1184
+
1185
+ def passport=: (
1186
+ Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Passport
1187
+ ) -> Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Passport
1188
+
1189
+ def initialize: (
1190
+ method_: Increase::Models::EntityUpdateParams::Trust::Trustee::Individual::Identification::method_,
1191
+ number: String,
1192
+ ?drivers_license: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::DriversLicense,
1193
+ ?other: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Other,
1194
+ ?passport: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Passport
1195
+ ) -> void
1196
+
1197
+ def to_hash: -> {
1198
+ method_: Increase::Models::EntityUpdateParams::Trust::Trustee::Individual::Identification::method_,
1199
+ number: String,
1200
+ drivers_license: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::DriversLicense,
1201
+ other: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Other,
1202
+ passport: Increase::EntityUpdateParams::Trust::Trustee::Individual::Identification::Passport
1203
+ }
1204
+
1205
+ type method_ =
1206
+ :social_security_number
1207
+ | :individual_taxpayer_identification_number
1208
+ | :passport
1209
+ | :drivers_license
1210
+ | :other
1211
+
1212
+ module Method
1213
+ extend Increase::Internal::Type::Enum
1214
+
1215
+ # A social security number.
1216
+ SOCIAL_SECURITY_NUMBER: :social_security_number
1217
+
1218
+ # An individual taxpayer identification number (ITIN).
1219
+ INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
1220
+
1221
+ # A passport number.
1222
+ PASSPORT: :passport
1223
+
1224
+ # A driver's license number.
1225
+ DRIVERS_LICENSE: :drivers_license
1226
+
1227
+ # Another identifying document.
1228
+ OTHER: :other
1229
+
1230
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::Trust::Trustee::Individual::Identification::method_]
1231
+ end
1232
+
1233
+ type drivers_license =
1234
+ {
1235
+ expiration_date: Date,
1236
+ file_id: String,
1237
+ state: String,
1238
+ back_file_id: String
1239
+ }
1240
+
1241
+ class DriversLicense < Increase::Internal::Type::BaseModel
1242
+ attr_accessor expiration_date: Date
1243
+
1244
+ attr_accessor file_id: String
1245
+
1246
+ attr_accessor state: String
1247
+
1248
+ attr_reader back_file_id: String?
1249
+
1250
+ def back_file_id=: (String) -> String
1251
+
1252
+ def initialize: (
1253
+ expiration_date: Date,
1254
+ file_id: String,
1255
+ state: String,
1256
+ ?back_file_id: String
1257
+ ) -> void
1258
+
1259
+ def to_hash: -> {
1260
+ expiration_date: Date,
1261
+ file_id: String,
1262
+ state: String,
1263
+ back_file_id: String
1264
+ }
1265
+ end
1266
+
1267
+ type other =
1268
+ {
1269
+ country: String,
1270
+ description: String,
1271
+ file_id: String,
1272
+ back_file_id: String,
1273
+ expiration_date: Date
1274
+ }
1275
+
1276
+ class Other < Increase::Internal::Type::BaseModel
1277
+ attr_accessor country: String
1278
+
1279
+ attr_accessor description: String
1280
+
1281
+ attr_accessor file_id: String
1282
+
1283
+ attr_reader back_file_id: String?
1284
+
1285
+ def back_file_id=: (String) -> String
1286
+
1287
+ attr_reader expiration_date: Date?
1288
+
1289
+ def expiration_date=: (Date) -> Date
1290
+
1291
+ def initialize: (
1292
+ country: String,
1293
+ description: String,
1294
+ file_id: String,
1295
+ ?back_file_id: String,
1296
+ ?expiration_date: Date
1297
+ ) -> void
1298
+
1299
+ def to_hash: -> {
1300
+ country: String,
1301
+ description: String,
1302
+ file_id: String,
1303
+ back_file_id: String,
1304
+ expiration_date: Date
1305
+ }
1306
+ end
1307
+
1308
+ type passport =
1309
+ { country: String, expiration_date: Date, file_id: String }
1310
+
1311
+ class Passport < Increase::Internal::Type::BaseModel
1312
+ attr_accessor country: String
1313
+
1314
+ attr_accessor expiration_date: Date
1315
+
1316
+ attr_accessor file_id: String
1317
+
1318
+ def initialize: (
1319
+ country: String,
1320
+ expiration_date: Date,
1321
+ file_id: String
1322
+ ) -> void
1323
+
1324
+ def to_hash: -> {
1325
+ country: String,
1326
+ expiration_date: Date,
1327
+ file_id: String
1328
+ }
1329
+ end
1330
+ end
1331
+ end
1332
+ end
751
1333
  end
752
1334
  end
753
1335
  end
@@ -119,11 +119,14 @@ module Increase
119
119
  | :"loan_application.created"
120
120
  | :"loan_application.updated"
121
121
  | :"loan_distribution.created"
122
+ | :"loan_obligation.created"
122
123
  | :"loan_offer.created"
123
124
  | :"loan_offer.updated"
124
125
  | :"loan_purchase.created"
125
126
  | :"lockbox.created"
126
127
  | :"lockbox.updated"
128
+ | :"lockbox_address.created"
129
+ | :"lockbox_address.updated"
127
130
  | :"oauth_connection.created"
128
131
  | :"oauth_connection.deactivated"
129
132
  | :"card_push_transfer.created"
@@ -396,6 +399,9 @@ module Increase
396
399
  # Occurs whenever a Loan Distribution is created.
397
400
  LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
398
401
 
402
+ # Occurs whenever a Loan Obligation is created.
403
+ LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
404
+
399
405
  # Occurs whenever a Loan Offer is created.
400
406
  LOAN_OFFER_CREATED: :"loan_offer.created"
401
407
 
@@ -411,6 +417,12 @@ module Increase
411
417
  # Occurs whenever a Lockbox is updated.
412
418
  LOCKBOX_UPDATED: :"lockbox.updated"
413
419
 
420
+ # Occurs whenever a Lockbox Address is created.
421
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
422
+
423
+ # Occurs whenever a Lockbox Address is updated.
424
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
425
+
414
426
  # Occurs whenever an OAuth Connection is created.
415
427
  OAUTH_CONNECTION_CREATED: :"oauth_connection.created"
416
428
 
@@ -161,11 +161,14 @@ module Increase
161
161
  | :"loan_application.created"
162
162
  | :"loan_application.updated"
163
163
  | :"loan_distribution.created"
164
+ | :"loan_obligation.created"
164
165
  | :"loan_offer.created"
165
166
  | :"loan_offer.updated"
166
167
  | :"loan_purchase.created"
167
168
  | :"lockbox.created"
168
169
  | :"lockbox.updated"
170
+ | :"lockbox_address.created"
171
+ | :"lockbox_address.updated"
169
172
  | :"oauth_connection.created"
170
173
  | :"oauth_connection.deactivated"
171
174
  | :"card_push_transfer.created"
@@ -438,6 +441,9 @@ module Increase
438
441
  # Occurs whenever a Loan Distribution is created.
439
442
  LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
440
443
 
444
+ # Occurs whenever a Loan Obligation is created.
445
+ LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
446
+
441
447
  # Occurs whenever a Loan Offer is created.
442
448
  LOAN_OFFER_CREATED: :"loan_offer.created"
443
449
 
@@ -453,6 +459,12 @@ module Increase
453
459
  # Occurs whenever a Lockbox is updated.
454
460
  LOCKBOX_UPDATED: :"lockbox.updated"
455
461
 
462
+ # Occurs whenever a Lockbox Address is created.
463
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
464
+
465
+ # Occurs whenever a Lockbox Address is updated.
466
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
467
+
456
468
  # Occurs whenever an OAuth Connection is created.
457
469
  OAUTH_CONNECTION_CREATED: :"oauth_connection.created"
458
470