increase 1.165.0 → 1.166.1
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/internal/util.rb +7 -2
- data/lib/increase/models/export.rb +12 -0
- data/lib/increase/models/export_list_params.rb +12 -0
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/export.rbi +19 -0
- data/rbi/increase/models/export_list_params.rbi +28 -0
- data/sig/increase/models/export.rbs +16 -0
- data/sig/increase/models/export_list_params.rbs +16 -0
- 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: 196e6b116a53d982181ad1485313afb13f680200d6c9fad43751d6a0891c212e
|
|
4
|
+
data.tar.gz: c17efddaf33b807889acce712a01b4795018e7b3876c4376cfb7ce2698c23c7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ccc0039065357b7db207ccbe182a5428fa03f2cf6fd50d62825e3fcd9a4d9840c6d36ae9d3a2b85c540b86e2b8697790b6fc057d94731f4cecea3cb630222ec
|
|
7
|
+
data.tar.gz: 0f844e51756523ac124abe4a96b29e228d292861793248de70bc260cabacc82f464b7362b1e9d161129ad05b9a9d33ddbbbe6a21886cd86faae36f53e8114f7b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.166.1 (2025-12-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.166.0...v1.166.1](https://github.com/Increase/increase-ruby/compare/v1.166.0...v1.166.1)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* issue where json.parse errors when receiving HTTP 204 with nobody ([35cc667](https://github.com/Increase/increase-ruby/commit/35cc6675facca611a5d519a87fa7affc8a0bbb8e))
|
|
10
|
+
|
|
11
|
+
## 1.166.0 (2025-12-17)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.165.0...v1.166.0](https://github.com/Increase/increase-ruby/compare/v1.165.0...v1.166.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([88bcbdb](https://github.com/Increase/increase-ruby/commit/88bcbdb902e7fb4c920d5e675385fb2a06a6ab96))
|
|
18
|
+
|
|
3
19
|
## 1.165.0 (2025-12-16)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.164.1...v1.165.0](https://github.com/Increase/increase-ruby/compare/v1.164.1...v1.165.0)
|
data/README.md
CHANGED
|
@@ -657,7 +657,8 @@ module Increase
|
|
|
657
657
|
def decode_content(headers, stream:, suppress_error: false)
|
|
658
658
|
case (content_type = headers["content-type"])
|
|
659
659
|
in Increase::Internal::Util::JSON_CONTENT
|
|
660
|
-
json = stream.to_a.join
|
|
660
|
+
return nil if (json = stream.to_a.join).empty?
|
|
661
|
+
|
|
661
662
|
begin
|
|
662
663
|
JSON.parse(json, symbolize_names: true)
|
|
663
664
|
rescue JSON::ParserError => e
|
|
@@ -667,7 +668,11 @@ module Increase
|
|
|
667
668
|
in Increase::Internal::Util::JSONL_CONTENT
|
|
668
669
|
lines = decode_lines(stream)
|
|
669
670
|
chain_fused(lines) do |y|
|
|
670
|
-
lines.each
|
|
671
|
+
lines.each do
|
|
672
|
+
next if _1.empty?
|
|
673
|
+
|
|
674
|
+
y << JSON.parse(_1, symbolize_names: true)
|
|
675
|
+
end
|
|
671
676
|
end
|
|
672
677
|
in %r{^text/event-stream}
|
|
673
678
|
lines = decode_lines(stream)
|
|
@@ -115,6 +115,18 @@ module Increase
|
|
|
115
115
|
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
|
|
116
116
|
DASHBOARD_TABLE_CSV = :dashboard_table_csv
|
|
117
117
|
|
|
118
|
+
# A PDF of an account verification letter.
|
|
119
|
+
ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
|
|
120
|
+
|
|
121
|
+
# A PDF of funding instructions.
|
|
122
|
+
FUNDING_INSTRUCTIONS = :funding_instructions
|
|
123
|
+
|
|
124
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
125
|
+
FORM_1099_INT = :form_1099_int
|
|
126
|
+
|
|
127
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
128
|
+
FORM_1099_MISC = :form_1099_misc
|
|
129
|
+
|
|
118
130
|
# @!method self.values
|
|
119
131
|
# @return [Array<Symbol>]
|
|
120
132
|
end
|
|
@@ -106,6 +106,18 @@ module Increase
|
|
|
106
106
|
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
|
|
107
107
|
DASHBOARD_TABLE_CSV = :dashboard_table_csv
|
|
108
108
|
|
|
109
|
+
# A PDF of an account verification letter.
|
|
110
|
+
ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
|
|
111
|
+
|
|
112
|
+
# A PDF of funding instructions.
|
|
113
|
+
FUNDING_INSTRUCTIONS = :funding_instructions
|
|
114
|
+
|
|
115
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
116
|
+
FORM_1099_INT = :form_1099_int
|
|
117
|
+
|
|
118
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
119
|
+
FORM_1099_MISC = :form_1099_misc
|
|
120
|
+
|
|
109
121
|
# @!method self.values
|
|
110
122
|
# @return [Array<Symbol>]
|
|
111
123
|
end
|
data/lib/increase/version.rb
CHANGED
|
@@ -154,6 +154,25 @@ module Increase
|
|
|
154
154
|
DASHBOARD_TABLE_CSV =
|
|
155
155
|
T.let(:dashboard_table_csv, Increase::Export::Category::TaggedSymbol)
|
|
156
156
|
|
|
157
|
+
# A PDF of an account verification letter.
|
|
158
|
+
ACCOUNT_VERIFICATION_LETTER =
|
|
159
|
+
T.let(
|
|
160
|
+
:account_verification_letter,
|
|
161
|
+
Increase::Export::Category::TaggedSymbol
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
# A PDF of funding instructions.
|
|
165
|
+
FUNDING_INSTRUCTIONS =
|
|
166
|
+
T.let(:funding_instructions, Increase::Export::Category::TaggedSymbol)
|
|
167
|
+
|
|
168
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
169
|
+
FORM_1099_INT =
|
|
170
|
+
T.let(:form_1099_int, Increase::Export::Category::TaggedSymbol)
|
|
171
|
+
|
|
172
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
173
|
+
FORM_1099_MISC =
|
|
174
|
+
T.let(:form_1099_misc, Increase::Export::Category::TaggedSymbol)
|
|
175
|
+
|
|
157
176
|
sig do
|
|
158
177
|
override.returns(T::Array[Increase::Export::Category::TaggedSymbol])
|
|
159
178
|
end
|
|
@@ -219,6 +219,34 @@ module Increase
|
|
|
219
219
|
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
220
220
|
)
|
|
221
221
|
|
|
222
|
+
# A PDF of an account verification letter.
|
|
223
|
+
ACCOUNT_VERIFICATION_LETTER =
|
|
224
|
+
T.let(
|
|
225
|
+
:account_verification_letter,
|
|
226
|
+
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
227
|
+
)
|
|
228
|
+
|
|
229
|
+
# A PDF of funding instructions.
|
|
230
|
+
FUNDING_INSTRUCTIONS =
|
|
231
|
+
T.let(
|
|
232
|
+
:funding_instructions,
|
|
233
|
+
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
234
|
+
)
|
|
235
|
+
|
|
236
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
237
|
+
FORM_1099_INT =
|
|
238
|
+
T.let(
|
|
239
|
+
:form_1099_int,
|
|
240
|
+
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
241
|
+
)
|
|
242
|
+
|
|
243
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
244
|
+
FORM_1099_MISC =
|
|
245
|
+
T.let(
|
|
246
|
+
:form_1099_misc,
|
|
247
|
+
Increase::ExportListParams::Category::In::TaggedSymbol
|
|
248
|
+
)
|
|
249
|
+
|
|
222
250
|
sig do
|
|
223
251
|
override.returns(
|
|
224
252
|
T::Array[Increase::ExportListParams::Category::In::TaggedSymbol]
|
|
@@ -60,6 +60,10 @@ module Increase
|
|
|
60
60
|
| :entity_csv
|
|
61
61
|
| :vendor_csv
|
|
62
62
|
| :dashboard_table_csv
|
|
63
|
+
| :account_verification_letter
|
|
64
|
+
| :funding_instructions
|
|
65
|
+
| :form_1099_int
|
|
66
|
+
| :form_1099_misc
|
|
63
67
|
|
|
64
68
|
module Category
|
|
65
69
|
extend Increase::Internal::Type::Enum
|
|
@@ -88,6 +92,18 @@ module Increase
|
|
|
88
92
|
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
|
|
89
93
|
DASHBOARD_TABLE_CSV: :dashboard_table_csv
|
|
90
94
|
|
|
95
|
+
# A PDF of an account verification letter.
|
|
96
|
+
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
|
97
|
+
|
|
98
|
+
# A PDF of funding instructions.
|
|
99
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
|
100
|
+
|
|
101
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
102
|
+
FORM_1099_INT: :form_1099_int
|
|
103
|
+
|
|
104
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
105
|
+
FORM_1099_MISC: :form_1099_misc
|
|
106
|
+
|
|
91
107
|
def self?.values: -> ::Array[Increase::Models::Export::category]
|
|
92
108
|
end
|
|
93
109
|
|
|
@@ -92,6 +92,10 @@ module Increase
|
|
|
92
92
|
| :entity_csv
|
|
93
93
|
| :vendor_csv
|
|
94
94
|
| :dashboard_table_csv
|
|
95
|
+
| :account_verification_letter
|
|
96
|
+
| :funding_instructions
|
|
97
|
+
| :form_1099_int
|
|
98
|
+
| :form_1099_misc
|
|
95
99
|
|
|
96
100
|
module In
|
|
97
101
|
extend Increase::Internal::Type::Enum
|
|
@@ -120,6 +124,18 @@ module Increase
|
|
|
120
124
|
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
|
|
121
125
|
DASHBOARD_TABLE_CSV: :dashboard_table_csv
|
|
122
126
|
|
|
127
|
+
# A PDF of an account verification letter.
|
|
128
|
+
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
|
129
|
+
|
|
130
|
+
# A PDF of funding instructions.
|
|
131
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
|
132
|
+
|
|
133
|
+
# A PDF of an Internal Revenue Service Form 1099-INT.
|
|
134
|
+
FORM_1099_INT: :form_1099_int
|
|
135
|
+
|
|
136
|
+
# A PDF of an Internal Revenue Service Form 1099-MISC.
|
|
137
|
+
FORM_1099_MISC: :form_1099_misc
|
|
138
|
+
|
|
123
139
|
def self?.values: -> ::Array[Increase::Models::ExportListParams::Category::in_]
|
|
124
140
|
end
|
|
125
141
|
end
|
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.166.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|