Skip to content

Commit 5860e48

Browse files
speakeasybotflemzord
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.509.0
1 parent 231e4bc commit 5860e48

File tree

575 files changed

+8791
-2855
lines changed

Some content is hidden

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

575 files changed

+8791
-2855
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/mcp-server
2+
/bin
13
/react-query
24
/.eslintcache
35
/.speakeasy/reports

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
!/REACT_QUERY.md
55
!/**/*.ts
66
!/**/*.js
7+
!/**/*.mjs
78
!/**/*.json
89
!/**/*.map
910

.speakeasy/gen.lock

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2bb10af9-e48a-4bd7-ae46-a35fa809dc29
33
management:
4-
docChecksum: 1cba0db5c8227fc94bb882f8261ced0a
5-
docVersion: v3.0.0
6-
speakeasyVersion: 1.487.1
7-
generationVersion: 2.506.0
8-
releaseVersion: 4.0.0
9-
configChecksum: 5c9b39514ea209b62d0942d6cd08d1bb
4+
docChecksum: 9d3c2763dd507a399ca787e261c6fafe
5+
docVersion: v3.0.1
6+
speakeasyVersion: 1.509.0
7+
generationVersion: 2.539.0
8+
releaseVersion: 4.1.0
9+
configChecksum: 1b36b437118de2c4fc9aa747c31fea09
1010
repoURL: https://github.com/formancehq/formance-sdk-typescript.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/formancehq/formance-sdk-typescript
@@ -16,20 +16,20 @@ features:
1616
additionalDependencies: 0.1.0
1717
bigint: 0.0.2
1818
constsAndDefaults: 0.1.11
19-
core: 3.19.0
19+
core: 3.21.3
2020
defaultEnabledRetries: 0.1.0
2121
deprecations: 2.81.1
2222
downloadStreams: 0.1.1
2323
enumUnions: 0.1.0
2424
envVarSecurityUsage: 0.1.2
2525
errors: 2.84.0
26-
globalSecurity: 2.82.12
26+
globalSecurity: 2.82.13
2727
globalSecurityCallbacks: 0.1.0
2828
globalServerURLs: 2.82.4
2929
ignores: 2.81.1
3030
nameOverrides: 2.81.2
31-
nullables: 0.1.0
32-
oauth2ClientCredentials: 0.2.0
31+
nullables: 0.1.1
32+
oauth2ClientCredentials: 0.2.1
3333
responseFormat: 0.2.3
3434
retries: 2.83.0
3535
sdkHooks: 0.2.0
@@ -391,7 +391,6 @@ generatedFiles:
391391
- docs/sdk/models/operations/v3getconnectorconfigresponse.md
392392
- docs/sdk/models/operations/v3getconnectorschedulerequest.md
393393
- docs/sdk/models/operations/v3getconnectorscheduleresponse.md
394-
- docs/sdk/models/operations/v3getinforesponse.md
395394
- docs/sdk/models/operations/v3getpaymentinitiationrequest.md
396395
- docs/sdk/models/operations/v3getpaymentinitiationresponse.md
397396
- docs/sdk/models/operations/v3getpaymentrequest.md
@@ -885,7 +884,6 @@ generatedFiles:
885884
- docs/sdk/models/shared/v3bankaccountscursorresponse.md
886885
- docs/sdk/models/shared/v3bankaccountscursorresponsecursor.md
887886
- docs/sdk/models/shared/v3bankingcircleconfig.md
888-
- docs/sdk/models/shared/v3configinforesponse.md
889887
- docs/sdk/models/shared/v3connector.md
890888
- docs/sdk/models/shared/v3connectorconfig.md
891889
- docs/sdk/models/shared/v3connectorconfigsresponse.md
@@ -976,6 +974,7 @@ generatedFiles:
976974
- docs/sdk/models/shared/walletbalances.md
977975
- docs/sdk/models/shared/walletstransaction.md
978976
- docs/sdk/models/shared/walletsubject.md
977+
- docs/sdk/models/shared/walletsummary.md
979978
- docs/sdk/models/shared/walletsvolume.md
980979
- docs/sdk/models/shared/walletwithbalances.md
981980
- docs/sdk/models/shared/walletwithbalancesbalances.md
@@ -1164,7 +1163,6 @@ generatedFiles:
11641163
- src/funcs/paymentsV3GetBankAccount.ts
11651164
- src/funcs/paymentsV3GetConnectorConfig.ts
11661165
- src/funcs/paymentsV3GetConnectorSchedule.ts
1167-
- src/funcs/paymentsV3GetInfo.ts
11681166
- src/funcs/paymentsV3GetPayment.ts
11691167
- src/funcs/paymentsV3GetPaymentInitiation.ts
11701168
- src/funcs/paymentsV3GetPool.ts
@@ -1445,7 +1443,6 @@ generatedFiles:
14451443
- src/sdk/models/operations/v3getbankaccount.ts
14461444
- src/sdk/models/operations/v3getconnectorconfig.ts
14471445
- src/sdk/models/operations/v3getconnectorschedule.ts
1448-
- src/sdk/models/operations/v3getinfo.ts
14491446
- src/sdk/models/operations/v3getpayment.ts
14501447
- src/sdk/models/operations/v3getpaymentinitiation.ts
14511448
- src/sdk/models/operations/v3getpool.ts
@@ -1817,7 +1814,6 @@ generatedFiles:
18171814
- src/sdk/models/shared/v3bankaccountrelatedaccount.ts
18181815
- src/sdk/models/shared/v3bankaccountscursorresponse.ts
18191816
- src/sdk/models/shared/v3bankingcircleconfig.ts
1820-
- src/sdk/models/shared/v3configinforesponse.ts
18211817
- src/sdk/models/shared/v3connector.ts
18221818
- src/sdk/models/shared/v3connectorconfig.ts
18231819
- src/sdk/models/shared/v3connectorconfigsresponse.ts
@@ -1888,6 +1884,7 @@ generatedFiles:
18881884
- src/sdk/models/shared/wallet.ts
18891885
- src/sdk/models/shared/walletstransaction.ts
18901886
- src/sdk/models/shared/walletsubject.ts
1887+
- src/sdk/models/shared/walletsummary.ts
18911888
- src/sdk/models/shared/walletsvolume.ts
18921889
- src/sdk/models/shared/walletwithbalances.ts
18931890
- src/sdk/models/shared/webhooksconfig.ts
@@ -1913,6 +1910,7 @@ generatedFiles:
19131910
- src/sdk/sdkwalletsv1.ts
19141911
- src/sdk/sdkwebhooksv1.ts
19151912
- src/sdk/search.ts
1913+
- src/sdk/types/async.ts
19161914
- src/sdk/types/blobs.ts
19171915
- src/sdk/types/constdatetime.ts
19181916
- src/sdk/types/enums.ts
@@ -2056,7 +2054,7 @@ examples:
20562054
application/json: [{"action": "<value>"}]
20572055
responses:
20582056
"200":
2059-
application/json: {"data": [{"logID": 642842, "responseType": "<value>"}], "details": "https://play.numscript.org/?payload=eyJlcnJvciI6ImFjY291bnQgaGFkIGluc3VmZmljaWVudCBmdW5kcyJ9", "errorCode": "VALIDATION", "errorMessage": "[VALIDATION] invalid 'cursor' query param"}
2057+
application/json: {"data": [{"errorCode": "<value>", "errorDescription": "<value>", "logID": 314478, "responseType": "<value>"}], "details": "https://play.numscript.org/?payload=eyJlcnJvciI6ImFjY291bnQgaGFkIGluc3VmZmljaWVudCBmdW5kcyJ9", "errorCode": "VALIDATION", "errorMessage": "[VALIDATION] invalid 'cursor' query param"}
20602058
"400":
20612059
application/json: {"data": [], "details": "https://play.numscript.org/?payload=eyJlcnJvciI6ImFjY291bnQgaGFkIGluc3VmZmljaWVudCBmdW5kcyJ9", "errorCode": "VALIDATION", "errorMessage": "[VALIDATION] invalid 'cursor' query param"}
20622060
default:
@@ -3053,7 +3051,7 @@ examples:
30533051
path:
30543052
connector: "ATLAR"
30553053
requestBody:
3056-
application/json: {"apiKey": "XXX", "name": "My Wise Account", "pollingPeriod": "60s"}
3054+
application/json: {"apiKey": "XXX", "name": "My Stripe Account", "pageSize": 50, "pollingPeriod": "60s"}
30573055
responses:
30583056
"201":
30593057
application/json: {"data": {"connectorID": "<id>"}}
@@ -3155,7 +3153,7 @@ examples:
31553153
accountId: "XXX"
31563154
responses:
31573155
"200":
3158-
application/json: {"data": {"accountName": "<value>", "connectorID": "<id>", "createdAt": "2024-11-12T03:25:46.461Z", "defaultAsset": "<value>", "defaultCurrency": "<value>", "id": "<id>", "raw": {}, "reference": "<value>", "type": "UNKNOWN"}}
3156+
application/json: {"data": {"accountName": "<value>", "connectorID": "<id>", "createdAt": "2024-11-12T03:25:46.461Z", "defaultAsset": "<value>", "defaultCurrency": "<value>", "id": "<id>", "metadata": {"key": "<value>", "key1": "<value>"}, "raw": {}, "reference": "<value>", "type": "UNKNOWN"}}
31593157
default:
31603158
application/json: {"errorCode": "VALIDATION", "errorMessage": "[VALIDATION] missing reference"}
31613159
paymentsgetServerInfo:
@@ -3238,7 +3236,7 @@ examples:
32383236
path:
32393237
transferId: "XXX"
32403238
requestBody:
3241-
application/json: {"amount": 327549, "asset": "USD", "description": "till gosh how proselytise worriedly whoa", "reference": "XXX"}
3239+
application/json: {"amount": 327549, "asset": "USD", "description": "till gosh how proselytise worriedly whoa", "metadata": {"key": "<value>"}, "reference": "XXX"}
32423240
responses:
32433241
default:
32443242
application/json: {"errorCode": "VALIDATION", "errorMessage": "[VALIDATION] missing reference"}
@@ -3910,7 +3908,7 @@ examples:
39103908
id: "<id>"
39113909
responses:
39123910
"200":
3913-
application/json: {"availableFunds": {"key": 265270, "key1": 425645}, "balances": [{"assets": {}, "name": "<value>"}], "expirableFunds": {}, "expiredFunds": {"key": 937378, "key1": 696335, "key2": 846984}, "holdFunds": {"key": 930990, "key1": 132783, "key2": 515347}}
3911+
application/json: {"data": {"availableFunds": {"key": 265270, "key1": 425645}, "balances": [{"assets": {}, "name": "<value>"}], "expirableFunds": {}, "expiredFunds": {"key": 937378, "key1": 696335, "key2": 846984}, "holdFunds": {"key": 930990, "key1": 132783, "key2": 515347}}}
39143912
default:
39153913
application/json: {"errorCode": "INSUFFICIENT_FUND", "errorMessage": "<value>"}
39163914
listBalances:

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.487.1
1+
speakeasyVersion: 1.509.0
22
sources:
33
stacks-source:
44
sourceNamespace: stacks-source
5-
sourceRevisionDigest: sha256:195e29e14453b2ac1401f09f86974f73f511457c55f06045a0d69a7fb3b7159a
6-
sourceBlobDigest: sha256:8cf35e986e82211aec5e932bb47ac2b7c7ed0e11ebcd2a05c4afab36466be933
5+
sourceRevisionDigest: sha256:044366d6af2a8e36d882be9d6a1eb64372dd74764676585e0c68ac28d1ecd117
6+
sourceBlobDigest: sha256:e583413700b9aecba27357f880a16f89537dfbf9133a31079aa911d750b454af
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1737418949
10-
- v3.0.0
9+
- speakeasy-sdk-regen-1741087182
10+
- v3.0.1
1111
targets:
1212
formance-sdk-typescript:
1313
source: stacks-source
1414
sourceNamespace: stacks-source
15-
sourceRevisionDigest: sha256:195e29e14453b2ac1401f09f86974f73f511457c55f06045a0d69a7fb3b7159a
16-
sourceBlobDigest: sha256:8cf35e986e82211aec5e932bb47ac2b7c7ed0e11ebcd2a05c4afab36466be933
15+
sourceRevisionDigest: sha256:044366d6af2a8e36d882be9d6a1eb64372dd74764676585e0c68ac28d1ecd117
16+
sourceBlobDigest: sha256:e583413700b9aecba27357f880a16f89537dfbf9133a31079aa911d750b454af
1717
codeSamplesNamespace: stacks-source-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:28ec5330b154a85be56d06ab7e68dfcde9726d5b471b5661bb7648ecb89d2aad
18+
codeSamplesRevisionDigest: sha256:93beb1fde0df6c4a3aa76f34830a2af320b8678bc6981217d276bae603f71800
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ run();
313313
* [getBankAccount](docs/sdks/v3/README.md#getbankaccount) - Get a Bank Account by ID
314314
* [getConnectorConfig](docs/sdks/v3/README.md#getconnectorconfig) - Get a connector configuration by ID
315315
* [getConnectorSchedule](docs/sdks/v3/README.md#getconnectorschedule) - Get a connector schedule by ID
316-
* [getInfo](docs/sdks/v3/README.md#getinfo) - Show server information
317316
* [getPayment](docs/sdks/v3/README.md#getpayment) - Get a payment by ID
318317
* [getPaymentInitiation](docs/sdks/v3/README.md#getpaymentinitiation) - Get a payment initiation by ID
319318
* [getPool](docs/sdks/v3/README.md#getpool) - Get a pool by ID
@@ -493,12 +492,17 @@ In some rare cases, the SDK can fail to get a response from the server or even m
493492

494493
You can override the default server globally by passing a server index to the `serverIdx: number` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
495494

496-
| # | Server | Variables | Default values |
497-
| --- | ----------------------------------------------------- | ------------------------------------------------------------------ | ------------------------------------ |
498-
| 0 | `http://localhost` | | |
499-
| 1 | `https://{organization}.{environment}.formance.cloud` | `environment: models.ServerEnvironment`<br/>`organization: string` | `"eu.sandbox"`<br/>`"orgID-stackID"` |
495+
| # | Server | Variables | Description |
496+
| --- | ----------------------------------------------------- | -------------------------------- | ------------------------------------------ |
497+
| 0 | `http://localhost` | | local server |
498+
| 1 | `https://{organization}.{environment}.formance.cloud` | `environment`<br/>`organization` | A per-organization and per-environment API |
500499

501-
If the selected server has variables, you may override their default values through the additional parameters made available in the SDK constructor.
500+
If the selected server has variables, you may override its default values through the additional parameters made available in the SDK constructor:
501+
502+
| Variable | Parameter | Supported Values | Default | Description |
503+
| -------------- | --------------------------------------- | -------------------------------------------------------------------------- | ----------------- | ------------------------------------------------------------- |
504+
| `environment` | `environment: models.ServerEnvironment` | - `"eu.sandbox"`<br/>- `"sandbox"`<br/>- `"eu-west-1"`<br/>- `"us-east-1"` | `"eu.sandbox"` | The environment name. Defaults to the production environment. |
505+
| `organization` | `organization: string` | string | `"orgID-stackID"` | The organization name. Defaults to a generic organization. |
502506

503507
#### Example
504508

@@ -507,6 +511,8 @@ import { SDK } from "@formance/formance-sdk";
507511

508512
const sdk = new SDK({
509513
serverIdx: 1,
514+
environment: "us-east-1",
515+
organization: "<value>",
510516
security: {
511517
clientID: "<YOUR_CLIENT_ID_HERE>",
512518
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
@@ -796,7 +802,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
796802
- [`paymentsV3GetBankAccount`](docs/sdks/v3/README.md#getbankaccount) - Get a Bank Account by ID
797803
- [`paymentsV3GetConnectorConfig`](docs/sdks/v3/README.md#getconnectorconfig) - Get a connector configuration by ID
798804
- [`paymentsV3GetConnectorSchedule`](docs/sdks/v3/README.md#getconnectorschedule) - Get a connector schedule by ID
799-
- [`paymentsV3GetInfo`](docs/sdks/v3/README.md#getinfo) - Show server information
800805
- [`paymentsV3GetPayment`](docs/sdks/v3/README.md#getpayment) - Get a payment by ID
801806
- [`paymentsV3GetPaymentInitiation`](docs/sdks/v3/README.md#getpaymentinitiation) - Get a payment initiation by ID
802807
- [`paymentsV3GetPool`](docs/sdks/v3/README.md#getpool) - Get a pool by ID

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,14 @@ Based on:
246246
### Generated
247247
- [typescript v4.0.0] .
248248
### Releases
249-
- [NPM v4.0.0] https://www.npmjs.com/package/@formance/formance-sdk/v/4.0.0 - .
249+
- [NPM v4.0.0] https://www.npmjs.com/package/@formance/formance-sdk/v/4.0.0 - .
250+
251+
## 2025-03-04 11:19:26
252+
### Changes
253+
Based on:
254+
- OpenAPI Doc
255+
- Speakeasy CLI 1.509.0 (2.539.0) https://github.com/speakeasy-api/speakeasy
256+
### Generated
257+
- [typescript v4.1.0] .
258+
### Releases
259+
- [NPM v4.1.0] https://www.npmjs.com/package/@formance/formance-sdk/v/4.1.0 - .

docs/sdk/models/errors/errorcode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```typescript
66
import { ErrorCode } from "@formance/formance-sdk/sdk/models/errors";
77

8-
let value: ErrorCode = ErrorCode.Internal;
8+
let value: ErrorCode = ErrorCode.NotFound;
99
```
1010

1111
## Values

docs/sdk/models/errors/schemaserrorcode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```typescript
66
import { SchemasErrorCode } from "@formance/formance-sdk/sdk/models/errors";
77

8-
let value: SchemasErrorCode = SchemasErrorCode.NotFound;
8+
let value: SchemasErrorCode = SchemasErrorCode.Validation;
99
```
1010

1111
## Values

docs/sdk/models/operations/activateconfigresponse.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ let value: ActivateConfigResponse = {
99
configResponse: {
1010
data: {
1111
active: true,
12-
createdAt: new Date("2025-02-13T17:33:21.870Z"),
12+
createdAt: new Date("2023-11-21T08:39:51.922Z"),
1313
endpoint: "https://example.com",
1414
eventTypes: [
1515
"TYPE1",
1616
"TYPE2",
1717
],
18-
id: "aedde456-8a40-464f-8eda-58d1c0dc0a82",
18+
id: "e4dfc817-7365-4274-880e-d8df1aff9290",
1919
secret: "V0bivxRWveaoz08afqjU6Ko/jwO0Cb+3",
20-
updatedAt: new Date("2025-04-27T11:48:28.988Z"),
20+
updatedAt: new Date("2025-11-13T21:51:48.921Z"),
2121
},
2222
},
2323
contentType: "<value>",
24-
statusCode: 308,
24+
statusCode: 206,
2525
rawResponse: new Response("{\"message\": \"hello world\"}", {
2626
headers: { "Content-Type": "application/json" },
2727
}),

docs/sdk/models/operations/changeconfigsecretresponse.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ let value: ChangeConfigSecretResponse = {
99
configResponse: {
1010
data: {
1111
active: true,
12-
createdAt: new Date("2025-12-12T13:02:43.922Z"),
12+
createdAt: new Date("2023-11-04T19:43:41.328Z"),
1313
endpoint: "https://example.com",
1414
eventTypes: [
1515
"TYPE1",
1616
"TYPE2",
1717
],
18-
id: "f1f37c39-2115-406a-9611-42f2c998f5c8",
18+
id: "fb5c163a-1648-45b0-aa34-cf5d1ac26e10",
1919
secret: "V0bivxRWveaoz08afqjU6Ko/jwO0Cb+3",
20-
updatedAt: new Date("2025-11-13T04:34:33.275Z"),
20+
updatedAt: new Date("2024-04-22T08:13:17.912Z"),
2121
},
2222
},
2323
contentType: "<value>",
24-
statusCode: 301,
24+
statusCode: 429,
2525
rawResponse: new Response("{\"message\": \"hello world\"}", {
2626
headers: { "Content-Type": "application/json" },
2727
}),

0 commit comments

Comments
 (0)