@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.
Files changed (89) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1271 -355
  3. package/cjs/index.js +384 -20
  4. package/esm/index.js +384 -20
  5. package/package.json +1 -1
  6. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +23 -0
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +1 -0
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +15 -0
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/rum-manual-insertion-tags-api.d.ts +4 -4
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +7 -2
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +2 -0
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +6 -4
  13. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +1 -0
  14. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +1 -1
  15. package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto-input-type.d.ts +12 -0
  16. package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto-type.d.ts +10 -0
  17. package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto.d.ts +24 -0
  18. package/types/packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto-type.d.ts +18 -0
  19. package/types/packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto.d.ts +15 -0
  20. package/types/packages/client/classic-environment-v2/src/lib/models/browser-permissions-dto.d.ts +21 -0
  21. package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-autoplay-policy.d.ts +9 -0
  22. package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-disable-features.d.ts +6 -0
  23. package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto.d.ts +42 -0
  24. package/types/packages/client/classic-environment-v2/src/lib/models/client-certificate-dto.d.ts +13 -0
  25. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +4 -0
  26. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +4 -0
  27. package/types/packages/client/classic-environment-v2/src/lib/models/cookie-step-dto.d.ts +11 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-list.d.ts +11 -0
  29. package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +4 -0
  30. package/types/packages/client/classic-environment-v2/src/lib/models/enriched-management-zone-dto.d.ts +14 -0
  31. package/types/packages/client/classic-environment-v2/src/lib/models/enriched-tag-dto.d.ts +32 -0
  32. package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +4 -4
  33. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-event-type.d.ts +2 -1
  34. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest.d.ts +2 -2
  35. package/types/packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto-mode.d.ts +9 -0
  36. package/types/packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto.d.ts +14 -0
  37. package/types/packages/client/classic-environment-v2/src/lib/models/framework-options-dto.d.ts +37 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.d.ts +4 -0
  39. package/types/packages/client/classic-environment-v2/src/lib/models/ignored-error-codes-dto.d.ts +13 -0
  40. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +59 -0
  41. package/types/packages/client/classic-environment-v2/src/lib/models/interaction-step-dto.d.ts +25 -0
  42. package/types/packages/client/classic-environment-v2/src/lib/models/java-script-agent-settings-dto.d.ts +44 -0
  43. package/types/packages/client/classic-environment-v2/src/lib/models/java-script-step-dto.d.ts +20 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-load-action-kpm.d.ts +17 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-xhr-action-kpm.d.ts +11 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics.d.ts +13 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/key-strokes-step-dto.d.ts +34 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto-type.d.ts +12 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto.d.ts +12 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/locator-dto-type.d.ts +9 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/locator-dto.d.ts +13 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/monitor-property-dto.d.ts +13 -0
  53. package/types/packages/client/classic-environment-v2/src/lib/models/navigate-step-dto.d.ts +30 -0
  54. package/types/packages/client/classic-environment-v2/src/lib/models/network-throttling-dto.d.ts +21 -0
  55. package/types/packages/client/classic-environment-v2/src/lib/models/plain-authentication-dto.d.ts +14 -0
  56. package/types/packages/client/classic-environment-v2/src/lib/models/plain-keystrokes-input-dto.d.ts +14 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-fips-mode.d.ts +15 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +9 -0
  59. package/types/packages/client/classic-environment-v2/src/lib/models/proxy-dto.d.ts +9 -0
  60. package/types/packages/client/classic-environment-v2/src/lib/models/request-filter-dto-type.d.ts +12 -0
  61. package/types/packages/client/classic-environment-v2/src/lib/models/request-filter-dto.d.ts +13 -0
  62. package/types/packages/client/classic-environment-v2/src/lib/models/request-header-options-dto.d.ts +14 -0
  63. package/types/packages/client/classic-environment-v2/src/lib/models/secure-authentication-dto.d.ts +10 -0
  64. package/types/packages/client/classic-environment-v2/src/lib/models/secure-keystrokes-input-dto.d.ts +14 -0
  65. package/types/packages/client/classic-environment-v2/src/lib/models/select-option-step-dto.d.ts +26 -0
  66. package/types/packages/client/classic-environment-v2/src/lib/models/selection-dto.d.ts +13 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-configuration-dto.d.ts +85 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request-type.d.ts +9 -0
  69. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request.d.ts +65 -0
  70. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response-type.d.ts +9 -0
  71. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response.d.ts +77 -0
  72. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto-type.d.ts +22 -0
  73. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto.d.ts +25 -0
  74. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-cookie-dto.d.ts +21 -0
  75. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request-type.d.ts +2 -1
  76. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request.d.ts +1 -1
  77. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response-type.d.ts +1 -2
  78. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response.d.ts +3 -3
  79. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +1 -1
  80. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.d.ts +1 -1
  81. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +9 -0
  82. package/types/packages/client/classic-environment-v2/src/lib/models/target-dto.d.ts +14 -0
  83. package/types/packages/client/classic-environment-v2/src/lib/models/test-device-dto.d.ts +25 -0
  84. package/types/packages/client/classic-environment-v2/src/lib/models/time-wait-condition-dto.d.ts +10 -0
  85. package/types/packages/client/classic-environment-v2/src/lib/models/timeout-settings-dto.d.ts +13 -0
  86. package/types/packages/client/classic-environment-v2/src/lib/models/validation-rule-dto-type.d.ts +10 -0
  87. package/types/packages/client/classic-environment-v2/src/lib/models/validation-rule-dto.d.ts +26 -0
  88. package/types/packages/client/classic-environment-v2/src/lib/models/validation-wait-condition-dto.d.ts +15 -0
  89. package/types/packages/client/classic-environment-v2/src/lib/models/visually-complete-options-dto.d.ts +25 -0
@@ -1,6 +1,7 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { AbstractCredentialsResponseElement } from '../models/abstract-credentials-response-element';
3
3
  import { Credentials } from '../models/credentials';
4
+ import { CredentialsDetailsList } from '../models/credentials-details-list';
4
5
  import { CredentialsId } from '../models/credentials-id';
5
6
  import { CredentialsList } from '../models/credentials-list';
6
7
  import { CredentialsResponseElement } from '../models/credentials-response-element';
@@ -180,5 +181,27 @@ export declare class CredentialVaultClient {
180
181
  /** The Dynatrace entity ID of the required credentials set. */ id: string;
181
182
  abortSignal?: AbortSignal;
182
183
  }): Promise<AbstractCredentialsResponseElement>;
184
+ /**
185
+ * Gets the details of the specified credentials sets.
186
+ *
187
+ * The credentials set including username/certificate, password or token is included in the response.
188
+ *
189
+ * @returns {Promise<CredentialsDetailsList>} Success. The response contains the details of the credentials sets.
190
+ *
191
+ * @example <caption>Code example</caption>
192
+ * import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
193
+ *
194
+ * const data =
195
+ * await credentialVaultClient.getCredentialsDetailsList();
196
+ *
197
+ * @throws {ErrorEnvelopeError} Failed. The input is invalid. E.g. Requested credentials with unsupported scope. Only SYNTHETIC and APP_ENGINE scope are supported. | Failed. Requested credentials belong to another user. | Client side error. | Server side error.
198
+ * @throws {InvalidResponseError}
199
+ * @throws {ApiClientError}
200
+ * @throws {ClientRequestError}
201
+ */
202
+ getCredentialsDetailsList(config?: {
203
+ /** The list of Dynatrace entity IDs of the required credentials sets (separated by commas). */ ids?: string;
204
+ abortSignal?: AbortSignal;
205
+ }): Promise<CredentialsDetailsList>;
183
206
  }
184
207
  export declare const credentialVaultClient: CredentialVaultClient;
@@ -287,6 +287,7 @@ export declare class LogsClient {
287
287
  body: LogMessagePlain;
288
288
  type: 'text/plain; charset=utf-8';
289
289
  }) & {
290
+ /** Allows to provide content type with query parameter. Has priority over value provided in Content-Type header. */ contentType?: string;
290
291
  abortSignal?: AbortSignal;
291
292
  }): Promise<SuccessEnvelope | void>;
292
293
  /**
@@ -247,6 +247,21 @@ export declare class MetricsClient {
247
247
  *
248
248
  * * Get data points which are 10 minutes apart: `resolution=10m`
249
249
  * * Get data points which are 3 weeks apart: `resolution=3w`
250
+ *
251
+ * You can also specify **multiple resolutions** for a single query using index-based formatting. This allows each metric expression in a multi-expression selector to have its own resolution.
252
+ *
253
+ * Use the format: `<index>:<resolution>(,<index>:<resolution>)*`
254
+ * Where:
255
+ * * `index` is the zero-based position of the metric expression in the `metricSelector` list.
256
+ * * `resolution` is either a number of data points (e.g., `120`) or a timespan with a unit (e.g., `10m`, `3w`).
257
+ *
258
+ * If a resolution is not specified for a given index, the default of **120 data points** is applied.
259
+ *
260
+ * **Examples:**
261
+ * * `resolution=0:Inf` → First metric uses resolution `Inf`, second metric uses default (120 data points).
262
+ * * `resolution=0:Inf,1:10` → First metric uses `Inf`, second metric uses `10` data points.
263
+ * * `resolution=Inf` → All metrics use resolution `Inf`.
264
+ * **Note:** If multiple resolutions are used, the resolution field in the response is the smallest resolution.
250
265
  */ resolution?: string;
251
266
  /**
252
267
  * The start of the requested timeframe.
@@ -14,7 +14,7 @@ export declare class RumManualInsertionTagsClient {
14
14
  */
15
15
  constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
16
16
  /**
17
- * Download the inline code | maturity=EARLY_ADOPTER
17
+ * Download the inline code
18
18
  *
19
19
  * **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the inline code, which embeds the full RUM monitoring code and configuration directly into the page, minimizing additional web requests. It needs to be updated after configuration changes and monitoring code updates.
20
20
  *
@@ -38,7 +38,7 @@ export declare class RumManualInsertionTagsClient {
38
38
  abortSignal?: AbortSignal;
39
39
  }): Promise<string>;
40
40
  /**
41
- * Download the JavaScript tag | maturity=EARLY_ADOPTER
41
+ * Download the JavaScript tag
42
42
  *
43
43
  * **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the JavaScript tag, which references an external file containing monitoring code and configuration. Due to its dynamic update mechanism, it is recommended for most use cases.
44
44
  *
@@ -64,7 +64,7 @@ export declare class RumManualInsertionTagsClient {
64
64
  abortSignal?: AbortSignal;
65
65
  }): Promise<string>;
66
66
  /**
67
- * Download the OneAgent JavaScript tag | maturity=EARLY_ADOPTER
67
+ * Download the OneAgent JavaScript tag
68
68
  *
69
69
  * **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the OneAgent JavaScript tag, which includes configuration and a reference to an external file containing the monitoring code. It needs to be updated after configuration changes and monitoring code updates.
70
70
  *
@@ -89,7 +89,7 @@ export declare class RumManualInsertionTagsClient {
89
89
  abortSignal?: AbortSignal;
90
90
  }): Promise<string>;
91
91
  /**
92
- * Download the OneAgent JavaScript tag with SRI | maturity=EARLY_ADOPTER
92
+ * Download the OneAgent JavaScript tag with SRI
93
93
  *
94
94
  * **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the OneAgent JavaScript tag with SRI. It includes configuration, a reference to an external file containing the monitoring code, and a hash that allows the browser to verify the integrity of the monitoring code before executing it using its Subresource Integrity (SRI) feature. It needs to be updated after configuration changes and monitoring code updates.
95
95
  *
@@ -147,13 +147,18 @@ export declare class SettingsObjectsClient {
147
147
  * const data =
148
148
  * await settingsObjectsClient.getSettingsHistory();
149
149
  *
150
- * @throws {ErrorEnvelopeError} Failed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.
150
+ * @throws {ErrorEnvelopeError} Failed. schemaId contains multiple schemaIds and request was for not for Dynatrace Platform. | Failed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.
151
151
  * @throws {InvalidResponseError}
152
152
  * @throws {ApiClientError}
153
153
  * @throws {ClientRequestError}
154
154
  */
155
155
  getSettingsHistory(config?: {
156
- /** Schema ID to which the requested revisions belong. */ schemaId?: string;
156
+ /**
157
+ * Schema ID to which the requested revisions belong.
158
+ *
159
+ * In the Dynatrace Platform, this parameter accepts multiple schema IDs separated with commas.
160
+ * In Dynatrace Managed and in SaaS Environments not connected to the Dynatrace Platform, this parameter accepts only a single schema ID, not multiple ones.
161
+ */ schemaId?: string;
157
162
  /**
158
163
  * The scope that the requested history objects target.
159
164
  *
@@ -142,6 +142,8 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
142
142
  /** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
143
143
  /** Namespace */ namespace?: string;
144
144
  /** Filename */ filename?: string;
145
+ /** Fips mode, accepted values are: DISABLED, ENABLED, ENABLED_WITH_CORPORATE_PROXY. Default value is DISABLED. */ fipsMode?: string;
146
+ /** Optional configuration for Squid corporate proxy. If not provided the default value will be used. */ squidProxyConfig?: string;
145
147
  abortSignal?: AbortSignal;
146
148
  }): Promise<void>;
147
149
  /**
@@ -1,5 +1,7 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { MonitorEntityIdDto } from '../models/monitor-entity-id-dto';
3
+ import { SyntheticBrowserMonitorRequest } from '../models/synthetic-browser-monitor-request';
4
+ import { SyntheticBrowserMonitorResponse } from '../models/synthetic-browser-monitor-response';
3
5
  import { SyntheticMonitorListDto } from '../models/synthetic-monitor-list-dto';
4
6
  import { SyntheticMultiProtocolMonitorRequest } from '../models/synthetic-multi-protocol-monitor-request';
5
7
  import { SyntheticMultiProtocolMonitorResponse } from '../models/synthetic-multi-protocol-monitor-response';
@@ -73,7 +75,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
73
75
  * @throws {ClientRequestError}
74
76
  */
75
77
  createMonitor(config: {
76
- body: SyntheticMultiProtocolMonitorRequest;
78
+ body: SyntheticMultiProtocolMonitorRequest | SyntheticBrowserMonitorRequest;
77
79
  abortSignal?: AbortSignal;
78
80
  }): Promise<MonitorEntityIdDto>;
79
81
  /**
@@ -81,7 +83,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
81
83
  *
82
84
  * **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
83
85
  *
84
- * @returns {Promise<SyntheticMultiProtocolMonitorResponse>} Success
86
+ * @returns {Promise<SyntheticMultiProtocolMonitorResponse | SyntheticBrowserMonitorResponse>} Success
85
87
  *
86
88
  * @example <caption>Code example</caption>
87
89
  * import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -99,7 +101,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
99
101
  getMonitor(config: {
100
102
  /** The identifier of the monitor. */ monitorId: string;
101
103
  abortSignal?: AbortSignal;
102
- }): Promise<SyntheticMultiProtocolMonitorResponse>;
104
+ }): Promise<SyntheticMultiProtocolMonitorResponse | SyntheticBrowserMonitorResponse>;
103
105
  /**
104
106
  * Updates a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
105
107
  *
@@ -119,7 +121,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
119
121
  * @throws {ClientRequestError}
120
122
  */
121
123
  updateMonitor(config: {
122
- body: SyntheticMultiProtocolMonitorRequest;
124
+ body: SyntheticMultiProtocolMonitorRequest | SyntheticBrowserMonitorRequest;
123
125
  /** The identifier of the monitor. */ monitorId: string;
124
126
  abortSignal?: AbortSignal;
125
127
  }): Promise<void>;
@@ -25,6 +25,7 @@ export declare enum AssetInfoDtoType {
25
25
  LqlLogProcessingRule = "LQL_LOG_PROCESSING_RULE",
26
26
  MetricMetadata = "METRIC_METADATA",
27
27
  MetricQuery = "METRIC_QUERY",
28
+ OpenPipeline = "OPEN_PIPELINE",
28
29
  ProcessGroupingRules = "PROCESS_GROUPING_RULES",
29
30
  ScreenActions = "SCREEN_ACTIONS",
30
31
  ScreenChartGroups = "SCREEN_CHART_GROUPS",
@@ -18,5 +18,5 @@ export interface AssetInfoDto {
18
18
  /**
19
19
  * The type of the asset.
20
20
  */
21
- type?: 'ALERT' | 'ALERT_TEMPLATE' | 'AWS_SERVICE' | 'CUSTOM_CARDS' | 'DASHBOARD' | 'DECLARATIVE_PROCESSES' | 'DOCUMENT_DASHBOARD' | 'DQL_LOG_METRIC' | 'DQL_LOG_PROCESSING_RULE' | 'GENERIC_RELATIONSHIP' | 'GENERIC_TYPE' | 'LIST_SCREEN_FILTERS' | 'LIST_SCREEN_INJECTIONS' | 'LIST_SCREEN_LAYOUT' | 'LOG_EVENT' | 'LOG_METRIC' | 'LOG_PROCESSING_RULE' | 'LQL_LOG_METRIC' | 'LQL_LOG_PROCESSING_RULE' | 'METRIC_METADATA' | 'METRIC_QUERY' | 'PROCESS_GROUPING_RULES' | 'SCREEN_ACTIONS' | 'SCREEN_CHART_GROUPS' | 'SCREEN_DQL_TABLE' | 'SCREEN_ENTITIES_LISTS' | 'SCREEN_EVENTS_CARDS' | 'SCREEN_FILTERS' | 'SCREEN_HEALTH_CARDS' | 'SCREEN_INJECTIONS' | 'SCREEN_LAYOUT' | 'SCREEN_LOGS_CARDS' | 'SCREEN_MESSAGE_CARDS' | 'SCREEN_METRIC_TABLES' | 'SCREEN_PROBLEMS' | 'SCREEN_PROPERTIES';
21
+ type?: 'ALERT' | 'ALERT_TEMPLATE' | 'AWS_SERVICE' | 'CUSTOM_CARDS' | 'DASHBOARD' | 'DECLARATIVE_PROCESSES' | 'DOCUMENT_DASHBOARD' | 'DQL_LOG_METRIC' | 'DQL_LOG_PROCESSING_RULE' | 'GENERIC_RELATIONSHIP' | 'GENERIC_TYPE' | 'LIST_SCREEN_FILTERS' | 'LIST_SCREEN_INJECTIONS' | 'LIST_SCREEN_LAYOUT' | 'LOG_EVENT' | 'LOG_METRIC' | 'LOG_PROCESSING_RULE' | 'LQL_LOG_METRIC' | 'LQL_LOG_PROCESSING_RULE' | 'METRIC_METADATA' | 'METRIC_QUERY' | 'OPEN_PIPELINE' | 'PROCESS_GROUPING_RULES' | 'SCREEN_ACTIONS' | 'SCREEN_CHART_GROUPS' | 'SCREEN_DQL_TABLE' | 'SCREEN_ENTITIES_LISTS' | 'SCREEN_EVENTS_CARDS' | 'SCREEN_FILTERS' | 'SCREEN_HEALTH_CARDS' | 'SCREEN_INJECTIONS' | 'SCREEN_LAYOUT' | 'SCREEN_LOGS_CARDS' | 'SCREEN_MESSAGE_CARDS' | 'SCREEN_METRIC_TABLES' | 'SCREEN_PROBLEMS' | 'SCREEN_PROPERTIES';
22
22
  }
@@ -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` -> SecureAuthenticationDto
5
+ * * `PLAIN` -> PlainAuthenticationDto
6
+ *
7
+ * @deprecated Use literal values.
8
+ */
9
+ export declare enum AuthenticationDtoInputType {
10
+ Plain = "PLAIN",
11
+ Secure = "SECURE"
12
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Type of authentication.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum AuthenticationDtoType {
7
+ HttpAuthentication = "HTTP_AUTHENTICATION",
8
+ Kerberos = "KERBEROS",
9
+ Webform = "WEBFORM"
10
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Authentication dto for Browser Monitor step.
3
+ */
4
+ export interface AuthenticationDto {
5
+ /**
6
+ * String containing the allowed servers of KERBEROS authentication. Can be defined only for `KERBEROS` authentication type.
7
+ */
8
+ authServerAllowlist?: string;
9
+ /**
10
+ * String containing the KERBEROS authentication domain. Can be defined only for `KERBEROS` authentication type.
11
+ */
12
+ domain?: string;
13
+ /**
14
+ * Defines the actual set of fields depending on the value. See one of the following objects:
15
+ *
16
+ * * `SECURE` -> SecureAuthenticationDto
17
+ * * `PLAIN` -> PlainAuthenticationDto
18
+ */
19
+ inputType: 'PLAIN' | 'SECURE';
20
+ /**
21
+ * Type of authentication.
22
+ */
23
+ type: 'HTTP_AUTHENTICATION' | 'KERBEROS' | 'WEBFORM';
24
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Defines the actual set of fields depending on the value. See one of the following objects:
3
+ *
4
+ * * `TIME` -> TimeWaitConditionDto
5
+ * * `VALIDATION` -> ValidationWaitConditionDto
6
+ * * `PAGE_COMPLETE` -> BaseWaitConditionDto
7
+ * * `NETWORK` -> BaseWaitConditionDto
8
+ * * `NEXT_EVENT` -> BaseWaitConditionDto
9
+ *
10
+ * @deprecated Use literal values.
11
+ */
12
+ export declare enum BaseWaitConditionDtoType {
13
+ Network = "NETWORK",
14
+ NextEvent = "NEXT_EVENT",
15
+ PageComplete = "PAGE_COMPLETE",
16
+ Time = "TIME",
17
+ Validation = "VALIDATION"
18
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Wait condition for Browser Monitor step.
3
+ */
4
+ export interface BaseWaitConditionDto {
5
+ /**
6
+ * Defines the actual set of fields depending on the value. See one of the following objects:
7
+ *
8
+ * * `TIME` -> TimeWaitConditionDto
9
+ * * `VALIDATION` -> ValidationWaitConditionDto
10
+ * * `PAGE_COMPLETE` -> BaseWaitConditionDto
11
+ * * `NETWORK` -> BaseWaitConditionDto
12
+ * * `NEXT_EVENT` -> BaseWaitConditionDto
13
+ */
14
+ type: 'NETWORK' | 'NEXT_EVENT' | 'PAGE_COMPLETE' | 'TIME' | 'VALIDATION';
15
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Permissions settings for browser.
3
+ */
4
+ export interface BrowserPermissionsDto {
5
+ /**
6
+ * Camera permission. If not defined in request, it will be set to false by default.
7
+ */
8
+ camera?: boolean;
9
+ /**
10
+ * Location permission. If not defined in request, it will be set to false by default.
11
+ */
12
+ location?: boolean;
13
+ /**
14
+ * Microphone permission. If not defined in request, it will be set to false by default.
15
+ */
16
+ microphone?: boolean;
17
+ /**
18
+ * Notifications permission. If not defined in request, it will be set to false by default.
19
+ */
20
+ notifications?: boolean;
21
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * autoplay-policy type.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum ChromiumStartupFlagsDtoAutoplayPolicy {
7
+ NoUserGestureRequired = "no-user-gesture-required",
8
+ DocumentUserActivationRequired = "document-user-activation-required"
9
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * disable-features map
3
+ */
4
+ export interface ChromiumStartupFlagsDtoDisableFeatures {
5
+ [propName: string]: boolean | undefined;
6
+ }
@@ -0,0 +1,42 @@
1
+ import { ChromiumStartupFlagsDtoDisableFeatures } from './chromium-startup-flags-dto-disable-features';
2
+ /**
3
+ * Chromium startup flags of a Browser Monitor.
4
+ */
5
+ export interface ChromiumStartupFlagsDto {
6
+ /**
7
+ * autoplay-policy type.
8
+ */
9
+ 'autoplay-policy'?: 'no-user-gesture-required' | 'document-user-activation-required';
10
+ /**
11
+ * disable-features map
12
+ */
13
+ 'disable-features'?: ChromiumStartupFlagsDtoDisableFeatures;
14
+ /**
15
+ * disable-site-isolation-trials flag.
16
+ */
17
+ 'disable-site-isolation-trials'?: boolean;
18
+ /**
19
+ * disable-web-security flag. If no value is passed, it will be set to false by default.
20
+ */
21
+ 'disable-web-security'?: boolean;
22
+ /**
23
+ * host-resolver-rules.
24
+ */
25
+ 'host-resolver-rules'?: string;
26
+ /**
27
+ * ignore-certificate-errors flag.
28
+ */
29
+ 'ignore-certificate-errors'?: boolean;
30
+ /**
31
+ * ssl-version-max.
32
+ */
33
+ 'ssl-version-max'?: string;
34
+ /**
35
+ * ssl-version-min.
36
+ */
37
+ 'ssl-version-min'?: string;
38
+ /**
39
+ * test-type flag.
40
+ */
41
+ 'test-type'?: boolean;
42
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Client certificate.
3
+ */
4
+ export interface ClientCertificateDto {
5
+ /**
6
+ * Certificate CV id.
7
+ */
8
+ credentialId: string;
9
+ /**
10
+ * Domain certificate will be applied to.
11
+ */
12
+ domain: string;
13
+ }
@@ -30,6 +30,10 @@ export interface ComplexConstraint {
30
30
  * Whether to skip validation on a change made from the UI.
31
31
  */
32
32
  skipAsyncValidation?: boolean;
33
+ /**
34
+ * The maximum time in seconds the custom validator is allowed to run.
35
+ */
36
+ timeout?: number;
33
37
  /**
34
38
  * The type of the constraint.
35
39
  */
@@ -38,6 +38,10 @@ export interface Constraint {
38
38
  * Whether to skip validation on a change made from the UI.
39
39
  */
40
40
  skipAsyncValidation?: boolean;
41
+ /**
42
+ * The maximum time in seconds the custom validator is allowed to run.
43
+ */
44
+ timeout?: number;
41
45
  /**
42
46
  * The type of the constraint.
43
47
  */
@@ -0,0 +1,11 @@
1
+ import { SyntheticBrowserMonitorStepDto } from './synthetic-browser-monitor-step-dto';
2
+ import { SyntheticMonitorCookieDto } from './synthetic-monitor-cookie-dto';
3
+ /**
4
+ * Cookie step of Browser Monitor.
5
+ */
6
+ export interface CookieStepDto extends SyntheticBrowserMonitorStepDto {
7
+ /**
8
+ * Field containing the list of cookies.
9
+ */
10
+ cookies?: SyntheticMonitorCookieDto[];
11
+ }
@@ -0,0 +1,11 @@
1
+ import { AbstractCredentialsResponseElement } from './abstract-credentials-response-element';
2
+ /**
3
+ * A list of detailed credentials sets for Synthetic monitors.
4
+ */
5
+ export interface CredentialsDetailsList {
6
+ allowPlaybackWithPrefilledCredentials?: boolean;
7
+ /**
8
+ * A list of credentials sets for Synthetic monitors.
9
+ */
10
+ credentials: AbstractCredentialsResponseElement[];
11
+ }
@@ -11,6 +11,10 @@ export interface DeletionConstraint {
11
11
  */
12
12
  customValidatorId?: string;
13
13
  schemaIds?: string[];
14
+ /**
15
+ * The maximum time in seconds the custom validator is allowed to run.
16
+ */
17
+ timeout?: number;
14
18
  /**
15
19
  * The type of the deletion constraint.
16
20
  */
@@ -0,0 +1,14 @@
1
+ export interface EnrichedManagementZoneDto {
2
+ /**
3
+ * The ID of the management zone.
4
+ */
5
+ id?: string;
6
+ /**
7
+ * The name of the management zone.
8
+ */
9
+ name?: string;
10
+ /**
11
+ * The path to the settings object in the Settings API.
12
+ */
13
+ sourceSetting?: string;
14
+ }
@@ -0,0 +1,32 @@
1
+ export interface EnrichedTagDto {
2
+ /**
3
+ * The origin of the tag, such as AWS or Cloud Foundry.
4
+ *
5
+ * Custom tags use the `CONTEXTLESS` value.
6
+ */
7
+ context?: string;
8
+ /**
9
+ * The key of the tag.
10
+ */
11
+ key?: string;
12
+ /**
13
+ * The source where the tag comes from. Possible values are:
14
+ *
15
+ * * Auto tags
16
+ * * Environment tags
17
+ * * User provided tags
18
+ */
19
+ source?: string;
20
+ /**
21
+ * The path to the settings object in the Settings API. Only available for tags with the Auto tags source.
22
+ */
23
+ sourceSetting?: string;
24
+ /**
25
+ * The string representation of the tag.
26
+ */
27
+ stringRepresentation?: string;
28
+ /**
29
+ * The value of the tag.
30
+ */
31
+ value?: string;
32
+ }
@@ -1,9 +1,9 @@
1
+ import { EnrichedManagementZoneDto } from './enriched-management-zone-dto';
2
+ import { EnrichedTagDto } from './enriched-tag-dto';
1
3
  import { EntityFromRelationships } from './entity-from-relationships';
2
4
  import { EntityIcon } from './entity-icon';
3
5
  import { EntityProperties } from './entity-properties';
4
6
  import { EntityToRelationships } from './entity-to-relationships';
5
- import { ManagementZone } from './management-zone';
6
- import { METag } from './me-tag';
7
7
  /**
8
8
  * The properties of a monitored entity.
9
9
  */
@@ -35,7 +35,7 @@ export interface Entity {
35
35
  /**
36
36
  * A set of management zones to which the entity belongs.
37
37
  */
38
- managementZones?: ManagementZone[];
38
+ managementZones?: EnrichedManagementZoneDto[];
39
39
  /**
40
40
  * A list of additional properties of the entity.
41
41
  */
@@ -43,7 +43,7 @@ export interface Entity {
43
43
  /**
44
44
  * A set of tags assigned to the entity.
45
45
  */
46
- tags?: METag[];
46
+ tags?: EnrichedTagDto[];
47
47
  /**
48
48
  * A list of relationships where the entity occupies the TO position.
49
49
  */
@@ -13,5 +13,6 @@ export declare enum EventIngestEventType {
13
13
  ErrorEvent = "ERROR_EVENT",
14
14
  MarkedForTermination = "MARKED_FOR_TERMINATION",
15
15
  PerformanceEvent = "PERFORMANCE_EVENT",
16
- ResourceContentionEvent = "RESOURCE_CONTENTION_EVENT"
16
+ ResourceContentionEvent = "RESOURCE_CONTENTION_EVENT",
17
+ Warning = "WARNING"
17
18
  }
@@ -12,7 +12,7 @@ export interface EventIngest {
12
12
  /**
13
13
  * The [entity selector](https://dt-url.net/apientityselector), defining a set of Dynatrace entities to be associated with the event.
14
14
  *
15
- * Only entities that have been active within the last 24 hours can be selected.
15
+ * Only entities that have been active within the last 24 hours can be selected. Note that the `entityId` filter bypasses this time constraint, allowing events to be ingested for entities that have been inactive for more than 24 hours.
16
16
  *
17
17
  * If not set, the event is associated with the environment (`dt.entity.environment`) entity.
18
18
  */
@@ -20,7 +20,7 @@ export interface EventIngest {
20
20
  /**
21
21
  * The type of the event.
22
22
  */
23
- eventType: 'AVAILABILITY_EVENT' | 'CUSTOM_ALERT' | 'CUSTOM_ANNOTATION' | 'CUSTOM_CONFIGURATION' | 'CUSTOM_DEPLOYMENT' | 'CUSTOM_INFO' | 'ERROR_EVENT' | 'MARKED_FOR_TERMINATION' | 'PERFORMANCE_EVENT' | 'RESOURCE_CONTENTION_EVENT';
23
+ eventType: 'AVAILABILITY_EVENT' | 'CUSTOM_ALERT' | 'CUSTOM_ANNOTATION' | 'CUSTOM_CONFIGURATION' | 'CUSTOM_DEPLOYMENT' | 'CUSTOM_INFO' | 'ERROR_EVENT' | 'MARKED_FOR_TERMINATION' | 'PERFORMANCE_EVENT' | 'RESOURCE_CONTENTION_EVENT' | 'WARNING';
24
24
  /**
25
25
  * A map of event properties.
26
26
  *
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Filter mode for filtered requests.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum FilteredRequestsDtoMode {
7
+ Block = "BLOCK",
8
+ Allow = "ALLOW"
9
+ }
@@ -0,0 +1,14 @@
1
+ import { RequestFilterDto } from './request-filter-dto';
2
+ /**
3
+ * Filtered requests of a Browser Monitor.
4
+ */
5
+ export interface FilteredRequestsDto {
6
+ /**
7
+ * Filter mode for filtered requests.
8
+ */
9
+ mode: 'BLOCK' | 'ALLOW';
10
+ /**
11
+ * Requests to be filtered.
12
+ */
13
+ requests: RequestFilterDto[];
14
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * JS framework options of a JS Agent.
3
+ */
4
+ export interface FrameworkOptionsDto {
5
+ /**
6
+ * activeXObject support. If not defined in request, it will be set to false by default.
7
+ */
8
+ activeXObject?: boolean;
9
+ /**
10
+ * Angular support. If not defined in request, it will be set to false by default.
11
+ */
12
+ angular?: boolean;
13
+ /**
14
+ * Dojo support. If not defined in request, it will be set to false by default.
15
+ */
16
+ dojo?: boolean;
17
+ /**
18
+ * extJs support. If not defined in request, it will be set to false by default.
19
+ */
20
+ extJs?: boolean;
21
+ /**
22
+ * icefaces support. If not defined in request, it will be set to false by default.
23
+ */
24
+ icefaces?: boolean;
25
+ /**
26
+ * jquery support. If not defined in request, it will be set to false by default.
27
+ */
28
+ jQuery?: boolean;
29
+ /**
30
+ * mooTools support. If not defined in request, it will be set to false by default.
31
+ */
32
+ mooTools?: boolean;
33
+ /**
34
+ * prototype support. If not defined in request, it will be set to false by default.
35
+ */
36
+ prototype?: boolean;
37
+ }
@@ -6,6 +6,10 @@ export interface HistoryModificationInfo {
6
6
  * The unique identifier of the user who performed the most recent modification.
7
7
  */
8
8
  lastModifiedBy?: string;
9
+ /**
10
+ * Reason for system change
11
+ */
12
+ lastModifiedReason?: string;
9
13
  /**
10
14
  * Timestamp when the setting was last modified in ISO 8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
11
15
  */
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Ignored Error Codes of a Browser Monitor.
3
+ */
4
+ export interface IgnoredErrorCodesDto {
5
+ /**
6
+ * Ignoring status codes will be applied to requests matching pattern.
7
+ */
8
+ matchingDocumentRequests?: string;
9
+ /**
10
+ * Status codes to be ignored.
11
+ */
12
+ statusCodes?: string;
13
+ }