File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
src/features/deploymentEnvironments Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ export class EnvironmentRepository extends SpaceScopedBasicRepository<Deployment
6969 return response ;
7070 }
7171
72- async deprovisionEphemeralEnvironment ( environmentId : string ) : Promise < DeprovisionEphemeralEnvironmentProjectResponse > {
73- const response = await this . client . doCreate < DeprovisionEphemeralEnvironmentProjectResponse > (
72+ async deprovisionEphemeralEnvironment ( environmentId : string ) : Promise < DeprovisionEphemeralEnvironmentResponse > {
73+ const response = await this . client . doCreate < DeprovisionEphemeralEnvironmentResponse > (
7474 `${ spaceScopedRoutePrefix } /environments/ephemeral/{environmentId}/deprovision` ,
7575 { } ,
7676 {
@@ -139,6 +139,15 @@ export interface CreateEphemeralEnvironmentResponse {
139139 Id : string ;
140140}
141141
142+ export type DeprovisioningRunbookRun = {
143+ RunbookRunId : string ;
144+ TaskId : string ;
145+ } ;
146+
142147export interface DeprovisionEphemeralEnvironmentProjectResponse {
143- RunbookRunId ?: string ;
148+ DeprovisioningRun ?: DeprovisioningRunbookRun ;
149+ }
150+
151+ export interface DeprovisionEphemeralEnvironmentResponse {
152+ DeprovisioningRuns ?: DeprovisioningRunbookRun [ ] ;
144153}
You can’t perform that action at this time.
0 commit comments