increase 1.353.0 → 1.355.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 (152) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/client.rb +18 -0
  4. data/lib/increase/models/ach_transfer.rb +3 -3
  5. data/lib/increase/models/beneficial_owner_create_params.rb +1 -1
  6. data/lib/increase/models/beneficial_owner_update_params.rb +1 -1
  7. data/lib/increase/models/card_create_details_token_params.rb +22 -0
  8. data/lib/increase/models/card_details_token.rb +57 -0
  9. data/lib/increase/models/card_payment.rb +29 -1
  10. data/lib/increase/models/declined_transaction.rb +3 -0
  11. data/lib/increase/models/digital_wallet_token.rb +18 -0
  12. data/lib/increase/models/digital_wallet_token_request.rb +307 -0
  13. data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
  14. data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
  15. data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
  16. data/lib/increase/models/entity.rb +35 -7
  17. data/lib/increase/models/entity_beneficial_owner.rb +1 -1
  18. data/lib/increase/models/entity_create_params.rb +1 -1
  19. data/lib/increase/models/export.rb +19 -19
  20. data/lib/increase/models/export_create_params.rb +15 -15
  21. data/lib/increase/models/export_list_params.rb +19 -19
  22. data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
  23. data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
  24. data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
  25. data/lib/increase/models/inbound_wire_transfer.rb +10 -1
  26. data/lib/increase/models/physical_check_batch.rb +266 -0
  27. data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
  28. data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
  29. data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
  30. data/lib/increase/models/real_time_decision.rb +9 -0
  31. data/lib/increase/models/real_time_decision_action_params.rb +3 -0
  32. data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
  33. data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
  34. data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
  35. data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
  36. data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
  37. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
  38. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  39. data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
  40. data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
  41. data/lib/increase/models/transaction.rb +36 -2
  42. data/lib/increase/models.rb +42 -0
  43. data/lib/increase/resources/cards.rb +23 -0
  44. data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
  45. data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
  46. data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
  47. data/lib/increase/resources/physical_check_batches.rb +86 -0
  48. data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
  49. data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
  50. data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
  51. data/lib/increase/resources/simulations.rb +4 -0
  52. data/lib/increase/version.rb +1 -1
  53. data/lib/increase.rb +25 -0
  54. data/rbi/increase/client.rbi +14 -0
  55. data/rbi/increase/models/ach_transfer.rbi +3 -3
  56. data/rbi/increase/models/beneficial_owner_create_params.rbi +1 -1
  57. data/rbi/increase/models/beneficial_owner_update_params.rbi +1 -1
  58. data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
  59. data/rbi/increase/models/card_details_token.rbi +85 -0
  60. data/rbi/increase/models/card_payment.rbi +59 -0
  61. data/rbi/increase/models/declined_transaction.rbi +7 -0
  62. data/rbi/increase/models/digital_wallet_token.rbi +42 -0
  63. data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
  64. data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
  65. data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
  66. data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
  67. data/rbi/increase/models/entity.rbi +71 -6
  68. data/rbi/increase/models/entity_beneficial_owner.rbi +1 -1
  69. data/rbi/increase/models/entity_create_params.rbi +1 -1
  70. data/rbi/increase/models/export.rbi +32 -32
  71. data/rbi/increase/models/export_create_params.rbi +29 -29
  72. data/rbi/increase/models/export_list_params.rbi +37 -37
  73. data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
  74. data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
  75. data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
  76. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  77. data/rbi/increase/models/physical_check_batch.rbi +382 -0
  78. data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
  79. data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
  80. data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
  81. data/rbi/increase/models/real_time_decision.rbi +21 -0
  82. data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
  83. data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
  84. data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
  85. data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
  86. data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
  87. data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
  88. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
  89. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  90. data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
  91. data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
  92. data/rbi/increase/models/transaction.rbi +60 -0
  93. data/rbi/increase/models.rbi +50 -0
  94. data/rbi/increase/resources/cards.rbi +17 -0
  95. data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
  96. data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
  97. data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
  98. data/rbi/increase/resources/physical_check_batches.rbi +66 -0
  99. data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
  100. data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
  101. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
  102. data/rbi/increase/resources/simulations.rbi +3 -0
  103. data/sig/increase/client.rbs +8 -0
  104. data/sig/increase/models/ach_transfer.rbs +4 -4
  105. data/sig/increase/models/beneficial_owner_create_params.rbs +1 -1
  106. data/sig/increase/models/beneficial_owner_update_params.rbs +1 -1
  107. data/sig/increase/models/card_create_details_token_params.rbs +23 -0
  108. data/sig/increase/models/card_details_token.rbs +40 -0
  109. data/sig/increase/models/card_payment.rbs +23 -0
  110. data/sig/increase/models/declined_transaction.rbs +4 -0
  111. data/sig/increase/models/digital_wallet_token.rbs +36 -3
  112. data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
  113. data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
  114. data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
  115. data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
  116. data/sig/increase/models/entity.rbs +25 -6
  117. data/sig/increase/models/entity_beneficial_owner.rbs +1 -1
  118. data/sig/increase/models/entity_create_params.rbs +1 -1
  119. data/sig/increase/models/export.rbs +28 -28
  120. data/sig/increase/models/export_create_params.rbs +22 -22
  121. data/sig/increase/models/export_list_params.rbs +28 -28
  122. data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
  123. data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
  124. data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
  125. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  126. data/sig/increase/models/physical_check_batch.rbs +193 -0
  127. data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
  128. data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
  129. data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
  130. data/sig/increase/models/real_time_decision.rbs +14 -2
  131. data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
  132. data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
  133. data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
  134. data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
  135. data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
  136. data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
  137. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
  138. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  139. data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
  140. data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
  141. data/sig/increase/models/transaction.rbs +24 -0
  142. data/sig/increase/models.rbs +36 -0
  143. data/sig/increase/resources/cards.rbs +5 -0
  144. data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
  145. data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
  146. data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
  147. data/sig/increase/resources/physical_check_batches.rbs +24 -0
  148. data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
  149. data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
  150. data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
  151. data/sig/increase/resources/simulations.rbs +2 -0
  152. metadata +77 -2
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::DigitalWalletTokenRequests#list
6
+ class DigitalWalletTokenRequestListParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ # @!attribute card_id
11
+ # Filter Digital Wallet Token Requests to ones for the specified Card.
12
+ #
13
+ # @return [String, nil]
14
+ optional :card_id, String
15
+
16
+ # @!attribute created_at
17
+ #
18
+ # @return [Increase::Models::DigitalWalletTokenRequestListParams::CreatedAt, nil]
19
+ optional :created_at, -> { Increase::DigitalWalletTokenRequestListParams::CreatedAt }
20
+
21
+ # @!attribute cursor
22
+ # Return the page of entries after this one.
23
+ #
24
+ # @return [String, nil]
25
+ optional :cursor, String
26
+
27
+ # @!attribute limit
28
+ # Limit the size of the list that is returned. The default (and maximum) is 100
29
+ # objects.
30
+ #
31
+ # Defaults to `100`.
32
+ #
33
+ # @return [Integer, nil]
34
+ optional :limit, Integer
35
+
36
+ # @!method initialize(card_id: nil, created_at: nil, cursor: nil, limit: nil, request_options: {})
37
+ # @param card_id [String] Filter Digital Wallet Token Requests to ones for the specified Card.
38
+ #
39
+ # @param created_at [Increase::Models::DigitalWalletTokenRequestListParams::CreatedAt]
40
+ #
41
+ # @param cursor [String] Return the page of entries after this one.
42
+ #
43
+ # @param limit [Integer]
44
+ # Limit the size of the list that is returned. The default (and maximum) is 100
45
+ # objects.
46
+ #
47
+ # Defaults to `100`.
48
+ #
49
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
50
+
51
+ class CreatedAt < Increase::Internal::Type::BaseModel
52
+ # @!attribute after
53
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
54
+ # timestamp.
55
+ #
56
+ # @return [Time, nil]
57
+ optional :after, Time
58
+
59
+ # @!attribute before
60
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
61
+ # timestamp.
62
+ #
63
+ # @return [Time, nil]
64
+ optional :before, Time
65
+
66
+ # @!attribute on_or_after
67
+ # Return results on or after this
68
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
69
+ #
70
+ # @return [Time, nil]
71
+ optional :on_or_after, Time
72
+
73
+ # @!attribute on_or_before
74
+ # Return results on or before this
75
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
76
+ #
77
+ # @return [Time, nil]
78
+ optional :on_or_before, Time
79
+
80
+ # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil)
81
+ # @param after [Time]
82
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
83
+ # timestamp.
84
+ #
85
+ # @param before [Time]
86
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
87
+ # timestamp.
88
+ #
89
+ # @param on_or_after [Time]
90
+ # Return results on or after this
91
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
92
+ #
93
+ # @param on_or_before [Time]
94
+ # Return results on or before this
95
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::DigitalWalletTokenRequests#retrieve
6
+ class DigitalWalletTokenRequestRetrieveParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ # @!attribute digital_wallet_token_request_id
11
+ # The identifier of the Digital Wallet Token Request.
12
+ #
13
+ # @return [String]
14
+ required :digital_wallet_token_request_id, String
15
+
16
+ # @!method initialize(digital_wallet_token_request_id:, request_options: {})
17
+ # @param digital_wallet_token_request_id [String] The identifier of the Digital Wallet Token Request.
18
+ #
19
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::DigitalWalletTokens#transition
6
+ class DigitalWalletTokenTransitionParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ # @!attribute digital_wallet_token_id
11
+ # The identifier of the Digital Wallet Token.
12
+ #
13
+ # @return [String]
14
+ required :digital_wallet_token_id, String
15
+
16
+ # @!attribute status
17
+ # The status to transition the Digital Wallet Token to.
18
+ #
19
+ # @return [Symbol, Increase::Models::DigitalWalletTokenTransitionParams::Status]
20
+ required :status, enum: -> { Increase::DigitalWalletTokenTransitionParams::Status }
21
+
22
+ # @!method initialize(digital_wallet_token_id:, status:, request_options: {})
23
+ # @param digital_wallet_token_id [String] The identifier of the Digital Wallet Token.
24
+ #
25
+ # @param status [Symbol, Increase::Models::DigitalWalletTokenTransitionParams::Status]
26
+ # The status to transition the Digital Wallet Token to.
27
+ #
28
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
29
+
30
+ # The status to transition the Digital Wallet Token to.
31
+ module Status
32
+ extend Increase::Internal::Type::Enum
33
+
34
+ # Reactivate a suspended Digital Wallet Token.
35
+ ACTIVE = :active
36
+
37
+ # Temporarily pause an active Digital Wallet Token.
38
+ SUSPENDED = :suspended
39
+
40
+ # Permanently cancel an active, inactive, or suspended Digital Wallet Token.
41
+ DEACTIVATED = :deactivated
42
+
43
+ # @!method self.values
44
+ # @return [Array<Symbol>]
45
+ end
46
+ end
47
+ end
48
+ end
@@ -546,7 +546,7 @@ module Increase
546
546
  # A social security number.
547
547
  SOCIAL_SECURITY_NUMBER = :social_security_number
548
548
 
549
- # The last four digits of a social security number.
549
+ # The last four digits of a social security number. Not all programs can use this method.
550
550
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
551
551
 
552
552
  # An individual taxpayer identification number (ITIN).
@@ -952,7 +952,7 @@ module Increase
952
952
  # A social security number.
953
953
  SOCIAL_SECURITY_NUMBER = :social_security_number
954
954
 
955
- # The last four digits of a social security number.
955
+ # The last four digits of a social security number. Not all programs can use this method.
956
956
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
957
957
 
958
958
  # An individual taxpayer identification number (ITIN).
@@ -1108,7 +1108,7 @@ module Increase
1108
1108
  # A social security number.
1109
1109
  SOCIAL_SECURITY_NUMBER = :social_security_number
1110
1110
 
1111
- # The last four digits of a social security number.
1111
+ # The last four digits of a social security number. Not all programs can use this method.
1112
1112
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1113
1113
 
1114
1114
  # An individual taxpayer identification number (ITIN).
@@ -1433,7 +1433,7 @@ module Increase
1433
1433
  # A social security number.
1434
1434
  SOCIAL_SECURITY_NUMBER = :social_security_number
1435
1435
 
1436
- # The last four digits of a social security number.
1436
+ # The last four digits of a social security number. Not all programs can use this method.
1437
1437
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1438
1438
 
1439
1439
  # An individual taxpayer identification number (ITIN).
@@ -1858,7 +1858,7 @@ module Increase
1858
1858
  # A social security number.
1859
1859
  SOCIAL_SECURITY_NUMBER = :social_security_number
1860
1860
 
1861
- # The last four digits of a social security number.
1861
+ # The last four digits of a social security number. Not all programs can use this method.
1862
1862
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
1863
1863
 
1864
1864
  # An individual taxpayer identification number (ITIN).
@@ -2037,7 +2037,7 @@ module Increase
2037
2037
  # A social security number.
2038
2038
  SOCIAL_SECURITY_NUMBER = :social_security_number
2039
2039
 
2040
- # The last four digits of a social security number.
2040
+ # The last four digits of a social security number. Not all programs can use this method.
2041
2041
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
2042
2042
 
2043
2043
  # An individual taxpayer identification number (ITIN).
@@ -2129,6 +2129,14 @@ module Increase
2129
2129
  -> { Increase::Entity::Validation::Issue::BeneficialOwnerIdentity },
2130
2130
  nil?: true
2131
2131
 
2132
+ # @!attribute beneficial_owner_tax_identifier
2133
+ # Details when the issue is with a beneficial owner's tax identifier.
2134
+ #
2135
+ # @return [Increase::Models::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier, nil]
2136
+ required :beneficial_owner_tax_identifier,
2137
+ -> { Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier },
2138
+ nil?: true
2139
+
2132
2140
  # @!attribute category
2133
2141
  # The type of issue. We may add additional possible values for this enum over
2134
2142
  # time; your application should be able to handle such additions gracefully.
@@ -2156,13 +2164,16 @@ module Increase
2156
2164
  -> { Increase::Entity::Validation::Issue::EntityTaxIdentifier },
2157
2165
  nil?: true
2158
2166
 
2159
- # @!method initialize(beneficial_owner_address:, beneficial_owner_identity:, category:, entity_address:, entity_identity:, entity_tax_identifier:)
2167
+ # @!method initialize(beneficial_owner_address:, beneficial_owner_identity:, beneficial_owner_tax_identifier:, category:, entity_address:, entity_identity:, entity_tax_identifier:)
2160
2168
  # @param beneficial_owner_address [Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress, nil]
2161
2169
  # Details when the issue is with a beneficial owner's address.
2162
2170
  #
2163
2171
  # @param beneficial_owner_identity [Increase::Models::Entity::Validation::Issue::BeneficialOwnerIdentity, nil]
2164
2172
  # Details when the issue is with a beneficial owner's identity verification.
2165
2173
  #
2174
+ # @param beneficial_owner_tax_identifier [Increase::Models::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier, nil]
2175
+ # Details when the issue is with a beneficial owner's tax identifier.
2176
+ #
2166
2177
  # @param category [Symbol, Increase::Models::Entity::Validation::Issue::Category]
2167
2178
  # The type of issue. We may add additional possible values for this enum over
2168
2179
  # time; your application should be able to handle such additions gracefully.
@@ -2226,6 +2237,20 @@ module Increase
2226
2237
  # @param beneficial_owner_id [String] The ID of the beneficial owner.
2227
2238
  end
2228
2239
 
2240
+ # @see Increase::Models::Entity::Validation::Issue#beneficial_owner_tax_identifier
2241
+ class BeneficialOwnerTaxIdentifier < Increase::Internal::Type::BaseModel
2242
+ # @!attribute beneficial_owner_id
2243
+ # The ID of the beneficial owner.
2244
+ #
2245
+ # @return [String]
2246
+ required :beneficial_owner_id, String
2247
+
2248
+ # @!method initialize(beneficial_owner_id:)
2249
+ # Details when the issue is with a beneficial owner's tax identifier.
2250
+ #
2251
+ # @param beneficial_owner_id [String] The ID of the beneficial owner.
2252
+ end
2253
+
2229
2254
  # The type of issue. We may add additional possible values for this enum over
2230
2255
  # time; your application should be able to handle such additions gracefully.
2231
2256
  #
@@ -2248,6 +2273,9 @@ module Increase
2248
2273
  # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
2249
2274
  BENEFICIAL_OWNER_ADDRESS = :beneficial_owner_address
2250
2275
 
2276
+ # A beneficial owner's full tax identifier is required. A non-US person can submit a passport or driver's license. Make changes via the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
2277
+ BENEFICIAL_OWNER_TAX_IDENTIFIER = :beneficial_owner_tax_identifier
2278
+
2251
2279
  # @!method self.values
2252
2280
  # @return [Array<Symbol>]
2253
2281
  end
@@ -223,7 +223,7 @@ module Increase
223
223
  # A social security number.
224
224
  SOCIAL_SECURITY_NUMBER = :social_security_number
225
225
 
226
- # The last four digits of a social security number.
226
+ # The last four digits of a social security number. Not all programs can use this method.
227
227
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
228
228
 
229
229
  # An individual taxpayer identification number (ITIN).
@@ -587,7 +587,7 @@ module Increase
587
587
  # A social security number.
588
588
  SOCIAL_SECURITY_NUMBER = :social_security_number
589
589
 
590
- # The last four digits of a social security number.
590
+ # The last four digits of a social security number. Not all programs can use this method.
591
591
  SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
592
592
 
593
593
  # An individual taxpayer identification number (ITIN).
@@ -432,14 +432,14 @@ module Increase
432
432
  module Category
433
433
  extend Increase::Internal::Type::Enum
434
434
 
435
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
436
- ACCOUNT_STATEMENT_OFX = :account_statement_ofx
437
-
438
435
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
439
436
  ACCOUNT_STATEMENT_BAI2 = :account_statement_bai2
440
437
 
441
- # Export a CSV of all transactions for a given time range.
442
- TRANSACTION_CSV = :transaction_csv
438
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
439
+ ACCOUNT_STATEMENT_OFX = :account_statement_ofx
440
+
441
+ # A PDF of an account verification letter.
442
+ ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
443
443
 
444
444
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
445
445
  BALANCE_CSV = :balance_csv
@@ -447,20 +447,17 @@ module Increase
447
447
  # Export a CSV of bookkeeping account balances for the dates in a given range.
448
448
  BOOKKEEPING_ACCOUNT_BALANCE_CSV = :bookkeeping_account_balance_csv
449
449
 
450
- # Export a CSV of entities with a given status.
451
- ENTITY_CSV = :entity_csv
452
-
453
- # Export a CSV of vendors added to the third-party risk management dashboard.
454
- VENDOR_CSV = :vendor_csv
450
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
451
+ DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
455
452
 
456
453
  # Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
457
454
  DASHBOARD_TABLE_CSV = :dashboard_table_csv
458
455
 
459
- # A PDF of an account verification letter.
460
- ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
456
+ # Export a CSV of entities with a given status.
457
+ ENTITY_CSV = :entity_csv
461
458
 
462
- # A PDF of funding instructions.
463
- FUNDING_INSTRUCTIONS = :funding_instructions
459
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
460
+ FEE_CSV = :fee_csv
464
461
 
465
462
  # A PDF of an Internal Revenue Service Form 1099-INT.
466
463
  FORM_1099_INT = :form_1099_int
@@ -468,15 +465,18 @@ module Increase
468
465
  # A PDF of an Internal Revenue Service Form 1099-MISC.
469
466
  FORM_1099_MISC = :form_1099_misc
470
467
 
471
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
472
- FEE_CSV = :fee_csv
468
+ # A PDF of funding instructions.
469
+ FUNDING_INSTRUCTIONS = :funding_instructions
470
+
471
+ # Export a CSV of all transactions for a given time range.
472
+ TRANSACTION_CSV = :transaction_csv
473
+
474
+ # Export a CSV of vendors added to the third-party risk management dashboard.
475
+ VENDOR_CSV = :vendor_csv
473
476
 
474
477
  # A PDF of a voided check.
475
478
  VOIDED_CHECK = :voided_check
476
479
 
477
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
478
- DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
479
-
480
480
  # @!method self.values
481
481
  # @return [Array<Symbol>]
482
482
  end
@@ -138,14 +138,14 @@ module Increase
138
138
  module Category
139
139
  extend Increase::Internal::Type::Enum
140
140
 
141
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
142
- ACCOUNT_STATEMENT_OFX = :account_statement_ofx
143
-
144
141
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
145
142
  ACCOUNT_STATEMENT_BAI2 = :account_statement_bai2
146
143
 
147
- # Export a CSV of all transactions for a given time range.
148
- TRANSACTION_CSV = :transaction_csv
144
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
145
+ ACCOUNT_STATEMENT_OFX = :account_statement_ofx
146
+
147
+ # A PDF of an account verification letter.
148
+ ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
149
149
 
150
150
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
151
151
  BALANCE_CSV = :balance_csv
@@ -153,27 +153,27 @@ module Increase
153
153
  # Export a CSV of bookkeeping account balances for the dates in a given range.
154
154
  BOOKKEEPING_ACCOUNT_BALANCE_CSV = :bookkeeping_account_balance_csv
155
155
 
156
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
157
+ DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
158
+
156
159
  # Export a CSV of entities with a given status.
157
160
  ENTITY_CSV = :entity_csv
158
161
 
159
- # Export a CSV of vendors added to the third-party risk management dashboard.
160
- VENDOR_CSV = :vendor_csv
161
-
162
- # A PDF of an account verification letter.
163
- ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
162
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
163
+ FEE_CSV = :fee_csv
164
164
 
165
165
  # A PDF of funding instructions.
166
166
  FUNDING_INSTRUCTIONS = :funding_instructions
167
167
 
168
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
169
- FEE_CSV = :fee_csv
168
+ # Export a CSV of all transactions for a given time range.
169
+ TRANSACTION_CSV = :transaction_csv
170
+
171
+ # Export a CSV of vendors added to the third-party risk management dashboard.
172
+ VENDOR_CSV = :vendor_csv
170
173
 
171
174
  # A PDF of a voided check.
172
175
  VOIDED_CHECK = :voided_check
173
176
 
174
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
175
- DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
176
-
177
177
  # @!method self.values
178
178
  # @return [Array<Symbol>]
179
179
  end
@@ -89,14 +89,14 @@ module Increase
89
89
  module Category
90
90
  extend Increase::Internal::Type::Enum
91
91
 
92
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
93
- ACCOUNT_STATEMENT_OFX = :account_statement_ofx
94
-
95
92
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
96
93
  ACCOUNT_STATEMENT_BAI2 = :account_statement_bai2
97
94
 
98
- # Export a CSV of all transactions for a given time range.
99
- TRANSACTION_CSV = :transaction_csv
95
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
96
+ ACCOUNT_STATEMENT_OFX = :account_statement_ofx
97
+
98
+ # A PDF of an account verification letter.
99
+ ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
100
100
 
101
101
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
102
102
  BALANCE_CSV = :balance_csv
@@ -104,20 +104,17 @@ module Increase
104
104
  # Export a CSV of bookkeeping account balances for the dates in a given range.
105
105
  BOOKKEEPING_ACCOUNT_BALANCE_CSV = :bookkeeping_account_balance_csv
106
106
 
107
- # Export a CSV of entities with a given status.
108
- ENTITY_CSV = :entity_csv
109
-
110
- # Export a CSV of vendors added to the third-party risk management dashboard.
111
- VENDOR_CSV = :vendor_csv
107
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
108
+ DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
112
109
 
113
110
  # Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
114
111
  DASHBOARD_TABLE_CSV = :dashboard_table_csv
115
112
 
116
- # A PDF of an account verification letter.
117
- ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
113
+ # Export a CSV of entities with a given status.
114
+ ENTITY_CSV = :entity_csv
118
115
 
119
- # A PDF of funding instructions.
120
- FUNDING_INSTRUCTIONS = :funding_instructions
116
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
117
+ FEE_CSV = :fee_csv
121
118
 
122
119
  # A PDF of an Internal Revenue Service Form 1099-INT.
123
120
  FORM_1099_INT = :form_1099_int
@@ -125,15 +122,18 @@ module Increase
125
122
  # A PDF of an Internal Revenue Service Form 1099-MISC.
126
123
  FORM_1099_MISC = :form_1099_misc
127
124
 
128
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
129
- FEE_CSV = :fee_csv
125
+ # A PDF of funding instructions.
126
+ FUNDING_INSTRUCTIONS = :funding_instructions
127
+
128
+ # Export a CSV of all transactions for a given time range.
129
+ TRANSACTION_CSV = :transaction_csv
130
+
131
+ # Export a CSV of vendors added to the third-party risk management dashboard.
132
+ VENDOR_CSV = :vendor_csv
130
133
 
131
134
  # A PDF of a voided check.
132
135
  VOIDED_CHECK = :voided_check
133
136
 
134
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
135
- DAILY_ACCOUNT_BALANCE_CSV = :daily_account_balance_csv
136
-
137
137
  # @!method self.values
138
138
  # @return [Array<Symbol>]
139
139
  end