increase 1.326.0 → 1.327.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03ff79d8d67a3bd07ca796a68e0a99672e71cb26887a88aeb6e3a3b22dc1de7d
4
- data.tar.gz: f3ecde6d2078540f1aed5a187721c05561b1eb1451d8659d63288e8bb34a2996
3
+ metadata.gz: d36faa6689d625616fb444c8e0b092bf61598aa7af5fb332f0922072de0c5e90
4
+ data.tar.gz: 70a08c3143fa8b753696a0bb07db89be29d1056ca6617973b348bdbb9e24198b
5
5
  SHA512:
6
- metadata.gz: 9d4c73b2059317bade6a3aa91e1187cfcacf65d537a1769b8228cbdf2a82861f953b02727e8b356372cda52b85b45951402fdc9735713ad7181adb4720ca4147
7
- data.tar.gz: f83a3b38a26c8244015d2f418d104acdf29cab0d9ac300032a19d309fda22121f1cf05acf50735aee7440081e877035506018d214479d904ba6d38da699d6d49
6
+ metadata.gz: dfd74bb1ff35124816775308d39a497e7aaebe099eec7ba3733b2cc224a6b63e297512ad72b7572265adcbb82e3e49e4da3b6d738e2bd1747f43dc9289b5c6f5
7
+ data.tar.gz: '041688c0534faba7adb2120c0fdf4d0cb6a04907b0b0e14c4e3e902b2c3a6b47c345823d9777a9897085f4e67c9c4c7d97dc7c495e5c9b3028f6587ff04c2932'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.327.0 (2026-05-14)
4
+
5
+ Full Changelog: [v1.326.0...v1.327.0](https://github.com/Increase/increase-ruby/compare/v1.326.0...v1.327.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([de9c96e](https://github.com/Increase/increase-ruby/commit/de9c96ea7a9fc8a076cec24cad159cc0dd1ce396))
10
+
3
11
  ## 1.326.0 (2026-05-14)
4
12
 
5
13
  Full Changelog: [v1.325.1...v1.326.0](https://github.com/Increase/increase-ruby/compare/v1.325.1...v1.326.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.326.0"
18
+ gem "increase", "~> 1.327.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -197,6 +197,15 @@ module Increase
197
197
  required :beneficial_owners,
198
198
  -> { Increase::Internal::Type::ArrayOf[Increase::Entity::Corporation::BeneficialOwner] }
199
199
 
200
+ # @!attribute beneficial_ownership_exemption_reason
201
+ # If the entity is exempt from the requirement to submit beneficial owners, the
202
+ # justification for the exemption.
203
+ #
204
+ # @return [Symbol, Increase::Models::Entity::Corporation::BeneficialOwnershipExemptionReason, nil]
205
+ required :beneficial_ownership_exemption_reason,
206
+ enum: -> { Increase::Entity::Corporation::BeneficialOwnershipExemptionReason },
207
+ nil?: true
208
+
200
209
  # @!attribute email
201
210
  # An email address for the business.
202
211
  #
@@ -235,7 +244,7 @@ module Increase
235
244
  # @return [String, nil]
236
245
  required :website, String, nil?: true
237
246
 
238
- # @!method initialize(address:, beneficial_owners:, email:, incorporation_state:, industry_code:, legal_identifier:, name:, website:)
247
+ # @!method initialize(address:, beneficial_owners:, beneficial_ownership_exemption_reason:, email:, incorporation_state:, industry_code:, legal_identifier:, name:, website:)
239
248
  # Some parameter documentations has been truncated, see
240
249
  # {Increase::Models::Entity::Corporation} for more details.
241
250
  #
@@ -246,6 +255,8 @@ module Increase
246
255
  #
247
256
  # @param beneficial_owners [Array<Increase::Models::Entity::Corporation::BeneficialOwner>] The identifying details of anyone controlling or owning 25% or more of the corpo
248
257
  #
258
+ # @param beneficial_ownership_exemption_reason [Symbol, Increase::Models::Entity::Corporation::BeneficialOwnershipExemptionReason, nil] If the entity is exempt from the requirement to submit beneficial owners, the ju
259
+ #
249
260
  # @param email [String, nil] An email address for the business.
250
261
  #
251
262
  # @param incorporation_state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the corporat
@@ -520,6 +531,29 @@ module Increase
520
531
  end
521
532
  end
522
533
 
534
+ # If the entity is exempt from the requirement to submit beneficial owners, the
535
+ # justification for the exemption.
536
+ #
537
+ # @see Increase::Models::Entity::Corporation#beneficial_ownership_exemption_reason
538
+ module BeneficialOwnershipExemptionReason
539
+ extend Increase::Internal::Type::Enum
540
+
541
+ # A regulated financial institution.
542
+ REGULATED_FINANCIAL_INSTITUTION = :regulated_financial_institution
543
+
544
+ # A publicly traded company.
545
+ PUBLICLY_TRADED_COMPANY = :publicly_traded_company
546
+
547
+ # A public entity acting on behalf of the federal or a state government.
548
+ PUBLIC_ENTITY = :public_entity
549
+
550
+ # Any other reason why this entity is exempt from the requirement to submit beneficial owners. You can only use this exemption after approval from your bank partner.
551
+ OTHER = :other
552
+
553
+ # @!method self.values
554
+ # @return [Array<Symbol>]
555
+ end
556
+
523
557
  # @see Increase::Models::Entity::Corporation#legal_identifier
524
558
  class LegalIdentifier < Increase::Internal::Type::BaseModel
525
559
  # @!attribute category
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.326.0"
4
+ VERSION = "1.327.0"
5
5
  end
@@ -286,6 +286,17 @@ module Increase
286
286
  end
287
287
  attr_accessor :beneficial_owners
288
288
 
289
+ # If the entity is exempt from the requirement to submit beneficial owners, the
290
+ # justification for the exemption.
291
+ sig do
292
+ returns(
293
+ T.nilable(
294
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason::TaggedSymbol
295
+ )
296
+ )
297
+ end
298
+ attr_accessor :beneficial_ownership_exemption_reason
299
+
289
300
  # An email address for the business.
290
301
  sig { returns(T.nilable(String)) }
291
302
  attr_accessor :email
@@ -329,6 +340,10 @@ module Increase
329
340
  address: Increase::Entity::Corporation::Address::OrHash,
330
341
  beneficial_owners:
331
342
  T::Array[Increase::Entity::Corporation::BeneficialOwner::OrHash],
343
+ beneficial_ownership_exemption_reason:
344
+ T.nilable(
345
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason::OrSymbol
346
+ ),
332
347
  email: T.nilable(String),
333
348
  incorporation_state: T.nilable(String),
334
349
  industry_code: T.nilable(String),
@@ -344,6 +359,9 @@ module Increase
344
359
  # The identifying details of anyone controlling or owning 25% or more of the
345
360
  # corporation.
346
361
  beneficial_owners:,
362
+ # If the entity is exempt from the requirement to submit beneficial owners, the
363
+ # justification for the exemption.
364
+ beneficial_ownership_exemption_reason:,
347
365
  # An email address for the business.
348
366
  email:,
349
367
  # The two-letter United States Postal Service (USPS) abbreviation for the
@@ -367,6 +385,10 @@ module Increase
367
385
  address: Increase::Entity::Corporation::Address,
368
386
  beneficial_owners:
369
387
  T::Array[Increase::Entity::Corporation::BeneficialOwner],
388
+ beneficial_ownership_exemption_reason:
389
+ T.nilable(
390
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason::TaggedSymbol
391
+ ),
370
392
  email: T.nilable(String),
371
393
  incorporation_state: T.nilable(String),
372
394
  industry_code: T.nilable(String),
@@ -863,6 +885,59 @@ module Increase
863
885
  end
864
886
  end
865
887
 
888
+ # If the entity is exempt from the requirement to submit beneficial owners, the
889
+ # justification for the exemption.
890
+ module BeneficialOwnershipExemptionReason
891
+ extend Increase::Internal::Type::Enum
892
+
893
+ TaggedSymbol =
894
+ T.type_alias do
895
+ T.all(
896
+ Symbol,
897
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason
898
+ )
899
+ end
900
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
901
+
902
+ # A regulated financial institution.
903
+ REGULATED_FINANCIAL_INSTITUTION =
904
+ T.let(
905
+ :regulated_financial_institution,
906
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason::TaggedSymbol
907
+ )
908
+
909
+ # A publicly traded company.
910
+ PUBLICLY_TRADED_COMPANY =
911
+ T.let(
912
+ :publicly_traded_company,
913
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason::TaggedSymbol
914
+ )
915
+
916
+ # A public entity acting on behalf of the federal or a state government.
917
+ PUBLIC_ENTITY =
918
+ T.let(
919
+ :public_entity,
920
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason::TaggedSymbol
921
+ )
922
+
923
+ # Any other reason why this entity is exempt from the requirement to submit beneficial owners. You can only use this exemption after approval from your bank partner.
924
+ OTHER =
925
+ T.let(
926
+ :other,
927
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason::TaggedSymbol
928
+ )
929
+
930
+ sig do
931
+ override.returns(
932
+ T::Array[
933
+ Increase::Entity::Corporation::BeneficialOwnershipExemptionReason::TaggedSymbol
934
+ ]
935
+ )
936
+ end
937
+ def self.values
938
+ end
939
+ end
940
+
866
941
  class LegalIdentifier < Increase::Internal::Type::BaseModel
867
942
  OrHash =
868
943
  T.type_alias do
@@ -110,6 +110,7 @@ module Increase
110
110
  {
111
111
  address: Increase::Entity::Corporation::Address,
112
112
  beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner],
113
+ beneficial_ownership_exemption_reason: Increase::Models::Entity::Corporation::beneficial_ownership_exemption_reason?,
113
114
  email: String?,
114
115
  incorporation_state: String?,
115
116
  industry_code: String?,
@@ -123,6 +124,8 @@ module Increase
123
124
 
124
125
  attr_accessor beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner]
125
126
 
127
+ attr_accessor beneficial_ownership_exemption_reason: Increase::Models::Entity::Corporation::beneficial_ownership_exemption_reason?
128
+
126
129
  attr_accessor email: String?
127
130
 
128
131
  attr_accessor incorporation_state: String?
@@ -138,6 +141,7 @@ module Increase
138
141
  def initialize: (
139
142
  address: Increase::Entity::Corporation::Address,
140
143
  beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner],
144
+ beneficial_ownership_exemption_reason: Increase::Models::Entity::Corporation::beneficial_ownership_exemption_reason?,
141
145
  email: String?,
142
146
  incorporation_state: String?,
143
147
  industry_code: String?,
@@ -149,6 +153,7 @@ module Increase
149
153
  def to_hash: -> {
150
154
  address: Increase::Entity::Corporation::Address,
151
155
  beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner],
156
+ beneficial_ownership_exemption_reason: Increase::Models::Entity::Corporation::beneficial_ownership_exemption_reason?,
152
157
  email: String?,
153
158
  incorporation_state: String?,
154
159
  industry_code: String?,
@@ -369,6 +374,30 @@ module Increase
369
374
  end
370
375
  end
371
376
 
377
+ type beneficial_ownership_exemption_reason =
378
+ :regulated_financial_institution
379
+ | :publicly_traded_company
380
+ | :public_entity
381
+ | :other
382
+
383
+ module BeneficialOwnershipExemptionReason
384
+ extend Increase::Internal::Type::Enum
385
+
386
+ # A regulated financial institution.
387
+ REGULATED_FINANCIAL_INSTITUTION: :regulated_financial_institution
388
+
389
+ # A publicly traded company.
390
+ PUBLICLY_TRADED_COMPANY: :publicly_traded_company
391
+
392
+ # A public entity acting on behalf of the federal or a state government.
393
+ PUBLIC_ENTITY: :public_entity
394
+
395
+ # Any other reason why this entity is exempt from the requirement to submit beneficial owners. You can only use this exemption after approval from your bank partner.
396
+ OTHER: :other
397
+
398
+ def self?.values: -> ::Array[Increase::Models::Entity::Corporation::beneficial_ownership_exemption_reason]
399
+ end
400
+
372
401
  type legal_identifier =
373
402
  {
374
403
  category: Increase::Models::Entity::Corporation::LegalIdentifier::category,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.326.0
4
+ version: 1.327.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase