Skip to content

Commit

Permalink
Merge pull request #48 from midday-ai/release-please--branches--main-…
Browse files Browse the repository at this point in the history
…-changes--next--components--engine

release: 0.1.0-alpha.12
  • Loading branch information
pontusab authored Jul 15, 2024
2 parents 1f5f480 + 03d0ec5 commit a7f3601
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.11"
".": "0.1.0-alpha.12"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 12
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/midday%2Fmidday-23ae4134a5c4725f14e7e8482ef4c6bd5ecf7c0175660104745545dce917e3f2.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/midday%2Fmidday-f3344c282c6f9927685318f4decaca8749941be8c7f0a90a57e038f6f4e9a897.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.12 (2024-07-15)

Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/midday-ai/engine-sdk/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)

### Features

* **api:** OpenAPI spec update via Stainless API ([#47](https://github.com/midday-ai/engine-sdk/issues/47)) ([d1451bd](https://github.com/midday-ai/engine-sdk/commit/d1451bde19d4dab42fa544b153f69c4102403904))

## 0.1.0-alpha.11 (2024-07-15)

Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/midday-ai/engine-sdk/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
Expand Down
3 changes: 1 addition & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ Methods:
Types:

- <code><a href="./src/resources/institutions/institutions.ts">Institutions</a></code>
- <code><a href="./src/resources/institutions/institutions.ts">InstitutionListResponse</a></code>

Methods:

- <code title="get /institutions">client.institutions.<a href="./src/resources/institutions/institutions.ts">list</a>({ ...params }) -> InstitutionListResponse</code>
- <code title="get /institutions">client.institutions.<a href="./src/resources/institutions/institutions.ts">list</a>({ ...params }) -> Institutions</code>

## Usage

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midday-ai/engine",
"version": "0.1.0-alpha.11",
"version": "0.1.0-alpha.12",
"description": "The official TypeScript library for the Midday API",
"author": "Midday <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ export namespace Midday {
export import AccountBalanceParams = API.AccountBalanceParams;

export import Institutions = API.Institutions;
export import InstitutionListResponse = API.InstitutionListResponse;
export import InstitutionListParams = API.InstitutionListParams;

export import Auth = API.Auth;
Expand Down
2 changes: 1 addition & 1 deletion src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export {
} from './accounts';
export { Auth } from './auth/auth';
export { Health } from './health';
export { Institutions, InstitutionListResponse, InstitutionListParams } from './institutions/institutions';
export { Institutions, InstitutionListParams } from './institutions/institutions';
export { Transactions, TransactionListParams } from './transactions';
2 changes: 1 addition & 1 deletion src/resources/institutions/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export { Institution, UsageUpdateResponse, Usage } from './usage';
export { Institutions, InstitutionListResponse, InstitutionListParams } from './institutions';
export { Institutions, InstitutionListParams } from './institutions';
12 changes: 3 additions & 9 deletions src/resources/institutions/institutions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,13 @@ export class Institutions extends APIResource {
/**
* Get Institutions
*/
list(
query: InstitutionListParams,
options?: Core.RequestOptions,
): Core.APIPromise<InstitutionListResponse> {
list(query: InstitutionListParams, options?: Core.RequestOptions): Core.APIPromise<Institutions> {
return this._client.get('/institutions', { query, ...options });
}
}

export type Institutions = Array<UsageAPI.Institution | null>;

export interface InstitutionListResponse {
data: Institutions;
export interface Institutions {
data: Array<UsageAPI.Institution | null>;
}

export interface InstitutionListParams {
Expand Down Expand Up @@ -76,7 +71,6 @@ export interface InstitutionListParams {

export namespace Institutions {
export import Institutions = InstitutionsAPI.Institutions;
export import InstitutionListResponse = InstitutionsAPI.InstitutionListResponse;
export import InstitutionListParams = InstitutionsAPI.InstitutionListParams;
export import Usage = UsageAPI.Usage;
export import Institution = UsageAPI.Institution;
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.1.0-alpha.11'; // x-release-please-version
export const VERSION = '0.1.0-alpha.12'; // x-release-please-version

0 comments on commit a7f3601

Please sign in to comment.