@dynatrace-sdk/client-automation
Advanced tools
Comparing version 1.6.1 to 2.0.1
@@ -5,2 +5,18 @@ # Automation | ||
## 2.0.1 | ||
### Patch Changes | ||
- workflow.lastExecution could be null. | ||
## 2.0.0 | ||
### Major Changes | ||
- Cleanup unsupported fields in Workflow, Execution, TaskExecution entity | ||
### Patch Changes | ||
- createWorkflow endpoint schema has adminAccess query | ||
## 1.6.1 | ||
@@ -7,0 +23,0 @@ |
{ | ||
"name": "@dynatrace-sdk/client-automation", | ||
"version": "1.6.1", | ||
"version": "2.0.1", | ||
"description": "Automation API allows working with workflows and various trigger options.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
# @dynatrace-sdk/client-automation | ||
[![npm](https://img.shields.io/badge/npm-v1.6.1-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-automation/v/1.6.1) | ||
[![npm](https://img.shields.io/badge/npm-v2.0.1-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-automation/v/2.0.1) | ||
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
@@ -5,0 +5,0 @@ |
@@ -27,9 +27,5 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client'; | ||
/** Allow access to all workflows/executions - additionally requires **automation:workflows:admin** */ adminAccess?: boolean; | ||
/** Multiple values may be separated by commas. */ labels?: string[]; | ||
/** Number of results to return per page. */ limit?: number; | ||
/** The initial index from which to return the results. */ offset?: number; | ||
/** Which field to use when ordering the results. */ ordering?: string; | ||
parent?: string; | ||
parentExecution?: string; | ||
parentTaskExecution?: string; | ||
/** Multiple values may be separated by commas. */ schedule?: string[]; | ||
@@ -36,0 +32,0 @@ /** A search term. */ search?: string; |
@@ -32,3 +32,2 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client'; | ||
id?: string; | ||
/** Multiple values may be separated by commas. */ labels?: string[]; | ||
/** Multiple values may be separated by commas. */ lastExecutionStateIn?: string[]; | ||
@@ -62,2 +61,3 @@ /** Number of results to return per page. */ limit?: number; | ||
body: WorkflowRequest; | ||
/** Allow access to all workflows/executions - additionally requires **automation:workflows:admin** */ adminAccess?: boolean; | ||
abortSignal?: AbortSignal; | ||
@@ -64,0 +64,0 @@ }): Promise<Workflow>; |
import { Holidays } from './holidays'; | ||
import { Labels } from './labels'; | ||
import { Weekdays } from './weekdays'; | ||
@@ -12,4 +11,3 @@ export interface BusinessCalendarRequest { | ||
validTo?: Date; | ||
labels?: Labels; | ||
description?: string; | ||
} |
import { BusinessCalendarRequest } from './business-calendar-request'; | ||
import * as _HolidaysTransformation from './holidays.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import * as _WeekdaysTransformation from './weekdays.transformation'; | ||
@@ -13,3 +12,2 @@ export interface AsJson { | ||
validTo?: string; | ||
labels?: _LabelsTransformation.AsJson; | ||
description?: string; | ||
@@ -16,0 +14,0 @@ } |
import { Holidays } from './holidays'; | ||
import { Labels } from './labels'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
@@ -14,5 +13,4 @@ import { Weekdays } from './weekdays'; | ||
validTo?: Date; | ||
labels?: Labels; | ||
description?: string; | ||
modificationInfo: _ModificationInfoTransformation.AsJson; | ||
} |
import { BusinessCalendar } from './business-calendar'; | ||
import * as _HolidaysTransformation from './holidays.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
@@ -15,3 +14,2 @@ import * as _WeekdaysTransformation from './weekdays.transformation'; | ||
validTo?: string; | ||
labels?: _LabelsTransformation.AsJson; | ||
description?: string; | ||
@@ -18,0 +16,0 @@ modificationInfo: _ModificationInfoTransformation.AsJson; |
import { DavisEventConfigEntityTags } from './davis-event-config-entity-tags'; | ||
import { DavisEventName } from './davis-event-name'; | ||
import { EntityTagsMatch } from './entity-tags-match'; | ||
@@ -7,4 +8,5 @@ export interface DavisEventConfig { | ||
onProblemClose?: boolean; | ||
names?: DavisEventName[]; | ||
types?: string[]; | ||
customFilter?: string; | ||
} |
import { DavisEventConfig } from './davis-event-config'; | ||
import * as _DavisEventConfigEntityTagsTransformation from './davis-event-config-entity-tags.transformation'; | ||
import * as _DavisEventNameTransformation from './davis-event-name.transformation'; | ||
import * as _EntityTagsMatchTransformation from './entity-tags-match.transformation'; | ||
@@ -8,2 +9,3 @@ export interface AsJson { | ||
onProblemClose?: boolean; | ||
names?: _DavisEventNameTransformation.AsJson[]; | ||
types?: string[]; | ||
@@ -10,0 +12,0 @@ customFilter?: string; |
import { ExecutionInput } from './execution-input'; | ||
import { ExecutionParams } from './execution-params'; | ||
import { ExecutionResult } from './execution-result'; | ||
import { ExecutionState } from './execution-state'; | ||
import { Labels } from './labels'; | ||
export interface Execution { | ||
@@ -12,3 +10,2 @@ id?: string; | ||
workflow?: string | null; | ||
labels?: Labels; | ||
state?: ExecutionState; | ||
@@ -29,5 +26,2 @@ stateInfo?: string | null; | ||
task: string; | ||
parentTaskExecution: string; | ||
parentExecution: string; | ||
result?: ExecutionResult; | ||
user?: string | null; | ||
@@ -34,0 +28,0 @@ actor: string; |
import { Execution } from './execution'; | ||
import * as _ExecutionInputTransformation from './execution-input.transformation'; | ||
import * as _ExecutionParamsTransformation from './execution-params.transformation'; | ||
import * as _ExecutionResultTransformation from './execution-result.transformation'; | ||
import * as _ExecutionStateTransformation from './execution-state.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
export interface AsJson { | ||
id?: string; | ||
workflow?: string | null; | ||
labels?: _LabelsTransformation.AsJson; | ||
state?: _ExecutionStateTransformation.AsJson; | ||
@@ -22,5 +19,2 @@ stateInfo?: string | null; | ||
task: string; | ||
parentTaskExecution: string; | ||
parentExecution: string; | ||
result?: _ExecutionResultTransformation.AsJson; | ||
user?: string | null; | ||
@@ -27,0 +21,0 @@ actor: string; |
@@ -23,2 +23,6 @@ export * from './action-execution'; | ||
export * as _DavisEventConfigEntityTagsTransformation from './davis-event-config-entity-tags.transformation'; | ||
export * from './davis-event-name'; | ||
export * as _DavisEventNameTransformation from './davis-event-name.transformation'; | ||
export * from './davis-event-name-match'; | ||
export * as _DavisEventNameMatchTransformation from './davis-event-name-match.transformation'; | ||
export * from './davis-event-trigger-config'; | ||
@@ -84,4 +88,2 @@ export * as _DavisEventTriggerConfigTransformation from './davis-event-trigger-config.transformation'; | ||
export * as _ExecutionParamsTransformation from './execution-params.transformation'; | ||
export * from './execution-result'; | ||
export * as _ExecutionResultTransformation from './execution-result.transformation'; | ||
export * from './execution-state'; | ||
@@ -119,4 +121,2 @@ export * as _ExecutionStateTransformation from './execution-state.transformation'; | ||
export * as _IntervalTriggerTypeTransformation from './interval-trigger-type.transformation'; | ||
export * from './labels'; | ||
export * as _LabelsTransformation from './labels.transformation'; | ||
export * from './modification-info'; | ||
@@ -224,4 +224,2 @@ export * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
export * as _TaskExecutionPositionTransformation from './task-execution-position.transformation'; | ||
export * from './task-execution-published'; | ||
export * as _TaskExecutionPublishedTransformation from './task-execution-published.transformation'; | ||
export * from './task-execution-result'; | ||
@@ -228,0 +226,0 @@ export * as _TaskExecutionResultTransformation from './task-execution-result.transformation'; |
import { Holidays } from './holidays'; | ||
import { Labels } from './labels'; | ||
import { Weekdays } from './weekdays'; | ||
@@ -12,4 +11,3 @@ export interface PatchedBusinessCalendarRequest { | ||
validTo?: Date; | ||
labels?: Labels; | ||
description?: string; | ||
} |
import * as _HolidaysTransformation from './holidays.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import { PatchedBusinessCalendarRequest } from './patched-business-calendar-request'; | ||
@@ -13,3 +12,2 @@ import * as _WeekdaysTransformation from './weekdays.transformation'; | ||
validTo?: string; | ||
labels?: _LabelsTransformation.AsJson; | ||
description?: string; | ||
@@ -16,0 +14,0 @@ } |
import * as _FixedOffsetRuleTransformation from './fixed-offset-rule.transformation'; | ||
import * as _GroupingRuleTransformation from './grouping-rule.transformation'; | ||
import { Labels } from './labels'; | ||
import { PatchedRuleRequestRuleType } from './patched-rule-request-rule-type'; | ||
@@ -16,4 +15,3 @@ import * as _RRuleTransformation from './r-rule.transformation'; | ||
businessCalendar?: string | null; | ||
labels?: Labels; | ||
description?: string; | ||
} |
import * as _FixedOffsetRuleTransformation from './fixed-offset-rule.transformation'; | ||
import * as _GroupingRuleTransformation from './grouping-rule.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import { PatchedRuleRequest } from './patched-rule-request'; | ||
@@ -17,3 +16,2 @@ import * as _PatchedRuleRequestRuleTypeTransformation from './patched-rule-request-rule-type.transformation'; | ||
businessCalendar?: string | null; | ||
labels?: _LabelsTransformation.AsJson; | ||
description?: string; | ||
@@ -20,0 +18,0 @@ } |
@@ -1,2 +0,1 @@ | ||
import { Labels } from './labels'; | ||
import { PatchedWorkflowRequestOwnerType } from './patched-workflow-request-owner-type'; | ||
@@ -12,3 +11,2 @@ import { PatchedWorkflowRequestTaskDefaults } from './patched-workflow-request-task-defaults'; | ||
description?: string; | ||
labels?: Labels; | ||
actor?: string | null; | ||
@@ -15,0 +13,0 @@ owner?: string; |
@@ -1,2 +0,1 @@ | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import { PatchedWorkflowRequest } from './patched-workflow-request'; | ||
@@ -13,3 +12,2 @@ import * as _PatchedWorkflowRequestOwnerTypeTransformation from './patched-workflow-request-owner-type.transformation'; | ||
description?: string; | ||
labels?: _LabelsTransformation.AsJson; | ||
actor?: string | null; | ||
@@ -16,0 +14,0 @@ owner?: string; |
import * as _FixedOffsetRuleTransformation from './fixed-offset-rule.transformation'; | ||
import * as _GroupingRuleTransformation from './grouping-rule.transformation'; | ||
import { Labels } from './labels'; | ||
import * as _RRuleTransformation from './r-rule.transformation'; | ||
@@ -16,4 +15,3 @@ import * as _RelativeOffsetRuleTransformation from './relative-offset-rule.transformation'; | ||
businessCalendar?: string | null; | ||
labels?: Labels; | ||
description?: string; | ||
} |
import * as _FixedOffsetRuleTransformation from './fixed-offset-rule.transformation'; | ||
import * as _GroupingRuleTransformation from './grouping-rule.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import * as _RRuleTransformation from './r-rule.transformation'; | ||
@@ -17,3 +16,2 @@ import * as _RelativeOffsetRuleTransformation from './relative-offset-rule.transformation'; | ||
businessCalendar?: string | null; | ||
labels?: _LabelsTransformation.AsJson; | ||
description?: string; | ||
@@ -20,0 +18,0 @@ } |
import * as _FixedOffsetRuleTransformation from './fixed-offset-rule.transformation'; | ||
import * as _GroupingRuleTransformation from './grouping-rule.transformation'; | ||
import { Labels } from './labels'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
@@ -18,5 +17,4 @@ import * as _RRuleTransformation from './r-rule.transformation'; | ||
businessCalendar?: string | null; | ||
labels?: Labels; | ||
description?: string; | ||
modificationInfo: _ModificationInfoTransformation.AsJson; | ||
} |
import * as _FixedOffsetRuleTransformation from './fixed-offset-rule.transformation'; | ||
import * as _GroupingRuleTransformation from './grouping-rule.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
@@ -19,3 +18,2 @@ import * as _RRuleTransformation from './r-rule.transformation'; | ||
businessCalendar?: string | null; | ||
labels?: _LabelsTransformation.AsJson; | ||
description?: string; | ||
@@ -22,0 +20,0 @@ modificationInfo: _ModificationInfoTransformation.AsJson; |
@@ -5,3 +5,2 @@ import { TaskExecutionConditionResults } from './task-execution-condition-results'; | ||
import { TaskExecutionPosition } from './task-execution-position'; | ||
import { TaskExecutionPublished } from './task-execution-published'; | ||
import { TaskExecutionResult } from './task-execution-result'; | ||
@@ -36,5 +35,3 @@ import { TaskExecutionState } from './task-execution-state'; | ||
result: TaskExecutionResult; | ||
published?: TaskExecutionPublished; | ||
isErrorTask?: boolean; | ||
conditionResults?: TaskExecutionConditionResults; | ||
} |
@@ -6,3 +6,2 @@ import { TaskExecution } from './task-execution'; | ||
import * as _TaskExecutionPositionTransformation from './task-execution-position.transformation'; | ||
import * as _TaskExecutionPublishedTransformation from './task-execution-published.transformation'; | ||
import * as _TaskExecutionResultTransformation from './task-execution-result.transformation'; | ||
@@ -27,4 +26,2 @@ import * as _TaskExecutionStateTransformation from './task-execution-state.transformation'; | ||
result: _TaskExecutionResultTransformation.AsJson; | ||
published?: _TaskExecutionPublishedTransformation.AsJson; | ||
isErrorTask?: boolean; | ||
conditionResults?: _TaskExecutionConditionResultsTransformation.AsJson; | ||
@@ -31,0 +28,0 @@ } |
@@ -7,3 +7,2 @@ import { TaskConditionOption } from './task-condition-option'; | ||
action?: string; | ||
workflow?: string; | ||
description?: string; | ||
@@ -10,0 +9,0 @@ input?: any; |
@@ -8,3 +8,2 @@ import { Task } from './task'; | ||
action?: string; | ||
workflow?: string; | ||
description?: string; | ||
@@ -11,0 +10,0 @@ input?: any; |
import * as _ExecutionTransformation from './execution.transformation'; | ||
import { Labels } from './labels'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
@@ -15,5 +14,4 @@ import { Tasks } from './tasks'; | ||
usages: WorkflowListItemUsages; | ||
lastExecution: _ExecutionTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
description?: string; | ||
labels?: Labels; | ||
version: number; | ||
@@ -20,0 +18,0 @@ actor?: string | null; |
import * as _ExecutionTransformation from './execution.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
@@ -16,5 +15,4 @@ import * as _TasksTransformation from './tasks.transformation'; | ||
usages: _WorkflowListItemUsagesTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
description?: string; | ||
labels?: _LabelsTransformation.AsJson; | ||
version: number; | ||
@@ -21,0 +19,0 @@ actor?: string | null; |
@@ -1,2 +0,1 @@ | ||
import { Labels } from './labels'; | ||
import { Tasks } from './tasks'; | ||
@@ -12,3 +11,2 @@ import { TriggerRequest } from './trigger-request'; | ||
description?: string; | ||
labels?: Labels; | ||
actor?: string | null; | ||
@@ -15,0 +13,0 @@ owner?: string; |
@@ -1,2 +0,1 @@ | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import * as _TasksTransformation from './tasks.transformation'; | ||
@@ -13,3 +12,2 @@ import * as _TriggerRequestTransformation from './trigger-request.transformation'; | ||
description?: string; | ||
labels?: _LabelsTransformation.AsJson; | ||
actor?: string | null; | ||
@@ -16,0 +14,0 @@ owner?: string; |
import * as _ExecutionTransformation from './execution.transformation'; | ||
import { Labels } from './labels'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
@@ -15,5 +14,4 @@ import { Tasks } from './tasks'; | ||
usages: WorkflowUsages; | ||
lastExecution: _ExecutionTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
description?: string; | ||
labels?: Labels; | ||
version: number; | ||
@@ -20,0 +18,0 @@ actor?: string | null; |
import * as _ExecutionTransformation from './execution.transformation'; | ||
import * as _LabelsTransformation from './labels.transformation'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
@@ -16,5 +15,4 @@ import * as _TasksTransformation from './tasks.transformation'; | ||
usages: _WorkflowUsagesTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
description?: string; | ||
labels?: _LabelsTransformation.AsJson; | ||
version: number; | ||
@@ -21,0 +19,0 @@ actor?: string | null; |
@@ -1,2 +0,2 @@ | ||
export { AbortController, AbortSignal, BaseError, Binary, BinaryFormDataRequestField, BinaryFormDataResponseField, DataTypeError, DataTypes, FormDataRequestBody, FormDataRequestField, FormDataResponseBody, FormDataResponseField, Headers, HttpClient, HttpClientAbortError, HttpClientNetworkError, HttpClientRequestError, HttpClientRequestOptions, HttpClientResponse, HttpClientResponseError, JsonFormDataRequestField, RequestBodyTypes, ResponseBodyTypes, StatusValidator, TextFormDataRequestField, TextFormDataResponseField, UnsupportedOperationError, } from './lib/types'; | ||
export { AbortController, AbortSignal, BaseError, Binary, BinaryFormDataRequestField, BinaryFormDataResponseField, DataTypeError, DataTypes, FormDataRequestBody, FormDataRequestField, FormDataResponseBody, FormDataResponseField, Headers, HttpClient, HttpClientAbortError, HttpClientNetworkError, HttpClientRequestError, HttpClientRequestOptions, HttpClientResponse, HttpClientResponseError, JsonFormDataRequestField, RequestBodyTypes, ResponseBodyTypes, StatusValidator, TextFormDataRequestField, TextFormDataResponseField, UnsupportedOperationError, isHttpClientResponseError, isHttpClientAbortError, isHttpClientNetworkError, isHttpClientRequestError, } from './lib/types'; | ||
export { AbortController as PlatformAbortController, AbortSignal as PlatformAbortSignal, BaseError as PlatformBaseError, Binary as PlatformBinary, DataTypeError as PlatformDataTypeError, HttpClient as PlatformHttpClient, HttpClientAbortError as PlatformHttpClientAbortError, HttpClientRequestError as PlatformHttpClientRequestError, HttpClientResponse as PlatformHttpClientResponse, HttpClientResponseError as PlatformHttpClientResponseError, UnsupportedOperationError as PlatformUnsupportedOperationError, httpClient, } from './lib/platform'; |
@@ -15,1 +15,2 @@ import { BaseError } from './base-error'; | ||
} | ||
export declare function isHttpClientAbortError(e: any): e is HttpClientAbortError; |
@@ -15,1 +15,2 @@ import { BaseError } from './base-error'; | ||
} | ||
export declare function isHttpClientNetworkError(e: any): e is HttpClientNetworkError; |
@@ -15,1 +15,2 @@ import { BaseError } from './base-error'; | ||
} | ||
export declare function isHttpClientRequestError(e: any): e is HttpClientRequestError; |
@@ -20,1 +20,2 @@ import { HttpClientResponse } from './http-client-response'; | ||
} | ||
export declare function isHttpClientResponseError(e: any): e is HttpClientResponseError; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1177321
357
24188