@dynatrace-sdk/client-classic-environment-v2 4.2.1 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +1271 -355
- package/cjs/index.js +384 -20
- package/esm/index.js +384 -20
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +23 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/rum-manual-insertion-tags-api.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +7 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +6 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto-input-type.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto-type.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto.d.ts +24 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto-type.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/browser-permissions-dto.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-autoplay-policy.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-disable-features.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto.d.ts +42 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/client-certificate-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cookie-step-dto.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-list.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enriched-management-zone-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enriched-tag-dto.d.ts +32 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-event-type.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto-mode.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/framework-options-dto.d.ts +37 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ignored-error-codes-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +59 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/interaction-step-dto.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/java-script-agent-settings-dto.d.ts +44 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/java-script-step-dto.d.ts +20 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-load-action-kpm.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-xhr-action-kpm.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/key-strokes-step-dto.d.ts +34 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto-type.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/locator-dto-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/locator-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitor-property-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/navigate-step-dto.d.ts +30 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-throttling-dto.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/plain-authentication-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/plain-keystrokes-input-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-fips-mode.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/proxy-dto.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-filter-dto-type.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-filter-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-header-options-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/secure-authentication-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/secure-keystrokes-input-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/select-option-step-dto.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/selection-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-configuration-dto.d.ts +85 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request.d.ts +65 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response.d.ts +77 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto-type.d.ts +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-cookie-dto.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request-type.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response-type.d.ts +1 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/target-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/test-device-dto.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/time-wait-condition-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/timeout-settings-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-rule-dto-type.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-rule-dto.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-wait-condition-dto.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/visually-complete-options-dto.d.ts +25 -0
package/types/packages/client/classic-environment-v2/src/lib/models/select-option-step-dto.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseWaitConditionDto } from './base-wait-condition-dto';
|
|
2
|
+
import { SelectionDto } from './selection-dto';
|
|
3
|
+
import { SyntheticBrowserMonitorStepDto } from './synthetic-browser-monitor-step-dto';
|
|
4
|
+
import { TargetDto } from './target-dto';
|
|
5
|
+
import { ValidationRuleDto } from './validation-rule-dto';
|
|
6
|
+
/**
|
|
7
|
+
* Select option step of Browser Monitor.
|
|
8
|
+
*/
|
|
9
|
+
export interface SelectOptionStepDto extends SyntheticBrowserMonitorStepDto {
|
|
10
|
+
/**
|
|
11
|
+
* Field containing the credential.
|
|
12
|
+
*/
|
|
13
|
+
selections?: SelectionDto[];
|
|
14
|
+
/**
|
|
15
|
+
* Target of Browser Monitor step.
|
|
16
|
+
*/
|
|
17
|
+
target?: TargetDto;
|
|
18
|
+
/**
|
|
19
|
+
* List of validation rules for the step to perform.
|
|
20
|
+
*/
|
|
21
|
+
validationRules?: ValidationRuleDto[];
|
|
22
|
+
/**
|
|
23
|
+
* Wait condition for Browser Monitor step.
|
|
24
|
+
*/
|
|
25
|
+
waitCondition?: BaseWaitConditionDto;
|
|
26
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { BrowserPermissionsDto } from './browser-permissions-dto';
|
|
2
|
+
import { ChromiumStartupFlagsDto } from './chromium-startup-flags-dto';
|
|
3
|
+
import { ClientCertificateDto } from './client-certificate-dto';
|
|
4
|
+
import { FilteredRequestsDto } from './filtered-requests-dto';
|
|
5
|
+
import { IgnoredErrorCodesDto } from './ignored-error-codes-dto';
|
|
6
|
+
import { JavaScriptAgentSettingsDto } from './java-script-agent-settings-dto';
|
|
7
|
+
import { MonitorPropertyDto } from './monitor-property-dto';
|
|
8
|
+
import { NetworkThrottlingDto } from './network-throttling-dto';
|
|
9
|
+
import { ProxyDto } from './proxy-dto';
|
|
10
|
+
import { RequestHeaderOptionsDto } from './request-header-options-dto';
|
|
11
|
+
import { SyntheticMonitorCookieDto } from './synthetic-monitor-cookie-dto';
|
|
12
|
+
import { TestDeviceDto } from './test-device-dto';
|
|
13
|
+
/**
|
|
14
|
+
* Browser Monitor configuration.
|
|
15
|
+
*/
|
|
16
|
+
export interface SyntheticBrowserMonitorConfigurationDto {
|
|
17
|
+
/**
|
|
18
|
+
* All requests matching the specified patterns will be blocked during the execution of the monitor.
|
|
19
|
+
*/
|
|
20
|
+
blockedRequests?: string[];
|
|
21
|
+
/**
|
|
22
|
+
* Permissions settings for browser.
|
|
23
|
+
*/
|
|
24
|
+
browserPermissions?: BrowserPermissionsDto;
|
|
25
|
+
/**
|
|
26
|
+
* Bypass ContentSecurity Policy for monitored pages. If not defined in request, it will be set to false by default.
|
|
27
|
+
*/
|
|
28
|
+
bypassCSP?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Chromium startup flags of a Browser Monitor.
|
|
31
|
+
*/
|
|
32
|
+
chromiumStartupFlags?: ChromiumStartupFlagsDto;
|
|
33
|
+
/**
|
|
34
|
+
* Identifier of stored client's certificate.
|
|
35
|
+
*/
|
|
36
|
+
clientCertificates?: ClientCertificateDto[];
|
|
37
|
+
/**
|
|
38
|
+
* Cookies list.
|
|
39
|
+
*/
|
|
40
|
+
cookies?: SyntheticMonitorCookieDto[];
|
|
41
|
+
/**
|
|
42
|
+
* Test device of a Browser Monitor.
|
|
43
|
+
*/
|
|
44
|
+
device: TestDeviceDto;
|
|
45
|
+
/**
|
|
46
|
+
* Experimental properties list.
|
|
47
|
+
*/
|
|
48
|
+
experimentalProperties?: MonitorPropertyDto[];
|
|
49
|
+
/**
|
|
50
|
+
* Filtered requests of a Browser Monitor.
|
|
51
|
+
*/
|
|
52
|
+
filteredRequests?: FilteredRequestsDto;
|
|
53
|
+
/**
|
|
54
|
+
* Ignored Error Codes of a Browser Monitor.
|
|
55
|
+
*/
|
|
56
|
+
ignoredErrorCodes?: IgnoredErrorCodesDto;
|
|
57
|
+
/**
|
|
58
|
+
* JavaScript Agent Settings.
|
|
59
|
+
*/
|
|
60
|
+
javaScriptSettings?: JavaScriptAgentSettingsDto;
|
|
61
|
+
/**
|
|
62
|
+
* Capture performance metrics for pages loaded in frames. If not defined in request, it will be set to false by default.
|
|
63
|
+
*/
|
|
64
|
+
monitorFrames?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Network throttling of a Browser Monitor.
|
|
67
|
+
*/
|
|
68
|
+
networkThrottling?: NetworkThrottlingDto;
|
|
69
|
+
/**
|
|
70
|
+
* Browser Monitor proxy.
|
|
71
|
+
*/
|
|
72
|
+
proxy?: ProxyDto;
|
|
73
|
+
/**
|
|
74
|
+
* Header Options of a Browser Monitor.
|
|
75
|
+
*/
|
|
76
|
+
requestHeaderOptions?: RequestHeaderOptionsDto;
|
|
77
|
+
/**
|
|
78
|
+
* useIESupportedAgent flag. If not defined in request, it will be set to false by default.
|
|
79
|
+
*/
|
|
80
|
+
useIESupportedAgent?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* User agent
|
|
83
|
+
*/
|
|
84
|
+
userAgent?: string;
|
|
85
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { KeyPerformanceMetrics } from './key-performance-metrics';
|
|
2
|
+
import { SyntheticBrowserMonitorConfigurationDto } from './synthetic-browser-monitor-configuration-dto';
|
|
3
|
+
import { SyntheticBrowserMonitorStepDto } from './synthetic-browser-monitor-step-dto';
|
|
4
|
+
import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
|
|
5
|
+
import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-performance-thresholds-dto';
|
|
6
|
+
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
7
|
+
/**
|
|
8
|
+
* Browser monitor update.
|
|
9
|
+
*/
|
|
10
|
+
export interface SyntheticBrowserMonitorRequest {
|
|
11
|
+
/**
|
|
12
|
+
* Browser Monitor configuration.
|
|
13
|
+
*/
|
|
14
|
+
configuration: SyntheticBrowserMonitorConfigurationDto;
|
|
15
|
+
/**
|
|
16
|
+
* Monitor description
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* If true, the monitor is enabled.
|
|
21
|
+
*/
|
|
22
|
+
enabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The frequency of the monitor, in minutes.
|
|
25
|
+
*/
|
|
26
|
+
frequencyMin?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The key performance metrics configuration.
|
|
29
|
+
*/
|
|
30
|
+
keyPerformanceMetrics?: KeyPerformanceMetrics;
|
|
31
|
+
/**
|
|
32
|
+
* The locations to which the monitor is assigned.
|
|
33
|
+
*/
|
|
34
|
+
locations: string[];
|
|
35
|
+
/**
|
|
36
|
+
* Manually assigned entities.
|
|
37
|
+
*/
|
|
38
|
+
manuallyAssignedEntities?: string[];
|
|
39
|
+
/**
|
|
40
|
+
* The name of the monitor.
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
* Performance thresholds configuration.
|
|
45
|
+
*/
|
|
46
|
+
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
47
|
+
/**
|
|
48
|
+
* The steps of the monitor.
|
|
49
|
+
*/
|
|
50
|
+
steps: SyntheticBrowserMonitorStepDto[];
|
|
51
|
+
/**
|
|
52
|
+
* Outage handling configuration.
|
|
53
|
+
*/
|
|
54
|
+
syntheticMonitorOutageHandlingSettings?: SyntheticMonitorOutageHandlingSettingsDto;
|
|
55
|
+
/**
|
|
56
|
+
* A set of tags assigned to the monitor.
|
|
57
|
+
*
|
|
58
|
+
* You can specify only the value of the tag here and the `CONTEXTLESS` context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.
|
|
59
|
+
*/
|
|
60
|
+
tags?: SyntheticTagWithSourceDto[];
|
|
61
|
+
/**
|
|
62
|
+
* Monitor type.
|
|
63
|
+
*/
|
|
64
|
+
type: 'MULTI_PROTOCOL' | 'BROWSER';
|
|
65
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { KeyPerformanceMetrics } from './key-performance-metrics';
|
|
2
|
+
import { SyntheticBrowserMonitorConfigurationDto } from './synthetic-browser-monitor-configuration-dto';
|
|
3
|
+
import { SyntheticBrowserMonitorStepDto } from './synthetic-browser-monitor-step-dto';
|
|
4
|
+
import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
|
|
5
|
+
import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-performance-thresholds-dto';
|
|
6
|
+
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
7
|
+
/**
|
|
8
|
+
* Browser Monitor.
|
|
9
|
+
*/
|
|
10
|
+
export interface SyntheticBrowserMonitorResponse {
|
|
11
|
+
/**
|
|
12
|
+
* Automatically assigned entities.
|
|
13
|
+
*/
|
|
14
|
+
automaticallyAssignedEntities?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* Browser Monitor configuration.
|
|
17
|
+
*/
|
|
18
|
+
configuration: SyntheticBrowserMonitorConfigurationDto;
|
|
19
|
+
/**
|
|
20
|
+
* Monitor description
|
|
21
|
+
*/
|
|
22
|
+
description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* If true, the monitor is enabled.
|
|
25
|
+
*/
|
|
26
|
+
enabled?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The entity id of the monitor.
|
|
29
|
+
*/
|
|
30
|
+
entityId: string;
|
|
31
|
+
/**
|
|
32
|
+
* The frequency of the monitor, in minutes.
|
|
33
|
+
*/
|
|
34
|
+
frequencyMin?: number;
|
|
35
|
+
/**
|
|
36
|
+
* The key performance metrics configuration.
|
|
37
|
+
*/
|
|
38
|
+
keyPerformanceMetrics: KeyPerformanceMetrics;
|
|
39
|
+
/**
|
|
40
|
+
* The locations to which the monitor is assigned.
|
|
41
|
+
*/
|
|
42
|
+
locations?: string[];
|
|
43
|
+
/**
|
|
44
|
+
* Manually assigned entities.
|
|
45
|
+
*/
|
|
46
|
+
manuallyAssignedEntities?: string[];
|
|
47
|
+
/**
|
|
48
|
+
* The timestamp of the last modification
|
|
49
|
+
*/
|
|
50
|
+
modificationTimestamp?: number;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the monitor.
|
|
53
|
+
*/
|
|
54
|
+
name?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Performance thresholds configuration.
|
|
57
|
+
*/
|
|
58
|
+
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
59
|
+
/**
|
|
60
|
+
* The steps of the monitor.
|
|
61
|
+
*/
|
|
62
|
+
steps: SyntheticBrowserMonitorStepDto[];
|
|
63
|
+
/**
|
|
64
|
+
* Outage handling configuration.
|
|
65
|
+
*/
|
|
66
|
+
syntheticMonitorOutageHandlingSettings: SyntheticMonitorOutageHandlingSettingsDto;
|
|
67
|
+
/**
|
|
68
|
+
* A set of tags assigned to the monitor.
|
|
69
|
+
*
|
|
70
|
+
* You can specify only the value of the tag here and the `CONTEXTLESS` context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.
|
|
71
|
+
*/
|
|
72
|
+
tags?: SyntheticTagWithSourceDto[];
|
|
73
|
+
/**
|
|
74
|
+
* Monitor type.
|
|
75
|
+
*/
|
|
76
|
+
type: 'MULTI_PROTOCOL' | 'BROWSER';
|
|
77
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the actual set of fields depending on the value. See one of the following objects:
|
|
3
|
+
*
|
|
4
|
+
* * `NAVIGATE` -> NavigateStepDto
|
|
5
|
+
* * `CLICK` -> InteractionStepDto
|
|
6
|
+
* * `TAP` -> InteractionStepDto
|
|
7
|
+
* * `KEYSTROKES` -> KeyStrokesStepDto
|
|
8
|
+
* * `JAVASCRIPT` -> JavaScriptStepDto
|
|
9
|
+
* * `SELECT_OPTION` -> SelectOptionStepDto
|
|
10
|
+
* * `COOKIE` -> CookieStepDto
|
|
11
|
+
*
|
|
12
|
+
* @deprecated Use literal values.
|
|
13
|
+
*/
|
|
14
|
+
export declare enum SyntheticBrowserMonitorStepDtoType {
|
|
15
|
+
Click = "CLICK",
|
|
16
|
+
Cookie = "COOKIE",
|
|
17
|
+
Javascript = "JAVASCRIPT",
|
|
18
|
+
Keystrokes = "KEYSTROKES",
|
|
19
|
+
Navigate = "NAVIGATE",
|
|
20
|
+
SelectOption = "SELECT_OPTION",
|
|
21
|
+
Tap = "TAP"
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base step of Browser Monitor.
|
|
3
|
+
*/
|
|
4
|
+
export interface SyntheticBrowserMonitorStepDto {
|
|
5
|
+
/**
|
|
6
|
+
* Entity Id.
|
|
7
|
+
*/
|
|
8
|
+
entityId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The name of Browser Monitor step.
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Defines the actual set of fields depending on the value. See one of the following objects:
|
|
15
|
+
*
|
|
16
|
+
* * `NAVIGATE` -> NavigateStepDto
|
|
17
|
+
* * `CLICK` -> InteractionStepDto
|
|
18
|
+
* * `TAP` -> InteractionStepDto
|
|
19
|
+
* * `KEYSTROKES` -> KeyStrokesStepDto
|
|
20
|
+
* * `JAVASCRIPT` -> JavaScriptStepDto
|
|
21
|
+
* * `SELECT_OPTION` -> SelectOptionStepDto
|
|
22
|
+
* * `COOKIE` -> CookieStepDto
|
|
23
|
+
*/
|
|
24
|
+
type: 'CLICK' | 'COOKIE' | 'JAVASCRIPT' | 'KEYSTROKES' | 'NAVIGATE' | 'SELECT_OPTION' | 'TAP';
|
|
25
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cookie dto for Synthetic Monitor step.
|
|
3
|
+
*/
|
|
4
|
+
export interface SyntheticMonitorCookieDto {
|
|
5
|
+
/**
|
|
6
|
+
* Cookie domain.
|
|
7
|
+
*/
|
|
8
|
+
domain: string;
|
|
9
|
+
/**
|
|
10
|
+
* Cookie name.
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Cookie path.
|
|
15
|
+
*/
|
|
16
|
+
path?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Cookie value.
|
|
19
|
+
*/
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
@@ -25,7 +25,7 @@ export interface SyntheticMultiProtocolMonitorResponse {
|
|
|
25
25
|
/**
|
|
26
26
|
* The locations to which the monitor is assigned.
|
|
27
27
|
*/
|
|
28
|
-
locations
|
|
28
|
+
locations?: string[];
|
|
29
29
|
/**
|
|
30
30
|
* The timestamp of the last modification
|
|
31
31
|
*/
|
|
@@ -33,7 +33,7 @@ export interface SyntheticMultiProtocolMonitorResponse {
|
|
|
33
33
|
/**
|
|
34
34
|
* The name of the monitor.
|
|
35
35
|
*/
|
|
36
|
-
name
|
|
36
|
+
name?: string;
|
|
37
37
|
/**
|
|
38
38
|
* Performance thresholds configuration.
|
|
39
39
|
*/
|
|
@@ -55,5 +55,5 @@ export interface SyntheticMultiProtocolMonitorResponse {
|
|
|
55
55
|
/**
|
|
56
56
|
* Monitor type.
|
|
57
57
|
*/
|
|
58
|
-
type: 'MULTI_PROTOCOL' | 'BROWSER'
|
|
58
|
+
type: 'MULTI_PROTOCOL' | 'BROWSER';
|
|
59
59
|
}
|
|
@@ -43,6 +43,15 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
43
43
|
* * `KUBERNETES`: The location is deployed on Kubernetes.
|
|
44
44
|
*/
|
|
45
45
|
deploymentType?: 'KUBERNETES' | 'OPENSHIFT' | 'STANDARD' | 'UNKNOWN';
|
|
46
|
+
/**
|
|
47
|
+
* Containerized location property indicating whether FIPS mode is enabled on this location:
|
|
48
|
+
*
|
|
49
|
+
* * `DISABLED`: FIPS is not enabled on the location.
|
|
50
|
+
* * `ENABLED`: FIPS is enabled on the location.
|
|
51
|
+
* * `ENABLED_WITH_CORPORATE_PROXY`: FIPS with corporate proxy is enabled on this location.
|
|
52
|
+
* Default: DISABLED
|
|
53
|
+
*/
|
|
54
|
+
fipsMode?: 'DISABLED' | 'ENABLED' | 'ENABLED_WITH_CORPORATE_PROXY';
|
|
46
55
|
/**
|
|
47
56
|
* The latitude of the location in `DDD.dddd` format.
|
|
48
57
|
*/
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test device of a Browser Monitor.
|
|
3
|
+
*/
|
|
4
|
+
export interface TestDeviceDto {
|
|
5
|
+
/**
|
|
6
|
+
* Device height in px.
|
|
7
|
+
*/
|
|
8
|
+
height: number;
|
|
9
|
+
/**
|
|
10
|
+
* Device is mobile. If not defined in request, it will be set to false by default.
|
|
11
|
+
*/
|
|
12
|
+
mobile?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Device name.
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Device is touch enabled. If not defined in request, it will be set to false by default.
|
|
19
|
+
*/
|
|
20
|
+
touchEnabled?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Device width in px.
|
|
23
|
+
*/
|
|
24
|
+
width: number;
|
|
25
|
+
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/time-wait-condition-dto.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseWaitConditionDto } from './base-wait-condition-dto';
|
|
2
|
+
/**
|
|
3
|
+
* Time wait condition for Browser Monitor step.
|
|
4
|
+
*/
|
|
5
|
+
export interface TimeWaitConditionDto extends BaseWaitConditionDto {
|
|
6
|
+
/**
|
|
7
|
+
* Wait time in milliseconds.
|
|
8
|
+
*/
|
|
9
|
+
milliseconds?: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timeout settings of a Browser Monitor.
|
|
3
|
+
*/
|
|
4
|
+
export interface TimeoutSettingsDto {
|
|
5
|
+
/**
|
|
6
|
+
* Cascading setTimeout calls number limit. If not defined in request, it will be set to 1 by default.
|
|
7
|
+
*/
|
|
8
|
+
temporaryActionLimit?: number;
|
|
9
|
+
/**
|
|
10
|
+
* No additional timeout actions will be created once this time limit is reached. Value must be higher than 0 ms. If not defined in request, it will be set to 100 by default.
|
|
11
|
+
*/
|
|
12
|
+
temporaryActionTotalTimeout?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TargetDto } from './target-dto';
|
|
2
|
+
/**
|
|
3
|
+
* Validation rule of Browser Monitor step.
|
|
4
|
+
*/
|
|
5
|
+
export interface ValidationRuleDto {
|
|
6
|
+
/**
|
|
7
|
+
* Boolean value, true if we should fail on found pattern. If not defined in request, it will be set to false by default.
|
|
8
|
+
*/
|
|
9
|
+
failIfFound: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Text pattern that should match on the website.
|
|
12
|
+
*/
|
|
13
|
+
matchingPattern: string;
|
|
14
|
+
/**
|
|
15
|
+
* Boolean value, true if the "matchingPattern" value is a regex. If not defined in request, it will be set to false by default.
|
|
16
|
+
*/
|
|
17
|
+
regex?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Target of Browser Monitor step.
|
|
20
|
+
*/
|
|
21
|
+
target?: TargetDto;
|
|
22
|
+
/**
|
|
23
|
+
* Type of validation.
|
|
24
|
+
*/
|
|
25
|
+
type: 'TEXT_MATCH' | 'CONTENT_MATCH' | 'ELEMENT_MATCH';
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseWaitConditionDto } from './base-wait-condition-dto';
|
|
2
|
+
import { ValidationRuleDto } from './validation-rule-dto';
|
|
3
|
+
/**
|
|
4
|
+
* Validation wait condition for Browser Monitor step.
|
|
5
|
+
*/
|
|
6
|
+
export interface ValidationWaitConditionDto extends BaseWaitConditionDto {
|
|
7
|
+
/**
|
|
8
|
+
* Validation timeout in milliseconds.
|
|
9
|
+
*/
|
|
10
|
+
timeoutInMilliseconds?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Validation rule of Browser Monitor step.
|
|
13
|
+
*/
|
|
14
|
+
validationRule?: ValidationRuleDto;
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Visually Complete Options of a Browser Monitor.
|
|
3
|
+
*/
|
|
4
|
+
export interface VisuallyCompleteOptionsDto {
|
|
5
|
+
/**
|
|
6
|
+
* Query CSS selectors to specify mutation nodes (elements that change) to ignore in Visually complete and Speed index calculation.
|
|
7
|
+
*/
|
|
8
|
+
excludedElements?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Use regular expressions to define URLs for images and iFrames to exclude from detection by the Visually complete module.
|
|
11
|
+
*/
|
|
12
|
+
excludedUrls?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Use this setting to define the minimum visible area per element (in pixels) for an element to be counted towards Visually complete and Speed index. If not defined in request, it will be set to 50 by default.
|
|
15
|
+
*/
|
|
16
|
+
imageSizeThreshold?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The time the Visually complete module waits for inactivity and no further mutations on the page after the load action. If not defined in request, it will be set to 1000 by default.
|
|
19
|
+
*/
|
|
20
|
+
inactivityTimeout?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The time the Visually complete module waits after an XHR or custom action closes to start the calculation. If not defined in request, it will be set to 50 by default.
|
|
23
|
+
*/
|
|
24
|
+
mutationTimeout?: number;
|
|
25
|
+
}
|