Skip to content

Commit 89e243f

Browse files
github-actions[bot]speakeasybotpj-simpson
authored
## Typescript SDK Changes: (#663)
* `codatbankfeeds.sourceAccounts.generateOtp()`: **Added** Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: Peter Simpson <40800258+pj-simpson@users.noreply.github.com>
1 parent 97666bf commit 89e243f

92 files changed

Lines changed: 10167 additions & 4116 deletions

File tree

Some content is hidden

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

.speakeasy/logs/changes/changes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<body><h2 id="typescript-sdk-changes">Typescript SDK Changes:</h2>
9999

100100
<ul>
101-
<li><code>codatsyncpayables.suppliers.update()</code>: <strong>Added</strong></li>
101+
<li><code>codatbankfeeds.sourceAccounts.generateOtp()</code>: <strong>Added</strong></li>
102102
</ul>
103103
</body>
104104
</html>

.speakeasy/logs/changes/changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
## Typescript SDK Changes:
2-
* `codatsyncpayables.suppliers.update()`: **Added**
2+
* `codatbankfeeds.sourceAccounts.generateOtp()`: **Added**

.speakeasy/logs/changes/new.openapi.yaml

Lines changed: 3558 additions & 1982 deletions
Large diffs are not rendered by default.

.speakeasy/logs/changes/old.openapi.yaml

Lines changed: 3465 additions & 1742 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
speakeasyVersion: 1.759.1
1+
speakeasyVersion: 1.761.1
22
sources:
33
bank-feeds-source:
44
sourceNamespace: bank-feeds-source
5-
sourceRevisionDigest: sha256:f7e363f09d5f09a6ef30f229fc24cd1da3bed7b8aaa5ed54dbcecf5ecf940aac
6-
sourceBlobDigest: sha256:bec22303db7eda4f0434582b2c3646b374f23dd8f317aedb5fe4a63426516ad7
5+
sourceRevisionDigest: sha256:db973c9d8c06047299854a7aa58c29bee90109d9230c0d3014c5f37c9116b7ea
6+
sourceBlobDigest: sha256:ea9603cd302e3ac9fb6b395903cff7fe65012374fe509a445472baf9daca0e35
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1769161196
109
- 3.0.0
1110
lending-source:
1211
sourceNamespace: lending-source
@@ -65,10 +64,10 @@ targets:
6564
bank-feeds-library:
6665
source: bank-feeds-source
6766
sourceNamespace: bank-feeds-source
68-
sourceRevisionDigest: sha256:f7e363f09d5f09a6ef30f229fc24cd1da3bed7b8aaa5ed54dbcecf5ecf940aac
69-
sourceBlobDigest: sha256:bec22303db7eda4f0434582b2c3646b374f23dd8f317aedb5fe4a63426516ad7
67+
sourceRevisionDigest: sha256:db973c9d8c06047299854a7aa58c29bee90109d9230c0d3014c5f37c9116b7ea
68+
sourceBlobDigest: sha256:ea9603cd302e3ac9fb6b395903cff7fe65012374fe509a445472baf9daca0e35
7069
codeSamplesNamespace: bank-feeds-source-typescript-code-samples
71-
codeSamplesRevisionDigest: sha256:494455ca7aaccfd616604d8aa00575ea93b6ec12c9dd5b8f5382d8f9827a374b
70+
codeSamplesRevisionDigest: sha256:032616bc1ff11ca3fb3a34bee42438f65bd1d5fe04a53c233792ffec3ba173ed
7271
lending-library:
7372
source: lending-source
7473
sourceNamespace: lending-source

bank-feeds/.npmignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@
55
!/**/*.ts
66
!/**/*.js
77
!/**/*.mjs
8-
!/**/*.json
8+
!/package.json
9+
!/jsr.json
10+
!/dist/**/*.json
11+
!/esm/**/*.json
912
!/**/*.map
1013

1114
/eslint.config.mjs
15+
/.oxlintrc.json
1216
/cjs
1317
/.tshy
1418
/.tshy-*

bank-feeds/.speakeasy/gen.lock

Lines changed: 217 additions & 172 deletions
Large diffs are not rendered by default.

bank-feeds/.speakeasy/gen.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,23 @@ generation:
1414
securityFeb2025: false
1515
sharedErrorComponentsApr2025: false
1616
sharedNestedComponentsJan2026: false
17+
nameOverrideFeb2026: false
1718
auth:
1819
oAuth2ClientCredentialsEnabled: false
1920
oAuth2PasswordEnabled: false
2021
hoistGlobalSecurity: true
2122
schemas:
2223
allOfMergeStrategy: shallowMerge
2324
requestBodyFieldName: ""
25+
versioningStrategy: automatic
2426
persistentEdits: {}
2527
tests:
2628
generateTests: true
2729
generateNewTests: false
2830
skipResponseBodyAssertions: false
2931
telemetryEnabled: true
3032
typescript:
31-
version: 8.1.0
33+
version: 8.2.0
3234
acceptHeaderEnum: true
3335
additionalDependencies:
3436
dependencies: {}
@@ -48,6 +50,7 @@ typescript:
4850
enableReactQuery: false
4951
enumFormat: union
5052
exportZodModelNamespace: false
53+
fixEnumNameSanitization: false
5154
flatAdditionalProperties: false
5255
flattenGlobalSecurity: true
5356
flatteningOrder: body-first
@@ -67,6 +70,7 @@ typescript:
6770
inputModelSuffix: input
6871
jsonpath: legacy
6972
laxMode: strict
73+
legacyFileNaming: true
7074
maxMethodParams: 0
7175
methodArguments: infer-optional-args
7276
modelPropertyCasing: camel
@@ -82,4 +86,6 @@ typescript:
8286
unionStrategy: left-to-right
8387
usageSDKInitImports: []
8488
useIndexModules: true
89+
useOxlint: false
90+
useTsgo: false
8591
zodVersion: v3

bank-feeds/README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ run();
160160
* [delete](docs/sdks/sourceaccounts/README.md#delete) - Delete source account
161161
* [generateCredentials](docs/sdks/sourceaccounts/README.md#generatecredentials) - Generate source account credentials
162162
* [deleteCredentials](docs/sdks/sourceaccounts/README.md#deletecredentials) - Delete all source account credentials
163+
* [generateOtp](docs/sdks/sourceaccounts/README.md#generateotp) - Generate one-time password
163164

164165
### [Transactions](docs/sdks/transactions/README.md)
165166

@@ -365,19 +366,23 @@ The `HTTPClient` constructor takes an optional `fetcher` argument that can be
365366
used to integrate a third-party HTTP client or when writing tests to mock out
366367
the HTTP client and feed in fixtures.
367368

368-
The following example shows how to use the `"beforeRequest"` hook to to add a
369-
custom header and a timeout to requests and how to use the `"requestError"` hook
370-
to log errors:
369+
The following example shows how to:
370+
- route requests through a proxy server using [undici](https://www.npmjs.com/package/undici)'s ProxyAgent
371+
- use the `"beforeRequest"` hook to add a custom header and a timeout to requests
372+
- use the `"requestError"` hook to log errors
371373

372374
```typescript
373375
import { CodatBankFeeds } from "@codat/bank-feeds";
376+
import { ProxyAgent } from "undici";
374377
import { HTTPClient } from "@codat/bank-feeds/lib/http";
375378

379+
const dispatcher = new ProxyAgent("http://proxy.example.com:8080");
380+
376381
const httpClient = new HTTPClient({
377-
// fetcher takes a function that has the same signature as native `fetch`.
378-
fetcher: (request) => {
379-
return fetch(request);
380-
}
382+
// 'fetcher' takes a function that has the same signature as native 'fetch'.
383+
fetcher: (input, init) =>
384+
// 'dispatcher' is specific to undici and not part of the standard Fetch API.
385+
fetch(input, { ...init, dispatcher } as RequestInit),
381386
});
382387

383388
httpClient.addHook("beforeRequest", (request) => {
@@ -482,6 +487,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
482487
- [`sourceAccountsDelete`](docs/sdks/sourceaccounts/README.md#delete) - Delete source account
483488
- [`sourceAccountsDeleteCredentials`](docs/sdks/sourceaccounts/README.md#deletecredentials) - Delete all source account credentials
484489
- [`sourceAccountsGenerateCredentials`](docs/sdks/sourceaccounts/README.md#generatecredentials) - Generate source account credentials
490+
- [`sourceAccountsGenerateOtp`](docs/sdks/sourceaccounts/README.md#generateotp) - Generate one-time password
485491
- [`sourceAccountsList`](docs/sdks/sourceaccounts/README.md#list) - List source accounts
486492
- [`sourceAccountsUpdate`](docs/sdks/sourceaccounts/README.md#update) - Update source account
487493
- [`transactionsCreate`](docs/sdks/transactions/README.md#create) - Create bank transactions

bank-feeds/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,4 +776,14 @@ Based on:
776776
### Generated
777777
- [typescript v8.1.0] bank-feeds
778778
### Releases
779-
- [NPM v8.1.0] https://www.npmjs.com/package/@codat/bank-feeds/v/8.1.0 - bank-feeds
779+
- [NPM v8.1.0] https://www.npmjs.com/package/@codat/bank-feeds/v/8.1.0 - bank-feeds
780+
781+
## 2026-04-08 10:23:50
782+
### Changes
783+
Based on:
784+
- OpenAPI Doc
785+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
786+
### Generated
787+
- [typescript v8.2.0] bank-feeds
788+
### Releases
789+
- [NPM v8.2.0] https://www.npmjs.com/package/@codat/bank-feeds/v/8.2.0 - bank-feeds

0 commit comments

Comments
 (0)