Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🐝 Update SDK - Generate #30

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 1e0c88f5-b1c8-4198-83d8-36bd00451cd3
management:
docChecksum: 90b8a240f2307f0383af66f212b0e35e
docVersion: v2.0.0-rc.33
speakeasyVersion: 1.306.0
generationVersion: 2.340.3
releaseVersion: 2.3.1
configChecksum: 7cd69437d1748415f50593e2df20ae04
docChecksum: b490ac2541da61a0ac7ae9eaf933e4ca
docVersion: v2.0.3
speakeasyVersion: 1.344.1
generationVersion: 2.376.2
releaseVersion: 2.4.0
configChecksum: 13cc360c2e5959e3213e9358041ad16c
repoURL: https://github.com/formancehq/formance-sdk-python.git
repoSubDirectory: .
installationURL: https://github.com/formancehq/formance-sdk-python.git
Expand All @@ -15,7 +15,7 @@ features:
python:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.3
core: 4.6.9
core: 4.8.2
deprecations: 2.81.1
errors: 2.81.10
getRequestBodies: 2.81.1
Expand All @@ -42,6 +42,7 @@ generatedFiles:
- src/sdk/sdk.py
- py.typed
- pylintrc
- scripts/publish.sh
- setup.py
- src/sdk/__init__.py
- src/sdk/utils/__init__.py
Expand Down Expand Up @@ -332,7 +333,7 @@ generatedFiles:
- src/sdk/models/shared/activityreverttransactionoutput.py
- src/sdk/models/shared/orchestrationtransaction.py
- src/sdk/models/shared/orchestrationlistwalletsresponse.py
- src/sdk/models/shared/wallet.py
- src/sdk/models/shared/orchestrationwallet.py
- src/sdk/models/shared/activitygetwalletoutput.py
- src/sdk/models/shared/walletwithbalances.py
- src/sdk/models/shared/assetholder.py
Expand Down Expand Up @@ -361,7 +362,7 @@ generatedFiles:
- src/sdk/models/shared/activitydebitwallet.py
- src/sdk/models/shared/debitwalletrequest.py
- src/sdk/models/shared/activitycreditwallet.py
- src/sdk/models/shared/creditwalletrequest.py
- src/sdk/models/shared/orchestrationcreditwalletrequest.py
- src/sdk/models/shared/activitycreatetransaction.py
- src/sdk/models/shared/orchestrationposttransaction.py
- src/sdk/models/shared/activityconfirmhold.py
Expand Down Expand Up @@ -533,7 +534,9 @@ generatedFiles:
- src/sdk/models/shared/balance.py
- src/sdk/models/shared/createbalancerequest.py
- src/sdk/models/shared/createwalletresponse.py
- src/sdk/models/shared/wallet.py
- src/sdk/models/shared/createwalletrequest.py
- src/sdk/models/shared/creditwalletrequest.py
- src/sdk/models/shared/debitwalletresponse.py
- src/sdk/models/shared/getbalanceresponse.py
- src/sdk/models/shared/balancewithassets.py
Expand Down Expand Up @@ -1020,7 +1023,7 @@ generatedFiles:
- docs/models/shared/orchestrationtransaction.md
- docs/models/shared/orchestrationlistwalletsresponsecursor.md
- docs/models/shared/orchestrationlistwalletsresponse.md
- docs/models/shared/wallet.md
- docs/models/shared/orchestrationwallet.md
- docs/models/shared/activitygetwalletoutput.md
- docs/models/shared/walletwithbalancesbalances.md
- docs/models/shared/walletwithbalances.md
Expand Down Expand Up @@ -1055,7 +1058,7 @@ generatedFiles:
- docs/models/shared/activitydebitwallet.md
- docs/models/shared/debitwalletrequest.md
- docs/models/shared/activitycreditwallet.md
- docs/models/shared/creditwalletrequest.md
- docs/models/shared/orchestrationcreditwalletrequest.md
- docs/models/shared/activitycreatetransaction.md
- docs/models/shared/orchestrationposttransactionscript.md
- docs/models/shared/orchestrationposttransaction.md
Expand Down Expand Up @@ -1282,7 +1285,10 @@ generatedFiles:
- docs/models/shared/balance.md
- docs/models/shared/createbalancerequest.md
- docs/models/shared/createwalletresponse.md
- docs/models/shared/walletbalances.md
- docs/models/shared/wallet.md
- docs/models/shared/createwalletrequest.md
- docs/models/shared/creditwalletrequest.md
- docs/models/shared/debitwalletresponse.md
- docs/models/shared/getbalanceresponse.md
- docs/models/shared/balancewithassets.md
Expand Down Expand Up @@ -1335,3 +1341,4 @@ generatedFiles:
- src/sdk/_hooks/sdkhooks.py
- src/sdk/_hooks/types.py
- src/sdk/_hooks/__init__.py
- CONTRIBUTING.md
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.

## How to Report Issues

If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

The Maintainers
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,14 @@ Based on:
### Generated
- [python v2.3.1] .
### Releases
- [PyPI v2.3.1] https://pypi.org/project/formance-sdk-python/2.3.1 - .
- [PyPI v2.3.1] https://pypi.org/project/formance-sdk-python/2.3.1 - .

## 2024-07-22 00:02:14
### Changes
Based on:
- OpenAPI Doc v2.0.3
- Speakeasy CLI 1.344.1 (2.376.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.4.0] .
### Releases
- [PyPI v2.4.0] https://pypi.org/project/formance-sdk-python/2.4.0 - .
3 changes: 2 additions & 1 deletion docs/models/operations/listaccountsresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `accounts_cursor_response` | [Optional[shared.AccountsCursorResponse]](../../models/shared/accountscursorresponse.md) | :heavy_minus_sign: | OK |
| `accounts_cursor_response` | [Optional[shared.AccountsCursorResponse]](../../models/shared/accountscursorresponse.md) | :heavy_minus_sign: | OK |
| `error_response` | *Optional[errors.ErrorResponse]* | :heavy_minus_sign: | Not found |
1 change: 1 addition & 0 deletions docs/models/operations/listwalletsrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `cursor` | *Optional[str]* | :heavy_minus_sign: | Parameter used in pagination requests.<br/>Set to the value of next for the next page of results.<br/>Set to the value of previous for the previous page of results.<br/>No other parameters can be set when the pagination token is set.<br/> | aHR0cHM6Ly9nLnBhZ2UvTmVrby1SYW1lbj9zaGFyZQ== |
| `expand` | *Optional[str]* | :heavy_minus_sign: | N/A | balances |
| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | Filter wallets by metadata key value pairs. Nested objects can be used as seen in the example below. | {<br/>"admin": "true"<br/>} |
| `name` | *Optional[str]* | :heavy_minus_sign: | Filter on wallet name | wallet1 |
| `page_size` | *Optional[int]* | :heavy_minus_sign: | The maximum number of results to return per page | 100 |
8 changes: 4 additions & 4 deletions docs/models/shared/activitycreditwallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| `data` | [Optional[shared.CreditWalletRequest]](../../models/shared/creditwalletrequest.md) | :heavy_minus_sign: | N/A | {<br/>"amount": {<br/>"asset": "USD/2",<br/>"amount": 100<br/>},<br/>"metadata": {<br/>"key": ""<br/>},<br/>"sources": []<br/>} |
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `data` | [Optional[shared.OrchestrationCreditWalletRequest]](../../models/shared/orchestrationcreditwalletrequest.md) | :heavy_minus_sign: | N/A | {<br/>"amount": {<br/>"asset": "USD/2",<br/>"amount": 100<br/>},<br/>"metadata": {<br/>"key": ""<br/>},<br/>"sources": []<br/>} |
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | |
Loading