increase 1.167.0 → 1.168.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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +0 -4
  5. data/lib/increase/models.rb +0 -8
  6. data/lib/increase/resources/simulations.rb +0 -4
  7. data/lib/increase/version.rb +1 -1
  8. data/lib/increase.rb +0 -7
  9. data/rbi/increase/client.rbi +0 -3
  10. data/rbi/increase/models.rbi +0 -8
  11. data/rbi/increase/resources/simulations.rbi +0 -3
  12. data/sig/increase/client.rbs +0 -2
  13. data/sig/increase/models.rbs +0 -8
  14. data/sig/increase/resources/simulations.rbs +0 -2
  15. metadata +1 -22
  16. data/lib/increase/models/document.rb +0 -160
  17. data/lib/increase/models/document_create_params.rb +0 -93
  18. data/lib/increase/models/document_list_params.rb +0 -152
  19. data/lib/increase/models/document_retrieve_params.rb +0 -14
  20. data/lib/increase/models/simulations/document_create_params.rb +0 -24
  21. data/lib/increase/resources/documents.rb +0 -99
  22. data/lib/increase/resources/simulations/documents.rb +0 -38
  23. data/rbi/increase/models/document.rbi +0 -249
  24. data/rbi/increase/models/document_create_params.rbi +0 -191
  25. data/rbi/increase/models/document_list_params.rbi +0 -296
  26. data/rbi/increase/models/document_retrieve_params.rbi +0 -27
  27. data/rbi/increase/models/simulations/document_create_params.rbi +0 -45
  28. data/rbi/increase/resources/documents.rbi +0 -81
  29. data/rbi/increase/resources/simulations/documents.rbi +0 -28
  30. data/sig/increase/models/document.rbs +0 -122
  31. data/sig/increase/models/document_create_params.rbs +0 -83
  32. data/sig/increase/models/document_list_params.rbs +0 -153
  33. data/sig/increase/models/document_retrieve_params.rbs +0 -15
  34. data/sig/increase/models/simulations/document_create_params.rbs +0 -25
  35. data/sig/increase/resources/documents.rbs +0 -29
  36. data/sig/increase/resources/simulations/documents.rbs +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8c8214f5201735e5453c5f1e0917ed33635244b1a1940c635bae3900474c69f
4
- data.tar.gz: cab9f60a6e6dfac4225fc030293bd81283e698575a1c46bed91057516bb47405
3
+ metadata.gz: e74750d65eacbe23b0115fa5f47d3f6615b53b81b8f48b410c14b29348cfc5eb
4
+ data.tar.gz: b3d07a59de5dc3e93619b356d07c8dd0203bbfe6ce66d261af2f139fe0524aba
5
5
  SHA512:
6
- metadata.gz: eee3f8fa0d9018b71087c69008e8a71f88017c0f1332d3fd9f66ca686009f8e743ebc0158c1d103c5f2b3b91e99ec948be3ae7d406825c8b12c0afc267bc6065
7
- data.tar.gz: 00c0f96a7b2fad56ec768619d3b2192b123761a6c1bdc2e6d077fe562ac1483cd96f163f59bb36f1d73f484d3f292eafb269c0ddc75be11a66841a9c7e23b9c7
6
+ metadata.gz: b7694fa2206a3cbcbd0440c378105ed3209a103b2ff3c07664bebda2cdadd1e2c4aaad081f544ae5017e9b18ad107fcb1fefa1d155524478c9ea9a02e7edc794
7
+ data.tar.gz: b3131f1a74d2ba3f669ee430f97e03a5c7b48eb1210a602a775c1980bb919e33a812bcf3a10b4b23dd77dd4eaa8586be80372b92ce138a92fcd7a8f758bee223
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.168.0 (2025-12-18)
4
+
5
+ Full Changelog: [v1.167.0...v1.168.0](https://github.com/Increase/increase-ruby/compare/v1.167.0...v1.168.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([f4ce01f](https://github.com/Increase/increase-ruby/commit/f4ce01fb3e3b0c52bf5079921ab01f3979de944f))
10
+
3
11
  ## 1.167.0 (2025-12-18)
4
12
 
5
13
  Full Changelog: [v1.166.1...v1.167.0](https://github.com/Increase/increase-ruby/compare/v1.166.1...v1.167.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.167.0"
18
+ gem "increase", "~> 1.168.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -137,9 +137,6 @@ module Increase
137
137
  # @return [Increase::Resources::FileLinks]
138
138
  attr_reader :file_links
139
139
 
140
- # @return [Increase::Resources::Documents]
141
- attr_reader :documents
142
-
143
140
  # @return [Increase::Resources::Exports]
144
141
  attr_reader :exports
145
142
 
@@ -295,7 +292,6 @@ module Increase
295
292
  @account_statements = Increase::Resources::AccountStatements.new(client: self)
296
293
  @files = Increase::Resources::Files.new(client: self)
297
294
  @file_links = Increase::Resources::FileLinks.new(client: self)
298
- @documents = Increase::Resources::Documents.new(client: self)
299
295
  @exports = Increase::Resources::Exports.new(client: self)
300
296
  @events = Increase::Resources::Events.new(client: self)
301
297
  @event_subscriptions = Increase::Resources::EventSubscriptions.new(client: self)
@@ -249,14 +249,6 @@ module Increase
249
249
 
250
250
  DigitalWalletTokenRetrieveParams = Increase::Models::DigitalWalletTokenRetrieveParams
251
251
 
252
- Document = Increase::Models::Document
253
-
254
- DocumentCreateParams = Increase::Models::DocumentCreateParams
255
-
256
- DocumentListParams = Increase::Models::DocumentListParams
257
-
258
- DocumentRetrieveParams = Increase::Models::DocumentRetrieveParams
259
-
260
252
  Entity = Increase::Models::Entity
261
253
 
262
254
  EntityArchiveBeneficialOwnerParams = Increase::Models::EntityArchiveBeneficialOwnerParams
@@ -90,9 +90,6 @@ module Increase
90
90
  # @return [Increase::Resources::Simulations::AccountStatements]
91
91
  attr_reader :account_statements
92
92
 
93
- # @return [Increase::Resources::Simulations::Documents]
94
- attr_reader :documents
95
-
96
93
  # @return [Increase::Resources::Simulations::Exports]
97
94
  attr_reader :exports
98
95
 
@@ -138,7 +135,6 @@ module Increase
138
135
  @inbound_mail_items = Increase::Resources::Simulations::InboundMailItems.new(client: client)
139
136
  @programs = Increase::Resources::Simulations::Programs.new(client: client)
140
137
  @account_statements = Increase::Resources::Simulations::AccountStatements.new(client: client)
141
- @documents = Increase::Resources::Simulations::Documents.new(client: client)
142
138
  @exports = Increase::Resources::Simulations::Exports.new(client: client)
143
139
  @card_tokens = Increase::Resources::Simulations::CardTokens.new(client: client)
144
140
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.167.0"
4
+ VERSION = "1.168.0"
5
5
  end
data/lib/increase.rb CHANGED
@@ -158,10 +158,6 @@ require_relative "increase/models/digital_card_profile_retrieve_params"
158
158
  require_relative "increase/models/digital_wallet_token"
159
159
  require_relative "increase/models/digital_wallet_token_list_params"
160
160
  require_relative "increase/models/digital_wallet_token_retrieve_params"
161
- require_relative "increase/models/document"
162
- require_relative "increase/models/document_create_params"
163
- require_relative "increase/models/document_list_params"
164
- require_relative "increase/models/document_retrieve_params"
165
161
  require_relative "increase/models/entity"
166
162
  require_relative "increase/models/entity_archive_beneficial_owner_params"
167
163
  require_relative "increase/models/entity_archive_params"
@@ -313,7 +309,6 @@ require_relative "increase/models/simulations/check_deposit_submit_params"
313
309
  require_relative "increase/models/simulations/check_transfer_mail_params"
314
310
  require_relative "increase/models/simulations/digital_wallet_token_request_create_params"
315
311
  require_relative "increase/models/simulations/digital_wallet_token_request_create_response"
316
- require_relative "increase/models/simulations/document_create_params"
317
312
  require_relative "increase/models/simulations/export_create_params"
318
313
  require_relative "increase/models/simulations/inbound_ach_transfer_create_params"
319
314
  require_relative "increase/models/simulations/inbound_check_deposit_create_params"
@@ -369,7 +364,6 @@ require_relative "increase/resources/check_transfers"
369
364
  require_relative "increase/resources/declined_transactions"
370
365
  require_relative "increase/resources/digital_card_profiles"
371
366
  require_relative "increase/resources/digital_wallet_tokens"
372
- require_relative "increase/resources/documents"
373
367
  require_relative "increase/resources/entities"
374
368
  require_relative "increase/resources/events"
375
369
  require_relative "increase/resources/event_subscriptions"
@@ -417,7 +411,6 @@ require_relative "increase/resources/simulations/card_tokens"
417
411
  require_relative "increase/resources/simulations/check_deposits"
418
412
  require_relative "increase/resources/simulations/check_transfers"
419
413
  require_relative "increase/resources/simulations/digital_wallet_token_requests"
420
- require_relative "increase/resources/simulations/documents"
421
414
  require_relative "increase/resources/simulations/exports"
422
415
  require_relative "increase/resources/simulations/inbound_ach_transfers"
423
416
  require_relative "increase/resources/simulations/inbound_check_deposits"
@@ -136,9 +136,6 @@ module Increase
136
136
  sig { returns(Increase::Resources::FileLinks) }
137
137
  attr_reader :file_links
138
138
 
139
- sig { returns(Increase::Resources::Documents) }
140
- attr_reader :documents
141
-
142
139
  sig { returns(Increase::Resources::Exports) }
143
140
  attr_reader :exports
144
141
 
@@ -236,14 +236,6 @@ module Increase
236
236
  DigitalWalletTokenRetrieveParams =
237
237
  Increase::Models::DigitalWalletTokenRetrieveParams
238
238
 
239
- Document = Increase::Models::Document
240
-
241
- DocumentCreateParams = Increase::Models::DocumentCreateParams
242
-
243
- DocumentListParams = Increase::Models::DocumentListParams
244
-
245
- DocumentRetrieveParams = Increase::Models::DocumentRetrieveParams
246
-
247
239
  Entity = Increase::Models::Entity
248
240
 
249
241
  EntityArchiveBeneficialOwnerParams =
@@ -102,9 +102,6 @@ module Increase
102
102
  sig { returns(Increase::Resources::Simulations::AccountStatements) }
103
103
  attr_reader :account_statements
104
104
 
105
- sig { returns(Increase::Resources::Simulations::Documents) }
106
- attr_reader :documents
107
-
108
105
  sig { returns(Increase::Resources::Simulations::Exports) }
109
106
  attr_reader :exports
110
107
 
@@ -91,8 +91,6 @@ module Increase
91
91
 
92
92
  attr_reader file_links: Increase::Resources::FileLinks
93
93
 
94
- attr_reader documents: Increase::Resources::Documents
95
-
96
94
  attr_reader exports: Increase::Resources::Exports
97
95
 
98
96
  attr_reader events: Increase::Resources::Events
@@ -209,14 +209,6 @@ module Increase
209
209
 
210
210
  class DigitalWalletTokenRetrieveParams = Increase::Models::DigitalWalletTokenRetrieveParams
211
211
 
212
- class Document = Increase::Models::Document
213
-
214
- class DocumentCreateParams = Increase::Models::DocumentCreateParams
215
-
216
- class DocumentListParams = Increase::Models::DocumentListParams
217
-
218
- class DocumentRetrieveParams = Increase::Models::DocumentRetrieveParams
219
-
220
212
  class Entity = Increase::Models::Entity
221
213
 
222
214
  class EntityArchiveBeneficialOwnerParams = Increase::Models::EntityArchiveBeneficialOwnerParams
@@ -59,8 +59,6 @@ module Increase
59
59
 
60
60
  attr_reader account_statements: Increase::Resources::Simulations::AccountStatements
61
61
 
62
- attr_reader documents: Increase::Resources::Simulations::Documents
63
-
64
62
  attr_reader exports: Increase::Resources::Simulations::Exports
65
63
 
66
64
  attr_reader card_tokens: Increase::Resources::Simulations::CardTokens
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.167.0
4
+ version: 1.168.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
@@ -161,10 +161,6 @@ files:
161
161
  - lib/increase/models/digital_wallet_token.rb
162
162
  - lib/increase/models/digital_wallet_token_list_params.rb
163
163
  - lib/increase/models/digital_wallet_token_retrieve_params.rb
164
- - lib/increase/models/document.rb
165
- - lib/increase/models/document_create_params.rb
166
- - lib/increase/models/document_list_params.rb
167
- - lib/increase/models/document_retrieve_params.rb
168
164
  - lib/increase/models/entity.rb
169
165
  - lib/increase/models/entity_archive_beneficial_owner_params.rb
170
166
  - lib/increase/models/entity_archive_params.rb
@@ -316,7 +312,6 @@ files:
316
312
  - lib/increase/models/simulations/check_transfer_mail_params.rb
317
313
  - lib/increase/models/simulations/digital_wallet_token_request_create_params.rb
318
314
  - lib/increase/models/simulations/digital_wallet_token_request_create_response.rb
319
- - lib/increase/models/simulations/document_create_params.rb
320
315
  - lib/increase/models/simulations/export_create_params.rb
321
316
  - lib/increase/models/simulations/inbound_ach_transfer_create_params.rb
322
317
  - lib/increase/models/simulations/inbound_check_deposit_create_params.rb
@@ -372,7 +367,6 @@ files:
372
367
  - lib/increase/resources/declined_transactions.rb
373
368
  - lib/increase/resources/digital_card_profiles.rb
374
369
  - lib/increase/resources/digital_wallet_tokens.rb
375
- - lib/increase/resources/documents.rb
376
370
  - lib/increase/resources/entities.rb
377
371
  - lib/increase/resources/event_subscriptions.rb
378
372
  - lib/increase/resources/events.rb
@@ -420,7 +414,6 @@ files:
420
414
  - lib/increase/resources/simulations/check_deposits.rb
421
415
  - lib/increase/resources/simulations/check_transfers.rb
422
416
  - lib/increase/resources/simulations/digital_wallet_token_requests.rb
423
- - lib/increase/resources/simulations/documents.rb
424
417
  - lib/increase/resources/simulations/exports.rb
425
418
  - lib/increase/resources/simulations/inbound_ach_transfers.rb
426
419
  - lib/increase/resources/simulations/inbound_check_deposits.rb
@@ -567,10 +560,6 @@ files:
567
560
  - rbi/increase/models/digital_wallet_token.rbi
568
561
  - rbi/increase/models/digital_wallet_token_list_params.rbi
569
562
  - rbi/increase/models/digital_wallet_token_retrieve_params.rbi
570
- - rbi/increase/models/document.rbi
571
- - rbi/increase/models/document_create_params.rbi
572
- - rbi/increase/models/document_list_params.rbi
573
- - rbi/increase/models/document_retrieve_params.rbi
574
563
  - rbi/increase/models/entity.rbi
575
564
  - rbi/increase/models/entity_archive_beneficial_owner_params.rbi
576
565
  - rbi/increase/models/entity_archive_params.rbi
@@ -722,7 +711,6 @@ files:
722
711
  - rbi/increase/models/simulations/check_transfer_mail_params.rbi
723
712
  - rbi/increase/models/simulations/digital_wallet_token_request_create_params.rbi
724
713
  - rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi
725
- - rbi/increase/models/simulations/document_create_params.rbi
726
714
  - rbi/increase/models/simulations/export_create_params.rbi
727
715
  - rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi
728
716
  - rbi/increase/models/simulations/inbound_check_deposit_create_params.rbi
@@ -778,7 +766,6 @@ files:
778
766
  - rbi/increase/resources/declined_transactions.rbi
779
767
  - rbi/increase/resources/digital_card_profiles.rbi
780
768
  - rbi/increase/resources/digital_wallet_tokens.rbi
781
- - rbi/increase/resources/documents.rbi
782
769
  - rbi/increase/resources/entities.rbi
783
770
  - rbi/increase/resources/event_subscriptions.rbi
784
771
  - rbi/increase/resources/events.rbi
@@ -826,7 +813,6 @@ files:
826
813
  - rbi/increase/resources/simulations/check_deposits.rbi
827
814
  - rbi/increase/resources/simulations/check_transfers.rbi
828
815
  - rbi/increase/resources/simulations/digital_wallet_token_requests.rbi
829
- - rbi/increase/resources/simulations/documents.rbi
830
816
  - rbi/increase/resources/simulations/exports.rbi
831
817
  - rbi/increase/resources/simulations/inbound_ach_transfers.rbi
832
818
  - rbi/increase/resources/simulations/inbound_check_deposits.rbi
@@ -972,10 +958,6 @@ files:
972
958
  - sig/increase/models/digital_wallet_token.rbs
973
959
  - sig/increase/models/digital_wallet_token_list_params.rbs
974
960
  - sig/increase/models/digital_wallet_token_retrieve_params.rbs
975
- - sig/increase/models/document.rbs
976
- - sig/increase/models/document_create_params.rbs
977
- - sig/increase/models/document_list_params.rbs
978
- - sig/increase/models/document_retrieve_params.rbs
979
961
  - sig/increase/models/entity.rbs
980
962
  - sig/increase/models/entity_archive_beneficial_owner_params.rbs
981
963
  - sig/increase/models/entity_archive_params.rbs
@@ -1127,7 +1109,6 @@ files:
1127
1109
  - sig/increase/models/simulations/check_transfer_mail_params.rbs
1128
1110
  - sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs
1129
1111
  - sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs
1130
- - sig/increase/models/simulations/document_create_params.rbs
1131
1112
  - sig/increase/models/simulations/export_create_params.rbs
1132
1113
  - sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs
1133
1114
  - sig/increase/models/simulations/inbound_check_deposit_create_params.rbs
@@ -1183,7 +1164,6 @@ files:
1183
1164
  - sig/increase/resources/declined_transactions.rbs
1184
1165
  - sig/increase/resources/digital_card_profiles.rbs
1185
1166
  - sig/increase/resources/digital_wallet_tokens.rbs
1186
- - sig/increase/resources/documents.rbs
1187
1167
  - sig/increase/resources/entities.rbs
1188
1168
  - sig/increase/resources/event_subscriptions.rbs
1189
1169
  - sig/increase/resources/events.rbs
@@ -1231,7 +1211,6 @@ files:
1231
1211
  - sig/increase/resources/simulations/check_deposits.rbs
1232
1212
  - sig/increase/resources/simulations/check_transfers.rbs
1233
1213
  - sig/increase/resources/simulations/digital_wallet_token_requests.rbs
1234
- - sig/increase/resources/simulations/documents.rbs
1235
1214
  - sig/increase/resources/simulations/exports.rbs
1236
1215
  - sig/increase/resources/simulations/inbound_ach_transfers.rbs
1237
1216
  - sig/increase/resources/simulations/inbound_check_deposits.rbs
@@ -1,160 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::Documents#create
6
- class Document < Increase::Internal::Type::BaseModel
7
- # @!attribute id
8
- # The Document identifier.
9
- #
10
- # @return [String]
11
- required :id, String
12
-
13
- # @!attribute account_verification_letter
14
- # Properties of an account verification letter document.
15
- #
16
- # @return [Increase::Models::Document::AccountVerificationLetter, nil]
17
- required :account_verification_letter, -> { Increase::Document::AccountVerificationLetter }, nil?: true
18
-
19
- # @!attribute category
20
- # The type of document.
21
- #
22
- # @return [Symbol, Increase::Models::Document::Category]
23
- required :category, enum: -> { Increase::Document::Category }
24
-
25
- # @!attribute created_at
26
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
27
- # Document was created.
28
- #
29
- # @return [Time]
30
- required :created_at, Time
31
-
32
- # @!attribute entity_id
33
- # The identifier of the Entity the document was generated for.
34
- #
35
- # @return [String, nil]
36
- required :entity_id, String, nil?: true
37
-
38
- # @!attribute file_id
39
- # The identifier of the File containing the Document's contents.
40
- #
41
- # @return [String]
42
- required :file_id, String
43
-
44
- # @!attribute funding_instructions
45
- # Properties of a funding instructions document.
46
- #
47
- # @return [Increase::Models::Document::FundingInstructions, nil]
48
- required :funding_instructions, -> { Increase::Document::FundingInstructions }, nil?: true
49
-
50
- # @!attribute idempotency_key
51
- # The idempotency key you chose for this object. This value is unique across
52
- # Increase and is used to ensure that a request is only processed once. Learn more
53
- # about [idempotency](https://increase.com/documentation/idempotency-keys).
54
- #
55
- # @return [String, nil]
56
- required :idempotency_key, String, nil?: true
57
-
58
- # @!attribute type
59
- # A constant representing the object's type. For this resource it will always be
60
- # `document`.
61
- #
62
- # @return [Symbol, Increase::Models::Document::Type]
63
- required :type, enum: -> { Increase::Document::Type }
64
-
65
- # @!method initialize(id:, account_verification_letter:, category:, created_at:, entity_id:, file_id:, funding_instructions:, idempotency_key:, type:)
66
- # Some parameter documentations has been truncated, see
67
- # {Increase::Models::Document} for more details.
68
- #
69
- # Increase generates certain documents / forms automatically for your application;
70
- # they can be listed here.
71
- #
72
- # @param id [String] The Document identifier.
73
- #
74
- # @param account_verification_letter [Increase::Models::Document::AccountVerificationLetter, nil] Properties of an account verification letter document.
75
- #
76
- # @param category [Symbol, Increase::Models::Document::Category] The type of document.
77
- #
78
- # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Documen
79
- #
80
- # @param entity_id [String, nil] The identifier of the Entity the document was generated for.
81
- #
82
- # @param file_id [String] The identifier of the File containing the Document's contents.
83
- #
84
- # @param funding_instructions [Increase::Models::Document::FundingInstructions, nil] Properties of a funding instructions document.
85
- #
86
- # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
87
- #
88
- # @param type [Symbol, Increase::Models::Document::Type] A constant representing the object's type. For this resource it will always be `
89
-
90
- # @see Increase::Models::Document#account_verification_letter
91
- class AccountVerificationLetter < Increase::Internal::Type::BaseModel
92
- # @!attribute account_number_id
93
- # The identifier of the Account Number the document was generated for.
94
- #
95
- # @return [String]
96
- required :account_number_id, String
97
-
98
- # @!method initialize(account_number_id:)
99
- # Properties of an account verification letter document.
100
- #
101
- # @param account_number_id [String] The identifier of the Account Number the document was generated for.
102
- end
103
-
104
- # The type of document.
105
- #
106
- # @see Increase::Models::Document#category
107
- module Category
108
- extend Increase::Internal::Type::Enum
109
-
110
- # Internal Revenue Service Form 1099-INT.
111
- FORM_1099_INT = :form_1099_int
112
-
113
- # Internal Revenue Service Form 1099-MISC.
114
- FORM_1099_MISC = :form_1099_misc
115
-
116
- # A document submitted in response to a proof of authorization request for an ACH transfer.
117
- PROOF_OF_AUTHORIZATION = :proof_of_authorization
118
-
119
- # Company information, such a policies or procedures, typically submitted during our due diligence process.
120
- COMPANY_INFORMATION = :company_information
121
-
122
- # An account verification letter.
123
- ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
124
-
125
- # Funding instructions.
126
- FUNDING_INSTRUCTIONS = :funding_instructions
127
-
128
- # @!method self.values
129
- # @return [Array<Symbol>]
130
- end
131
-
132
- # @see Increase::Models::Document#funding_instructions
133
- class FundingInstructions < Increase::Internal::Type::BaseModel
134
- # @!attribute account_number_id
135
- # The identifier of the Account Number the document was generated for.
136
- #
137
- # @return [String]
138
- required :account_number_id, String
139
-
140
- # @!method initialize(account_number_id:)
141
- # Properties of a funding instructions document.
142
- #
143
- # @param account_number_id [String] The identifier of the Account Number the document was generated for.
144
- end
145
-
146
- # A constant representing the object's type. For this resource it will always be
147
- # `document`.
148
- #
149
- # @see Increase::Models::Document#type
150
- module Type
151
- extend Increase::Internal::Type::Enum
152
-
153
- DOCUMENT = :document
154
-
155
- # @!method self.values
156
- # @return [Array<Symbol>]
157
- end
158
- end
159
- end
160
- end
@@ -1,93 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::Documents#create
6
- class DocumentCreateParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- # @!attribute category
11
- # The type of document to create.
12
- #
13
- # @return [Symbol, Increase::Models::DocumentCreateParams::Category]
14
- required :category, enum: -> { Increase::DocumentCreateParams::Category }
15
-
16
- # @!attribute account_verification_letter
17
- # An account verification letter. Required if and only if `category` is
18
- # `account_verification_letter`.
19
- #
20
- # @return [Increase::Models::DocumentCreateParams::AccountVerificationLetter, nil]
21
- optional :account_verification_letter, -> { Increase::DocumentCreateParams::AccountVerificationLetter }
22
-
23
- # @!attribute funding_instructions
24
- # Funding instructions. Required if and only if `category` is
25
- # `funding_instructions`.
26
- #
27
- # @return [Increase::Models::DocumentCreateParams::FundingInstructions, nil]
28
- optional :funding_instructions, -> { Increase::DocumentCreateParams::FundingInstructions }
29
-
30
- # @!method initialize(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {})
31
- # Some parameter documentations has been truncated, see
32
- # {Increase::Models::DocumentCreateParams} for more details.
33
- #
34
- # @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create.
35
- #
36
- # @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter. Required if and only if `category` is `account_v
37
- #
38
- # @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions. Required if and only if `category` is `funding_instruction
39
- #
40
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
41
-
42
- # The type of document to create.
43
- module Category
44
- extend Increase::Internal::Type::Enum
45
-
46
- # An account verification letter.
47
- ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
48
-
49
- # Funding instructions.
50
- FUNDING_INSTRUCTIONS = :funding_instructions
51
-
52
- # @!method self.values
53
- # @return [Array<Symbol>]
54
- end
55
-
56
- class AccountVerificationLetter < Increase::Internal::Type::BaseModel
57
- # @!attribute account_number_id
58
- # The Account Number the bank letter should be generated for.
59
- #
60
- # @return [String]
61
- required :account_number_id, String
62
-
63
- # @!attribute balance_date
64
- # If provided, the letter will include the Account's balance as of the date.
65
- #
66
- # @return [Date, nil]
67
- optional :balance_date, Date
68
-
69
- # @!method initialize(account_number_id:, balance_date: nil)
70
- # An account verification letter. Required if and only if `category` is
71
- # `account_verification_letter`.
72
- #
73
- # @param account_number_id [String] The Account Number the bank letter should be generated for.
74
- #
75
- # @param balance_date [Date] If provided, the letter will include the Account's balance as of the date.
76
- end
77
-
78
- class FundingInstructions < Increase::Internal::Type::BaseModel
79
- # @!attribute account_number_id
80
- # The Account Number the funding instructions should be generated for.
81
- #
82
- # @return [String]
83
- required :account_number_id, String
84
-
85
- # @!method initialize(account_number_id:)
86
- # Funding instructions. Required if and only if `category` is
87
- # `funding_instructions`.
88
- #
89
- # @param account_number_id [String] The Account Number the funding instructions should be generated for.
90
- end
91
- end
92
- end
93
- end