@dynatrace-sdk/client-classic-environment-v2 4.2.1 → 5.2.2
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 +32 -0
- package/README.md +1898 -547
- package/cjs/index.js +1232 -219
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +1173 -160
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +24 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +45 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +11 -1
- 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 +8 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +83 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +13 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module-attributes.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log-aggregation-result.d.ts +1 -1
- 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/availability-evidence.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts +2 -2
- 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/certificate-credentials.d.ts +3 -3
- 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/custom-device-creation-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-allowed-location-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +4 -4
- 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/enablement-dto-origin.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto-performance-metric.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto.d.ts +17 -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-from-relationships.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-to-relationships.d.ts +1 -1
- 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-evidence.d.ts +3 -3
- 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-properties.d.ts +1 -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/execute-actions-dto-actions.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-feature-sets-details.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto-feature-sets-details.d.ts +1 -1
- 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/hashicorp-approle.d.ts +4 -4
- 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 +67 -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/item-metadata.d.ts +1 -1
- 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/log-message-json.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record-additional-columns.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/maintenance-window-evidence.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-dimension-map.d.ts +1 -1
- 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/monitored-entity-state-param.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +2 -2
- 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/network-zone.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/node-collection-element.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/node.d.ts +4 -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-node-names.d.ts +1 -1
- 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/property-definition-metadata.d.ts +1 -1
- 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/public-certificate-credentials.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/public-synthetic-location.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.d.ts +1 -1
- 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/revision-diff.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-enums.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-maturity.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-table-columns.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-types.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub-maturity.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type-properties.d.ts +1 -1
- 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/security-problem-event-reason.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts +1 -1
- 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/service-impact.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/store-log-query-structure.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-configuration-dto.d.ts +90 -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 +70 -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 +82 -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-constraint-dto-properties.d.ts +1 -1
- 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-monitor-outage-handling-settings-dto-origin.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-primary-grail-tag-dto.d.ts +13 -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 +6 -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 +8 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-metadata.d.ts +1 -1
- 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 +12 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-public-location-update.d.ts +1 -1
- 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/transactional-evidence.d.ts +4 -4
- 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/http-client/src/index.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/abort-controller.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/abort-signal.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/apply-content-type-header.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/base-error.d.ts +0 -5
- package/types/packages/http-client/src/lib/platform/binary.d.ts +0 -13
- package/types/packages/http-client/src/lib/platform/data-type-error.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/decode-form-data.d.ts +0 -48
- package/types/packages/http-client/src/lib/platform/decode-response-body.d.ts +0 -3
- package/types/packages/http-client/src/lib/platform/default-status-validator.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/encode-request-body.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/http-client-abort-error.d.ts +0 -7
- package/types/packages/http-client/src/lib/platform/http-client-request-error.d.ts +0 -7
- package/types/packages/http-client/src/lib/platform/http-client-response-error-serializer.d.ts +0 -3
- package/types/packages/http-client/src/lib/platform/http-client-response-error.d.ts +0 -11
- package/types/packages/http-client/src/lib/platform/http-client-response.d.ts +0 -10
- package/types/packages/http-client/src/lib/platform/http-client.d.ts +0 -24
- package/types/packages/http-client/src/lib/platform/index.d.ts +0 -12
- package/types/packages/http-client/src/lib/platform/oauth-http-client.d.ts +0 -41
- package/types/packages/http-client/src/lib/platform/unsupported-operation-error.d.ts +0 -6
- package/types/packages/http-client/src/lib/types/abort-controller.d.ts +0 -14
- package/types/packages/http-client/src/lib/types/abort-signal.d.ts +0 -18
- package/types/packages/http-client/src/lib/types/base-error.d.ts +0 -4
- package/types/packages/http-client/src/lib/types/binary.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/data-type-error.d.ts +0 -14
- package/types/packages/http-client/src/lib/types/data-types.d.ts +0 -36
- package/types/packages/http-client/src/lib/types/form-data-request-body.d.ts +0 -83
- package/types/packages/http-client/src/lib/types/form-data-response-body.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/headers.d.ts +0 -6
- package/types/packages/http-client/src/lib/types/http-client-abort-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-network-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-request-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-request-options.d.ts +0 -42
- package/types/packages/http-client/src/lib/types/http-client-response-error.d.ts +0 -20
- package/types/packages/http-client/src/lib/types/http-client-response.d.ts +0 -33
- package/types/packages/http-client/src/lib/types/http-client.d.ts +0 -24
- package/types/packages/http-client/src/lib/types/index.d.ts +0 -20
- package/types/packages/http-client/src/lib/types/request-body-types.d.ts +0 -26
- package/types/packages/http-client/src/lib/types/response-body-types.d.ts +0 -46
- package/types/packages/http-client/src/lib/types/status-validator.d.ts +0 -7
- package/types/packages/http-client/src/lib/types/unsupported-operation-error.d.ts +0 -14
- package/types/packages/platform/error-handlers/src/index.d.ts +0 -2
- package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +0 -13
- package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +0 -13
- package/types/packages/platform/error-handlers/src/lib/types/dt-runtime-error-handlers.d.ts +0 -5
- package/types/packages/platform/error-handlers/src/lib/types/error-type.d.ts +0 -9
- package/types/packages/platform/error-handlers/src/lib/types/global-dt-runtime-with-error-handlers.d.ts +0 -7
- package/types/packages/platform/error-handlers/src/lib/types/global-error-serializer.d.ts +0 -10
- package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +0 -16
- package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +0 -6
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +0 -10
- package/types/packages/platform/shared/index.d.ts +0 -1
- package/types/packages/platform/shared/utils/get-global-with-dt-runtime.d.ts +0 -1
- package/types/packages/shared-errors/src/api-client-error.d.ts +0 -23
- package/types/packages/shared-errors/src/api-gateway-error.d.ts +0 -37
- package/types/packages/shared-errors/src/client-request-error.d.ts +0 -39
- package/types/packages/shared-errors/src/index.d.ts +0 -5
- package/types/packages/shared-errors/src/invalid-response-error.d.ts +0 -26
- package/types/packages/shared-errors/src/types.d.ts +0 -88
|
@@ -0,0 +1,70 @@
|
|
|
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 { SyntheticMonitorPrimaryGrailTagDto } from './synthetic-monitor-primary-grail-tag-dto';
|
|
7
|
+
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
8
|
+
/**
|
|
9
|
+
* Browser monitor update.
|
|
10
|
+
*/
|
|
11
|
+
export interface SyntheticBrowserMonitorRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Browser Monitor configuration.
|
|
14
|
+
*/
|
|
15
|
+
configuration: SyntheticBrowserMonitorConfigurationDto;
|
|
16
|
+
/**
|
|
17
|
+
* Monitor description
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* If true, the monitor is enabled.
|
|
22
|
+
*/
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The frequency of the monitor, in minutes.
|
|
26
|
+
*/
|
|
27
|
+
frequencyMin?: number;
|
|
28
|
+
/**
|
|
29
|
+
* The key performance metrics configuration.
|
|
30
|
+
*/
|
|
31
|
+
keyPerformanceMetrics?: KeyPerformanceMetrics;
|
|
32
|
+
/**
|
|
33
|
+
* The locations to which the monitor is assigned.
|
|
34
|
+
*/
|
|
35
|
+
locations: string[];
|
|
36
|
+
/**
|
|
37
|
+
* Manually assigned entities.
|
|
38
|
+
*/
|
|
39
|
+
manuallyAssignedEntities?: string[];
|
|
40
|
+
/**
|
|
41
|
+
* The name of the monitor.
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
/**
|
|
45
|
+
* Performance thresholds configuration.
|
|
46
|
+
*/
|
|
47
|
+
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
48
|
+
/**
|
|
49
|
+
* Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
|
|
50
|
+
*/
|
|
51
|
+
primaryGrailTags?: SyntheticMonitorPrimaryGrailTagDto[];
|
|
52
|
+
/**
|
|
53
|
+
* The steps of the monitor.
|
|
54
|
+
*/
|
|
55
|
+
steps: SyntheticBrowserMonitorStepDto[];
|
|
56
|
+
/**
|
|
57
|
+
* Outage handling configuration.
|
|
58
|
+
*/
|
|
59
|
+
syntheticMonitorOutageHandlingSettings?: SyntheticMonitorOutageHandlingSettingsDto;
|
|
60
|
+
/**
|
|
61
|
+
* A set of tags assigned to the monitor.
|
|
62
|
+
*
|
|
63
|
+
* 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.
|
|
64
|
+
*/
|
|
65
|
+
tags?: SyntheticTagWithSourceDto[];
|
|
66
|
+
/**
|
|
67
|
+
* Monitor type.
|
|
68
|
+
*/
|
|
69
|
+
type: 'MULTI_PROTOCOL' | 'BROWSER';
|
|
70
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 { SyntheticMonitorPrimaryGrailTagDto } from './synthetic-monitor-primary-grail-tag-dto';
|
|
7
|
+
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
8
|
+
/**
|
|
9
|
+
* Browser Monitor.
|
|
10
|
+
*/
|
|
11
|
+
export interface SyntheticBrowserMonitorResponse {
|
|
12
|
+
/**
|
|
13
|
+
* Automatically assigned entities.
|
|
14
|
+
*/
|
|
15
|
+
automaticallyAssignedEntities?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* Browser Monitor configuration.
|
|
18
|
+
*/
|
|
19
|
+
configuration: SyntheticBrowserMonitorConfigurationDto;
|
|
20
|
+
/**
|
|
21
|
+
* Monitor description
|
|
22
|
+
*/
|
|
23
|
+
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* If true, the monitor is enabled.
|
|
26
|
+
*/
|
|
27
|
+
enabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The entity id of the monitor.
|
|
30
|
+
*/
|
|
31
|
+
entityId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The frequency of the monitor, in minutes.
|
|
34
|
+
*/
|
|
35
|
+
frequencyMin?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The key performance metrics configuration.
|
|
38
|
+
*/
|
|
39
|
+
keyPerformanceMetrics: KeyPerformanceMetrics;
|
|
40
|
+
/**
|
|
41
|
+
* The locations to which the monitor is assigned.
|
|
42
|
+
*/
|
|
43
|
+
locations?: string[];
|
|
44
|
+
/**
|
|
45
|
+
* Manually assigned entities.
|
|
46
|
+
*/
|
|
47
|
+
manuallyAssignedEntities?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* The timestamp of the last modification
|
|
50
|
+
*/
|
|
51
|
+
modificationTimestamp?: number;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the monitor.
|
|
54
|
+
*/
|
|
55
|
+
name?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Performance thresholds configuration.
|
|
58
|
+
*/
|
|
59
|
+
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
60
|
+
/**
|
|
61
|
+
* Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
|
|
62
|
+
*/
|
|
63
|
+
primaryGrailTags?: SyntheticMonitorPrimaryGrailTagDto[];
|
|
64
|
+
/**
|
|
65
|
+
* The steps of the monitor.
|
|
66
|
+
*/
|
|
67
|
+
steps: SyntheticBrowserMonitorStepDto[];
|
|
68
|
+
/**
|
|
69
|
+
* Outage handling configuration.
|
|
70
|
+
*/
|
|
71
|
+
syntheticMonitorOutageHandlingSettings: SyntheticMonitorOutageHandlingSettingsDto;
|
|
72
|
+
/**
|
|
73
|
+
* A set of tags assigned to the monitor.
|
|
74
|
+
*
|
|
75
|
+
* 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.
|
|
76
|
+
*/
|
|
77
|
+
tags?: SyntheticTagWithSourceDto[];
|
|
78
|
+
/**
|
|
79
|
+
* Monitor type.
|
|
80
|
+
*/
|
|
81
|
+
type: 'MULTI_PROTOCOL' | 'BROWSER';
|
|
82
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Indicates the origin of these settings.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Use literal values.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum SyntheticMonitorOutageHandlingSettingsDtoOrigin {
|
|
7
|
+
Monitor = "MONITOR",
|
|
8
|
+
Tenant = "TENANT",
|
|
9
|
+
Default = "DEFAULT",
|
|
10
|
+
Unknown = "UNKNOWN"
|
|
11
|
+
}
|
|
@@ -22,4 +22,8 @@ export interface SyntheticMonitorOutageHandlingSettingsDto {
|
|
|
22
22
|
* Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
|
|
23
23
|
*/
|
|
24
24
|
localOutages: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Indicates the origin of these settings.
|
|
27
|
+
*/
|
|
28
|
+
origin?: 'MONITOR' | 'TENANT' | 'DEFAULT' | 'UNKNOWN';
|
|
25
29
|
}
|
|
@@ -7,27 +7,27 @@ export interface SyntheticMonitorPerformanceThresholdDto {
|
|
|
7
7
|
*/
|
|
8
8
|
aggregation?: 'AVG' | 'MAX' | 'MIN';
|
|
9
9
|
/**
|
|
10
|
-
* Number of most recent non-violating request executions that closes the problem
|
|
10
|
+
* Number of most recent non-violating request executions that closes the problem.
|
|
11
11
|
*/
|
|
12
12
|
dealertingSamples?: number;
|
|
13
13
|
/**
|
|
14
|
-
* Number of request executions in analyzed sliding window (sliding window size)
|
|
14
|
+
* Number of request executions in analyzed sliding window (sliding window size).
|
|
15
15
|
*/
|
|
16
16
|
samples?: number;
|
|
17
17
|
/**
|
|
18
|
-
* Specify the step's index to which a threshold applies.
|
|
18
|
+
* Specify the step's index to which a threshold applies. If threshold is monitor-level, no index is needed.
|
|
19
19
|
*/
|
|
20
20
|
stepIndex?: number;
|
|
21
21
|
/**
|
|
22
|
-
* Notify if monitor request takes longer than *X*
|
|
22
|
+
* Notify if monitor request takes longer than *X* time units to execute. For Network Availability monitors the time unit is milliseconds, for browser monitors - seconds.
|
|
23
23
|
*/
|
|
24
24
|
threshold: number;
|
|
25
25
|
/**
|
|
26
|
-
* Type of performance threshold
|
|
26
|
+
* Type of performance threshold.
|
|
27
27
|
*/
|
|
28
28
|
type?: 'MONITOR' | 'STEP';
|
|
29
29
|
/**
|
|
30
|
-
* Number of violating request executions in analyzed sliding window
|
|
30
|
+
* Number of violating request executions in analyzed sliding window.
|
|
31
31
|
*/
|
|
32
32
|
violatingSamples?: number;
|
|
33
33
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
|
|
2
2
|
import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-performance-thresholds-dto';
|
|
3
|
+
import { SyntheticMonitorPrimaryGrailTagDto } from './synthetic-monitor-primary-grail-tag-dto';
|
|
3
4
|
import { SyntheticMultiProtocolMonitorStepDto } from './synthetic-multi-protocol-monitor-step-dto';
|
|
4
5
|
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
5
6
|
/**
|
|
@@ -30,6 +31,10 @@ export interface SyntheticMultiProtocolMonitorRequest {
|
|
|
30
31
|
* Performance thresholds configuration.
|
|
31
32
|
*/
|
|
32
33
|
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
34
|
+
/**
|
|
35
|
+
* Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
|
|
36
|
+
*/
|
|
37
|
+
primaryGrailTags?: SyntheticMonitorPrimaryGrailTagDto[];
|
|
33
38
|
/**
|
|
34
39
|
* The steps of the monitor.
|
|
35
40
|
*/
|
|
@@ -47,5 +52,5 @@ export interface SyntheticMultiProtocolMonitorRequest {
|
|
|
47
52
|
/**
|
|
48
53
|
* Monitor type.
|
|
49
54
|
*/
|
|
50
|
-
type: 'MULTI_PROTOCOL';
|
|
55
|
+
type: 'MULTI_PROTOCOL' | 'BROWSER';
|
|
51
56
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
|
|
2
2
|
import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-performance-thresholds-dto';
|
|
3
|
+
import { SyntheticMonitorPrimaryGrailTagDto } from './synthetic-monitor-primary-grail-tag-dto';
|
|
3
4
|
import { SyntheticMultiProtocolMonitorStepDto } from './synthetic-multi-protocol-monitor-step-dto';
|
|
4
5
|
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
5
6
|
/**
|
|
@@ -25,7 +26,7 @@ export interface SyntheticMultiProtocolMonitorResponse {
|
|
|
25
26
|
/**
|
|
26
27
|
* The locations to which the monitor is assigned.
|
|
27
28
|
*/
|
|
28
|
-
locations
|
|
29
|
+
locations?: string[];
|
|
29
30
|
/**
|
|
30
31
|
* The timestamp of the last modification
|
|
31
32
|
*/
|
|
@@ -33,11 +34,15 @@ export interface SyntheticMultiProtocolMonitorResponse {
|
|
|
33
34
|
/**
|
|
34
35
|
* The name of the monitor.
|
|
35
36
|
*/
|
|
36
|
-
name
|
|
37
|
+
name?: string;
|
|
37
38
|
/**
|
|
38
39
|
* Performance thresholds configuration.
|
|
39
40
|
*/
|
|
40
41
|
performanceThresholds?: SyntheticMonitorPerformanceThresholdsDto;
|
|
42
|
+
/**
|
|
43
|
+
* Primary Grail tags as a list of key-value pairs. Up to 10 tags. Those fields are only available for SaaS and not for Managed.
|
|
44
|
+
*/
|
|
45
|
+
primaryGrailTags?: SyntheticMonitorPrimaryGrailTagDto[];
|
|
41
46
|
/**
|
|
42
47
|
* The steps of the monitor.
|
|
43
48
|
*/
|
|
@@ -55,5 +60,5 @@ export interface SyntheticMultiProtocolMonitorResponse {
|
|
|
55
60
|
/**
|
|
56
61
|
* Monitor type.
|
|
57
62
|
*/
|
|
58
|
-
type: 'MULTI_PROTOCOL' | 'BROWSER'
|
|
63
|
+
type: 'MULTI_PROTOCOL' | 'BROWSER';
|
|
59
64
|
}
|
|
@@ -43,10 +43,19 @@ 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
|
*/
|
|
49
|
-
latitude
|
|
58
|
+
latitude: number;
|
|
50
59
|
/**
|
|
51
60
|
* Alert if location or node outage lasts longer than *X* minutes. \n\n Only applicable when `availabilityLocationOutage` or `availabilityNodeOutage` is set to `true`. Supported only for private Synthetic locations.
|
|
52
61
|
*/
|
|
@@ -54,7 +63,7 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
54
63
|
/**
|
|
55
64
|
* The longitude of the location in `DDD.dddd` format.
|
|
56
65
|
*/
|
|
57
|
-
longitude
|
|
66
|
+
longitude: number;
|
|
58
67
|
/**
|
|
59
68
|
* Containerized location property. The maximum number of ActiveGates deployed for the location (required for a Kubernetes location).
|
|
60
69
|
*/
|
|
@@ -73,7 +82,7 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
73
82
|
/**
|
|
74
83
|
* The name of the location.
|
|
75
84
|
*/
|
|
76
|
-
name
|
|
85
|
+
name: string;
|
|
77
86
|
/**
|
|
78
87
|
* Containerized location property. The size of a containerized node deployed for the location (required for a Kubernetes location). Accepted values:
|
|
79
88
|
*
|
|
@@ -10,5 +10,5 @@ export interface SyntheticPublicLocationUpdate extends SyntheticLocationUpdate {
|
|
|
10
10
|
* * `DISABLED`: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location.
|
|
11
11
|
* * `HIDDEN`: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as `HIDDEN` when no monitor is assigned to it.
|
|
12
12
|
*/
|
|
13
|
-
status
|
|
13
|
+
status: 'DISABLED' | 'ENABLED' | 'HIDDEN';
|
|
14
14
|
}
|
|
@@ -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
|
+
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/transactional-evidence.d.ts
CHANGED
|
@@ -8,17 +8,17 @@ export interface TransactionalEvidence extends Evidence {
|
|
|
8
8
|
/**
|
|
9
9
|
* The end time of the evidence, in UTC milliseconds
|
|
10
10
|
*/
|
|
11
|
-
endTime
|
|
11
|
+
endTime: number;
|
|
12
12
|
/**
|
|
13
13
|
* The unit of the metric.
|
|
14
14
|
*/
|
|
15
|
-
unit
|
|
15
|
+
unit: string;
|
|
16
16
|
/**
|
|
17
17
|
* The metric's value after the problem start.
|
|
18
18
|
*/
|
|
19
|
-
valueAfterChangePoint
|
|
19
|
+
valueAfterChangePoint: number;
|
|
20
20
|
/**
|
|
21
21
|
* The metric's value before the problem start.
|
|
22
22
|
*/
|
|
23
|
-
valueBeforeChangePoint
|
|
23
|
+
valueBeforeChangePoint: number;
|
|
24
24
|
}
|
|
@@ -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
|
+
}
|