Skip to content

Commit ce854cb

Browse files
feat(api): api update
1 parent 77a5b43 commit ce854cb

2 files changed

Lines changed: 19 additions & 14 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 232
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e4964214d12e5148412669194fb43b6ee50ed76c5208a954c9bec8033a9a760b.yml
3-
openapi_spec_hash: 85c9b7ba095f62dc6b5ffad9d3d8ed72
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6a089f62e0825b943563fb885786306e446f8e35f777c55c024e57447194aabf.yml
3+
openapi_spec_hash: 2d2faf76bfb1b2a3b8dac458f95abe08
44
config_hash: 27e44ed36b9c5617b580ead7231a594a

src/increase/types/export.py

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"Form1099Int",
2222
"Form1099Misc",
2323
"FundingInstructions",
24+
"Result",
2425
"TransactionCsv",
2526
"TransactionCsvCreatedAt",
2627
"VendorCsv",
@@ -188,6 +189,16 @@ class FundingInstructions(BaseModel):
188189
"""The Account Number to create funding instructions for."""
189190

190191

192+
class Result(BaseModel):
193+
"""The result of the Export.
194+
195+
This will be present when the Export's status transitions to `complete`.
196+
"""
197+
198+
file_id: str
199+
"""The File containing the contents of the Export."""
200+
201+
191202
class TransactionCsvCreatedAt(BaseModel):
192203
"""Filter transactions by their created date."""
193204

@@ -318,18 +329,6 @@ class Export(BaseModel):
318329
This field will be present when the `category` is equal to `entity_csv`.
319330
"""
320331

321-
file_download_url: Optional[str] = None
322-
"""A URL at which the Export's file can be downloaded.
323-
324-
This will be present when the Export's status transitions to `complete`.
325-
"""
326-
327-
file_id: Optional[str] = None
328-
"""The File containing the contents of the Export.
329-
330-
This will be present when the Export's status transitions to `complete`.
331-
"""
332-
333332
form_1099_int: Optional[Form1099Int] = None
334333
"""Details of the Form 1099-INT export.
335334
@@ -357,6 +356,12 @@ class Export(BaseModel):
357356
[idempotency](https://increase.com/documentation/idempotency-keys).
358357
"""
359358

359+
result: Optional[Result] = None
360+
"""The result of the Export.
361+
362+
This will be present when the Export's status transitions to `complete`.
363+
"""
364+
360365
status: Literal["pending", "complete", "failed"]
361366
"""The status of the Export.
362367

0 commit comments

Comments
 (0)