Skip to content

Commit 575276d

Browse files
speakeasybotflemzord
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.487.1
1 parent db3a953 commit 575276d

File tree

1,037 files changed

+36792
-6048
lines changed

Some content is hidden

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

1,037 files changed

+36792
-6048
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/react-query
2+
/.eslintcache
3+
/.speakeasy/reports
14
/funcs
25
/core.*
36
/__tests__

.npmignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
**/*
2+
!/FUNCTIONS.md
3+
!/RUNTIMES.md
4+
!/REACT_QUERY.md
25
!/**/*.ts
36
!/**/*.js
7+
!/**/*.json
48
!/**/*.map
59

6-
/.eslintrc.js
10+
/eslint.config.mjs
711
/cjs
812
/.tshy
913
/.tshy-*

.speakeasy/gen.lock

Lines changed: 1393 additions & 601 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.441.1
1+
speakeasyVersion: 1.487.1
22
sources:
33
stacks-source:
44
sourceNamespace: stacks-source
5-
sourceRevisionDigest: sha256:25a113054c1e72e39f72b3f651ae9571df6083225130cdf314c099507d9a6d39
6-
sourceBlobDigest: sha256:3e23c263761e5f072ed5b6c1218d39286188d47c0eca9823a5ecb64be3a02d57
5+
sourceRevisionDigest: sha256:195e29e14453b2ac1401f09f86974f73f511457c55f06045a0d69a7fb3b7159a
6+
sourceBlobDigest: sha256:8cf35e986e82211aec5e932bb47ac2b7c7ed0e11ebcd2a05c4afab36466be933
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1732202930
9+
- speakeasy-sdk-regen-1737418949
10+
- v3.0.0
1011
targets:
1112
formance-sdk-typescript:
1213
source: stacks-source
1314
sourceNamespace: stacks-source
14-
sourceRevisionDigest: sha256:25a113054c1e72e39f72b3f651ae9571df6083225130cdf314c099507d9a6d39
15-
sourceBlobDigest: sha256:3e23c263761e5f072ed5b6c1218d39286188d47c0eca9823a5ecb64be3a02d57
16-
codeSamplesNamespace: stacks-source-code-samples
17-
codeSamplesRevisionDigest: sha256:742392eb0d92e98b50315d6fddf26dfb71a3add09553a08412d18982efc85d10
15+
sourceRevisionDigest: sha256:195e29e14453b2ac1401f09f86974f73f511457c55f06045a0d69a7fb3b7159a
16+
sourceBlobDigest: sha256:8cf35e986e82211aec5e932bb47ac2b7c7ed0e11ebcd2a05c4afab36466be933
17+
codeSamplesNamespace: stacks-source-typescript-code-samples
18+
codeSamplesRevisionDigest: sha256:28ec5330b154a85be56d06ab7e68dfcde9726d5b471b5661bb7648ecb89d2aad
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest
@@ -35,5 +36,7 @@ workflow:
3536
token: $NPM_TOKEN
3637
codeSamples:
3738
registry:
38-
location: registry.speakeasyapi.dev/formance/formance/stacks-source-code-samples
39+
location: registry.speakeasyapi.dev/formance/formance/stacks-source-typescript-code-samples
40+
labelOverride:
41+
fixedValue: Typescript (SDK)
3942
blocking: false

.speakeasy/workflow.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ targets:
1414
source: stacks-source
1515
publish:
1616
npm:
17-
token: $NPM_TOKEN
17+
token: $NPM_TOKEN
18+
codeSamples:
19+
registry:
20+
location: registry.speakeasyapi.dev/formance/formance/stacks-source-typescript-code-samples
21+
labelOverride:
22+
fixedValue: Typescript (SDK)
23+
blocking: false

README.md

Lines changed: 146 additions & 51 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,4 +236,14 @@ Based on:
236236
### Generated
237237
- [typescript v3.3.0] .
238238
### Releases
239-
- [NPM v3.3.0] https://www.npmjs.com/package/@formance/formance-sdk/v/3.3.0 - .
239+
- [NPM v3.3.0] https://www.npmjs.com/package/@formance/formance-sdk/v/3.3.0 - .
240+
241+
## 2025-02-10 15:18:58
242+
### Changes
243+
Based on:
244+
- OpenAPI Doc
245+
- Speakeasy CLI 1.487.1 (2.506.0) https://github.com/speakeasy-api/speakeasy
246+
### Generated
247+
- [typescript v4.0.0] .
248+
### Releases
249+
- [NPM v4.0.0] https://www.npmjs.com/package/@formance/formance-sdk/v/4.0.0 - .

RUNTIMES.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Supported JavaScript runtimes
22

3-
This SDK is intended to be used in JavaScript runtimes that support the following features:
3+
This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features:
44

55
* [Web Fetch API][web-fetch]
66
* [Web Streams API][web-streams] and in particular `ReadableStream`
@@ -20,3 +20,29 @@ Runtime environments that are explicitly supported are:
2020
- Note that Deno does not currently have native support for streaming file uploads backed by the filesystem ([issue link][deno-file-streaming])
2121

2222
[deno-file-streaming]: https://github.com/denoland/deno/issues/11018
23+
24+
## Recommended TypeScript compiler options
25+
26+
The following `tsconfig.json` options are recommended for projects using this
27+
SDK in order to get static type support for features like async iterables,
28+
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
29+
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
30+
so on):
31+
32+
[for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
33+
[abort-signal]: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
34+
[request]: https://developer.mozilla.org/en-US/docs/Web/API/Request
35+
[response]: https://developer.mozilla.org/en-US/docs/Web/API/Response
36+
37+
```jsonc
38+
{
39+
"compilerOptions": {
40+
"target": "es2020", // or higher
41+
"lib": ["es2020", "dom", "dom.iterable"],
42+
}
43+
}
44+
```
45+
46+
While `target` can be set to older ECMAScript versions, it may result in extra,
47+
unnecessary compatibility code being generated if you are not targeting old
48+
runtimes.

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.Validation;
8+
let value: ErrorCode = ErrorCode.Internal;
99
```
1010

1111
## Values

0 commit comments

Comments
 (0)