Skip to content

Commit 5f84560

Browse files
authored
Merge pull request #2 from midday-ai/speakeasy-sdk-regen-1748535898
chore: 🐝 Update SDK - Generate 0.1.0
2 parents 3124a3e + f00cafa commit 5f84560

File tree

441 files changed

+12671
-12108
lines changed

Some content is hidden

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

441 files changed

+12671
-12108
lines changed

.devcontainer/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
<div align="center">
3+
<a href="https://codespaces.new/midday-ai/midday-ts.git/tree/main"><img src="https://github.com/codespaces/badge.svg" /></a>
4+
</div>
5+
<br>
6+
27
> **Remember to shutdown a GitHub Codespace when it is not in use!**
38
49
# Dev Containers Quick Start

.speakeasy/gen.lock

Lines changed: 790 additions & 314 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ generation:
77
maintainOpenAPIOrder: true
88
usageSnippets:
99
optionalPropertyRendering: withExample
10+
sdkInitStyle: constructor
1011
useClassNamesForArrayFields: true
1112
fixes:
1213
nameResolutionDec2023: true
@@ -20,7 +21,7 @@ generation:
2021
oAuth2PasswordEnabled: true
2122
sdkHooksConfigAccess: true
2223
typescript:
23-
version: 0.0.1
24+
version: 0.1.0
2425
additionalDependencies:
2526
dependencies: {}
2627
devDependencies: {}

.speakeasy/workflow.lock

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.552.0
1+
speakeasyVersion: 1.554.0
22
sources:
33
Midday API:
44
sourceNamespace: midday-api
5-
sourceRevisionDigest: sha256:eb2fd72968e5c82cb6d6381669148cd5a50edcc9649bf187a70176d562d088a0
6-
sourceBlobDigest: sha256:ba67928c68db3d54b02e02d637c6fa63ec12e58b436c7250defe98f07a2a1a6a
5+
sourceRevisionDigest: sha256:d4860fb034b37aa80395473bd1a49b91eaa24e6aa3ae368e32db783e09148057
6+
sourceBlobDigest: sha256:4d2aa49124b1caf2a3e4b0722bbcacd916c73e41996b9064274096eb61496f85
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1748535898
910
- 0.0.1
1011
targets:
1112
midday:
1213
source: Midday API
1314
sourceNamespace: midday-api
14-
sourceRevisionDigest: sha256:eb2fd72968e5c82cb6d6381669148cd5a50edcc9649bf187a70176d562d088a0
15-
sourceBlobDigest: sha256:ba67928c68db3d54b02e02d637c6fa63ec12e58b436c7250defe98f07a2a1a6a
15+
sourceRevisionDigest: sha256:d4860fb034b37aa80395473bd1a49b91eaa24e6aa3ae368e32db783e09148057
16+
sourceBlobDigest: sha256:4d2aa49124b1caf2a3e4b0722bbcacd916c73e41996b9064274096eb61496f85
1617
codeSamplesNamespace: midday-api-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:a4db85156eb33d3523047ad9b1b0a5530eed935c4eead6fdfb030146a9267677
18+
codeSamplesRevisionDigest: sha256:4390dbcfd88823dcee2c67c205ae886bb8112fb0a5f9e959102f6570a7ebd005
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest
@@ -28,6 +29,9 @@ workflow:
2829
midday:
2930
target: typescript
3031
source: Midday API
32+
publish:
33+
npm:
34+
token: $npm_token
3135
codeSamples:
3236
registry:
3337
location: registry.speakeasyapi.dev/midday/midday/midday-api-typescript-code-samples

FUNCTIONS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ specific category of applications.
2020

2121
```typescript
2222
import { MiddayCore } from "@midday-ai/sdk/core.js";
23-
import { transactionsGetV1Transactions } from "@midday-ai/sdk/funcs/transactionsGetV1Transactions.js";
23+
import { transactionsList } from "@midday-ai/sdk/funcs/transactionsList.js";
2424
import { SDKValidationError } from "@midday-ai/sdk/models/errors/sdkvalidationerror.js";
2525

2626
// Use `MiddayCore` for best tree-shaking performance.
@@ -30,7 +30,7 @@ const midday = new MiddayCore({
3030
});
3131

3232
async function run() {
33-
const res = await transactionsGetV1Transactions(midday, {
33+
const res = await transactionsList(midday, {
3434
cursor: "eyJpZCI6IjEyMyJ9",
3535
sort: [
3636
"date",

README.md

Lines changed: 126 additions & 124 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
## 2025-05-29 16:24:40
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc
7+
- Speakeasy CLI 1.554.0 (2.616.1) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [typescript v0.1.0] .
10+
### Releases
11+
- [NPM v0.1.0] https://www.npmjs.com/package/@midday-ai/sdk/v/0.1.0 - .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const midday = new Midday({
77
});
88

99
async function run() {
10-
const result = await midday.transactions.getV1Transactions({
10+
const result = await midday.transactions.list({
1111
cursor: "eyJpZCI6IjEyMyJ9",
1212
sort: [
1313
"date",

docs/models/operations/postv1bankaccountsrequest.md renamed to docs/models/operations/createbankaccountrequest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# PostV1BankAccountsRequest
1+
# CreateBankAccountRequest
22

33
Schema for creating a new bank account.
44

55
## Example Usage
66

77
```typescript
8-
import { PostV1BankAccountsRequest } from "@midday-ai/sdk/models/operations";
8+
import { CreateBankAccountRequest } from "@midday-ai/sdk/models/operations";
99

10-
let value: PostV1BankAccountsRequest = {
10+
let value: CreateBankAccountRequest = {
1111
name: "Checking Account",
1212
currency: "USD",
1313
manual: false,

docs/models/operations/getv1bankaccountsidresponse.md renamed to docs/models/operations/createbankaccountresponse.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# GetV1BankAccountsIdResponse
1+
# CreateBankAccountResponse
22

33
A single bank account object response.
44

55
## Example Usage
66

77
```typescript
8-
import { GetV1BankAccountsIdResponse } from "@midday-ai/sdk/models/operations";
8+
import { CreateBankAccountResponse } from "@midday-ai/sdk/models/operations";
99

10-
let value: GetV1BankAccountsIdResponse = {
10+
let value: CreateBankAccountResponse = {
1111
id: "b7e6c2a0-1f2d-4c3b-9a8e-123456789abc",
1212
name: "Checking Account",
1313
currency: "USD",

0 commit comments

Comments
 (0)