@dynatrace-sdk/client-automation
Advanced tools
Comparing version 2.4.6 to 3.0.1
@@ -5,2 +5,18 @@ # Automation | ||
## 3.0.1 | ||
### Patch Changes | ||
- Fixed explode method of query parameters serialization. | ||
## 3.0.0 | ||
### Major Changes | ||
- update json types, remove unused fields TaskExecution.triggered_by and Workflow.usages, update scopes in some doc strings | ||
### Patch Changes | ||
- Update http-client | ||
## 2.4.6 | ||
@@ -7,0 +23,0 @@ |
{ | ||
"dynagen": { | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"generatedAt": "", | ||
"template": { | ||
"name": "@dynatrace-sdk/template-typescript-client", | ||
"version": "0.18.11" | ||
"version": "0.18.12" | ||
} | ||
@@ -12,5 +12,5 @@ }, | ||
"title": "Automation", | ||
"version": "1.598.0", | ||
"version": "1.637.0", | ||
"baseUrl": "/platform/automation/v1" | ||
} | ||
} |
{ | ||
"name": "@dynatrace-sdk/client-automation", | ||
"version": "2.4.6", | ||
"version": "3.0.1", | ||
"description": "Automation API allows working with workflows and various trigger options.", | ||
@@ -8,3 +8,3 @@ "license": "Apache-2.0", | ||
"@dynatrace-sdk/error-handlers": "^1.2.0", | ||
"@dynatrace-sdk/http-client": "^1.0.9" | ||
"@dynatrace-sdk/http-client": "^1.0.10" | ||
}, | ||
@@ -11,0 +11,0 @@ "main": "./cjs/index.js", |
# @dynatrace-sdk/client-automation | ||
[![npm](https://img.shields.io/badge/npm-v2.4.6-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-automation/v/2.4.6) | ||
[![npm](https://img.shields.io/badge/npm-v3.0.1-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-automation/v/3.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 @@ |
@@ -272,3 +272,3 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client'; | ||
/** | ||
* **Required scope:** automation:workflows:write<br/><br/>Returns preview expression by given task id from the workflow definition | ||
* **Required scope:** automation:workflows:read<br/><br/>Returns preview expression by given task id from the workflow definition | ||
* | ||
@@ -275,0 +275,0 @@ * @example <caption>Code example</caption> |
import { ActionExecutionInput } from './action-execution-input'; | ||
import { ActionExecutionLoopItem } from './action-execution-loop-item'; | ||
import { ActionExecutionResult } from './action-execution-result'; | ||
import { ActionExecutionState } from './action-execution-state'; | ||
@@ -14,3 +13,3 @@ export interface ActionExecution { | ||
input?: ActionExecutionInput; | ||
result?: ActionExecutionResult; | ||
result?: any; | ||
startedAt?: Date | null; | ||
@@ -17,0 +16,0 @@ endedAt?: Date | null; |
import { ActionExecution } from './action-execution'; | ||
import * as _ActionExecutionInputTransformation from './action-execution-input.transformation'; | ||
import * as _ActionExecutionLoopItemTransformation from './action-execution-loop-item.transformation'; | ||
import * as _ActionExecutionResultTransformation from './action-execution-result.transformation'; | ||
import * as _ActionExecutionStateTransformation from './action-execution-state.transformation'; | ||
@@ -12,3 +11,3 @@ export interface AsJson { | ||
input?: _ActionExecutionInputTransformation.AsJson; | ||
result?: _ActionExecutionResultTransformation.AsJson; | ||
result?: any; | ||
startedAt?: string | null; | ||
@@ -15,0 +14,0 @@ endedAt?: string | null; |
@@ -7,4 +7,2 @@ export * from './action-execution'; | ||
export * as _ActionExecutionLoopItemTransformation from './action-execution-loop-item.transformation'; | ||
export * from './action-execution-result'; | ||
export * as _ActionExecutionResultTransformation from './action-execution-result.transformation'; | ||
export * from './action-execution-state'; | ||
@@ -236,4 +234,2 @@ export * as _ActionExecutionStateTransformation from './action-execution-state.transformation'; | ||
export * as _TaskExecutionStateTransformation from './task-execution-state.transformation'; | ||
export * from './task-execution-triggered-by'; | ||
export * as _TaskExecutionTriggeredByTransformation from './task-execution-triggered-by.transformation'; | ||
export * from './task-executions'; | ||
@@ -287,3 +283,1 @@ export * as _TaskExecutionsTransformation from './task-executions.transformation'; | ||
export * as _WorkflowTaskDefaultsTransformation from './workflow-task-defaults.transformation'; | ||
export * from './workflow-usages'; | ||
export * as _WorkflowUsagesTransformation from './workflow-usages.transformation'; |
@@ -6,3 +6,2 @@ import { TaskExecutionConditionResults } from './task-execution-condition-results'; | ||
import { TaskExecutionState } from './task-execution-state'; | ||
import { TaskExecutionTriggeredBy } from './task-execution-triggered-by'; | ||
export interface TaskExecution { | ||
@@ -25,3 +24,2 @@ id: string; | ||
runtime: number; | ||
triggeredBy?: TaskExecutionTriggeredBy; | ||
position: TaskExecutionPosition | null; | ||
@@ -28,0 +26,0 @@ conditions: TaskExecutionConditions; |
@@ -7,3 +7,2 @@ import { TaskExecution } from './task-execution'; | ||
import * as _TaskExecutionStateTransformation from './task-execution-state.transformation'; | ||
import * as _TaskExecutionTriggeredByTransformation from './task-execution-triggered-by.transformation'; | ||
export interface AsJson { | ||
@@ -19,3 +18,2 @@ id: string; | ||
runtime: number; | ||
triggeredBy?: _TaskExecutionTriggeredByTransformation.AsJson; | ||
position: _TaskExecutionPositionTransformation.AsJson | null; | ||
@@ -22,0 +20,0 @@ conditions: _TaskExecutionConditionsTransformation.AsJson; |
@@ -8,3 +8,2 @@ import { Execution } from './execution'; | ||
import { WorkflowTaskDefaults } from './workflow-task-defaults'; | ||
import { WorkflowUsages } from './workflow-usages'; | ||
export interface Workflow { | ||
@@ -15,3 +14,2 @@ id?: string; | ||
taskDefaults?: WorkflowTaskDefaults; | ||
usages: WorkflowUsages; | ||
lastExecution: Execution | null; | ||
@@ -18,0 +16,0 @@ description?: string; |
@@ -9,3 +9,2 @@ import * as _ExecutionTransformation from './execution.transformation'; | ||
import * as _WorkflowTaskDefaultsTransformation from './workflow-task-defaults.transformation'; | ||
import * as _WorkflowUsagesTransformation from './workflow-usages.transformation'; | ||
export interface AsJson { | ||
@@ -16,3 +15,2 @@ id?: string; | ||
taskDefaults?: _WorkflowTaskDefaultsTransformation.AsJson; | ||
usages: _WorkflowUsagesTransformation.AsJson; | ||
lastExecution: _ExecutionTransformation.AsJson | null; | ||
@@ -19,0 +17,0 @@ description?: string; |
declare type QueryParamsType = Record<string | number, any>; | ||
export declare const toQueryString: (rawQuery?: QueryParamsType) => string; | ||
interface ParametersFlags { | ||
explode?: Record<string, boolean>; | ||
} | ||
export declare const toQueryString: (rawQuery?: QueryParamsType, flags?: ParametersFlags) => string; | ||
export {}; |
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
1231365
362
25337