@dynatrace-sdk/client-classic-environment-v2 4.2.0 → 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.
Files changed (131) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +2105 -565
  3. package/cjs/index.js +4215 -3633
  4. package/dynatrace-metadata.json +2 -2
  5. package/esm/index.js +2368 -1988
  6. package/package.json +3 -4
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +1 -1
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-agent-tokens-api.d.ts +1 -1
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +1 -1
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +1 -1
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-active-gate-groups-api.d.ts +1 -1
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +1 -1
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +1 -1
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +1 -1
  15. package/types/packages/{shared-client-utils/src → client/classic-environment-v2/src/lib/apis}/api-client-options.d.ts +1 -1
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +1 -1
  17. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +1 -1
  18. package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +1 -1
  19. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +24 -1
  20. package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +1 -1
  21. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +1 -1
  22. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +1 -1
  23. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +2 -1
  24. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +16 -1
  25. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +1 -1
  26. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +1 -1
  27. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +1 -1
  28. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +1 -1
  29. package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +1 -1
  30. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +1 -1
  31. package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -1
  32. package/types/packages/client/classic-environment-v2/src/lib/apis/rum-manual-insertion-tags-api.d.ts +5 -5
  33. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +1 -1
  34. package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +1 -1
  35. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +1 -1
  36. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +8 -3
  37. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +1 -1
  38. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +1 -1
  39. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +3 -1
  40. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +7 -5
  41. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +1 -1
  42. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-gateway-errors-handler.d.ts +2 -0
  43. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/get-error-message.d.ts +1 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +1 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +1 -1
  46. package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto-input-type.d.ts +12 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto-type.d.ts +10 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto.d.ts +24 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto-type.d.ts +18 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto.d.ts +15 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/browser-permissions-dto.d.ts +21 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-autoplay-policy.d.ts +9 -0
  53. package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-disable-features.d.ts +6 -0
  54. package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto.d.ts +42 -0
  55. package/types/packages/client/classic-environment-v2/src/lib/models/client-certificate-dto.d.ts +13 -0
  56. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +4 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +4 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/cookie-step-dto.d.ts +11 -0
  59. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-list.d.ts +11 -0
  60. package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +4 -0
  61. package/types/packages/client/classic-environment-v2/src/lib/models/enriched-management-zone-dto.d.ts +14 -0
  62. package/types/packages/client/classic-environment-v2/src/lib/models/enriched-tag-dto.d.ts +32 -0
  63. package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +4 -4
  64. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-event-type.d.ts +2 -1
  65. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest.d.ts +2 -2
  66. package/types/packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto-mode.d.ts +9 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto.d.ts +14 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/framework-options-dto.d.ts +37 -0
  69. package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.d.ts +4 -0
  70. package/types/packages/client/classic-environment-v2/src/lib/models/ignored-error-codes-dto.d.ts +13 -0
  71. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +59 -0
  72. package/types/packages/client/classic-environment-v2/src/lib/models/interaction-step-dto.d.ts +25 -0
  73. package/types/packages/client/classic-environment-v2/src/lib/models/java-script-agent-settings-dto.d.ts +44 -0
  74. package/types/packages/client/classic-environment-v2/src/lib/models/java-script-step-dto.d.ts +20 -0
  75. package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-load-action-kpm.d.ts +17 -0
  76. package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-xhr-action-kpm.d.ts +11 -0
  77. package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics.d.ts +13 -0
  78. package/types/packages/client/classic-environment-v2/src/lib/models/key-strokes-step-dto.d.ts +34 -0
  79. package/types/packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto-type.d.ts +12 -0
  80. package/types/packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto.d.ts +12 -0
  81. package/types/packages/client/classic-environment-v2/src/lib/models/locator-dto-type.d.ts +9 -0
  82. package/types/packages/client/classic-environment-v2/src/lib/models/locator-dto.d.ts +13 -0
  83. package/types/packages/client/classic-environment-v2/src/lib/models/monitor-property-dto.d.ts +13 -0
  84. package/types/packages/client/classic-environment-v2/src/lib/models/navigate-step-dto.d.ts +30 -0
  85. package/types/packages/client/classic-environment-v2/src/lib/models/network-throttling-dto.d.ts +21 -0
  86. package/types/packages/client/classic-environment-v2/src/lib/models/plain-authentication-dto.d.ts +14 -0
  87. package/types/packages/client/classic-environment-v2/src/lib/models/plain-keystrokes-input-dto.d.ts +14 -0
  88. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-fips-mode.d.ts +15 -0
  89. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +9 -0
  90. package/types/packages/client/classic-environment-v2/src/lib/models/proxy-dto.d.ts +9 -0
  91. package/types/packages/client/classic-environment-v2/src/lib/models/request-filter-dto-type.d.ts +12 -0
  92. package/types/packages/client/classic-environment-v2/src/lib/models/request-filter-dto.d.ts +13 -0
  93. package/types/packages/client/classic-environment-v2/src/lib/models/request-header-options-dto.d.ts +14 -0
  94. package/types/packages/client/classic-environment-v2/src/lib/models/secure-authentication-dto.d.ts +10 -0
  95. package/types/packages/client/classic-environment-v2/src/lib/models/secure-keystrokes-input-dto.d.ts +14 -0
  96. package/types/packages/client/classic-environment-v2/src/lib/models/select-option-step-dto.d.ts +26 -0
  97. package/types/packages/client/classic-environment-v2/src/lib/models/selection-dto.d.ts +13 -0
  98. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-configuration-dto.d.ts +85 -0
  99. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request-type.d.ts +9 -0
  100. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request.d.ts +65 -0
  101. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response-type.d.ts +9 -0
  102. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response.d.ts +77 -0
  103. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto-type.d.ts +22 -0
  104. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto.d.ts +25 -0
  105. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-cookie-dto.d.ts +21 -0
  106. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request-type.d.ts +2 -1
  107. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request.d.ts +1 -1
  108. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response-type.d.ts +1 -2
  109. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response.d.ts +3 -3
  110. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +1 -1
  111. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.d.ts +1 -1
  112. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +9 -0
  113. package/types/packages/client/classic-environment-v2/src/lib/models/target-dto.d.ts +14 -0
  114. package/types/packages/client/classic-environment-v2/src/lib/models/test-device-dto.d.ts +25 -0
  115. package/types/packages/client/classic-environment-v2/src/lib/models/time-wait-condition-dto.d.ts +10 -0
  116. package/types/packages/client/classic-environment-v2/src/lib/models/timeout-settings-dto.d.ts +13 -0
  117. package/types/packages/client/classic-environment-v2/src/lib/models/validation-rule-dto-type.d.ts +10 -0
  118. package/types/packages/client/classic-environment-v2/src/lib/models/validation-rule-dto.d.ts +26 -0
  119. package/types/packages/client/classic-environment-v2/src/lib/models/validation-wait-condition-dto.d.ts +15 -0
  120. package/types/packages/client/classic-environment-v2/src/lib/models/visually-complete-options-dto.d.ts +25 -0
  121. package/types/packages/client/classic-environment-v2/src/lib/utils/encoding.d.ts +10 -0
  122. package/types/packages/client/classic-environment-v2/src/lib/utils/transformations.d.ts +8 -0
  123. package/types/packages/client/classic-environment-v2/src/lib/utils/url-helpers.d.ts +6 -0
  124. package/types/packages/shared-errors/src/client-request-error.d.ts +1 -1
  125. package/types/packages/shared-errors/src/types.d.ts +1 -1
  126. package/types/packages/shared-client-utils/src/api-gateway-errors-handler.d.ts +0 -9
  127. package/types/packages/shared-client-utils/src/encoding.d.ts +0 -17
  128. package/types/packages/shared-client-utils/src/get-error-message.d.ts +0 -8
  129. package/types/packages/shared-client-utils/src/index.d.ts +0 -6
  130. package/types/packages/shared-client-utils/src/transformations.d.ts +0 -64
  131. package/types/packages/shared-client-utils/src/url-helpers.d.ts +0 -12
@@ -0,0 +1,44 @@
1
+ import { FrameworkOptionsDto } from './framework-options-dto';
2
+ import { TimeoutSettingsDto } from './timeout-settings-dto';
3
+ import { VisuallyCompleteOptionsDto } from './visually-complete-options-dto';
4
+ /**
5
+ * JavaScript Agent Settings.
6
+ */
7
+ export interface JavaScriptAgentSettingsDto {
8
+ /**
9
+ * Custom configuration properties
10
+ */
11
+ customProperties?: string;
12
+ /**
13
+ * Experimental values support. If not defined in request, it will be set to false by default.
14
+ */
15
+ experimentalValues?: boolean;
16
+ /**
17
+ * Capture fetch() requests. If not defined in request, it will be set to true by default.
18
+ */
19
+ fetchRequests?: boolean;
20
+ /**
21
+ * Enable this setting to monitor JavaScript errors. The window.onError handler is used for capturing JavaScript errors. If not defined in request, it will be set to true by default.
22
+ */
23
+ javaScriptErrors?: boolean;
24
+ /**
25
+ * JS framework options of a JS Agent.
26
+ */
27
+ javaScriptFrameworkSupport?: FrameworkOptionsDto;
28
+ /**
29
+ * Within JavaScript frameworks, XHRs are often sent via setTimeout methods. Enable this setting to detect actions that trigger such XHRs. If not defined in request, it will be set to true by default.
30
+ */
31
+ timedActions?: boolean;
32
+ /**
33
+ * Timeout settings of a Browser Monitor.
34
+ */
35
+ timeoutSettings?: TimeoutSettingsDto;
36
+ /**
37
+ * Visually Complete Options of a Browser Monitor.
38
+ */
39
+ visuallyCompleteOptions?: VisuallyCompleteOptionsDto;
40
+ /**
41
+ * Capture xml Http requests (XHR). If not defined in request, it will be set to true by default.
42
+ */
43
+ xmlHttpRequests?: boolean;
44
+ }
@@ -0,0 +1,20 @@
1
+ import { BaseWaitConditionDto } from './base-wait-condition-dto';
2
+ import { SyntheticBrowserMonitorStepDto } from './synthetic-browser-monitor-step-dto';
3
+ import { TargetDto } from './target-dto';
4
+ /**
5
+ * JavaScript step of Browser Monitor.
6
+ */
7
+ export interface JavaScriptStepDto extends SyntheticBrowserMonitorStepDto {
8
+ /**
9
+ * String containing a script in JavaScript.
10
+ */
11
+ javaScript?: string;
12
+ /**
13
+ * Target of Browser Monitor step.
14
+ */
15
+ target?: TargetDto;
16
+ /**
17
+ * Wait condition for Browser Monitor step.
18
+ */
19
+ waitCondition?: BaseWaitConditionDto;
20
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Load action key performance metric.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum KeyPerformanceMetricsLoadActionKpm {
7
+ UserActionDuration = "USER_ACTION_DURATION",
8
+ VisuallyComplete = "VISUALLY_COMPLETE",
9
+ SpeedIndex = "SPEED_INDEX",
10
+ DomInteractive = "DOM_INTERACTIVE",
11
+ LoadEventStart = "LOAD_EVENT_START",
12
+ LoadEventEnd = "LOAD_EVENT_END",
13
+ ResponseStart = "RESPONSE_START",
14
+ ResponseEnd = "RESPONSE_END",
15
+ LargestContentfulPaint = "LARGEST_CONTENTFUL_PAINT",
16
+ CumulativeLayoutShift = "CUMULATIVE_LAYOUT_SHIFT"
17
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * XHR action key performance metric.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum KeyPerformanceMetricsXhrActionKpm {
7
+ UserActionDuration = "USER_ACTION_DURATION",
8
+ VisuallyComplete = "VISUALLY_COMPLETE",
9
+ ResponseStart = "RESPONSE_START",
10
+ ResponseEnd = "RESPONSE_END"
11
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The key performance metrics configuration.
3
+ */
4
+ export interface KeyPerformanceMetrics {
5
+ /**
6
+ * Load action key performance metric.
7
+ */
8
+ loadActionKpm?: 'USER_ACTION_DURATION' | 'VISUALLY_COMPLETE' | 'SPEED_INDEX' | 'DOM_INTERACTIVE' | 'LOAD_EVENT_START' | 'LOAD_EVENT_END' | 'RESPONSE_START' | 'RESPONSE_END' | 'LARGEST_CONTENTFUL_PAINT' | 'CUMULATIVE_LAYOUT_SHIFT';
9
+ /**
10
+ * XHR action key performance metric.
11
+ */
12
+ xhrActionKpm?: 'USER_ACTION_DURATION' | 'VISUALLY_COMPLETE' | 'RESPONSE_START' | 'RESPONSE_END';
13
+ }
@@ -0,0 +1,34 @@
1
+ import { BaseWaitConditionDto } from './base-wait-condition-dto';
2
+ import { KeystrokesInputDto } from './keystrokes-input-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
+ * Key strokes step of Browser Monitor.
8
+ */
9
+ export interface KeyStrokesStepDto extends SyntheticBrowserMonitorStepDto {
10
+ /**
11
+ * Key strokes step input.
12
+ */
13
+ input?: KeystrokesInputDto;
14
+ /**
15
+ * Boolean value set to true if blur event should be simulated.
16
+ */
17
+ simulateBlurEvent?: boolean;
18
+ /**
19
+ * Boolean value set to true if return key should be simulated.
20
+ */
21
+ simulateReturnKey?: boolean;
22
+ /**
23
+ * Target of Browser Monitor step.
24
+ */
25
+ target?: TargetDto;
26
+ /**
27
+ * List of validation rules for the step to perform.
28
+ */
29
+ validationRules?: ValidationRuleDto[];
30
+ /**
31
+ * Wait condition for Browser Monitor step.
32
+ */
33
+ waitCondition?: BaseWaitConditionDto;
34
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Defines the actual set of fields depending on the value. See one of the following objects:
3
+ *
4
+ * * `SECURE` -> SecureKeystrokesInputDto
5
+ * * `PLAIN` -> PlainKeystrokesInputDto
6
+ *
7
+ * @deprecated Use literal values.
8
+ */
9
+ export declare enum KeystrokesInputDtoType {
10
+ Plain = "PLAIN",
11
+ Secure = "SECURE"
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Key strokes step input.
3
+ */
4
+ export interface KeystrokesInputDto {
5
+ /**
6
+ * Defines the actual set of fields depending on the value. See one of the following objects:
7
+ *
8
+ * * `SECURE` -> SecureKeystrokesInputDto
9
+ * * `PLAIN` -> PlainKeystrokesInputDto
10
+ */
11
+ type: 'PLAIN' | 'SECURE';
12
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Enum value of the locator type.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum LocatorDtoType {
7
+ Css = "CSS",
8
+ Dom = "DOM"
9
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Browser Monitor locator.
3
+ */
4
+ export interface LocatorDto {
5
+ /**
6
+ * Enum value of the locator type.
7
+ */
8
+ type: 'CSS' | 'DOM';
9
+ /**
10
+ * Value of the locator.
11
+ */
12
+ value: string;
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Property of a Browser Monitor.
3
+ */
4
+ export interface MonitorPropertyDto {
5
+ /**
6
+ * Property name.
7
+ */
8
+ name: string;
9
+ /**
10
+ * Property value.
11
+ */
12
+ value: string;
13
+ }
@@ -0,0 +1,30 @@
1
+ import { AuthenticationDto } from './authentication-dto';
2
+ import { BaseWaitConditionDto } from './base-wait-condition-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
+ * Step of Browser Monitor that navigates to a website.
8
+ */
9
+ export interface NavigateStepDto extends SyntheticBrowserMonitorStepDto {
10
+ /**
11
+ * Authentication dto for Browser Monitor step.
12
+ */
13
+ authentication?: AuthenticationDto;
14
+ /**
15
+ * Target of Browser Monitor step.
16
+ */
17
+ target?: TargetDto;
18
+ /**
19
+ * Field containing the url that the monitor should navigate to.
20
+ */
21
+ url?: string;
22
+ /**
23
+ * List of validation rules for the step to perform.
24
+ */
25
+ validationRules?: ValidationRuleDto[];
26
+ /**
27
+ * Wait condition for Browser Monitor step.
28
+ */
29
+ waitCondition?: BaseWaitConditionDto;
30
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Network throttling of a Browser Monitor.
3
+ */
4
+ export interface NetworkThrottlingDto {
5
+ /**
6
+ * Download throughput. If not defined in request, it will be set to -1 by default.
7
+ */
8
+ download?: number;
9
+ /**
10
+ * Latency. If not defined in request, it will be set to 0 by default.
11
+ */
12
+ latency?: number;
13
+ /**
14
+ * Predefined network type. If not defined in request, it will be set to "" by default.
15
+ */
16
+ name?: string;
17
+ /**
18
+ * Upload throughput. If not defined in request, it will be set to -1 by default.
19
+ */
20
+ upload?: number;
21
+ }
@@ -0,0 +1,14 @@
1
+ import { AuthenticationDto } from './authentication-dto';
2
+ /**
3
+ * Plain authentication dto for Browser Monitor step.
4
+ */
5
+ export interface PlainAuthenticationDto extends AuthenticationDto {
6
+ /**
7
+ * String containing the password.
8
+ */
9
+ password?: string;
10
+ /**
11
+ * String containing the username.
12
+ */
13
+ username?: string;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { KeystrokesInputDto } from './keystrokes-input-dto';
2
+ /**
3
+ * Credential-based input for keystrokes step.
4
+ */
5
+ export interface PlainKeystrokesInputDto extends KeystrokesInputDto {
6
+ /**
7
+ * Boolean value set to true if key strokes should be masked. If not defined in request, the default value will be set to false.
8
+ */
9
+ masked?: boolean;
10
+ /**
11
+ * String value containing the text.
12
+ */
13
+ textValue?: string;
14
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Containerized location property indicating whether FIPS mode is enabled on this location:
3
+ *
4
+ * * `DISABLED`: FIPS is not enabled on the location.
5
+ * * `ENABLED`: FIPS is enabled on the location.
6
+ * * `ENABLED_WITH_CORPORATE_PROXY`: FIPS with corporate proxy is enabled on this location.
7
+ * Default: DISABLED
8
+ *
9
+ * @deprecated Use literal values.
10
+ */
11
+ export declare enum PrivateSyntheticLocationFipsMode {
12
+ Disabled = "DISABLED",
13
+ Enabled = "ENABLED",
14
+ EnabledWithCorporateProxy = "ENABLED_WITH_CORPORATE_PROXY"
15
+ }
@@ -53,6 +53,15 @@ export interface PrivateSyntheticLocation {
53
53
  * The Dynatrace entity ID of the location.
54
54
  */
55
55
  entityId?: string;
56
+ /**
57
+ * Containerized location property indicating whether FIPS mode is enabled on this location:
58
+ *
59
+ * * `DISABLED`: FIPS is not enabled on the location.
60
+ * * `ENABLED`: FIPS is enabled on the location.
61
+ * * `ENABLED_WITH_CORPORATE_PROXY`: FIPS with corporate proxy is enabled on this location.
62
+ * Default: DISABLED
63
+ */
64
+ fipsMode?: 'DISABLED' | 'ENABLED' | 'ENABLED_WITH_CORPORATE_PROXY';
56
65
  /**
57
66
  * The Dynatrace GeoLocation ID of the location.
58
67
  */
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Browser Monitor proxy.
3
+ */
4
+ export interface ProxyDto {
5
+ /**
6
+ * pacUrl
7
+ */
8
+ pacUrl: string;
9
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Filter type.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum RequestFilterDtoType {
7
+ StartsWith = "STARTS_WITH",
8
+ EndsWith = "ENDS_WITH",
9
+ Contains = "CONTAINS",
10
+ Equals = "EQUALS",
11
+ Regex = "REGEX"
12
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Request filter for Browser Monitor.
3
+ */
4
+ export interface RequestFilterDto {
5
+ /**
6
+ * Regex for request that filter will be applied to.
7
+ */
8
+ matchingPattern: string;
9
+ /**
10
+ * Filter type.
11
+ */
12
+ type: 'STARTS_WITH' | 'ENDS_WITH' | 'CONTAINS' | 'EQUALS' | 'REGEX';
13
+ }
@@ -0,0 +1,14 @@
1
+ import { MonitorRequestHeader } from './monitor-request-header';
2
+ /**
3
+ * Header Options of a Browser Monitor.
4
+ */
5
+ export interface RequestHeaderOptionsDto {
6
+ /**
7
+ * Apply headers to requests matching pattern.
8
+ */
9
+ matchingPatterns: string[];
10
+ /**
11
+ * Request headers list.
12
+ */
13
+ requestHeaders: MonitorRequestHeader[];
14
+ }
@@ -0,0 +1,10 @@
1
+ import { AuthenticationDto } from './authentication-dto';
2
+ /**
3
+ * Secure authentication dto for Browser Monitor step.
4
+ */
5
+ export interface SecureAuthenticationDto extends AuthenticationDto {
6
+ /**
7
+ * Id of the username and password credential which will be used for authentication.
8
+ */
9
+ credentialId?: string;
10
+ }
@@ -0,0 +1,14 @@
1
+ import { KeystrokesInputDto } from './keystrokes-input-dto';
2
+ /**
3
+ * Credential-based input for keystrokes step.
4
+ */
5
+ export interface SecureKeystrokesInputDto extends KeystrokesInputDto {
6
+ /**
7
+ * Enum value of the credential field.
8
+ */
9
+ credentialField?: 'USERNAME' | 'PASSWORD' | 'TOKEN';
10
+ /**
11
+ * String value containing the credential id.
12
+ */
13
+ credentialId?: string;
14
+ }
@@ -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,13 @@
1
+ /**
2
+ * Option selection for Browser Monitor step.
3
+ */
4
+ export interface SelectionDto {
5
+ /**
6
+ * Selection index.
7
+ */
8
+ index: number;
9
+ /**
10
+ * Selection value.
11
+ */
12
+ value: string;
13
+ }
@@ -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,9 @@
1
+ /**
2
+ * Monitor type.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum SyntheticBrowserMonitorRequestType {
7
+ MultiProtocol = "MULTI_PROTOCOL",
8
+ Browser = "BROWSER"
9
+ }
@@ -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,9 @@
1
+ /**
2
+ * Monitor type.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum SyntheticBrowserMonitorResponseType {
7
+ MultiProtocol = "MULTI_PROTOCOL",
8
+ Browser = "BROWSER"
9
+ }