increase 1.196.0 → 1.198.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/export.rb +25 -19
- data/lib/increase/models/export_list_params.rb +70 -50
- data/lib/increase/resources/exports.rb +6 -2
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/export.rbi +37 -20
- data/rbi/increase/models/export_list_params.rbi +165 -140
- data/rbi/increase/resources/exports.rbi +6 -1
- data/sig/increase/models/export.rbs +15 -10
- data/sig/increase/models/export_list_params.rbs +87 -64
- data/sig/increase/resources/exports.rbs +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f16f44fd8df6f9d1a46644ba6046842b74302848c34279a27d5781a6434ae2f0
|
|
4
|
+
data.tar.gz: 613682996b3930c8577f20611258913631d4c4dc24eabd189acc5e240cdb9a41
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6624ad1edc967b3aabccd5a0374f24165d1d452cab3173f12a16c8aff1c54cc72baffb0c93453adfcf3263f966e44d5102c000ed8aabea4f8663038bbeccaa99
|
|
7
|
+
data.tar.gz: 76032ad7795dc29e1a939ab0be883f5ff0ed541f9bcf2a71a365504feacb47977d9dc220b6e337952c5cbc3d5f95e85779930eec982575d9992ee92d0dd899b0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.198.0 (2026-02-04)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.197.0...v1.198.0](https://github.com/Increase/increase-ruby/compare/v1.197.0...v1.198.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([65a0591](https://github.com/Increase/increase-ruby/commit/65a05912ac1d3f755f28826cd581f134bcf72c4d))
|
|
10
|
+
|
|
11
|
+
## 1.197.0 (2026-02-03)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.196.0...v1.197.0](https://github.com/Increase/increase-ruby/compare/v1.196.0...v1.197.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([afef769](https://github.com/Increase/increase-ruby/commit/afef769328f334db3ef6c88104753664da8ba3bc))
|
|
18
|
+
|
|
3
19
|
## 1.196.0 (2026-02-03)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.195.0...v1.196.0](https://github.com/Increase/increase-ruby/compare/v1.195.0...v1.196.0)
|
data/README.md
CHANGED
|
@@ -74,20 +74,6 @@ module Increase
|
|
|
74
74
|
# @return [Increase::Models::Export::EntityCsv, nil]
|
|
75
75
|
required :entity_csv, -> { Increase::Export::EntityCsv }, nil?: true
|
|
76
76
|
|
|
77
|
-
# @!attribute file_download_url
|
|
78
|
-
# A URL at which the Export's file can be downloaded. This will be present when
|
|
79
|
-
# the Export's status transitions to `complete`.
|
|
80
|
-
#
|
|
81
|
-
# @return [String, nil]
|
|
82
|
-
required :file_download_url, String, nil?: true
|
|
83
|
-
|
|
84
|
-
# @!attribute file_id
|
|
85
|
-
# The File containing the contents of the Export. This will be present when the
|
|
86
|
-
# Export's status transitions to `complete`.
|
|
87
|
-
#
|
|
88
|
-
# @return [String, nil]
|
|
89
|
-
required :file_id, String, nil?: true
|
|
90
|
-
|
|
91
77
|
# @!attribute form_1099_int
|
|
92
78
|
# Details of the Form 1099-INT export. This field will be present when the
|
|
93
79
|
# `category` is equal to `form_1099_int`.
|
|
@@ -117,6 +103,13 @@ module Increase
|
|
|
117
103
|
# @return [String, nil]
|
|
118
104
|
required :idempotency_key, String, nil?: true
|
|
119
105
|
|
|
106
|
+
# @!attribute result
|
|
107
|
+
# The result of the Export. This will be present when the Export's status
|
|
108
|
+
# transitions to `complete`.
|
|
109
|
+
#
|
|
110
|
+
# @return [Increase::Models::Export::Result, nil]
|
|
111
|
+
required :result, -> { Increase::Export::Result }, nil?: true
|
|
112
|
+
|
|
120
113
|
# @!attribute status
|
|
121
114
|
# The status of the Export.
|
|
122
115
|
#
|
|
@@ -144,7 +137,7 @@ module Increase
|
|
|
144
137
|
# @return [Increase::Models::Export::VendorCsv, nil]
|
|
145
138
|
required :vendor_csv, -> { Increase::Export::VendorCsv }, nil?: true
|
|
146
139
|
|
|
147
|
-
# @!method initialize(id:, account_statement_bai2:, account_statement_ofx:, account_verification_letter:, balance_csv:, bookkeeping_account_balance_csv:, category:, created_at:, dashboard_table_csv:, entity_csv:,
|
|
140
|
+
# @!method initialize(id:, account_statement_bai2:, account_statement_ofx:, account_verification_letter:, balance_csv:, bookkeeping_account_balance_csv:, category:, created_at:, dashboard_table_csv:, entity_csv:, form_1099_int:, form_1099_misc:, funding_instructions:, idempotency_key:, result:, status:, transaction_csv:, type:, vendor_csv:)
|
|
148
141
|
# Some parameter documentations has been truncated, see {Increase::Models::Export}
|
|
149
142
|
# for more details.
|
|
150
143
|
#
|
|
@@ -174,10 +167,6 @@ module Increase
|
|
|
174
167
|
#
|
|
175
168
|
# @param entity_csv [Increase::Models::Export::EntityCsv, nil] Details of the entity CSV export. This field will be present when the `category`
|
|
176
169
|
#
|
|
177
|
-
# @param file_download_url [String, nil] A URL at which the Export's file can be downloaded. This will be present when th
|
|
178
|
-
#
|
|
179
|
-
# @param file_id [String, nil] The File containing the contents of the Export. This will be present when the Ex
|
|
180
|
-
#
|
|
181
170
|
# @param form_1099_int [Increase::Models::Export::Form1099Int, nil] Details of the Form 1099-INT export. This field will be present when the `catego
|
|
182
171
|
#
|
|
183
172
|
# @param form_1099_misc [Increase::Models::Export::Form1099Misc, nil] Details of the Form 1099-MISC export. This field will be present when the `categ
|
|
@@ -186,6 +175,8 @@ module Increase
|
|
|
186
175
|
#
|
|
187
176
|
# @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
|
|
188
177
|
#
|
|
178
|
+
# @param result [Increase::Models::Export::Result, nil] The result of the Export. This will be present when the Export's status transiti
|
|
179
|
+
#
|
|
189
180
|
# @param status [Symbol, Increase::Models::Export::Status] The status of the Export.
|
|
190
181
|
#
|
|
191
182
|
# @param transaction_csv [Increase::Models::Export::TransactionCsv, nil] Details of the transaction CSV export. This field will be present when the `cate
|
|
@@ -529,6 +520,21 @@ module Increase
|
|
|
529
520
|
# @param account_number_id [String] The Account Number to create funding instructions for.
|
|
530
521
|
end
|
|
531
522
|
|
|
523
|
+
# @see Increase::Models::Export#result
|
|
524
|
+
class Result < Increase::Internal::Type::BaseModel
|
|
525
|
+
# @!attribute file_id
|
|
526
|
+
# The File containing the contents of the Export.
|
|
527
|
+
#
|
|
528
|
+
# @return [String]
|
|
529
|
+
required :file_id, String
|
|
530
|
+
|
|
531
|
+
# @!method initialize(file_id:)
|
|
532
|
+
# The result of the Export. This will be present when the Export's status
|
|
533
|
+
# transitions to `complete`.
|
|
534
|
+
#
|
|
535
|
+
# @param file_id [String] The File containing the contents of the Export.
|
|
536
|
+
end
|
|
537
|
+
|
|
532
538
|
# The status of the Export.
|
|
533
539
|
#
|
|
534
540
|
# @see Increase::Models::Export#status
|
|
@@ -8,9 +8,10 @@ module Increase
|
|
|
8
8
|
include Increase::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute category
|
|
11
|
+
# Filter Exports for those with the specified category.
|
|
11
12
|
#
|
|
12
|
-
# @return [Increase::Models::ExportListParams::Category, nil]
|
|
13
|
-
optional :category, -> { Increase::ExportListParams::Category }
|
|
13
|
+
# @return [Symbol, Increase::Models::ExportListParams::Category, nil]
|
|
14
|
+
optional :category, enum: -> { Increase::ExportListParams::Category }
|
|
14
15
|
|
|
15
16
|
# @!attribute created_at
|
|
16
17
|
#
|
|
@@ -23,6 +24,16 @@ module Increase
|
|
|
23
24
|
# @return [String, nil]
|
|
24
25
|
optional :cursor, String
|
|
25
26
|
|
|
27
|
+
# @!attribute form_1099_int
|
|
28
|
+
#
|
|
29
|
+
# @return [Increase::Models::ExportListParams::Form1099Int, nil]
|
|
30
|
+
optional :form_1099_int, -> { Increase::ExportListParams::Form1099Int }
|
|
31
|
+
|
|
32
|
+
# @!attribute form_1099_misc
|
|
33
|
+
#
|
|
34
|
+
# @return [Increase::Models::ExportListParams::Form1099Misc, nil]
|
|
35
|
+
optional :form_1099_misc, -> { Increase::ExportListParams::Form1099Misc }
|
|
36
|
+
|
|
26
37
|
# @!attribute idempotency_key
|
|
27
38
|
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
28
39
|
# that object. This value is unique across Increase and is used to ensure that a
|
|
@@ -44,16 +55,20 @@ module Increase
|
|
|
44
55
|
# @return [Increase::Models::ExportListParams::Status, nil]
|
|
45
56
|
optional :status, -> { Increase::ExportListParams::Status }
|
|
46
57
|
|
|
47
|
-
# @!method initialize(category: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
|
|
58
|
+
# @!method initialize(category: nil, created_at: nil, cursor: nil, form_1099_int: nil, form_1099_misc: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
|
|
48
59
|
# Some parameter documentations has been truncated, see
|
|
49
60
|
# {Increase::Models::ExportListParams} for more details.
|
|
50
61
|
#
|
|
51
|
-
# @param category [Increase::Models::ExportListParams::Category]
|
|
62
|
+
# @param category [Symbol, Increase::Models::ExportListParams::Category] Filter Exports for those with the specified category.
|
|
52
63
|
#
|
|
53
64
|
# @param created_at [Increase::Models::ExportListParams::CreatedAt]
|
|
54
65
|
#
|
|
55
66
|
# @param cursor [String] Return the page of entries after this one.
|
|
56
67
|
#
|
|
68
|
+
# @param form_1099_int [Increase::Models::ExportListParams::Form1099Int]
|
|
69
|
+
#
|
|
70
|
+
# @param form_1099_misc [Increase::Models::ExportListParams::Form1099Misc]
|
|
71
|
+
#
|
|
57
72
|
# @param idempotency_key [String] Filter records to the one with the specified `idempotency_key` you chose for tha
|
|
58
73
|
#
|
|
59
74
|
# @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
|
|
@@ -62,65 +77,48 @@ module Increase
|
|
|
62
77
|
#
|
|
63
78
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
64
79
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
# requests, this should be encoded as a comma-delimited string, such as
|
|
69
|
-
# `?in=one,two,three`.
|
|
70
|
-
#
|
|
71
|
-
# @return [Array<Symbol, Increase::Models::ExportListParams::Category::In>, nil]
|
|
72
|
-
optional :in_,
|
|
73
|
-
-> { Increase::Internal::Type::ArrayOf[enum: Increase::ExportListParams::Category::In] },
|
|
74
|
-
api_name: :in
|
|
75
|
-
|
|
76
|
-
# @!method initialize(in_: nil)
|
|
77
|
-
# Some parameter documentations has been truncated, see
|
|
78
|
-
# {Increase::Models::ExportListParams::Category} for more details.
|
|
79
|
-
#
|
|
80
|
-
# @param in_ [Array<Symbol, Increase::Models::ExportListParams::Category::In>] Filter Exports for those with the specified category or categories. For GET requ
|
|
81
|
-
|
|
82
|
-
module In
|
|
83
|
-
extend Increase::Internal::Type::Enum
|
|
80
|
+
# Filter Exports for those with the specified category.
|
|
81
|
+
module Category
|
|
82
|
+
extend Increase::Internal::Type::Enum
|
|
84
83
|
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
# Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
|
|
85
|
+
ACCOUNT_STATEMENT_OFX = :account_statement_ofx
|
|
87
86
|
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
# Export a BAI2 file of transactions and balances for a given date and optional Account.
|
|
88
|
+
ACCOUNT_STATEMENT_BAI2 = :account_statement_bai2
|
|
90
89
|
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
# Export a CSV of all transactions for a given time range.
|
|
91
|
+
TRANSACTION_CSV = :transaction_csv
|
|
93
92
|
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
# Export a CSV of account balances for the dates in a given range.
|
|
94
|
+
BALANCE_CSV = :balance_csv
|
|
96
95
|
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
# Export a CSV of bookkeeping account balances for the dates in a given range.
|
|
97
|
+
BOOKKEEPING_ACCOUNT_BALANCE_CSV = :bookkeeping_account_balance_csv
|
|
99
98
|
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
# Export a CSV of entities with a given status.
|
|
100
|
+
ENTITY_CSV = :entity_csv
|
|
102
101
|
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
# Export a CSV of vendors added to the third-party risk management dashboard.
|
|
103
|
+
VENDOR_CSV = :vendor_csv
|
|
105
104
|
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
|
|
106
|
+
DASHBOARD_TABLE_CSV = :dashboard_table_csv
|
|
108
107
|
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
# A PDF of an account verification letter.
|
|
109
|
+
ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
|
|
111
110
|
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
# A PDF of funding instructions.
|
|
112
|
+
FUNDING_INSTRUCTIONS = :funding_instructions
|
|
114
113
|
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
115
|
+
FORM_1099_INT = :form_1099_int
|
|
117
116
|
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
118
|
+
FORM_1099_MISC = :form_1099_misc
|
|
120
119
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
end
|
|
120
|
+
# @!method self.values
|
|
121
|
+
# @return [Array<Symbol>]
|
|
124
122
|
end
|
|
125
123
|
|
|
126
124
|
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
@@ -165,6 +163,28 @@ module Increase
|
|
|
165
163
|
# @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86
|
|
166
164
|
end
|
|
167
165
|
|
|
166
|
+
class Form1099Int < Increase::Internal::Type::BaseModel
|
|
167
|
+
# @!attribute account_id
|
|
168
|
+
# Filter Form 1099-INT Exports to those for the specified Account.
|
|
169
|
+
#
|
|
170
|
+
# @return [String, nil]
|
|
171
|
+
optional :account_id, String
|
|
172
|
+
|
|
173
|
+
# @!method initialize(account_id: nil)
|
|
174
|
+
# @param account_id [String] Filter Form 1099-INT Exports to those for the specified Account.
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
class Form1099Misc < Increase::Internal::Type::BaseModel
|
|
178
|
+
# @!attribute account_id
|
|
179
|
+
# Filter Form 1099-MISC Exports to those for the specified Account.
|
|
180
|
+
#
|
|
181
|
+
# @return [String, nil]
|
|
182
|
+
optional :account_id, String
|
|
183
|
+
|
|
184
|
+
# @!method initialize(account_id: nil)
|
|
185
|
+
# @param account_id [String] Filter Form 1099-MISC Exports to those for the specified Account.
|
|
186
|
+
end
|
|
187
|
+
|
|
168
188
|
class Status < Increase::Internal::Type::BaseModel
|
|
169
189
|
# @!attribute in_
|
|
170
190
|
# Filter Exports for those with the specified status or statuses. For GET
|
|
@@ -73,14 +73,18 @@ module Increase
|
|
|
73
73
|
#
|
|
74
74
|
# List Exports
|
|
75
75
|
#
|
|
76
|
-
# @overload list(category: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
|
|
76
|
+
# @overload list(category: nil, created_at: nil, cursor: nil, form_1099_int: nil, form_1099_misc: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
|
|
77
77
|
#
|
|
78
|
-
# @param category [Increase::Models::ExportListParams::Category]
|
|
78
|
+
# @param category [Symbol, Increase::Models::ExportListParams::Category] Filter Exports for those with the specified category.
|
|
79
79
|
#
|
|
80
80
|
# @param created_at [Increase::Models::ExportListParams::CreatedAt]
|
|
81
81
|
#
|
|
82
82
|
# @param cursor [String] Return the page of entries after this one.
|
|
83
83
|
#
|
|
84
|
+
# @param form_1099_int [Increase::Models::ExportListParams::Form1099Int]
|
|
85
|
+
#
|
|
86
|
+
# @param form_1099_misc [Increase::Models::ExportListParams::Form1099Misc]
|
|
87
|
+
#
|
|
84
88
|
# @param idempotency_key [String] Filter records to the one with the specified `idempotency_key` you chose for tha
|
|
85
89
|
#
|
|
86
90
|
# @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
|
data/lib/increase/version.rb
CHANGED
|
@@ -106,16 +106,6 @@ module Increase
|
|
|
106
106
|
end
|
|
107
107
|
attr_writer :entity_csv
|
|
108
108
|
|
|
109
|
-
# A URL at which the Export's file can be downloaded. This will be present when
|
|
110
|
-
# the Export's status transitions to `complete`.
|
|
111
|
-
sig { returns(T.nilable(String)) }
|
|
112
|
-
attr_accessor :file_download_url
|
|
113
|
-
|
|
114
|
-
# The File containing the contents of the Export. This will be present when the
|
|
115
|
-
# Export's status transitions to `complete`.
|
|
116
|
-
sig { returns(T.nilable(String)) }
|
|
117
|
-
attr_accessor :file_id
|
|
118
|
-
|
|
119
109
|
# Details of the Form 1099-INT export. This field will be present when the
|
|
120
110
|
# `category` is equal to `form_1099_int`.
|
|
121
111
|
sig { returns(T.nilable(Increase::Export::Form1099Int)) }
|
|
@@ -159,6 +149,14 @@ module Increase
|
|
|
159
149
|
sig { returns(T.nilable(String)) }
|
|
160
150
|
attr_accessor :idempotency_key
|
|
161
151
|
|
|
152
|
+
# The result of the Export. This will be present when the Export's status
|
|
153
|
+
# transitions to `complete`.
|
|
154
|
+
sig { returns(T.nilable(Increase::Export::Result)) }
|
|
155
|
+
attr_reader :result
|
|
156
|
+
|
|
157
|
+
sig { params(result: T.nilable(Increase::Export::Result::OrHash)).void }
|
|
158
|
+
attr_writer :result
|
|
159
|
+
|
|
162
160
|
# The status of the Export.
|
|
163
161
|
sig { returns(Increase::Export::Status::TaggedSymbol) }
|
|
164
162
|
attr_accessor :status
|
|
@@ -212,13 +210,12 @@ module Increase
|
|
|
212
210
|
dashboard_table_csv:
|
|
213
211
|
T.nilable(Increase::Export::DashboardTableCsv::OrHash),
|
|
214
212
|
entity_csv: T.nilable(Increase::Export::EntityCsv::OrHash),
|
|
215
|
-
file_download_url: T.nilable(String),
|
|
216
|
-
file_id: T.nilable(String),
|
|
217
213
|
form_1099_int: T.nilable(Increase::Export::Form1099Int::OrHash),
|
|
218
214
|
form_1099_misc: T.nilable(Increase::Export::Form1099Misc::OrHash),
|
|
219
215
|
funding_instructions:
|
|
220
216
|
T.nilable(Increase::Export::FundingInstructions::OrHash),
|
|
221
217
|
idempotency_key: T.nilable(String),
|
|
218
|
+
result: T.nilable(Increase::Export::Result::OrHash),
|
|
222
219
|
status: Increase::Export::Status::OrSymbol,
|
|
223
220
|
transaction_csv: T.nilable(Increase::Export::TransactionCsv::OrHash),
|
|
224
221
|
type: Increase::Export::Type::OrSymbol,
|
|
@@ -254,12 +251,6 @@ module Increase
|
|
|
254
251
|
# Details of the entity CSV export. This field will be present when the `category`
|
|
255
252
|
# is equal to `entity_csv`.
|
|
256
253
|
entity_csv:,
|
|
257
|
-
# A URL at which the Export's file can be downloaded. This will be present when
|
|
258
|
-
# the Export's status transitions to `complete`.
|
|
259
|
-
file_download_url:,
|
|
260
|
-
# The File containing the contents of the Export. This will be present when the
|
|
261
|
-
# Export's status transitions to `complete`.
|
|
262
|
-
file_id:,
|
|
263
254
|
# Details of the Form 1099-INT export. This field will be present when the
|
|
264
255
|
# `category` is equal to `form_1099_int`.
|
|
265
256
|
form_1099_int:,
|
|
@@ -273,6 +264,9 @@ module Increase
|
|
|
273
264
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
274
265
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
275
266
|
idempotency_key:,
|
|
267
|
+
# The result of the Export. This will be present when the Export's status
|
|
268
|
+
# transitions to `complete`.
|
|
269
|
+
result:,
|
|
276
270
|
# The status of the Export.
|
|
277
271
|
status:,
|
|
278
272
|
# Details of the transaction CSV export. This field will be present when the
|
|
@@ -304,13 +298,12 @@ module Increase
|
|
|
304
298
|
created_at: Time,
|
|
305
299
|
dashboard_table_csv: T.nilable(Increase::Export::DashboardTableCsv),
|
|
306
300
|
entity_csv: T.nilable(Increase::Export::EntityCsv),
|
|
307
|
-
file_download_url: T.nilable(String),
|
|
308
|
-
file_id: T.nilable(String),
|
|
309
301
|
form_1099_int: T.nilable(Increase::Export::Form1099Int),
|
|
310
302
|
form_1099_misc: T.nilable(Increase::Export::Form1099Misc),
|
|
311
303
|
funding_instructions:
|
|
312
304
|
T.nilable(Increase::Export::FundingInstructions),
|
|
313
305
|
idempotency_key: T.nilable(String),
|
|
306
|
+
result: T.nilable(Increase::Export::Result),
|
|
314
307
|
status: Increase::Export::Status::TaggedSymbol,
|
|
315
308
|
transaction_csv: T.nilable(Increase::Export::TransactionCsv),
|
|
316
309
|
type: Increase::Export::Type::TaggedSymbol,
|
|
@@ -957,6 +950,30 @@ module Increase
|
|
|
957
950
|
end
|
|
958
951
|
end
|
|
959
952
|
|
|
953
|
+
class Result < Increase::Internal::Type::BaseModel
|
|
954
|
+
OrHash =
|
|
955
|
+
T.type_alias do
|
|
956
|
+
T.any(Increase::Export::Result, Increase::Internal::AnyHash)
|
|
957
|
+
end
|
|
958
|
+
|
|
959
|
+
# The File containing the contents of the Export.
|
|
960
|
+
sig { returns(String) }
|
|
961
|
+
attr_accessor :file_id
|
|
962
|
+
|
|
963
|
+
# The result of the Export. This will be present when the Export's status
|
|
964
|
+
# transitions to `complete`.
|
|
965
|
+
sig { params(file_id: String).returns(T.attached_class) }
|
|
966
|
+
def self.new(
|
|
967
|
+
# The File containing the contents of the Export.
|
|
968
|
+
file_id:
|
|
969
|
+
)
|
|
970
|
+
end
|
|
971
|
+
|
|
972
|
+
sig { override.returns({ file_id: String }) }
|
|
973
|
+
def to_hash
|
|
974
|
+
end
|
|
975
|
+
end
|
|
976
|
+
|
|
960
977
|
# The status of the Export.
|
|
961
978
|
module Status
|
|
962
979
|
extend Increase::Internal::Type::Enum
|
|
@@ -11,11 +11,12 @@ module Increase
|
|
|
11
11
|
T.any(Increase::ExportListParams, Increase::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
# Filter Exports for those with the specified category.
|
|
15
|
+
sig { returns(T.nilable(Increase::ExportListParams::Category::OrSymbol)) }
|
|
15
16
|
attr_reader :category
|
|
16
17
|
|
|
17
18
|
sig do
|
|
18
|
-
params(category: Increase::ExportListParams::Category::
|
|
19
|
+
params(category: Increase::ExportListParams::Category::OrSymbol).void
|
|
19
20
|
end
|
|
20
21
|
attr_writer :category
|
|
21
22
|
|
|
@@ -34,6 +35,26 @@ module Increase
|
|
|
34
35
|
sig { params(cursor: String).void }
|
|
35
36
|
attr_writer :cursor
|
|
36
37
|
|
|
38
|
+
sig { returns(T.nilable(Increase::ExportListParams::Form1099Int)) }
|
|
39
|
+
attr_reader :form_1099_int
|
|
40
|
+
|
|
41
|
+
sig do
|
|
42
|
+
params(
|
|
43
|
+
form_1099_int: Increase::ExportListParams::Form1099Int::OrHash
|
|
44
|
+
).void
|
|
45
|
+
end
|
|
46
|
+
attr_writer :form_1099_int
|
|
47
|
+
|
|
48
|
+
sig { returns(T.nilable(Increase::ExportListParams::Form1099Misc)) }
|
|
49
|
+
attr_reader :form_1099_misc
|
|
50
|
+
|
|
51
|
+
sig do
|
|
52
|
+
params(
|
|
53
|
+
form_1099_misc: Increase::ExportListParams::Form1099Misc::OrHash
|
|
54
|
+
).void
|
|
55
|
+
end
|
|
56
|
+
attr_writer :form_1099_misc
|
|
57
|
+
|
|
37
58
|
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
38
59
|
# that object. This value is unique across Increase and is used to ensure that a
|
|
39
60
|
# request is only processed once. Learn more about
|
|
@@ -60,9 +81,11 @@ module Increase
|
|
|
60
81
|
|
|
61
82
|
sig do
|
|
62
83
|
params(
|
|
63
|
-
category: Increase::ExportListParams::Category::
|
|
84
|
+
category: Increase::ExportListParams::Category::OrSymbol,
|
|
64
85
|
created_at: Increase::ExportListParams::CreatedAt::OrHash,
|
|
65
86
|
cursor: String,
|
|
87
|
+
form_1099_int: Increase::ExportListParams::Form1099Int::OrHash,
|
|
88
|
+
form_1099_misc: Increase::ExportListParams::Form1099Misc::OrHash,
|
|
66
89
|
idempotency_key: String,
|
|
67
90
|
limit: Integer,
|
|
68
91
|
status: Increase::ExportListParams::Status::OrHash,
|
|
@@ -70,10 +93,13 @@ module Increase
|
|
|
70
93
|
).returns(T.attached_class)
|
|
71
94
|
end
|
|
72
95
|
def self.new(
|
|
96
|
+
# Filter Exports for those with the specified category.
|
|
73
97
|
category: nil,
|
|
74
98
|
created_at: nil,
|
|
75
99
|
# Return the page of entries after this one.
|
|
76
100
|
cursor: nil,
|
|
101
|
+
form_1099_int: nil,
|
|
102
|
+
form_1099_misc: nil,
|
|
77
103
|
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
78
104
|
# that object. This value is unique across Increase and is used to ensure that a
|
|
79
105
|
# request is only processed once. Learn more about
|
|
@@ -90,9 +116,11 @@ module Increase
|
|
|
90
116
|
sig do
|
|
91
117
|
override.returns(
|
|
92
118
|
{
|
|
93
|
-
category: Increase::ExportListParams::Category,
|
|
119
|
+
category: Increase::ExportListParams::Category::OrSymbol,
|
|
94
120
|
created_at: Increase::ExportListParams::CreatedAt,
|
|
95
121
|
cursor: String,
|
|
122
|
+
form_1099_int: Increase::ExportListParams::Form1099Int,
|
|
123
|
+
form_1099_misc: Increase::ExportListParams::Form1099Misc,
|
|
96
124
|
idempotency_key: String,
|
|
97
125
|
limit: Integer,
|
|
98
126
|
status: Increase::ExportListParams::Status,
|
|
@@ -103,157 +131,98 @@ module Increase
|
|
|
103
131
|
def to_hash
|
|
104
132
|
end
|
|
105
133
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
T.any(
|
|
110
|
-
Increase::ExportListParams::Category,
|
|
111
|
-
Increase::Internal::AnyHash
|
|
112
|
-
)
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
# Filter Exports for those with the specified category or categories. For GET
|
|
116
|
-
# requests, this should be encoded as a comma-delimited string, such as
|
|
117
|
-
# `?in=one,two,three`.
|
|
118
|
-
sig do
|
|
119
|
-
returns(
|
|
120
|
-
T.nilable(
|
|
121
|
-
T::Array[Increase::ExportListParams::Category::In::OrSymbol]
|
|
122
|
-
)
|
|
123
|
-
)
|
|
124
|
-
end
|
|
125
|
-
attr_reader :in_
|
|
134
|
+
# Filter Exports for those with the specified category.
|
|
135
|
+
module Category
|
|
136
|
+
extend Increase::Internal::Type::Enum
|
|
126
137
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
).void
|
|
131
|
-
end
|
|
132
|
-
attr_writer :in_
|
|
138
|
+
TaggedSymbol =
|
|
139
|
+
T.type_alias { T.all(Symbol, Increase::ExportListParams::Category) }
|
|
140
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
133
141
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
def self.new(
|
|
140
|
-
# Filter Exports for those with the specified category or categories. For GET
|
|
141
|
-
# requests, this should be encoded as a comma-delimited string, such as
|
|
142
|
-
# `?in=one,two,three`.
|
|
143
|
-
in_: nil
|
|
144
|
-
)
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
sig do
|
|
148
|
-
override.returns(
|
|
149
|
-
{
|
|
150
|
-
in_: T::Array[Increase::ExportListParams::Category::In::OrSymbol]
|
|
151
|
-
}
|
|
142
|
+
# Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
|
|
143
|
+
ACCOUNT_STATEMENT_OFX =
|
|
144
|
+
T.let(
|
|
145
|
+
:account_statement_ofx,
|
|
146
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
152
147
|
)
|
|
153
|
-
end
|
|
154
|
-
def to_hash
|
|
155
|
-
end
|
|
156
148
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
end
|
|
164
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
165
|
-
|
|
166
|
-
# Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
|
|
167
|
-
ACCOUNT_STATEMENT_OFX =
|
|
168
|
-
T.let(
|
|
169
|
-
:account_statement_ofx,
|
|
170
|
-
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
171
|
-
)
|
|
172
|
-
|
|
173
|
-
# Export a BAI2 file of transactions and balances for a given date and optional Account.
|
|
174
|
-
ACCOUNT_STATEMENT_BAI2 =
|
|
175
|
-
T.let(
|
|
176
|
-
:account_statement_bai2,
|
|
177
|
-
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
178
|
-
)
|
|
149
|
+
# Export a BAI2 file of transactions and balances for a given date and optional Account.
|
|
150
|
+
ACCOUNT_STATEMENT_BAI2 =
|
|
151
|
+
T.let(
|
|
152
|
+
:account_statement_bai2,
|
|
153
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
154
|
+
)
|
|
179
155
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
156
|
+
# Export a CSV of all transactions for a given time range.
|
|
157
|
+
TRANSACTION_CSV =
|
|
158
|
+
T.let(
|
|
159
|
+
:transaction_csv,
|
|
160
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
161
|
+
)
|
|
186
162
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
163
|
+
# Export a CSV of account balances for the dates in a given range.
|
|
164
|
+
BALANCE_CSV =
|
|
165
|
+
T.let(
|
|
166
|
+
:balance_csv,
|
|
167
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
168
|
+
)
|
|
193
169
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
170
|
+
# Export a CSV of bookkeeping account balances for the dates in a given range.
|
|
171
|
+
BOOKKEEPING_ACCOUNT_BALANCE_CSV =
|
|
172
|
+
T.let(
|
|
173
|
+
:bookkeeping_account_balance_csv,
|
|
174
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
175
|
+
)
|
|
200
176
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
:entity_csv,
|
|
205
|
-
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
206
|
-
)
|
|
177
|
+
# Export a CSV of entities with a given status.
|
|
178
|
+
ENTITY_CSV =
|
|
179
|
+
T.let(:entity_csv, Increase::ExportListParams::Category::TaggedSymbol)
|
|
207
180
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
:vendor_csv,
|
|
212
|
-
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
213
|
-
)
|
|
181
|
+
# Export a CSV of vendors added to the third-party risk management dashboard.
|
|
182
|
+
VENDOR_CSV =
|
|
183
|
+
T.let(:vendor_csv, Increase::ExportListParams::Category::TaggedSymbol)
|
|
214
184
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
185
|
+
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
|
|
186
|
+
DASHBOARD_TABLE_CSV =
|
|
187
|
+
T.let(
|
|
188
|
+
:dashboard_table_csv,
|
|
189
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
190
|
+
)
|
|
221
191
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
192
|
+
# A PDF of an account verification letter.
|
|
193
|
+
ACCOUNT_VERIFICATION_LETTER =
|
|
194
|
+
T.let(
|
|
195
|
+
:account_verification_letter,
|
|
196
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
197
|
+
)
|
|
228
198
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
199
|
+
# A PDF of funding instructions.
|
|
200
|
+
FUNDING_INSTRUCTIONS =
|
|
201
|
+
T.let(
|
|
202
|
+
:funding_instructions,
|
|
203
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
204
|
+
)
|
|
235
205
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
206
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
207
|
+
FORM_1099_INT =
|
|
208
|
+
T.let(
|
|
209
|
+
:form_1099_int,
|
|
210
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
211
|
+
)
|
|
242
212
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
213
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
214
|
+
FORM_1099_MISC =
|
|
215
|
+
T.let(
|
|
216
|
+
:form_1099_misc,
|
|
217
|
+
Increase::ExportListParams::Category::TaggedSymbol
|
|
218
|
+
)
|
|
249
219
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
end
|
|
220
|
+
sig do
|
|
221
|
+
override.returns(
|
|
222
|
+
T::Array[Increase::ExportListParams::Category::TaggedSymbol]
|
|
223
|
+
)
|
|
224
|
+
end
|
|
225
|
+
def self.values
|
|
257
226
|
end
|
|
258
227
|
end
|
|
259
228
|
|
|
@@ -331,6 +300,62 @@ module Increase
|
|
|
331
300
|
end
|
|
332
301
|
end
|
|
333
302
|
|
|
303
|
+
class Form1099Int < Increase::Internal::Type::BaseModel
|
|
304
|
+
OrHash =
|
|
305
|
+
T.type_alias do
|
|
306
|
+
T.any(
|
|
307
|
+
Increase::ExportListParams::Form1099Int,
|
|
308
|
+
Increase::Internal::AnyHash
|
|
309
|
+
)
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Filter Form 1099-INT Exports to those for the specified Account.
|
|
313
|
+
sig { returns(T.nilable(String)) }
|
|
314
|
+
attr_reader :account_id
|
|
315
|
+
|
|
316
|
+
sig { params(account_id: String).void }
|
|
317
|
+
attr_writer :account_id
|
|
318
|
+
|
|
319
|
+
sig { params(account_id: String).returns(T.attached_class) }
|
|
320
|
+
def self.new(
|
|
321
|
+
# Filter Form 1099-INT Exports to those for the specified Account.
|
|
322
|
+
account_id: nil
|
|
323
|
+
)
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
sig { override.returns({ account_id: String }) }
|
|
327
|
+
def to_hash
|
|
328
|
+
end
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class Form1099Misc < Increase::Internal::Type::BaseModel
|
|
332
|
+
OrHash =
|
|
333
|
+
T.type_alias do
|
|
334
|
+
T.any(
|
|
335
|
+
Increase::ExportListParams::Form1099Misc,
|
|
336
|
+
Increase::Internal::AnyHash
|
|
337
|
+
)
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# Filter Form 1099-MISC Exports to those for the specified Account.
|
|
341
|
+
sig { returns(T.nilable(String)) }
|
|
342
|
+
attr_reader :account_id
|
|
343
|
+
|
|
344
|
+
sig { params(account_id: String).void }
|
|
345
|
+
attr_writer :account_id
|
|
346
|
+
|
|
347
|
+
sig { params(account_id: String).returns(T.attached_class) }
|
|
348
|
+
def self.new(
|
|
349
|
+
# Filter Form 1099-MISC Exports to those for the specified Account.
|
|
350
|
+
account_id: nil
|
|
351
|
+
)
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
sig { override.returns({ account_id: String }) }
|
|
355
|
+
def to_hash
|
|
356
|
+
end
|
|
357
|
+
end
|
|
358
|
+
|
|
334
359
|
class Status < Increase::Internal::Type::BaseModel
|
|
335
360
|
OrHash =
|
|
336
361
|
T.type_alias do
|
|
@@ -73,9 +73,11 @@ module Increase
|
|
|
73
73
|
# List Exports
|
|
74
74
|
sig do
|
|
75
75
|
params(
|
|
76
|
-
category: Increase::ExportListParams::Category::
|
|
76
|
+
category: Increase::ExportListParams::Category::OrSymbol,
|
|
77
77
|
created_at: Increase::ExportListParams::CreatedAt::OrHash,
|
|
78
78
|
cursor: String,
|
|
79
|
+
form_1099_int: Increase::ExportListParams::Form1099Int::OrHash,
|
|
80
|
+
form_1099_misc: Increase::ExportListParams::Form1099Misc::OrHash,
|
|
79
81
|
idempotency_key: String,
|
|
80
82
|
limit: Integer,
|
|
81
83
|
status: Increase::ExportListParams::Status::OrHash,
|
|
@@ -83,10 +85,13 @@ module Increase
|
|
|
83
85
|
).returns(Increase::Internal::Page[Increase::Export])
|
|
84
86
|
end
|
|
85
87
|
def list(
|
|
88
|
+
# Filter Exports for those with the specified category.
|
|
86
89
|
category: nil,
|
|
87
90
|
created_at: nil,
|
|
88
91
|
# Return the page of entries after this one.
|
|
89
92
|
cursor: nil,
|
|
93
|
+
form_1099_int: nil,
|
|
94
|
+
form_1099_misc: nil,
|
|
90
95
|
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
91
96
|
# that object. This value is unique across Increase and is used to ensure that a
|
|
92
97
|
# request is only processed once. Learn more about
|
|
@@ -12,12 +12,11 @@ module Increase
|
|
|
12
12
|
created_at: Time,
|
|
13
13
|
dashboard_table_csv: Increase::Export::DashboardTableCsv?,
|
|
14
14
|
entity_csv: Increase::Export::EntityCsv?,
|
|
15
|
-
file_download_url: String?,
|
|
16
|
-
file_id: String?,
|
|
17
15
|
:form_1099_int => Increase::Export::Form1099Int?,
|
|
18
16
|
:form_1099_misc => Increase::Export::Form1099Misc?,
|
|
19
17
|
funding_instructions: Increase::Export::FundingInstructions?,
|
|
20
18
|
idempotency_key: String?,
|
|
19
|
+
result: Increase::Export::Result?,
|
|
21
20
|
status: Increase::Models::Export::status,
|
|
22
21
|
transaction_csv: Increase::Export::TransactionCsv?,
|
|
23
22
|
type: Increase::Models::Export::type_,
|
|
@@ -45,10 +44,6 @@ module Increase
|
|
|
45
44
|
|
|
46
45
|
attr_accessor entity_csv: Increase::Export::EntityCsv?
|
|
47
46
|
|
|
48
|
-
attr_accessor file_download_url: String?
|
|
49
|
-
|
|
50
|
-
attr_accessor file_id: String?
|
|
51
|
-
|
|
52
47
|
attr_accessor form_1099_int: Increase::Export::Form1099Int?
|
|
53
48
|
|
|
54
49
|
attr_accessor form_1099_misc: Increase::Export::Form1099Misc?
|
|
@@ -57,6 +52,8 @@ module Increase
|
|
|
57
52
|
|
|
58
53
|
attr_accessor idempotency_key: String?
|
|
59
54
|
|
|
55
|
+
attr_accessor result: Increase::Export::Result?
|
|
56
|
+
|
|
60
57
|
attr_accessor status: Increase::Models::Export::status
|
|
61
58
|
|
|
62
59
|
attr_accessor transaction_csv: Increase::Export::TransactionCsv?
|
|
@@ -76,12 +73,11 @@ module Increase
|
|
|
76
73
|
created_at: Time,
|
|
77
74
|
dashboard_table_csv: Increase::Export::DashboardTableCsv?,
|
|
78
75
|
entity_csv: Increase::Export::EntityCsv?,
|
|
79
|
-
file_download_url: String?,
|
|
80
|
-
file_id: String?,
|
|
81
76
|
form_1099_int: Increase::Export::Form1099Int?,
|
|
82
77
|
form_1099_misc: Increase::Export::Form1099Misc?,
|
|
83
78
|
funding_instructions: Increase::Export::FundingInstructions?,
|
|
84
79
|
idempotency_key: String?,
|
|
80
|
+
result: Increase::Export::Result?,
|
|
85
81
|
status: Increase::Models::Export::status,
|
|
86
82
|
transaction_csv: Increase::Export::TransactionCsv?,
|
|
87
83
|
type: Increase::Models::Export::type_,
|
|
@@ -99,12 +95,11 @@ module Increase
|
|
|
99
95
|
created_at: Time,
|
|
100
96
|
dashboard_table_csv: Increase::Export::DashboardTableCsv?,
|
|
101
97
|
entity_csv: Increase::Export::EntityCsv?,
|
|
102
|
-
file_download_url: String?,
|
|
103
|
-
file_id: String?,
|
|
104
98
|
:form_1099_int => Increase::Export::Form1099Int?,
|
|
105
99
|
:form_1099_misc => Increase::Export::Form1099Misc?,
|
|
106
100
|
funding_instructions: Increase::Export::FundingInstructions?,
|
|
107
101
|
idempotency_key: String?,
|
|
102
|
+
result: Increase::Export::Result?,
|
|
108
103
|
status: Increase::Models::Export::status,
|
|
109
104
|
transaction_csv: Increase::Export::TransactionCsv?,
|
|
110
105
|
type: Increase::Models::Export::type_,
|
|
@@ -382,6 +377,16 @@ module Increase
|
|
|
382
377
|
def to_hash: -> { account_number_id: String }
|
|
383
378
|
end
|
|
384
379
|
|
|
380
|
+
type result = { file_id: String }
|
|
381
|
+
|
|
382
|
+
class Result < Increase::Internal::Type::BaseModel
|
|
383
|
+
attr_accessor file_id: String
|
|
384
|
+
|
|
385
|
+
def initialize: (file_id: String) -> void
|
|
386
|
+
|
|
387
|
+
def to_hash: -> { file_id: String }
|
|
388
|
+
end
|
|
389
|
+
|
|
385
390
|
type status = :pending | :complete | :failed
|
|
386
391
|
|
|
387
392
|
module Status
|
|
@@ -2,9 +2,11 @@ module Increase
|
|
|
2
2
|
module Models
|
|
3
3
|
type export_list_params =
|
|
4
4
|
{
|
|
5
|
-
category: Increase::ExportListParams::
|
|
5
|
+
category: Increase::Models::ExportListParams::category,
|
|
6
6
|
created_at: Increase::ExportListParams::CreatedAt,
|
|
7
7
|
cursor: String,
|
|
8
|
+
:form_1099_int => Increase::ExportListParams::Form1099Int,
|
|
9
|
+
:form_1099_misc => Increase::ExportListParams::Form1099Misc,
|
|
8
10
|
idempotency_key: String,
|
|
9
11
|
limit: Integer,
|
|
10
12
|
status: Increase::ExportListParams::Status
|
|
@@ -15,11 +17,11 @@ module Increase
|
|
|
15
17
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
16
18
|
include Increase::Internal::Type::RequestParameters
|
|
17
19
|
|
|
18
|
-
attr_reader category: Increase::ExportListParams::
|
|
20
|
+
attr_reader category: Increase::Models::ExportListParams::category?
|
|
19
21
|
|
|
20
22
|
def category=: (
|
|
21
|
-
Increase::ExportListParams::
|
|
22
|
-
) -> Increase::ExportListParams::
|
|
23
|
+
Increase::Models::ExportListParams::category
|
|
24
|
+
) -> Increase::Models::ExportListParams::category
|
|
23
25
|
|
|
24
26
|
attr_reader created_at: Increase::ExportListParams::CreatedAt?
|
|
25
27
|
|
|
@@ -31,6 +33,18 @@ module Increase
|
|
|
31
33
|
|
|
32
34
|
def cursor=: (String) -> String
|
|
33
35
|
|
|
36
|
+
attr_reader form_1099_int: Increase::ExportListParams::Form1099Int?
|
|
37
|
+
|
|
38
|
+
def form_1099_int=: (
|
|
39
|
+
Increase::ExportListParams::Form1099Int
|
|
40
|
+
) -> Increase::ExportListParams::Form1099Int
|
|
41
|
+
|
|
42
|
+
attr_reader form_1099_misc: Increase::ExportListParams::Form1099Misc?
|
|
43
|
+
|
|
44
|
+
def form_1099_misc=: (
|
|
45
|
+
Increase::ExportListParams::Form1099Misc
|
|
46
|
+
) -> Increase::ExportListParams::Form1099Misc
|
|
47
|
+
|
|
34
48
|
attr_reader idempotency_key: String?
|
|
35
49
|
|
|
36
50
|
def idempotency_key=: (String) -> String
|
|
@@ -46,9 +60,11 @@ module Increase
|
|
|
46
60
|
) -> Increase::ExportListParams::Status
|
|
47
61
|
|
|
48
62
|
def initialize: (
|
|
49
|
-
?category: Increase::ExportListParams::
|
|
63
|
+
?category: Increase::Models::ExportListParams::category,
|
|
50
64
|
?created_at: Increase::ExportListParams::CreatedAt,
|
|
51
65
|
?cursor: String,
|
|
66
|
+
?form_1099_int: Increase::ExportListParams::Form1099Int,
|
|
67
|
+
?form_1099_misc: Increase::ExportListParams::Form1099Misc,
|
|
52
68
|
?idempotency_key: String,
|
|
53
69
|
?limit: Integer,
|
|
54
70
|
?status: Increase::ExportListParams::Status,
|
|
@@ -56,9 +72,11 @@ module Increase
|
|
|
56
72
|
) -> void
|
|
57
73
|
|
|
58
74
|
def to_hash: -> {
|
|
59
|
-
category: Increase::ExportListParams::
|
|
75
|
+
category: Increase::Models::ExportListParams::category,
|
|
60
76
|
created_at: Increase::ExportListParams::CreatedAt,
|
|
61
77
|
cursor: String,
|
|
78
|
+
:form_1099_int => Increase::ExportListParams::Form1099Int,
|
|
79
|
+
:form_1099_misc => Increase::ExportListParams::Form1099Misc,
|
|
62
80
|
idempotency_key: String,
|
|
63
81
|
limit: Integer,
|
|
64
82
|
status: Increase::ExportListParams::Status,
|
|
@@ -66,78 +84,59 @@ module Increase
|
|
|
66
84
|
}
|
|
67
85
|
|
|
68
86
|
type category =
|
|
69
|
-
|
|
87
|
+
:account_statement_ofx
|
|
88
|
+
| :account_statement_bai2
|
|
89
|
+
| :transaction_csv
|
|
90
|
+
| :balance_csv
|
|
91
|
+
| :bookkeeping_account_balance_csv
|
|
92
|
+
| :entity_csv
|
|
93
|
+
| :vendor_csv
|
|
94
|
+
| :dashboard_table_csv
|
|
95
|
+
| :account_verification_letter
|
|
96
|
+
| :funding_instructions
|
|
97
|
+
| :form_1099_int
|
|
98
|
+
| :form_1099_misc
|
|
70
99
|
|
|
71
|
-
|
|
72
|
-
|
|
100
|
+
module Category
|
|
101
|
+
extend Increase::Internal::Type::Enum
|
|
73
102
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
) -> ::Array[Increase::Models::ExportListParams::Category::in_]
|
|
77
|
-
|
|
78
|
-
def initialize: (
|
|
79
|
-
?in_: ::Array[Increase::Models::ExportListParams::Category::in_]
|
|
80
|
-
) -> void
|
|
81
|
-
|
|
82
|
-
def to_hash: -> {
|
|
83
|
-
in_: ::Array[Increase::Models::ExportListParams::Category::in_]
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
type in_ =
|
|
87
|
-
:account_statement_ofx
|
|
88
|
-
| :account_statement_bai2
|
|
89
|
-
| :transaction_csv
|
|
90
|
-
| :balance_csv
|
|
91
|
-
| :bookkeeping_account_balance_csv
|
|
92
|
-
| :entity_csv
|
|
93
|
-
| :vendor_csv
|
|
94
|
-
| :dashboard_table_csv
|
|
95
|
-
| :account_verification_letter
|
|
96
|
-
| :funding_instructions
|
|
97
|
-
| :form_1099_int
|
|
98
|
-
| :form_1099_misc
|
|
99
|
-
|
|
100
|
-
module In
|
|
101
|
-
extend Increase::Internal::Type::Enum
|
|
103
|
+
# Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
|
|
104
|
+
ACCOUNT_STATEMENT_OFX: :account_statement_ofx
|
|
102
105
|
|
|
103
|
-
|
|
104
|
-
|
|
106
|
+
# Export a BAI2 file of transactions and balances for a given date and optional Account.
|
|
107
|
+
ACCOUNT_STATEMENT_BAI2: :account_statement_bai2
|
|
105
108
|
|
|
106
|
-
|
|
107
|
-
|
|
109
|
+
# Export a CSV of all transactions for a given time range.
|
|
110
|
+
TRANSACTION_CSV: :transaction_csv
|
|
108
111
|
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
# Export a CSV of account balances for the dates in a given range.
|
|
113
|
+
BALANCE_CSV: :balance_csv
|
|
111
114
|
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
# Export a CSV of bookkeeping account balances for the dates in a given range.
|
|
116
|
+
BOOKKEEPING_ACCOUNT_BALANCE_CSV: :bookkeeping_account_balance_csv
|
|
114
117
|
|
|
115
|
-
|
|
116
|
-
|
|
118
|
+
# Export a CSV of entities with a given status.
|
|
119
|
+
ENTITY_CSV: :entity_csv
|
|
117
120
|
|
|
118
|
-
|
|
119
|
-
|
|
121
|
+
# Export a CSV of vendors added to the third-party risk management dashboard.
|
|
122
|
+
VENDOR_CSV: :vendor_csv
|
|
120
123
|
|
|
121
|
-
|
|
122
|
-
|
|
124
|
+
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
|
|
125
|
+
DASHBOARD_TABLE_CSV: :dashboard_table_csv
|
|
123
126
|
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
# A PDF of an account verification letter.
|
|
128
|
+
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
|
126
129
|
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
# A PDF of funding instructions.
|
|
131
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
|
129
132
|
|
|
130
|
-
|
|
131
|
-
|
|
133
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
134
|
+
FORM_1099_INT: :form_1099_int
|
|
132
135
|
|
|
133
|
-
|
|
134
|
-
|
|
136
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
137
|
+
FORM_1099_MISC: :form_1099_misc
|
|
135
138
|
|
|
136
|
-
|
|
137
|
-
FORM_1099_MISC: :form_1099_misc
|
|
138
|
-
|
|
139
|
-
def self?.values: -> ::Array[Increase::Models::ExportListParams::Category::in_]
|
|
140
|
-
end
|
|
139
|
+
def self?.values: -> ::Array[Increase::Models::ExportListParams::category]
|
|
141
140
|
end
|
|
142
141
|
|
|
143
142
|
type created_at =
|
|
@@ -175,6 +174,30 @@ module Increase
|
|
|
175
174
|
}
|
|
176
175
|
end
|
|
177
176
|
|
|
177
|
+
type form1099_int = { account_id: String }
|
|
178
|
+
|
|
179
|
+
class Form1099Int < Increase::Internal::Type::BaseModel
|
|
180
|
+
attr_reader account_id: String?
|
|
181
|
+
|
|
182
|
+
def account_id=: (String) -> String
|
|
183
|
+
|
|
184
|
+
def initialize: (?account_id: String) -> void
|
|
185
|
+
|
|
186
|
+
def to_hash: -> { account_id: String }
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
type form1099_misc = { account_id: String }
|
|
190
|
+
|
|
191
|
+
class Form1099Misc < Increase::Internal::Type::BaseModel
|
|
192
|
+
attr_reader account_id: String?
|
|
193
|
+
|
|
194
|
+
def account_id=: (String) -> String
|
|
195
|
+
|
|
196
|
+
def initialize: (?account_id: String) -> void
|
|
197
|
+
|
|
198
|
+
def to_hash: -> { account_id: String }
|
|
199
|
+
end
|
|
200
|
+
|
|
178
201
|
type status =
|
|
179
202
|
{ in_: ::Array[Increase::Models::ExportListParams::Status::in_] }
|
|
180
203
|
|
|
@@ -21,9 +21,11 @@ module Increase
|
|
|
21
21
|
) -> Increase::Export
|
|
22
22
|
|
|
23
23
|
def list: (
|
|
24
|
-
?category: Increase::ExportListParams::
|
|
24
|
+
?category: Increase::Models::ExportListParams::category,
|
|
25
25
|
?created_at: Increase::ExportListParams::CreatedAt,
|
|
26
26
|
?cursor: String,
|
|
27
|
+
?form_1099_int: Increase::ExportListParams::Form1099Int,
|
|
28
|
+
?form_1099_misc: Increase::ExportListParams::Form1099Misc,
|
|
27
29
|
?idempotency_key: String,
|
|
28
30
|
?limit: Integer,
|
|
29
31
|
?status: Increase::ExportListParams::Status,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.198.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|