increase 1.197.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 +8 -0
- data/README.md +1 -1
- 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_list_params.rbi +165 -140
- data/rbi/increase/resources/exports.rbi +6 -1
- 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,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 1.197.0 (2026-02-03)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.196.0...v1.197.0](https://github.com/Increase/increase-ruby/compare/v1.196.0...v1.197.0)
|
data/README.md
CHANGED
|
@@ -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
|
@@ -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
|
|
@@ -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
|