Skip to content

Commit

Permalink
Merge pull request #29 from formancehq/fix/ts-overlay
Browse files Browse the repository at this point in the history
fix: add overlay to fix searches
  • Loading branch information
gfyrag authored May 2, 2024
2 parents 67ebcec + baf3e16 commit 8f68bd2
Show file tree
Hide file tree
Showing 73 changed files with 3,383 additions and 221 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/speakeasy_sdk_generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
speakeasy_version: latest
openapi_docs: |
- ${{ needs.get_openai_spec_url.outputs.openapi_spec_url }}
overlay_docs: |
- overlay.yaml
languages: |-
- typescript
publish_typescript: true
Expand Down
52 changes: 46 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 2bb10af9-e48a-4bd7-ae46-a35fa809dc29
management:
docChecksum: de4ce37109543835d271fd330d36d4f0
docChecksum: b7dab401105771ee0cc7b55046e7eed0
docVersion: v2.0.0-rc.26
speakeasyVersion: 1.277.0
generationVersion: 2.317.0
releaseVersion: 2.3.1
configChecksum: 03fb7096b8613ce631c03c3877f901db
speakeasyVersion: 1.277.6
generationVersion: 2.319.7
releaseVersion: 2.3.2
configChecksum: 154d9a8e4eef12aade459e53e6265d96
repoURL: https://github.com/formancehq/formance-sdk-typescript.git
repoSubDirectory: .
installationURL: https://github.com/formancehq/formance-sdk-typescript
Expand Down Expand Up @@ -98,11 +98,16 @@ generatedFiles:
- src/sdk/models/operations/v2deleteledgermetadata.ts
- src/sdk/models/operations/v2deletetransactionmetadata.ts
- src/sdk/models/operations/v2getaccount.ts
- src/sdk/models/operations/v2getbalancesaggregated.ts
- src/sdk/models/operations/v2getinfo.ts
- src/sdk/models/operations/v2getledger.ts
- src/sdk/models/operations/v2getledgerinfo.ts
- src/sdk/models/operations/v2gettransaction.ts
- src/sdk/models/operations/v2getvolumeswithbalances.ts
- src/sdk/models/operations/v2listaccounts.ts
- src/sdk/models/operations/v2listledgers.ts
- src/sdk/models/operations/v2listlogs.ts
- src/sdk/models/operations/v2listtransactions.ts
- src/sdk/models/operations/v2readstats.ts
- src/sdk/models/operations/v2reverttransaction.ts
- src/sdk/models/operations/v2updateledgermetadata.ts
Expand Down Expand Up @@ -170,6 +175,7 @@ generatedFiles:
- src/sdk/models/operations/listtransferinitiations.ts
- src/sdk/models/operations/paymentsgetaccount.ts
- src/sdk/models/operations/paymentsgetserverinfo.ts
- src/sdk/models/operations/paymentslistaccounts.ts
- src/sdk/models/operations/readconnectorconfig.ts
- src/sdk/models/operations/readconnectorconfigv1.ts
- src/sdk/models/operations/removeaccountfrompool.ts
Expand Down Expand Up @@ -282,6 +288,7 @@ generatedFiles:
- src/sdk/models/shared/v2accountresponse.ts
- src/sdk/models/shared/v2account.ts
- src/sdk/models/shared/v2volume.ts
- src/sdk/models/shared/v2aggregatebalancesresponse.ts
- src/sdk/models/shared/v2configinforesponse.ts
- src/sdk/models/shared/v2getledgerresponse.ts
- src/sdk/models/shared/v2ledger.ts
Expand All @@ -290,7 +297,13 @@ generatedFiles:
- src/sdk/models/shared/v2migrationinfo.ts
- src/sdk/models/shared/v2gettransactionresponse.ts
- src/sdk/models/shared/v2expandedtransaction.ts
- src/sdk/models/shared/v2volumeswithbalancecursorresponse.ts
- src/sdk/models/shared/v2volumeswithbalance.ts
- src/sdk/models/shared/v2accountscursorresponse.ts
- src/sdk/models/shared/v2ledgerlistresponse.ts
- src/sdk/models/shared/v2logscursorresponse.ts
- src/sdk/models/shared/v2log.ts
- src/sdk/models/shared/v2transactionscursorresponse.ts
- src/sdk/models/shared/v2statsresponse.ts
- src/sdk/models/shared/v2stats.ts
- src/sdk/models/shared/v2reverttransactionresponse.ts
Expand Down Expand Up @@ -501,6 +514,7 @@ generatedFiles:
- src/sdk/models/shared/paymentscursor.ts
- src/sdk/models/shared/poolscursor.ts
- src/sdk/models/shared/transferinitiationscursor.ts
- src/sdk/models/shared/accountscursor.ts
- src/sdk/models/shared/connectorconfigresponse.ts
- src/sdk/models/shared/reversetransferinitiationrequest.ts
- src/sdk/models/shared/updatetransferinitiationstatusrequest.ts
Expand Down Expand Up @@ -632,15 +646,25 @@ generatedFiles:
- docs/sdk/models/operations/v2deletetransactionmetadataresponse.md
- docs/sdk/models/operations/v2getaccountrequest.md
- docs/sdk/models/operations/v2getaccountresponse.md
- docs/sdk/models/operations/v2getbalancesaggregatedrequest.md
- docs/sdk/models/operations/v2getbalancesaggregatedresponse.md
- docs/sdk/models/operations/v2getinforesponse.md
- docs/sdk/models/operations/v2getledgerrequest.md
- docs/sdk/models/operations/v2getledgerresponse.md
- docs/sdk/models/operations/v2getledgerinforequest.md
- docs/sdk/models/operations/v2getledgerinforesponse.md
- docs/sdk/models/operations/v2gettransactionrequest.md
- docs/sdk/models/operations/v2gettransactionresponse.md
- docs/sdk/models/operations/v2getvolumeswithbalancesrequest.md
- docs/sdk/models/operations/v2getvolumeswithbalancesresponse.md
- docs/sdk/models/operations/v2listaccountsrequest.md
- docs/sdk/models/operations/v2listaccountsresponse.md
- docs/sdk/models/operations/v2listledgersrequest.md
- docs/sdk/models/operations/v2listledgersresponse.md
- docs/sdk/models/operations/v2listlogsrequest.md
- docs/sdk/models/operations/v2listlogsresponse.md
- docs/sdk/models/operations/v2listtransactionsrequest.md
- docs/sdk/models/operations/v2listtransactionsresponse.md
- docs/sdk/models/operations/v2readstatsrequest.md
- docs/sdk/models/operations/v2readstatsresponse.md
- docs/sdk/models/operations/v2reverttransactionrequest.md
Expand Down Expand Up @@ -762,6 +786,8 @@ generatedFiles:
- docs/sdk/models/operations/paymentsgetaccountrequest.md
- docs/sdk/models/operations/paymentsgetaccountresponse.md
- docs/sdk/models/operations/paymentsgetserverinforesponse.md
- docs/sdk/models/operations/paymentslistaccountsrequest.md
- docs/sdk/models/operations/paymentslistaccountsresponse.md
- docs/sdk/models/operations/readconnectorconfigrequest.md
- docs/sdk/models/operations/readconnectorconfigresponse.md
- docs/sdk/models/operations/readconnectorconfigv1request.md
Expand Down Expand Up @@ -892,7 +918,7 @@ generatedFiles:
- docs/sdk/models/shared/expr.md
- docs/sdk/models/shared/contract.md
- docs/sdk/models/shared/transactionresponse.md
- docs/sdk/models/shared/cursor.md
- docs/sdk/models/shared/accountscursorresponsecursor.md
- docs/sdk/models/shared/accountscursorresponse.md
- docs/sdk/models/shared/account.md
- docs/sdk/models/shared/logscursorresponsecursor.md
Expand Down Expand Up @@ -932,6 +958,7 @@ generatedFiles:
- docs/sdk/models/shared/v2accountresponse.md
- docs/sdk/models/shared/v2account.md
- docs/sdk/models/shared/v2volume.md
- docs/sdk/models/shared/v2aggregatebalancesresponse.md
- docs/sdk/models/shared/v2configinforesponse.md
- docs/sdk/models/shared/v2getledgerresponse.md
- docs/sdk/models/shared/v2ledger.md
Expand All @@ -942,8 +969,19 @@ generatedFiles:
- docs/sdk/models/shared/v2migrationinfo.md
- docs/sdk/models/shared/v2gettransactionresponse.md
- docs/sdk/models/shared/v2expandedtransaction.md
- docs/sdk/models/shared/v2volumeswithbalancecursorresponsecursor.md
- docs/sdk/models/shared/v2volumeswithbalancecursorresponse.md
- docs/sdk/models/shared/v2volumeswithbalance.md
- docs/sdk/models/shared/v2accountscursorresponsecursor.md
- docs/sdk/models/shared/v2accountscursorresponse.md
- docs/sdk/models/shared/v2ledgerlistresponsecursor.md
- docs/sdk/models/shared/v2ledgerlistresponse.md
- docs/sdk/models/shared/v2logscursorresponsecursor.md
- docs/sdk/models/shared/v2logscursorresponse.md
- docs/sdk/models/shared/v2logtype.md
- docs/sdk/models/shared/v2log.md
- docs/sdk/models/shared/v2transactionscursorresponsecursor.md
- docs/sdk/models/shared/v2transactionscursorresponse.md
- docs/sdk/models/shared/v2statsresponse.md
- docs/sdk/models/shared/v2stats.md
- docs/sdk/models/shared/v2reverttransactionresponse.md
Expand Down Expand Up @@ -1209,6 +1247,8 @@ generatedFiles:
- docs/sdk/models/shared/poolscursor.md
- docs/sdk/models/shared/transferinitiationscursorcursor.md
- docs/sdk/models/shared/transferinitiationscursor.md
- docs/sdk/models/shared/cursor.md
- docs/sdk/models/shared/accountscursor.md
- docs/sdk/models/shared/connectorconfigresponse.md
- docs/sdk/models/shared/reversetransferinitiationrequest.md
- docs/sdk/models/shared/status.md
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,16 @@ run();
* [v2DeleteLedgerMetadata](docs/sdks/ledger/README.md#v2deleteledgermetadata) - Delete ledger metadata by key
* [v2DeleteTransactionMetadata](docs/sdks/ledger/README.md#v2deletetransactionmetadata) - Delete metadata by key
* [v2GetAccount](docs/sdks/ledger/README.md#v2getaccount) - Get account by its address
* [v2GetBalancesAggregated](docs/sdks/ledger/README.md#v2getbalancesaggregated) - Get the aggregated balances from selected accounts
* [v2GetInfo](docs/sdks/ledger/README.md#v2getinfo) - Show server information
* [v2GetLedger](docs/sdks/ledger/README.md#v2getledger) - Get a ledger
* [v2GetLedgerInfo](docs/sdks/ledger/README.md#v2getledgerinfo) - Get information about a ledger
* [v2GetTransaction](docs/sdks/ledger/README.md#v2gettransaction) - Get transaction from a ledger by its ID
* [v2GetVolumesWithBalances](docs/sdks/ledger/README.md#v2getvolumeswithbalances) - Get list of volumes with balances for (account/asset)
* [v2ListAccounts](docs/sdks/ledger/README.md#v2listaccounts) - List accounts from a ledger
* [v2ListLedgers](docs/sdks/ledger/README.md#v2listledgers) - List ledgers
* [v2ListLogs](docs/sdks/ledger/README.md#v2listlogs) - List the logs from a ledger
* [v2ListTransactions](docs/sdks/ledger/README.md#v2listtransactions) - List transactions from a ledger
* [v2ReadStats](docs/sdks/ledger/README.md#v2readstats) - Get statistics from a ledger
* [v2RevertTransaction](docs/sdks/ledger/README.md#v2reverttransaction) - Revert a ledger transaction by its ID
* [v2UpdateLedgerMetadata](docs/sdks/ledger/README.md#v2updateledgermetadata) - Update ledger metadata
Expand Down Expand Up @@ -193,6 +198,7 @@ run();
* [listTransferInitiations](docs/sdks/payments/README.md#listtransferinitiations) - List Transfer Initiations
* [paymentsgetAccount](docs/sdks/payments/README.md#paymentsgetaccount) - Get an account
* [paymentsgetServerInfo](docs/sdks/payments/README.md#paymentsgetserverinfo) - Get server info
* [paymentslistAccounts](docs/sdks/payments/README.md#paymentslistaccounts) - List accounts
* [~~readConnectorConfig~~](docs/sdks/payments/README.md#readconnectorconfig) - Read the config of a connector :warning: **Deprecated**
* [readConnectorConfigV1](docs/sdks/payments/README.md#readconnectorconfigv1) - Read the config of a connector
* [removeAccountFromPool](docs/sdks/payments/README.md#removeaccountfrompool) - Remove an account from a pool
Expand Down Expand Up @@ -281,12 +287,9 @@ async function run() {
transactions: {
transactions: [
{
metadata: {
key: "<value>",
},
postings: [
{
amount: BigInt(100),
amount: BigInt("100"),
asset: "COIN",
destination: "users:002",
source: "users:001",
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,14 @@ Based on:
### Generated
- [typescript v2.3.1] .
### Releases
- [NPM v2.3.1] https://www.npmjs.com/package/@formance/formance-sdk/v/2.3.1 - .
- [NPM v2.3.1] https://www.npmjs.com/package/@formance/formance-sdk/v/2.3.1 - .

## 2024-05-02 11:54:31
### Changes
Based on:
- OpenAPI Doc v2.0.0-rc.26
- Speakeasy CLI 1.277.6 (2.319.7) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v2.3.2] .
### Releases
- [NPM v2.3.2] https://www.npmjs.com/package/@formance/formance-sdk/v/2.3.2 - .
11 changes: 11 additions & 0 deletions docs/sdk/models/operations/paymentslistaccountsrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# PaymentslistAccountsRequest


## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `cursor` | *string* | :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== |
| `pageSize` | *number* | :heavy_minus_sign: | The maximum number of results to return per page.<br/> | |
| `query` | Record<string, *any*> | :heavy_minus_sign: | N/A | |
| `sort` | *string*[] | :heavy_minus_sign: | Fields used to sort payments (default is date:desc). | |
Loading

0 comments on commit 8f68bd2

Please sign in to comment.