From fce5f5ef736814ab37d5bb7de15d68a5a42d7ace Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2025 16:00:55 +0000 Subject: [PATCH 1/2] feat(api): manual updates (#28) --- .stats.yml | 2 +- api.md | 1 - src/client.ts | 1 - src/error.ts | 6 ------ src/resources/shared.ts | 14 -------------- 5 files changed, 1 insertion(+), 23 deletions(-) diff --git a/.stats.yml b/.stats.yml index 21d6a3d..f08fd6b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 111 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-cd6a05ae99d2a050577fa0e729e6ae89b4eacd78f61366a77269398368f8a877.yml diff --git a/api.md b/api.md index ac4a55a..8e80f38 100644 --- a/api.md +++ b/api.md @@ -2,7 +2,6 @@ Types: -- ArbitraryData - AutomationTrigger - EnvironmentClass - ErrorCode diff --git a/src/client.ts b/src/client.ts index c118587..c300e85 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1145,7 +1145,6 @@ export declare namespace Gitpod { type UserSetSuspendedParams as UserSetSuspendedParams, }; - export type ArbitraryData = API.ArbitraryData; export type AutomationTrigger = API.AutomationTrigger; export type EnvironmentClass = API.EnvironmentClass; export type ErrorCode = API.ErrorCode; diff --git a/src/error.ts b/src/error.ts index 1169f9b..67145c6 100644 --- a/src/error.ts +++ b/src/error.ts @@ -22,11 +22,6 @@ export class APIError< * [google.rpc.Code][google.rpc.Code]. */ readonly code?: Shared.ErrorCode | undefined; - /** - * Contains an arbitrary serialized message along with a @type that describes the - * type of the serialized message. - */ - readonly detail?: Shared.ArbitraryData | undefined; constructor(status: TStatus, error: TError, message: string | undefined, headers: THeaders) { super(`${APIError.makeMessage(status, error, message)}`); @@ -36,7 +31,6 @@ export class APIError< const data = error as Record; this.code = data?.['code']; - this.detail = data?.['detail']; } private static makeMessage(status: number | undefined, error: any, message: string | undefined) { diff --git a/src/resources/shared.ts b/src/resources/shared.ts index 64f898f..048dc03 100644 --- a/src/resources/shared.ts +++ b/src/resources/shared.ts @@ -2,20 +2,6 @@ import * as Shared from './shared'; import { EnvironmentClassesPage, TaskExecutionsPage, TasksPage } from '../pagination'; -import { type Uploadable } from '../uploads'; - -/** - * Contains an arbitrary serialized message along with a @type that describes the - * type of the serialized message. - */ -export interface ArbitraryData { - debug?: Record; - - type?: string; - - value?: Uploadable; - [k: string]: unknown; -} /** * An AutomationTrigger represents a trigger for an automation action. The From fddd2b5d1a3116bcef00c3ad13dea1ace8efc087 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2025 16:07:22 +0000 Subject: [PATCH 2/2] release: 0.3.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0ee8c01..816df2d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.3.0" + ".": "0.3.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 91feb22..b5e14b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.3.1 (2025-02-18) + +Full Changelog: [v0.3.0...v0.3.1](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.3.0...v0.3.1) + +### Features + +* **api:** manual updates ([#28](https://github.com/gitpod-io/gitpod-sdk-typescript/issues/28)) ([fce5f5e](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/fce5f5ef736814ab37d5bb7de15d68a5a42d7ace)) + ## 0.3.0 (2025-02-18) Full Changelog: [v0.2.0...v0.3.0](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.2.0...v0.3.0) diff --git a/package.json b/package.json index 0c98ebe..779a6bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gitpod/sdk", - "version": "0.3.0", + "version": "0.3.1", "description": "The official TypeScript library for the Gitpod API", "author": "Gitpod ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 88f4d40..99a66ad 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.3.0'; // x-release-please-version +export const VERSION = '0.3.1'; // x-release-please-version