Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc v2.0.0-rc.24, Speakeasy CLI 1.274.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and Shiroy committed Apr 26, 2024
1 parent b9c25a4 commit b1b6ab8
Show file tree
Hide file tree
Showing 38 changed files with 521 additions and 207 deletions.
34 changes: 21 additions & 13 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
lockVersion: 2.0.0
id: 1e0c88f5-b1c8-4198-83d8-36bd00451cd3
management:
docChecksum: 68e0f776ba164f3551b4b29494444ee0
docVersion: v2.0.0-rc.22
speakeasyVersion: 1.253.1
generationVersion: 2.306.0
releaseVersion: 2.2.1
configChecksum: 774902a0765b0216f60c3f65c3676064
docChecksum: f82424cbd31992df4c912ba2ffe8f66c
docVersion: v2.0.0-rc.24
speakeasyVersion: 1.274.1
generationVersion: 2.314.0
releaseVersion: 2.2.2
configChecksum: b8610f6050ce2821936ac3d7e2f2ad51
repoURL: https://github.com/formancehq/formance-sdk-python.git
repoSubDirectory: .
installationURL: https://github.com/formancehq/formance-sdk-python.git
published: true
features:
python:
constsAndDefaults: 0.1.3
core: 4.6.4
core: 4.6.5
deprecations: 2.81.1
errors: 2.81.8
errors: 2.81.9
getRequestBodies: 2.81.1
globalSecurity: 2.83.5
globalServerURLs: 2.82.2
Expand Down Expand Up @@ -136,6 +136,7 @@ generatedFiles:
- src/sdk/models/operations/v2sendevent.py
- src/sdk/models/operations/addaccounttopool.py
- src/sdk/models/operations/connectorstransfer.py
- src/sdk/models/operations/createaccount.py
- src/sdk/models/operations/createbankaccount.py
- src/sdk/models/operations/createpayment.py
- src/sdk/models/operations/createpool.py
Expand Down Expand Up @@ -436,6 +437,10 @@ generatedFiles:
- src/sdk/models/shared/transferresponse.py
- src/sdk/models/shared/connector.py
- src/sdk/models/shared/transferrequest.py
- src/sdk/models/shared/paymentsaccountresponse.py
- src/sdk/models/shared/paymentsaccount.py
- src/sdk/models/shared/accounttype.py
- src/sdk/models/shared/accountrequest.py
- src/sdk/models/shared/bankaccountresponse.py
- src/sdk/models/shared/bankaccount.py
- src/sdk/models/shared/bankaccountrelatedaccounts.py
Expand Down Expand Up @@ -490,8 +495,6 @@ generatedFiles:
- src/sdk/models/shared/paymentscursor.py
- src/sdk/models/shared/poolscursor.py
- src/sdk/models/shared/transferinitiationscursor.py
- src/sdk/models/shared/paymentsaccountresponse.py
- src/sdk/models/shared/paymentsaccount.py
- src/sdk/models/shared/accountscursor.py
- src/sdk/models/shared/connectorconfigresponse.py
- src/sdk/models/shared/reversetransferinitiationrequest.py
Expand Down Expand Up @@ -701,9 +704,11 @@ generatedFiles:
- docs/models/operations/v2getworkflowresponse.md
- docs/models/operations/v2listinstancesrequest.md
- docs/models/operations/v2listinstancesresponse.md
- docs/models/operations/v2listtriggersrequest.md
- docs/models/operations/v2listtriggersresponse.md
- docs/models/operations/v2listtriggersoccurrencesrequest.md
- docs/models/operations/v2listtriggersoccurrencesresponse.md
- docs/models/operations/v2listworkflowsrequest.md
- docs/models/operations/v2listworkflowsresponse.md
- docs/models/operations/v2readtriggerrequest.md
- docs/models/operations/v2readtriggerresponse.md
Expand All @@ -716,6 +721,7 @@ generatedFiles:
- docs/models/operations/addaccounttopoolresponse.md
- docs/models/operations/connectorstransferrequest.md
- docs/models/operations/connectorstransferresponse.md
- docs/models/operations/createaccountresponse.md
- docs/models/operations/createbankaccountresponse.md
- docs/models/operations/createpaymentresponse.md
- docs/models/operations/createpoolresponse.md
Expand Down Expand Up @@ -1129,6 +1135,11 @@ generatedFiles:
- docs/models/shared/transferresponse.md
- docs/models/shared/connector.md
- docs/models/shared/transferrequest.md
- docs/models/shared/paymentsaccountresponse.md
- docs/models/shared/paymentsaccountraw.md
- docs/models/shared/paymentsaccount.md
- docs/models/shared/accounttype.md
- docs/models/shared/accountrequest.md
- docs/models/shared/bankaccountresponse.md
- docs/models/shared/bankaccount.md
- docs/models/shared/bankaccountrelatedaccounts.md
Expand Down Expand Up @@ -1217,9 +1228,6 @@ generatedFiles:
- docs/models/shared/poolscursor.md
- docs/models/shared/transferinitiationscursorcursor.md
- docs/models/shared/transferinitiationscursor.md
- docs/models/shared/paymentsaccountresponse.md
- docs/models/shared/paymentsaccountraw.md
- docs/models/shared/paymentsaccount.md
- docs/models/shared/cursor.md
- docs/models/shared/accountscursor.md
- docs/models/shared/connectorconfigresponse.md
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pip install formance-sdk-python
import sdk

s = sdk.SDK(
authorization="Bearer <YOUR_ACCESS_TOKEN_HERE>",
authorization="<YOUR_AUTHORIZATION_HERE>",
)


Expand Down Expand Up @@ -155,6 +155,7 @@ if res is not None:

* [add_account_to_pool](docs/sdks/payments/README.md#add_account_to_pool) - Add an account to a pool
* [connectors_transfer](docs/sdks/payments/README.md#connectors_transfer) - Transfer funds between Connector accounts
* [create_account](docs/sdks/payments/README.md#create_account) - Create an account
* [create_bank_account](docs/sdks/payments/README.md#create_bank_account) - Create a BankAccount in Payments and on the PSP
* [create_payment](docs/sdks/payments/README.md#create_payment) - Create a payment
* [create_pool](docs/sdks/payments/README.md#create_pool) - Create a Pool
Expand Down Expand Up @@ -259,7 +260,7 @@ import sdk
from sdk.models import errors, operations, shared

s = sdk.SDK(
authorization="Bearer <YOUR_ACCESS_TOKEN_HERE>",
authorization="<YOUR_AUTHORIZATION_HERE>",
)

req = operations.CreateTransactionsRequest(
Expand Down Expand Up @@ -316,7 +317,7 @@ import sdk

s = sdk.SDK(
server_idx=0,
authorization="Bearer <YOUR_ACCESS_TOKEN_HERE>",
authorization="<YOUR_AUTHORIZATION_HERE>",
)


Expand All @@ -337,7 +338,7 @@ import sdk

s = sdk.SDK(
server_url="http://localhost",
authorization="Bearer <YOUR_ACCESS_TOKEN_HERE>",
authorization="<YOUR_AUTHORIZATION_HERE>",
)


Expand Down Expand Up @@ -382,7 +383,7 @@ To authenticate with the API the `authorization` parameter must be set when init
import sdk

s = sdk.SDK(
authorization="Bearer <YOUR_ACCESS_TOKEN_HERE>",
authorization="<YOUR_AUTHORIZATION_HERE>",
)


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

## 2024-04-26 00:02:10
### Changes
Based on:
- OpenAPI Doc v2.0.0-rc.24
- Speakeasy CLI 1.274.1 (2.314.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.2.2] .
### Releases
- [PyPI v2.2.2] https://pypi.org/project/formance-sdk-python/2.2.2 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sdk

s = sdk.SDK(
authorization="Bearer <YOUR_ACCESS_TOKEN_HERE>",
authorization="<YOUR_AUTHORIZATION_HERE>",
)


Expand Down
11 changes: 11 additions & 0 deletions docs/models/operations/createaccountresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CreateAccountResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `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 |
| `payments_account_response` | [Optional[shared.PaymentsAccountResponse]](../../models/shared/paymentsaccountresponse.md) | :heavy_minus_sign: | OK |
1 change: 1 addition & 0 deletions docs/models/operations/listpaymentsrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `cursor` | *Optional[str]* | :heavy_minus_sign: | Parameter used in pagination requests. Maximum page size is set to 15.<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 this parameter is set.<br/> | aHR0cHM6Ly9nLnBhZ2UvTmVrby1SYW1lbj9zaGFyZQ== |
| `page_size` | *Optional[int]* | :heavy_minus_sign: | The maximum number of results to return per page.<br/> | |
| `query` | *Optional[str]* | :heavy_minus_sign: | Filters used to filter resources.<br/> | |
| `sort` | List[*str*] | :heavy_minus_sign: | Fields used to sort payments (default is date:desc). | |

0 comments on commit b1b6ab8

Please sign in to comment.