Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4,970 changes: 4,235 additions & 735 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

22 changes: 20 additions & 2 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,41 @@ generation:
oAuth2PasswordEnabled: true
hoistGlobalSecurity: true
sdkHooksConfigAccess: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
persistentEdits: {}
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.5.0
version: 0.6.0
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
devDependencies: {}
peerDependencies: {}
additionalPackageJSON: {}
additionalScripts: {}
alwaysIncludeInboundAndOutbound: false
author: Speakeasy
baseErrorName: MiddayError
clientServerStatusCodesAsErrors: true
constFieldsAlwaysOptional: true
constFieldsAlwaysOptional: false
defaultErrorName: APIError
enableCustomCodeRegions: false
enableMCPServer: true
enableReactQuery: false
enumFormat: union
envVarPrefix: MIDDAY
exportZodModelNamespace: false
flatAdditionalProperties: false
flattenGlobalSecurity: true
flatteningOrder: parameters-first
formStringArrayEncodeMode: encoded-string
forwardCompatibleEnumsByDefault: false
forwardCompatibleUnionsByDefault: "false"
generateExamples: true
imports:
option: openapi
Expand All @@ -53,16 +65,22 @@ typescript:
operations: models/operations
shared: models
webhooks: models/webhooks
inferUnionDiscriminators: true
inputModelSuffix: input
jsonpath: rfc9535
laxMode: strict
maxMethodParams: 0
methodArguments: require-security-and-request
modelPropertyCasing: camel
moduleFormat: dual
multipartArrayFormat: legacy
outputModelSuffix: output
packageName: '@midday-ai/sdk'
preApplyUnionDiscriminators: true
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
unionStrategy: left-to-right
usageSDKInitImports: []
useIndexModules: true
zodVersion: v3
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.622.1
speakeasyVersion: 1.682.0
sources:
Midday API:
sourceNamespace: midday-api
sourceRevisionDigest: sha256:ec0531072e6255230022481a20681d2e2807aa4790d88a9e6cc7955b40428800
sourceBlobDigest: sha256:7d8c1d820eeeca2a44fc889957658e75e71f8a880eddc9492eec72df160c794f
sourceRevisionDigest: sha256:c5a4bef3c57d45d04849e042312314f50b7232331f3fcb714b0e3f12f6acbe40
sourceBlobDigest: sha256:645c5b88d0d547998d658054045606ed68fdc80e76f79bd577fb591da1d9a2d6
tags:
- latest
- speakeasy-sdk-regen-1757982544
- speakeasy-sdk-regen-1765845253
- 0.0.1
targets:
midday:
source: Midday API
sourceNamespace: midday-api
sourceRevisionDigest: sha256:ec0531072e6255230022481a20681d2e2807aa4790d88a9e6cc7955b40428800
sourceBlobDigest: sha256:7d8c1d820eeeca2a44fc889957658e75e71f8a880eddc9492eec72df160c794f
sourceRevisionDigest: sha256:c5a4bef3c57d45d04849e042312314f50b7232331f3fcb714b0e3f12f6acbe40
sourceBlobDigest: sha256:645c5b88d0d547998d658054045606ed68fdc80e76f79bd577fb591da1d9a2d6
codeSamplesNamespace: midday-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:c80733ef4afffa08290ac7b523e6b572ac4a51af2303a4c41efb5d5b76a96bf0
codeSamplesRevisionDigest: sha256:f01363f803f9804ca45f72e8eb21336d3e6fe5090367f6ba5e1dee0388010de2
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
157 changes: 118 additions & 39 deletions README.md

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,14 @@ Based on:
### Generated
- [typescript v0.5.0] .
### Releases
- [NPM v0.5.0] https://www.npmjs.com/package/@midday-ai/sdk/v/0.5.0 - .
- [NPM v0.5.0] https://www.npmjs.com/package/@midday-ai/sdk/v/0.5.0 - .

## 2026-01-07 00:34:28
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.682.0 (2.791.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.6.0] .
### Releases
- [NPM v0.6.0] https://www.npmjs.com/package/@midday-ai/sdk/v/0.6.0 - .
12 changes: 6 additions & 6 deletions RUNTIMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

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

* [Web Fetch API][web-fetch]
* [Web Streams API][web-streams] and in particular `ReadableStream`
* [Async iterables][async-iter] using `Symbol.asyncIterator`
- [Web Fetch API][web-fetch]
- [Web Streams API][web-streams] and in particular `ReadableStream`
- [Async iterables][async-iter] using `Symbol.asyncIterator`

[web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
[web-streams]: https://developer.mozilla.org/en-US/docs/Web/API/Streams_API
Expand All @@ -25,7 +25,7 @@ Runtime environments that are explicitly supported are:

The following `tsconfig.json` options are recommended for projects using this
SDK in order to get static type support for features like async iterables,
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
so on):

Expand All @@ -38,11 +38,11 @@ so on):
{
"compilerOptions": {
"target": "es2020", // or higher
"lib": ["es2020", "dom", "dom.iterable"],
"lib": ["es2020", "dom", "dom.iterable"]
}
}
```

While `target` can be set to older ECMAScript versions, it may result in extra,
unnecessary compatibility code being generated if you are not targeting old
runtimes.
runtimes.
17 changes: 17 additions & 0 deletions docs/models/errors/downloadfilebadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DownloadFileBadRequestError

Bad request

## Example Usage

```typescript
import { DownloadFileBadRequestError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/downloadfileinternalservererror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DownloadFileInternalServerError

Internal server error

## Example Usage

```typescript
import { DownloadFileInternalServerError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/downloadfilenotfounderror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DownloadFileNotFoundError

Not found

## Example Usage

```typescript
import { DownloadFileNotFoundError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/downloadfileunauthorizederror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DownloadFileUnauthorizedError

Unauthorized

## Example Usage

```typescript
import { DownloadFileUnauthorizedError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/downloadinvoicebadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DownloadInvoiceBadRequestError

Bad request

## Example Usage

```typescript
import { DownloadInvoiceBadRequestError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/downloadinvoiceinternalservererror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DownloadInvoiceInternalServerError

Internal server error

## Example Usage

```typescript
import { DownloadInvoiceInternalServerError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/downloadinvoicenotfounderror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DownloadInvoiceNotFoundError

Not found

## Example Usage

```typescript
import { DownloadInvoiceNotFoundError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/downloadinvoiceunauthorizederror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DownloadInvoiceUnauthorizedError

Unauthorized

## Example Usage

```typescript
import { DownloadInvoiceUnauthorizedError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/gmailoauthcallbackbadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# GmailOAuthCallbackBadRequestError

Invalid request parameters

## Example Usage

```typescript
import { GmailOAuthCallbackBadRequestError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/gmailoauthcallbackinternalservererror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# GmailOAuthCallbackInternalServerError

Failed to process OAuth callback

## Example Usage

```typescript
import { GmailOAuthCallbackInternalServerError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
18 changes: 18 additions & 0 deletions docs/models/errors/inboxwebhookbadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# InboxWebhookBadRequestError

Invalid request

## Example Usage

```typescript
import { InboxWebhookBadRequestError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| `error` | *string* | :heavy_check_mark: | N/A |
| `errors` | [operations.ErrorT](../../models/operations/errort.md)[] | :heavy_minus_sign: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/inboxwebhookinternalservererror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# InboxWebhookInternalServerError

Internal server error

## Example Usage

```typescript
import { InboxWebhookInternalServerError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/outlookoauthcallbackbadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# OutlookOAuthCallbackBadRequestError

Invalid request parameters

## Example Usage

```typescript
import { OutlookOAuthCallbackBadRequestError } from "@midday-ai/sdk/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `error` | *string* | :heavy_check_mark: | N/A |
Loading