increase 1.196.0 → 1.197.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.rb +25 -19
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/export.rbi +37 -20
- data/sig/increase/models/export.rbs +15 -10
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0d45b6bb1a5ca237e4d118bebde6644d33e67efbc87250f487f8bd85515db14
|
|
4
|
+
data.tar.gz: 963c440662d055d69e8e40ce709d124e63e6999f65c600790609825edf28314e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23092a1d29917983d86c048dcc4b06e43f90d9b99db9155a3becca11220f9c88c25791a1c8f15e280f48724d7e90f5c93a5ea50aeae0b00a117fd83ee7475625
|
|
7
|
+
data.tar.gz: 797e04eebb1992082fac2365780fd684e2b72c36d0b36931ca5b791f4450d2c120e4c4743c4291e90dabc0a5bc2c986077f5012538a662af252a19ef5df2620c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.197.0 (2026-02-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.196.0...v1.197.0](https://github.com/Increase/increase-ruby/compare/v1.196.0...v1.197.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([afef769](https://github.com/Increase/increase-ruby/commit/afef769328f334db3ef6c88104753664da8ba3bc))
|
|
10
|
+
|
|
3
11
|
## 1.196.0 (2026-02-03)
|
|
4
12
|
|
|
5
13
|
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
|
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
|
|
@@ -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
|