Skip to content

Commit 2a6f6e7

Browse files
release: 0.3.0 (#25)
* feat(api): manual updates (#24) * feat(api): manual updates (#26) * release: 0.3.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent ec476cb commit 2a6f6e7

File tree

15 files changed

+72
-32
lines changed

15 files changed

+72
-32
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.2.0"
2+
".": "0.3.0"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 111
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-f6598ab5d6827f66b642201769e92590ea32af84ebbf24b18cc32b33dee5107e.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml

CHANGELOG.md

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

3+
## 0.3.0 (2025-02-18)
4+
5+
Full Changelog: [v0.2.0...v0.3.0](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.2.0...v0.3.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([#24](https://github.com/gitpod-io/gitpod-sdk-typescript/issues/24)) ([66153db](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/66153dbf178520a0a52f26e0e10b4ef1421a9317))
10+
* **api:** manual updates ([#26](https://github.com/gitpod-io/gitpod-sdk-typescript/issues/26)) ([b6fb638](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/b6fb638e126b63f4563b789a6e1f91a9e11f9320))
11+
312
## 0.2.0 (2025-02-18)
413

514
Full Changelog: [v0.1.2...v0.2.0](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.1.2...v0.2.0)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitpod/sdk",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "The official TypeScript library for the Gitpod API",
55
"author": "Gitpod <[email protected]>",
66
"types": "dist/index.d.ts",

src/resources/environments/automations/services.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,11 +501,11 @@ export interface ServiceStatus {
501501
}
502502

503503
export interface ServiceCreateResponse {
504-
service?: Service;
504+
service: Service;
505505
}
506506

507507
export interface ServiceRetrieveResponse {
508-
service?: Service;
508+
service: Service;
509509
}
510510

511511
export type ServiceUpdateResponse = unknown;

src/resources/environments/automations/tasks/executions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class Executions extends APIResource {
108108
}
109109

110110
export interface ExecutionRetrieveResponse {
111-
taskExecution?: Shared.TaskExecution;
111+
taskExecution: Shared.TaskExecution;
112112
}
113113

114114
export type ExecutionStopResponse = unknown;

src/resources/environments/automations/tasks/tasks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,19 +218,19 @@ export class Tasks extends APIResource {
218218
}
219219

220220
export interface TaskCreateResponse {
221-
task?: Shared.Task;
221+
task: Shared.Task;
222222
}
223223

224224
export interface TaskRetrieveResponse {
225-
task?: Shared.Task;
225+
task: Shared.Task;
226226
}
227227

228228
export type TaskUpdateResponse = unknown;
229229

230230
export type TaskDeleteResponse = unknown;
231231

232232
export interface TaskStartResponse {
233-
taskExecution?: Shared.TaskExecution;
233+
taskExecution: Shared.TaskExecution;
234234
}
235235

236236
export interface TaskCreateParams {

src/resources/environments/environments.ts

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -887,9 +887,40 @@ export namespace EnvironmentSpec {
887887
*/
888888
devcontainerFilePath?: string;
889889

890+
/**
891+
* Experimental: dotfiles is the dotfiles configuration of the devcontainer
892+
*/
893+
dotfiles?: Devcontainer.Dotfiles;
894+
890895
session?: string;
891896
}
892897

898+
export namespace Devcontainer {
899+
/**
900+
* Experimental: dotfiles is the dotfiles configuration of the devcontainer
901+
*/
902+
export interface Dotfiles {
903+
/**
904+
* URL of a dotfiles Git repository (e.g. https://github.com/owner/repository)
905+
*/
906+
repository: string;
907+
908+
/**
909+
* install_command is the command to run after cloning the dotfiles repository.
910+
* Defaults to run the first file of `install.sh`, `install`, `bootstrap.sh`,
911+
* `bootstrap`, `setup.sh` and `setup` found in the dotfiles repository's root
912+
* folder.
913+
*/
914+
installCommand?: string;
915+
916+
/**
917+
* target_path is the path to clone the dotfiles repository to. Defaults to
918+
* `~/dotfiles`.
919+
*/
920+
targetPath?: string;
921+
}
922+
}
923+
893924
/**
894925
* machine is the machine spec of the environment
895926
*/
@@ -1509,14 +1540,14 @@ export interface EnvironmentCreateResponse {
15091540
/**
15101541
* +resource get environment
15111542
*/
1512-
environment?: Environment;
1543+
environment: Environment;
15131544
}
15141545

15151546
export interface EnvironmentRetrieveResponse {
15161547
/**
15171548
* +resource get environment
15181549
*/
1519-
environment?: Environment;
1550+
environment: Environment;
15201551
}
15211552

15221553
export type EnvironmentUpdateResponse = unknown;
@@ -1527,14 +1558,14 @@ export interface EnvironmentCreateFromProjectResponse {
15271558
/**
15281559
* +resource get environment
15291560
*/
1530-
environment?: Environment;
1561+
environment: Environment;
15311562
}
15321563

15331564
export interface EnvironmentCreateLogsTokenResponse {
15341565
/**
15351566
* access_token is the token that can be used to access the logs of the environment
15361567
*/
1537-
accessToken?: string;
1568+
accessToken: string;
15381569
}
15391570

15401571
export type EnvironmentMarkActiveResponse = unknown;

src/resources/runners/configurations/host-authentication-tokens.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class HostAuthenticationTokens extends APIResource {
7171
export type HostAuthenticationTokensTokensPage = TokensPage<HostAuthenticationToken>;
7272

7373
export interface HostAuthenticationToken {
74-
id?: string;
74+
id: string;
7575

7676
/**
7777
* A Timestamp represents a point in time independent of any time zone or local
@@ -180,11 +180,11 @@ export type HostAuthenticationTokenSource =
180180
| 'HOST_AUTHENTICATION_TOKEN_SOURCE_PAT';
181181

182182
export interface HostAuthenticationTokenCreateResponse {
183-
token?: HostAuthenticationToken;
183+
token: HostAuthenticationToken;
184184
}
185185

186186
export interface HostAuthenticationTokenRetrieveResponse {
187-
token?: HostAuthenticationToken;
187+
token: HostAuthenticationToken;
188188
}
189189

190190
export type HostAuthenticationTokenUpdateResponse = unknown;

src/resources/runners/policies.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ export interface RunnerPolicy {
5757
export type RunnerRole = 'RUNNER_ROLE_UNSPECIFIED' | 'RUNNER_ROLE_ADMIN' | 'RUNNER_ROLE_USER';
5858

5959
export interface PolicyCreateResponse {
60-
policy?: RunnerPolicy;
60+
policy: RunnerPolicy;
6161
}
6262

6363
export interface PolicyUpdateResponse {
64-
policy?: RunnerPolicy;
64+
policy: RunnerPolicy;
6565
}
6666

6767
export type PolicyDeleteResponse = unknown;

0 commit comments

Comments
 (0)