@dynatrace-sdk/automation-utils
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -5,2 +5,14 @@ # Automation utils | ||
## 2.1.0 | ||
### Minor Changes | ||
- Added action-sample-result endpoint. Removed TaskExecutionResult type, use any instead. | ||
### Patch Changes | ||
- Updated dependencies | ||
- @dynatrace-sdk/client-automation@2.1.0 | ||
## 2.0.0 | ||
@@ -7,0 +19,0 @@ |
@@ -15,3 +15,3 @@ # Automation utils | ||
<div class="col" style={{textAlign: 'right'}}> | ||
<a href="https://www.npmjs.com/package/@dynatrace-sdk/automation-utils/v/2.0.0">v2.0.0</a> | ||
<a href="https://www.npmjs.com/package/@dynatrace-sdk/automation-utils/v/2.1.0">v2.1.0</a> | ||
</div> | ||
@@ -18,0 +18,0 @@ </div> |
{ | ||
"name": "@dynatrace-sdk/automation-utils", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Automation utilities.", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@dynatrace-sdk/client-automation": "^2.0.0", | ||
"@dynatrace-sdk/client-automation": "^2.1.0", | ||
"lodash-es": "^4.17.21" | ||
@@ -9,0 +9,0 @@ }, |
export * from './action-executions-api'; | ||
export * from './actions-sample-result-api'; | ||
export * from './business-calendars-api'; | ||
@@ -3,0 +4,0 @@ export * from './event-triggers-api'; |
@@ -6,5 +6,6 @@ import { ErrorType } from '@dynatrace-sdk/error-handlers'; | ||
export declare class ApiClientError extends Error { | ||
readonly cause?: any; | ||
errorType: ErrorType; | ||
constructor(name: string, message?: string); | ||
constructor(name: string, message?: string, cause?: any); | ||
} | ||
export declare function isApiClientError(e: any): e is ApiClientError; |
@@ -6,4 +6,4 @@ import { HttpClientResponse } from '@dynatrace-sdk/http-client'; | ||
response: HttpClientResponse; | ||
constructor(name: string, response: HttpClientResponse, body: DTO, message?: string); | ||
constructor(name: string, response: HttpClientResponse, body: DTO, message?: string, cause?: any); | ||
} | ||
export declare function isClientRequestError<DTO>(e: any): e is ClientRequestError<DTO>; |
@@ -221,4 +221,2 @@ export * from './action-execution'; | ||
export * as _TaskExecutionPositionTransformation from './task-execution-position.transformation'; | ||
export * from './task-execution-result'; | ||
export * as _TaskExecutionResultTransformation from './task-execution-result.transformation'; | ||
export * from './task-execution-state'; | ||
@@ -225,0 +223,0 @@ export * as _TaskExecutionStateTransformation from './task-execution-state.transformation'; |
@@ -5,3 +5,2 @@ import { TaskExecutionConditionResults } from './task-execution-condition-results'; | ||
import { TaskExecutionPosition } from './task-execution-position'; | ||
import { TaskExecutionResult } from './task-execution-result'; | ||
import { TaskExecutionState } from './task-execution-state'; | ||
@@ -34,4 +33,4 @@ import { TaskExecutionTriggeredBy } from './task-execution-triggered-by'; | ||
active: boolean; | ||
result: TaskExecutionResult; | ||
result: any; | ||
conditionResults?: TaskExecutionConditionResults; | ||
} |
@@ -6,3 +6,2 @@ import { TaskExecution } from './task-execution'; | ||
import * as _TaskExecutionPositionTransformation from './task-execution-position.transformation'; | ||
import * as _TaskExecutionResultTransformation from './task-execution-result.transformation'; | ||
import * as _TaskExecutionStateTransformation from './task-execution-state.transformation'; | ||
@@ -25,3 +24,3 @@ import * as _TaskExecutionTriggeredByTransformation from './task-execution-triggered-by.transformation'; | ||
active: boolean; | ||
result: _TaskExecutionResultTransformation.AsJson; | ||
result: any; | ||
conditionResults?: _TaskExecutionConditionResultsTransformation.AsJson; | ||
@@ -28,0 +27,0 @@ } |
@@ -14,2 +14,3 @@ import { TaskConditionOption } from './task-condition-option'; | ||
position?: TaskPosition; | ||
customSampleResult?: any; | ||
predecessors?: string[]; | ||
@@ -16,0 +17,0 @@ conditions?: TaskConditionOption; |
@@ -12,2 +12,3 @@ import { Task } from './task'; | ||
position?: _TaskPositionTransformation.AsJson; | ||
customSampleResult?: any; | ||
predecessors?: string[]; | ||
@@ -14,0 +15,0 @@ conditions?: _TaskConditionOptionTransformation.AsJson; |
@@ -14,3 +14,3 @@ import * as _ExecutionTransformation from './execution.transformation'; | ||
usages: WorkflowListItemUsages; | ||
lastExecution: _ExecutionTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
description?: string; | ||
@@ -17,0 +17,0 @@ version: number; |
@@ -15,3 +15,3 @@ import * as _ExecutionTransformation from './execution.transformation'; | ||
usages: _WorkflowListItemUsagesTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
description?: string; | ||
@@ -18,0 +18,0 @@ version: number; |
@@ -14,3 +14,3 @@ import * as _ExecutionTransformation from './execution.transformation'; | ||
usages: WorkflowUsages; | ||
lastExecution: _ExecutionTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
description?: string; | ||
@@ -17,0 +17,0 @@ version: number; |
@@ -15,3 +15,3 @@ import * as _ExecutionTransformation from './execution.transformation'; | ||
usages: _WorkflowUsagesTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
description?: string; | ||
@@ -18,0 +18,0 @@ version: number; |
@@ -1,4 +0,4 @@ | ||
import { Execution, TaskExecutionResult } from '@dynatrace-sdk/client-automation'; | ||
import { Execution } from '@dynatrace-sdk/client-automation'; | ||
interface IExecution extends Execution { | ||
result(taskId: string): Promise<TaskExecutionResult>; | ||
result(taskId: string): Promise<any>; | ||
event(): Record<string, string> | null; | ||
@@ -5,0 +5,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
294343
6848
358