Skip to content

Commit 88bcbdb

Browse files
feat(api): api update
1 parent 5ebee16 commit 88bcbdb

File tree

7 files changed

+105
-2
lines changed

7 files changed

+105
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 230
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1d2c6658404319b576b7bc1c75242f23493b8ffedefd81b41b36dc5456af766a.yml
3-
openapi_spec_hash: 0d8eeda32c249e6371843545f8f211ff
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-acaa7510acabd57dfdde78063277cef0c611dd42abd998e5f1f851c4655e8fd0.yml
3+
openapi_spec_hash: d0684f4b10e09e2585ad70360531501c
44
config_hash: ff2eb5f192b4de36611b37b27961c2d8

lib/increase/models/export.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,18 @@ module Category
115115
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
116116
DASHBOARD_TABLE_CSV = :dashboard_table_csv
117117

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+
118130
# @!method self.values
119131
# @return [Array<Symbol>]
120132
end

lib/increase/models/export_list_params.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,18 @@ module In
106106
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
107107
DASHBOARD_TABLE_CSV = :dashboard_table_csv
108108

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+
109121
# @!method self.values
110122
# @return [Array<Symbol>]
111123
end

rbi/increase/models/export.rbi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,25 @@ module Increase
154154
DASHBOARD_TABLE_CSV =
155155
T.let(:dashboard_table_csv, Increase::Export::Category::TaggedSymbol)
156156

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+
157176
sig do
158177
override.returns(T::Array[Increase::Export::Category::TaggedSymbol])
159178
end

rbi/increase/models/export_list_params.rbi

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,34 @@ module Increase
219219
Increase::ExportListParams::Category::In::TaggedSymbol
220220
)
221221

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+
222250
sig do
223251
override.returns(
224252
T::Array[Increase::ExportListParams::Category::In::TaggedSymbol]

sig/increase/models/export.rbs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ module Increase
6060
| :entity_csv
6161
| :vendor_csv
6262
| :dashboard_table_csv
63+
| :account_verification_letter
64+
| :funding_instructions
65+
| :form_1099_int
66+
| :form_1099_misc
6367

6468
module Category
6569
extend Increase::Internal::Type::Enum
@@ -88,6 +92,18 @@ module Increase
8892
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
8993
DASHBOARD_TABLE_CSV: :dashboard_table_csv
9094

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+
91107
def self?.values: -> ::Array[Increase::Models::Export::category]
92108
end
93109

sig/increase/models/export_list_params.rbs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ module Increase
9292
| :entity_csv
9393
| :vendor_csv
9494
| :dashboard_table_csv
95+
| :account_verification_letter
96+
| :funding_instructions
97+
| :form_1099_int
98+
| :form_1099_misc
9599

96100
module In
97101
extend Increase::Internal::Type::Enum
@@ -120,6 +124,18 @@ module Increase
120124
# Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
121125
DASHBOARD_TABLE_CSV: :dashboard_table_csv
122126

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+
123139
def self?.values: -> ::Array[Increase::Models::ExportListParams::Category::in_]
124140
end
125141
end

0 commit comments

Comments
 (0)