Skip to content

Commit c249fc4

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.528.1
1 parent 7f12e68 commit c249fc4

File tree

266 files changed

+2428
-385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+2428
-385
lines changed

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
speakeasyVersion: 1.526.6
1+
speakeasyVersion: 1.528.1
22
sources:
33
accounting:
44
sourceNamespace: apideck-accounting-only-oas
5-
sourceRevisionDigest: sha256:95ccb85226f80edb58123936e1dab78b566d493595afd00b1d206ec4f012cde0
6-
sourceBlobDigest: sha256:8e17e0fd65fc4724f830a9ee87778bf29c2588e2a58515faeb5d16431df21432
5+
sourceRevisionDigest: sha256:9fa89cb76f10fb8a977ac01fb6acf30cb04d28bb18046382ea257be6bd2dfa1a
6+
sourceBlobDigest: sha256:85a648d880e8850031a6e24eb08760b22c9d8d2004fdbd202cfff20f9f1fb72d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1743512939
10-
- 10.14.0
9+
- speakeasy-sdk-regen-1743552304
10+
- 10.14.1
1111
lending:
1212
sourceNamespace: lending
1313
sourceRevisionDigest: sha256:178885971cf1c04155e742359cad4b10d0eba3a8d7de8e7a64d2e33a0678995d
@@ -19,10 +19,10 @@ targets:
1919
accounting-py:
2020
source: accounting
2121
sourceNamespace: apideck-accounting-only-oas
22-
sourceRevisionDigest: sha256:95ccb85226f80edb58123936e1dab78b566d493595afd00b1d206ec4f012cde0
23-
sourceBlobDigest: sha256:8e17e0fd65fc4724f830a9ee87778bf29c2588e2a58515faeb5d16431df21432
22+
sourceRevisionDigest: sha256:9fa89cb76f10fb8a977ac01fb6acf30cb04d28bb18046382ea257be6bd2dfa1a
23+
sourceBlobDigest: sha256:85a648d880e8850031a6e24eb08760b22c9d8d2004fdbd202cfff20f9f1fb72d
2424
codeSamplesNamespace: apideck-accounting-only-oas-python-code-samples
25-
codeSamplesRevisionDigest: sha256:334b4bebbf87648eeed29205ec6213a8e3fecece38e68c2b55724ecd894e3293
25+
codeSamplesRevisionDigest: sha256:59b10e4d5c539e934aa67b0a0fecd59662c60536aad300e3c320c43d71b7a028
2626
accounting-ts:
2727
source: accounting
2828
sourceNamespace: accounting

accounting/.speakeasy/gen.lock

Lines changed: 116 additions & 11 deletions
Large diffs are not rendered by default.

accounting/.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: true
1919
oAuth2PasswordEnabled: true
2020
python:
21-
version: 0.10.0
21+
version: 0.11.0
2222
additionalDependencies:
2323
dev: {}
2424
main: {}

accounting/README-PYPI.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ For more information about the API: [Apideck Developer Docs](https://developers.
2727
* [Authentication](https://github.com/apideck-libraries/sdk-python-pack/blob/master/#authentication)
2828
* [Available Resources and Operations](https://github.com/apideck-libraries/sdk-python-pack/blob/master/#available-resources-and-operations)
2929
* [Pagination](https://github.com/apideck-libraries/sdk-python-pack/blob/master/#pagination)
30+
* [File uploads](https://github.com/apideck-libraries/sdk-python-pack/blob/master/#file-uploads)
3031
* [Retries](https://github.com/apideck-libraries/sdk-python-pack/blob/master/#retries)
3132
* [Error Handling](https://github.com/apideck-libraries/sdk-python-pack/blob/master/#error-handling)
3233
* [Server Selection](https://github.com/apideck-libraries/sdk-python-pack/blob/master/#server-selection)
@@ -226,13 +227,18 @@ with Apideck(
226227
### [accounting](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/accounting/README.md)
227228

228229

230+
#### [accounting.aged_creditors](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/agedcreditorssdk/README.md)
231+
232+
* [get](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/agedcreditorssdk/README.md#get) - Get Aged Creditors
233+
229234
#### [accounting.aged_debtors](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/ageddebtorssdk/README.md)
230235

231236
* [get](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/ageddebtorssdk/README.md#get) - Get Aged Debtors
232237

233238
#### [accounting.attachments](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/attachments/README.md)
234239

235240
* [list](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/attachments/README.md#list) - List Attachments
241+
* [upload](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/attachments/README.md#upload) - Upload attachment
236242
* [get](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/attachments/README.md#get) - Get Attachment
237243
* [delete](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/attachments/README.md#delete) - Delete Attachment
238244
* [download](https://github.com/apideck-libraries/sdk-python-pack/blob/master/docs/sdks/attachments/README.md#download) - Download Attachment
@@ -483,6 +489,38 @@ with Apideck(
483489
```
484490
<!-- End Pagination [pagination] -->
485491

492+
<!-- Start File uploads [file-upload] -->
493+
## File uploads
494+
495+
Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
496+
497+
> [!TIP]
498+
>
499+
> For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
500+
>
501+
502+
```python
503+
import apideck_accounting_unify
504+
from apideck_accounting_unify import Apideck
505+
import os
506+
507+
508+
with Apideck(
509+
api_key=os.getenv("APIDECK_API_KEY", ""),
510+
consumer_id="test-consumer",
511+
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
512+
) as apideck:
513+
514+
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce")
515+
516+
assert res.create_attachment_response is not None
517+
518+
# Handle response
519+
print(res.create_attachment_response)
520+
521+
```
522+
<!-- End File uploads [file-upload] -->
523+
486524
<!-- Start Retries [retries] -->
487525
## Retries
488526

@@ -660,6 +698,30 @@ with Apideck(
660698

661699
res = res.next()
662700

701+
```
702+
703+
### Override Server URL Per-Operation
704+
705+
The server URL can also be overridden on a per-operation basis, provided a server list was specified for the operation. For example:
706+
```python
707+
import apideck_accounting_unify
708+
from apideck_accounting_unify import Apideck
709+
import os
710+
711+
712+
with Apideck(
713+
api_key=os.getenv("APIDECK_API_KEY", ""),
714+
consumer_id="test-consumer",
715+
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
716+
) as apideck:
717+
718+
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", server_url="https://upload.apideck.com")
719+
720+
assert res.create_attachment_response is not None
721+
722+
# Handle response
723+
print(res.create_attachment_response)
724+
663725
```
664726
<!-- End Server Selection [server] -->
665727

accounting/README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ For more information about the API: [Apideck Developer Docs](https://developers.
2727
* [Authentication](#authentication)
2828
* [Available Resources and Operations](#available-resources-and-operations)
2929
* [Pagination](#pagination)
30+
* [File uploads](#file-uploads)
3031
* [Retries](#retries)
3132
* [Error Handling](#error-handling)
3233
* [Server Selection](#server-selection)
@@ -226,13 +227,18 @@ with Apideck(
226227
### [accounting](docs/sdks/accounting/README.md)
227228

228229

230+
#### [accounting.aged_creditors](docs/sdks/agedcreditorssdk/README.md)
231+
232+
* [get](docs/sdks/agedcreditorssdk/README.md#get) - Get Aged Creditors
233+
229234
#### [accounting.aged_debtors](docs/sdks/ageddebtorssdk/README.md)
230235

231236
* [get](docs/sdks/ageddebtorssdk/README.md#get) - Get Aged Debtors
232237

233238
#### [accounting.attachments](docs/sdks/attachments/README.md)
234239

235240
* [list](docs/sdks/attachments/README.md#list) - List Attachments
241+
* [upload](docs/sdks/attachments/README.md#upload) - Upload attachment
236242
* [get](docs/sdks/attachments/README.md#get) - Get Attachment
237243
* [delete](docs/sdks/attachments/README.md#delete) - Delete Attachment
238244
* [download](docs/sdks/attachments/README.md#download) - Download Attachment
@@ -483,6 +489,38 @@ with Apideck(
483489
```
484490
<!-- End Pagination [pagination] -->
485491

492+
<!-- Start File uploads [file-upload] -->
493+
## File uploads
494+
495+
Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
496+
497+
> [!TIP]
498+
>
499+
> For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
500+
>
501+
502+
```python
503+
import apideck_accounting_unify
504+
from apideck_accounting_unify import Apideck
505+
import os
506+
507+
508+
with Apideck(
509+
api_key=os.getenv("APIDECK_API_KEY", ""),
510+
consumer_id="test-consumer",
511+
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
512+
) as apideck:
513+
514+
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce")
515+
516+
assert res.create_attachment_response is not None
517+
518+
# Handle response
519+
print(res.create_attachment_response)
520+
521+
```
522+
<!-- End File uploads [file-upload] -->
523+
486524
<!-- Start Retries [retries] -->
487525
## Retries
488526

@@ -660,6 +698,30 @@ with Apideck(
660698

661699
res = res.next()
662700

701+
```
702+
703+
### Override Server URL Per-Operation
704+
705+
The server URL can also be overridden on a per-operation basis, provided a server list was specified for the operation. For example:
706+
```python
707+
import apideck_accounting_unify
708+
from apideck_accounting_unify import Apideck
709+
import os
710+
711+
712+
with Apideck(
713+
api_key=os.getenv("APIDECK_API_KEY", ""),
714+
consumer_id="test-consumer",
715+
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
716+
) as apideck:
717+
718+
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", server_url="https://upload.apideck.com")
719+
720+
assert res.create_attachment_response is not None
721+
722+
# Handle response
723+
print(res.create_attachment_response)
724+
663725
```
664726
<!-- End Server Selection [server] -->
665727

accounting/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,14 @@ Based on:
1818
### Generated
1919
- [python v0.10.0] accounting
2020
### Releases
21-
- [PyPI v0.10.0] https://pypi.org/project/apideck-accounting-unify/0.10.0 - accounting
21+
- [PyPI v0.10.0] https://pypi.org/project/apideck-accounting-unify/0.10.0 - accounting
22+
23+
## 2025-04-03 15:58:55
24+
### Changes
25+
Based on:
26+
- OpenAPI Doc
27+
- Speakeasy CLI 1.528.1 (2.565.1) https://github.com/speakeasy-api/speakeasy
28+
### Generated
29+
- [python v0.11.0] accounting
30+
### Releases
31+
- [PyPI v0.11.0] https://pypi.org/project/apideck-accounting-unify/0.11.0 - accounting
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# AccountingAgedCreditorsOneGlobals
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
8+
| `consumer_id` | *Optional[str]* | :heavy_minus_sign: | ID of the consumer which you want to get or push data from | test-consumer |
9+
| `app_id` | *Optional[str]* | :heavy_minus_sign: | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |

0 commit comments

Comments
 (0)