File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
src/features/deploymentEnvironments Expand file tree Collapse file tree 1 file changed +11
-2
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 {
@@ -142,3 +142,12 @@ export interface CreateEphemeralEnvironmentResponse {
142142export interface DeprovisionEphemeralEnvironmentProjectResponse {
143143 RunbookRunId ?: string ;
144144}
145+
146+ export type DeprovisioningRunbookRun = {
147+ RunbookRunId : string ;
148+ TaskId : string ;
149+ } ;
150+
151+ export interface DeprovisionEphemeralEnvironmentResponse {
152+ RunbookRunIds ?: DeprovisioningRunbookRun [ ] ;
153+ }
You can’t perform that action at this time.
0 commit comments