@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
package/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright 2023-
|
|
3
|
+
* Copyright 2023-2026 Dynatrace LLC
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
@@ -1239,6 +1239,7 @@ function mimeTypeToEncoding(mimeType, defaultEncoding) {
|
|
|
1239
1239
|
case "text/plain":
|
|
1240
1240
|
return "text" /* Text */;
|
|
1241
1241
|
case "application/octet-stream":
|
|
1242
|
+
case "application/yaml":
|
|
1242
1243
|
return "binary" /* Binary */;
|
|
1243
1244
|
case "multipart/form-data":
|
|
1244
1245
|
return "form-data" /* FormData */;
|
|
@@ -7069,7 +7070,7 @@ var CredentialVaultClient = class {
|
|
|
7069
7070
|
/**
|
|
7070
7071
|
* Gets the details of the specified credentials set.
|
|
7071
7072
|
*
|
|
7072
|
-
* **Required scope:** environment-api:credentials:read<br/><br/>The credentials set including username/certificate, password or token is included in the response.
|
|
7073
|
+
* **Required scope:** environment-api:credentials:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The credentials set including username/certificate, password or token is included in the response.
|
|
7073
7074
|
*
|
|
7074
7075
|
* @returns {Promise<AbstractCredentialsResponseElement>} Success. The response contains the details of the credentials set.
|
|
7075
7076
|
*
|
|
@@ -7206,6 +7207,197 @@ var CredentialVaultClient = class {
|
|
|
7206
7207
|
}
|
|
7207
7208
|
}
|
|
7208
7209
|
}
|
|
7210
|
+
/**
|
|
7211
|
+
* Gets the details of the specified credentials sets.
|
|
7212
|
+
*
|
|
7213
|
+
* The credentials set including username/certificate, password or token is included in the response.
|
|
7214
|
+
*
|
|
7215
|
+
* @returns {Promise<CredentialsDetailsList>} Success. The response contains the details of the credentials sets.
|
|
7216
|
+
*
|
|
7217
|
+
* @example <caption>Code example</caption>
|
|
7218
|
+
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
7219
|
+
*
|
|
7220
|
+
* const data =
|
|
7221
|
+
* await credentialVaultClient.getCredentialsDetailsList();
|
|
7222
|
+
*
|
|
7223
|
+
* @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.
|
|
7224
|
+
* @throws {InvalidResponseError}
|
|
7225
|
+
* @throws {ApiClientError}
|
|
7226
|
+
* @throws {ClientRequestError}
|
|
7227
|
+
*/
|
|
7228
|
+
async getCredentialsDetailsList(config = {}) {
|
|
7229
|
+
if (!config) {
|
|
7230
|
+
throw new ApiClientError12("API client error", "API client call is missing mandatory config parameter");
|
|
7231
|
+
}
|
|
7232
|
+
const query = toQueryString({ ids: config.ids });
|
|
7233
|
+
try {
|
|
7234
|
+
const response = await this.httpClient.send({
|
|
7235
|
+
url: `/platform/classic/environment-api/v2/credentials/details${query}`,
|
|
7236
|
+
method: "GET",
|
|
7237
|
+
headers: {
|
|
7238
|
+
Accept: "application/json; charset=utf-8, application/json"
|
|
7239
|
+
},
|
|
7240
|
+
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
7241
|
+
statusValidator: (status) => {
|
|
7242
|
+
return [200].includes(status);
|
|
7243
|
+
}
|
|
7244
|
+
});
|
|
7245
|
+
const responseValue = await response.body("json");
|
|
7246
|
+
try {
|
|
7247
|
+
return this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
7248
|
+
} catch (err) {
|
|
7249
|
+
throw new InvalidResponseError12(
|
|
7250
|
+
`CredentialVaultClient.getCredentialsDetailsList:200`,
|
|
7251
|
+
err,
|
|
7252
|
+
responseValue,
|
|
7253
|
+
void 0,
|
|
7254
|
+
void 0,
|
|
7255
|
+
response
|
|
7256
|
+
);
|
|
7257
|
+
}
|
|
7258
|
+
} catch (e) {
|
|
7259
|
+
if (isHttpClientAbortError12(e) || isInvalidResponseError11(e)) {
|
|
7260
|
+
throw e;
|
|
7261
|
+
}
|
|
7262
|
+
if (!isHttpClientResponseError12(e)) {
|
|
7263
|
+
throw new ApiClientError12("UnexpectedError", "Unexpected error", e);
|
|
7264
|
+
}
|
|
7265
|
+
const response = e.response;
|
|
7266
|
+
await apiGatewayErrorsHandler(response);
|
|
7267
|
+
switch (response.status) {
|
|
7268
|
+
case 400: {
|
|
7269
|
+
const responseValue = await response.body("json");
|
|
7270
|
+
try {
|
|
7271
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
7272
|
+
throw new ErrorEnvelopeError(
|
|
7273
|
+
`400`,
|
|
7274
|
+
response,
|
|
7275
|
+
errorBody,
|
|
7276
|
+
getErrorMessage(
|
|
7277
|
+
errorBody,
|
|
7278
|
+
"Failed. The input is invalid. E.g. Requested credentials with unsupported scope. Only SYNTHETIC and APP_ENGINE scope are supported."
|
|
7279
|
+
),
|
|
7280
|
+
e
|
|
7281
|
+
);
|
|
7282
|
+
} catch (err) {
|
|
7283
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
7284
|
+
throw err;
|
|
7285
|
+
}
|
|
7286
|
+
throw new InvalidResponseError12(
|
|
7287
|
+
`CredentialVaultClient.getCredentialsDetailsList:400`,
|
|
7288
|
+
err,
|
|
7289
|
+
responseValue,
|
|
7290
|
+
"ErrorEnvelope",
|
|
7291
|
+
void 0,
|
|
7292
|
+
response
|
|
7293
|
+
);
|
|
7294
|
+
}
|
|
7295
|
+
}
|
|
7296
|
+
case 403: {
|
|
7297
|
+
const responseValue = await response.body("json");
|
|
7298
|
+
try {
|
|
7299
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
7300
|
+
throw new ErrorEnvelopeError(
|
|
7301
|
+
`403`,
|
|
7302
|
+
response,
|
|
7303
|
+
errorBody,
|
|
7304
|
+
getErrorMessage(errorBody, "Failed. Requested credentials belong to another user."),
|
|
7305
|
+
e
|
|
7306
|
+
);
|
|
7307
|
+
} catch (err) {
|
|
7308
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
7309
|
+
throw err;
|
|
7310
|
+
}
|
|
7311
|
+
throw new InvalidResponseError12(
|
|
7312
|
+
`CredentialVaultClient.getCredentialsDetailsList:403`,
|
|
7313
|
+
err,
|
|
7314
|
+
responseValue,
|
|
7315
|
+
"ErrorEnvelope",
|
|
7316
|
+
void 0,
|
|
7317
|
+
response
|
|
7318
|
+
);
|
|
7319
|
+
}
|
|
7320
|
+
}
|
|
7321
|
+
default: {
|
|
7322
|
+
if (response.status >= 400 && response.status <= 499) {
|
|
7323
|
+
const responseValue = await response.body("json");
|
|
7324
|
+
try {
|
|
7325
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
7326
|
+
throw new ErrorEnvelopeError(
|
|
7327
|
+
`${response.status}`,
|
|
7328
|
+
response,
|
|
7329
|
+
errorBody,
|
|
7330
|
+
getErrorMessage(errorBody, "Client side error."),
|
|
7331
|
+
e
|
|
7332
|
+
);
|
|
7333
|
+
} catch (err) {
|
|
7334
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
7335
|
+
throw err;
|
|
7336
|
+
}
|
|
7337
|
+
throw new InvalidResponseError12(
|
|
7338
|
+
`CredentialVaultClient.getCredentialsDetailsList:${response.status}`,
|
|
7339
|
+
err,
|
|
7340
|
+
responseValue,
|
|
7341
|
+
"ErrorEnvelope",
|
|
7342
|
+
void 0,
|
|
7343
|
+
response
|
|
7344
|
+
);
|
|
7345
|
+
}
|
|
7346
|
+
} else if (response.status >= 500 && response.status <= 599) {
|
|
7347
|
+
const responseValue = await response.body("json");
|
|
7348
|
+
try {
|
|
7349
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
7350
|
+
throw new ErrorEnvelopeError(
|
|
7351
|
+
`${response.status}`,
|
|
7352
|
+
response,
|
|
7353
|
+
errorBody,
|
|
7354
|
+
getErrorMessage(errorBody, "Server side error."),
|
|
7355
|
+
e
|
|
7356
|
+
);
|
|
7357
|
+
} catch (err) {
|
|
7358
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
7359
|
+
throw err;
|
|
7360
|
+
}
|
|
7361
|
+
throw new InvalidResponseError12(
|
|
7362
|
+
`CredentialVaultClient.getCredentialsDetailsList:${response.status}`,
|
|
7363
|
+
err,
|
|
7364
|
+
responseValue,
|
|
7365
|
+
"ErrorEnvelope",
|
|
7366
|
+
void 0,
|
|
7367
|
+
response
|
|
7368
|
+
);
|
|
7369
|
+
}
|
|
7370
|
+
} else {
|
|
7371
|
+
try {
|
|
7372
|
+
const responseValue = await response.body("json");
|
|
7373
|
+
throw new ClientRequestError14(
|
|
7374
|
+
`${response.status}`,
|
|
7375
|
+
response,
|
|
7376
|
+
responseValue,
|
|
7377
|
+
getErrorMessage(
|
|
7378
|
+
responseValue,
|
|
7379
|
+
`Unexpected api response: code=${response.status} body="${responseValue}"`
|
|
7380
|
+
)
|
|
7381
|
+
);
|
|
7382
|
+
} catch (error) {
|
|
7383
|
+
if (error instanceof ClientRequestError14) {
|
|
7384
|
+
throw error;
|
|
7385
|
+
}
|
|
7386
|
+
const responseValue = await response.body("text").catch(() => "");
|
|
7387
|
+
throw new InvalidResponseError12(
|
|
7388
|
+
`${response.status}`,
|
|
7389
|
+
error,
|
|
7390
|
+
responseValue,
|
|
7391
|
+
"json",
|
|
7392
|
+
"Unexpected api response",
|
|
7393
|
+
response
|
|
7394
|
+
);
|
|
7395
|
+
}
|
|
7396
|
+
}
|
|
7397
|
+
}
|
|
7398
|
+
}
|
|
7399
|
+
}
|
|
7400
|
+
}
|
|
7209
7401
|
};
|
|
7210
7402
|
var credentialVaultClient = /* @__PURE__ */ new CredentialVaultClient(defaultHttpClient12);
|
|
7211
7403
|
|
|
@@ -13810,15 +14002,20 @@ var LogsClient = class {
|
|
|
13810
14002
|
throw new ApiClientError16("API client error", "API client call is missing mandatory config parameter");
|
|
13811
14003
|
}
|
|
13812
14004
|
const encodedBody = config.type === "application/json" ? this.shouldTransformDates ? transformRequest(config.body, []) : config.body : config.type === "application/json; charset=utf-8" ? this.shouldTransformDates ? transformRequest(config.body, []) : config.body : config.body;
|
|
14005
|
+
const query = toQueryString({ structure: config.structure, "content-type": config.contentType });
|
|
14006
|
+
const headerParameters = {
|
|
14007
|
+
...config.xDynatraceOptions !== void 0 && { "X-Dynatrace-Options": String(config.xDynatraceOptions) }
|
|
14008
|
+
};
|
|
13813
14009
|
try {
|
|
13814
14010
|
const response = await this.httpClient.send({
|
|
13815
|
-
url: `/platform/classic/environment-api/v2/logs/ingest`,
|
|
14011
|
+
url: `/platform/classic/environment-api/v2/logs/ingest${query}`,
|
|
13816
14012
|
method: "POST",
|
|
13817
14013
|
requestBodyType: mimeTypeToEncoding(config.type),
|
|
13818
14014
|
body: encodedBody,
|
|
13819
14015
|
headers: {
|
|
13820
14016
|
"Content-Type": config.type,
|
|
13821
|
-
Accept: "application/json; charset=utf-8, application/json"
|
|
14017
|
+
Accept: "application/json; charset=utf-8, application/json",
|
|
14018
|
+
...headerParameters
|
|
13822
14019
|
},
|
|
13823
14020
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
13824
14021
|
statusValidator: (status) => {
|
|
@@ -14418,6 +14615,7 @@ var MetricsClient = class {
|
|
|
14418
14615
|
text: config.text,
|
|
14419
14616
|
fields: config.fields,
|
|
14420
14617
|
writtenSince: config.writtenSince,
|
|
14618
|
+
writtenSinceMode: config.writtenSinceMode,
|
|
14421
14619
|
metadataSelector: config.metadataSelector
|
|
14422
14620
|
});
|
|
14423
14621
|
try {
|
|
@@ -14574,6 +14772,145 @@ var MetricsClient = class {
|
|
|
14574
14772
|
}
|
|
14575
14773
|
}
|
|
14576
14774
|
}
|
|
14775
|
+
/**
|
|
14776
|
+
* Deletes all metrics older than the specified days
|
|
14777
|
+
*
|
|
14778
|
+
* **Required scope:** environment-api:metrics:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Deletion cannot be undone! timeframe for minUnusedDays: 30 days - 5 years
|
|
14779
|
+
*
|
|
14780
|
+
* @example <caption>Code example</caption>
|
|
14781
|
+
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
14782
|
+
*
|
|
14783
|
+
* const data = await metricsClient.bulkDelete({
|
|
14784
|
+
* metricSelector: "...",
|
|
14785
|
+
* });
|
|
14786
|
+
*
|
|
14787
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
14788
|
+
* @throws {InvalidResponseError}
|
|
14789
|
+
* @throws {ApiClientError}
|
|
14790
|
+
* @throws {ClientRequestError}
|
|
14791
|
+
*/
|
|
14792
|
+
async bulkDelete(config) {
|
|
14793
|
+
if (!config) {
|
|
14794
|
+
throw new ApiClientError17("API client error", "API client call is missing mandatory config parameter");
|
|
14795
|
+
}
|
|
14796
|
+
const query = toQueryString({ metricSelector: config.metricSelector, minUnusedDays: config.minUnusedDays });
|
|
14797
|
+
try {
|
|
14798
|
+
await this.httpClient.send({
|
|
14799
|
+
url: `/platform/classic/environment-api/v2/metrics${query}`,
|
|
14800
|
+
method: "DELETE",
|
|
14801
|
+
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
14802
|
+
statusValidator: (status) => {
|
|
14803
|
+
return [202].includes(status);
|
|
14804
|
+
}
|
|
14805
|
+
});
|
|
14806
|
+
return;
|
|
14807
|
+
} catch (e) {
|
|
14808
|
+
if (isHttpClientAbortError17(e)) {
|
|
14809
|
+
throw e;
|
|
14810
|
+
}
|
|
14811
|
+
if (!isHttpClientResponseError17(e)) {
|
|
14812
|
+
throw new ApiClientError17("UnexpectedError", "Unexpected error", e);
|
|
14813
|
+
}
|
|
14814
|
+
const response = e.response;
|
|
14815
|
+
await apiGatewayErrorsHandler(response);
|
|
14816
|
+
switch (response.status) {
|
|
14817
|
+
case 400: {
|
|
14818
|
+
const contentType = response.headers["content-type"];
|
|
14819
|
+
const encoding = mimeTypeToEncoding(contentType, "text" /* Text */);
|
|
14820
|
+
const responseValue = await response.body(encoding);
|
|
14821
|
+
throw new ClientRequestError21(`400`, response, responseValue, getErrorMessage(responseValue, `Failed.`));
|
|
14822
|
+
}
|
|
14823
|
+
case 500: {
|
|
14824
|
+
const contentType = response.headers["content-type"];
|
|
14825
|
+
const encoding = mimeTypeToEncoding(contentType, "text" /* Text */);
|
|
14826
|
+
const responseValue = await response.body(encoding);
|
|
14827
|
+
throw new ClientRequestError21(
|
|
14828
|
+
`500`,
|
|
14829
|
+
response,
|
|
14830
|
+
responseValue,
|
|
14831
|
+
getErrorMessage(responseValue, `Failed. The bulk-deletion failed.`)
|
|
14832
|
+
);
|
|
14833
|
+
}
|
|
14834
|
+
default: {
|
|
14835
|
+
if (response.status >= 400 && response.status <= 499) {
|
|
14836
|
+
const responseValue = await response.body("json");
|
|
14837
|
+
try {
|
|
14838
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
14839
|
+
throw new ErrorEnvelopeError(
|
|
14840
|
+
`${response.status}`,
|
|
14841
|
+
response,
|
|
14842
|
+
errorBody,
|
|
14843
|
+
getErrorMessage(errorBody, "Client side error."),
|
|
14844
|
+
e
|
|
14845
|
+
);
|
|
14846
|
+
} catch (err) {
|
|
14847
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
14848
|
+
throw err;
|
|
14849
|
+
}
|
|
14850
|
+
throw new InvalidResponseError17(
|
|
14851
|
+
`MetricsClient.bulkDelete:${response.status}`,
|
|
14852
|
+
err,
|
|
14853
|
+
responseValue,
|
|
14854
|
+
"ErrorEnvelope",
|
|
14855
|
+
void 0,
|
|
14856
|
+
response
|
|
14857
|
+
);
|
|
14858
|
+
}
|
|
14859
|
+
} else if (response.status >= 500 && response.status <= 599) {
|
|
14860
|
+
const responseValue = await response.body("json");
|
|
14861
|
+
try {
|
|
14862
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
14863
|
+
throw new ErrorEnvelopeError(
|
|
14864
|
+
`${response.status}`,
|
|
14865
|
+
response,
|
|
14866
|
+
errorBody,
|
|
14867
|
+
getErrorMessage(errorBody, "Server side error."),
|
|
14868
|
+
e
|
|
14869
|
+
);
|
|
14870
|
+
} catch (err) {
|
|
14871
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
14872
|
+
throw err;
|
|
14873
|
+
}
|
|
14874
|
+
throw new InvalidResponseError17(
|
|
14875
|
+
`MetricsClient.bulkDelete:${response.status}`,
|
|
14876
|
+
err,
|
|
14877
|
+
responseValue,
|
|
14878
|
+
"ErrorEnvelope",
|
|
14879
|
+
void 0,
|
|
14880
|
+
response
|
|
14881
|
+
);
|
|
14882
|
+
}
|
|
14883
|
+
} else {
|
|
14884
|
+
try {
|
|
14885
|
+
const responseValue = await response.body("json");
|
|
14886
|
+
throw new ClientRequestError21(
|
|
14887
|
+
`${response.status}`,
|
|
14888
|
+
response,
|
|
14889
|
+
responseValue,
|
|
14890
|
+
getErrorMessage(
|
|
14891
|
+
responseValue,
|
|
14892
|
+
`Unexpected api response: code=${response.status} body="${responseValue}"`
|
|
14893
|
+
)
|
|
14894
|
+
);
|
|
14895
|
+
} catch (error) {
|
|
14896
|
+
if (error instanceof ClientRequestError21) {
|
|
14897
|
+
throw error;
|
|
14898
|
+
}
|
|
14899
|
+
const responseValue = await response.body("text").catch(() => "");
|
|
14900
|
+
throw new InvalidResponseError17(
|
|
14901
|
+
`${response.status}`,
|
|
14902
|
+
error,
|
|
14903
|
+
responseValue,
|
|
14904
|
+
"json",
|
|
14905
|
+
"Unexpected api response",
|
|
14906
|
+
response
|
|
14907
|
+
);
|
|
14908
|
+
}
|
|
14909
|
+
}
|
|
14910
|
+
}
|
|
14911
|
+
}
|
|
14912
|
+
}
|
|
14913
|
+
}
|
|
14577
14914
|
/**
|
|
14578
14915
|
* Pushes metric data points to Dynatrace
|
|
14579
14916
|
*
|
|
@@ -15727,6 +16064,8 @@ var MonitoredEntitiesClient = class {
|
|
|
15727
16064
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
15728
16065
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
15729
16066
|
*
|
|
16067
|
+
* @deprecated
|
|
16068
|
+
*
|
|
15730
16069
|
* @returns {Promise<EntitiesList>} Success
|
|
15731
16070
|
*
|
|
15732
16071
|
* @example <caption>Code example</caption>
|
|
@@ -15865,6 +16204,8 @@ var MonitoredEntitiesClient = class {
|
|
|
15865
16204
|
*
|
|
15866
16205
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings
|
|
15867
16206
|
*
|
|
16207
|
+
* @deprecated
|
|
16208
|
+
*
|
|
15868
16209
|
* @returns {Promise<CustomDeviceCreationResult | void>} Success
|
|
15869
16210
|
*
|
|
15870
16211
|
* @example <caption>Code example</caption>
|
|
@@ -16338,6 +16679,8 @@ var MonitoredEntitiesClient = class {
|
|
|
16338
16679
|
*
|
|
16339
16680
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
16340
16681
|
*
|
|
16682
|
+
* @deprecated
|
|
16683
|
+
*
|
|
16341
16684
|
* @returns {Promise<Entity>} Success
|
|
16342
16685
|
*
|
|
16343
16686
|
* @example <caption>Code example</caption>
|
|
@@ -16472,6 +16815,8 @@ var MonitoredEntitiesClient = class {
|
|
|
16472
16815
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
16473
16816
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
16474
16817
|
*
|
|
16818
|
+
* @deprecated
|
|
16819
|
+
*
|
|
16475
16820
|
* @returns {Promise<EntityTypeList>} Success
|
|
16476
16821
|
*
|
|
16477
16822
|
* @example <caption>Code example</caption>
|
|
@@ -16620,6 +16965,8 @@ var MonitoredEntitiesClient = class {
|
|
|
16620
16965
|
*
|
|
16621
16966
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
16622
16967
|
*
|
|
16968
|
+
* @deprecated
|
|
16969
|
+
*
|
|
16623
16970
|
* @returns {Promise<EntityType>} Success
|
|
16624
16971
|
*
|
|
16625
16972
|
* @example <caption>Code example</caption>
|
|
@@ -19711,7 +20058,7 @@ var RumManualInsertionTagsClient = class {
|
|
|
19711
20058
|
this.shouldTransformDates = options?.transformDates ?? true;
|
|
19712
20059
|
}
|
|
19713
20060
|
/**
|
|
19714
|
-
* Download the inline code
|
|
20061
|
+
* Download the inline code
|
|
19715
20062
|
*
|
|
19716
20063
|
* **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.
|
|
19717
20064
|
*
|
|
@@ -19840,7 +20187,7 @@ var RumManualInsertionTagsClient = class {
|
|
|
19840
20187
|
}
|
|
19841
20188
|
}
|
|
19842
20189
|
/**
|
|
19843
|
-
* Download the JavaScript tag
|
|
20190
|
+
* Download the JavaScript tag
|
|
19844
20191
|
*
|
|
19845
20192
|
* **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.
|
|
19846
20193
|
*
|
|
@@ -19976,7 +20323,7 @@ var RumManualInsertionTagsClient = class {
|
|
|
19976
20323
|
}
|
|
19977
20324
|
}
|
|
19978
20325
|
/**
|
|
19979
|
-
* Download the OneAgent JavaScript tag
|
|
20326
|
+
* Download the OneAgent JavaScript tag
|
|
19980
20327
|
*
|
|
19981
20328
|
* **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.
|
|
19982
20329
|
*
|
|
@@ -20109,7 +20456,7 @@ var RumManualInsertionTagsClient = class {
|
|
|
20109
20456
|
}
|
|
20110
20457
|
}
|
|
20111
20458
|
/**
|
|
20112
|
-
* Download the OneAgent JavaScript tag with SRI
|
|
20459
|
+
* Download the OneAgent JavaScript tag with SRI
|
|
20113
20460
|
*
|
|
20114
20461
|
* **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.
|
|
20115
20462
|
*
|
|
@@ -24182,7 +24529,7 @@ var SettingsObjectsClient = class {
|
|
|
24182
24529
|
* const data =
|
|
24183
24530
|
* await settingsObjectsClient.getSettingsHistory();
|
|
24184
24531
|
*
|
|
24185
|
-
* @throws {ErrorEnvelopeError} Failed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.
|
|
24532
|
+
* @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.
|
|
24186
24533
|
* @throws {InvalidResponseError}
|
|
24187
24534
|
* @throws {ApiClientError}
|
|
24188
24535
|
* @throws {ClientRequestError}
|
|
@@ -24236,6 +24583,34 @@ var SettingsObjectsClient = class {
|
|
|
24236
24583
|
const response = e.response;
|
|
24237
24584
|
await apiGatewayErrorsHandler(response);
|
|
24238
24585
|
switch (response.status) {
|
|
24586
|
+
case 400: {
|
|
24587
|
+
const responseValue = await response.body("json");
|
|
24588
|
+
try {
|
|
24589
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
24590
|
+
throw new ErrorEnvelopeError(
|
|
24591
|
+
`400`,
|
|
24592
|
+
response,
|
|
24593
|
+
errorBody,
|
|
24594
|
+
getErrorMessage(
|
|
24595
|
+
errorBody,
|
|
24596
|
+
"Failed. schemaId contains multiple schemaIds and request was for not for Dynatrace Platform."
|
|
24597
|
+
),
|
|
24598
|
+
e
|
|
24599
|
+
);
|
|
24600
|
+
} catch (err) {
|
|
24601
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
24602
|
+
throw err;
|
|
24603
|
+
}
|
|
24604
|
+
throw new InvalidResponseError29(
|
|
24605
|
+
`SettingsObjectsClient.getSettingsHistory:400`,
|
|
24606
|
+
err,
|
|
24607
|
+
responseValue,
|
|
24608
|
+
"ErrorEnvelope",
|
|
24609
|
+
void 0,
|
|
24610
|
+
response
|
|
24611
|
+
);
|
|
24612
|
+
}
|
|
24613
|
+
}
|
|
24239
24614
|
case 403: {
|
|
24240
24615
|
const responseValue = await response.body("json");
|
|
24241
24616
|
try {
|
|
@@ -27625,8 +28000,436 @@ var SyntheticHttpMonitorExecutionsClient = class {
|
|
|
27625
28000
|
if (err instanceof ErrorEnvelopeError) {
|
|
27626
28001
|
throw err;
|
|
27627
28002
|
}
|
|
27628
|
-
throw new InvalidResponseError31(
|
|
27629
|
-
`SyntheticHttpMonitorExecutionsClient.getExecutionResult:${response.status}`,
|
|
28003
|
+
throw new InvalidResponseError31(
|
|
28004
|
+
`SyntheticHttpMonitorExecutionsClient.getExecutionResult:${response.status}`,
|
|
28005
|
+
err,
|
|
28006
|
+
responseValue,
|
|
28007
|
+
"ErrorEnvelope",
|
|
28008
|
+
void 0,
|
|
28009
|
+
response
|
|
28010
|
+
);
|
|
28011
|
+
}
|
|
28012
|
+
} else {
|
|
28013
|
+
try {
|
|
28014
|
+
const responseValue = await response.body("json");
|
|
28015
|
+
throw new ClientRequestError37(
|
|
28016
|
+
`${response.status}`,
|
|
28017
|
+
response,
|
|
28018
|
+
responseValue,
|
|
28019
|
+
getErrorMessage(responseValue, `Unexpected api response: code=${response.status} body="${responseValue}"`)
|
|
28020
|
+
);
|
|
28021
|
+
} catch (error) {
|
|
28022
|
+
if (error instanceof ClientRequestError37) {
|
|
28023
|
+
throw error;
|
|
28024
|
+
}
|
|
28025
|
+
const responseValue = await response.body("text").catch(() => "");
|
|
28026
|
+
throw new InvalidResponseError31(
|
|
28027
|
+
`${response.status}`,
|
|
28028
|
+
error,
|
|
28029
|
+
responseValue,
|
|
28030
|
+
"json",
|
|
28031
|
+
"Unexpected api response",
|
|
28032
|
+
response
|
|
28033
|
+
);
|
|
28034
|
+
}
|
|
28035
|
+
}
|
|
28036
|
+
}
|
|
28037
|
+
}
|
|
28038
|
+
};
|
|
28039
|
+
var syntheticHttpMonitorExecutionsClient = /* @__PURE__ */ new SyntheticHttpMonitorExecutionsClient(
|
|
28040
|
+
defaultHttpClient31
|
|
28041
|
+
);
|
|
28042
|
+
|
|
28043
|
+
// packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.ts
|
|
28044
|
+
import {
|
|
28045
|
+
httpClient as defaultHttpClient32,
|
|
28046
|
+
isHttpClientAbortError as isHttpClientAbortError32,
|
|
28047
|
+
isHttpClientResponseError as isHttpClientResponseError32
|
|
28048
|
+
} from "@dynatrace-sdk/http-client";
|
|
28049
|
+
import {
|
|
28050
|
+
ApiClientError as ApiClientError32,
|
|
28051
|
+
ClientRequestError as ClientRequestError38,
|
|
28052
|
+
InvalidResponseError as InvalidResponseError32,
|
|
28053
|
+
isInvalidResponseError as isInvalidResponseError31
|
|
28054
|
+
} from "@dynatrace-sdk/shared-errors";
|
|
28055
|
+
var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
28056
|
+
httpClient;
|
|
28057
|
+
shouldTransformDates = true;
|
|
28058
|
+
/**
|
|
28059
|
+
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticLocationsNodesAndConfigurationClient. Custom http client should implement {HttpClient} interface.
|
|
28060
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
28061
|
+
* @example
|
|
28062
|
+
* const syntheticLocationsNodesAndConfigurationClientNodeJs = new SyntheticLocationsNodesAndConfigurationClient(yourCustomImplementation);
|
|
28063
|
+
*/
|
|
28064
|
+
constructor(httpClientImplementation, options) {
|
|
28065
|
+
this.httpClient = httpClientImplementation;
|
|
28066
|
+
this.shouldTransformDates = options?.transformDates ?? true;
|
|
28067
|
+
}
|
|
28068
|
+
/**
|
|
28069
|
+
* Gets set of synthetic related parameters defined for whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER
|
|
28070
|
+
*
|
|
28071
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
28072
|
+
*
|
|
28073
|
+
* @returns {Promise<SyntheticConfigDto>} Success. The response contains synthetic related parameters defined for whole tenant.
|
|
28074
|
+
*
|
|
28075
|
+
* @example <caption>Code example</caption>
|
|
28076
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28077
|
+
*
|
|
28078
|
+
* const data =
|
|
28079
|
+
* await syntheticLocationsNodesAndConfigurationClient.getConfiguration();
|
|
28080
|
+
*
|
|
28081
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
28082
|
+
* @throws {InvalidResponseError}
|
|
28083
|
+
* @throws {ApiClientError}
|
|
28084
|
+
* @throws {ClientRequestError}
|
|
28085
|
+
*/
|
|
28086
|
+
async getConfiguration(config = {}) {
|
|
28087
|
+
try {
|
|
28088
|
+
const response = await this.httpClient.send({
|
|
28089
|
+
url: `/platform/classic/environment-api/v2/synthetic/config`,
|
|
28090
|
+
method: "GET",
|
|
28091
|
+
headers: {
|
|
28092
|
+
Accept: "application/json; charset=utf-8, application/json"
|
|
28093
|
+
},
|
|
28094
|
+
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
28095
|
+
statusValidator: (status) => {
|
|
28096
|
+
return [200].includes(status);
|
|
28097
|
+
}
|
|
28098
|
+
});
|
|
28099
|
+
const responseValue = await response.body("json");
|
|
28100
|
+
try {
|
|
28101
|
+
return this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28102
|
+
} catch (err) {
|
|
28103
|
+
throw new InvalidResponseError32(
|
|
28104
|
+
`SyntheticLocationsNodesAndConfigurationClient.getConfiguration:200`,
|
|
28105
|
+
err,
|
|
28106
|
+
responseValue,
|
|
28107
|
+
void 0,
|
|
28108
|
+
void 0,
|
|
28109
|
+
response
|
|
28110
|
+
);
|
|
28111
|
+
}
|
|
28112
|
+
} catch (e) {
|
|
28113
|
+
if (isHttpClientAbortError32(e) || isInvalidResponseError31(e)) {
|
|
28114
|
+
throw e;
|
|
28115
|
+
}
|
|
28116
|
+
if (!isHttpClientResponseError32(e)) {
|
|
28117
|
+
throw new ApiClientError32("UnexpectedError", "Unexpected error", e);
|
|
28118
|
+
}
|
|
28119
|
+
const response = e.response;
|
|
28120
|
+
await apiGatewayErrorsHandler(response);
|
|
28121
|
+
if (response.status >= 400 && response.status <= 499) {
|
|
28122
|
+
const responseValue = await response.body("json");
|
|
28123
|
+
try {
|
|
28124
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28125
|
+
throw new ErrorEnvelopeError(
|
|
28126
|
+
`${response.status}`,
|
|
28127
|
+
response,
|
|
28128
|
+
errorBody,
|
|
28129
|
+
getErrorMessage(errorBody, "Client side error."),
|
|
28130
|
+
e
|
|
28131
|
+
);
|
|
28132
|
+
} catch (err) {
|
|
28133
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
28134
|
+
throw err;
|
|
28135
|
+
}
|
|
28136
|
+
throw new InvalidResponseError32(
|
|
28137
|
+
`SyntheticLocationsNodesAndConfigurationClient.getConfiguration:${response.status}`,
|
|
28138
|
+
err,
|
|
28139
|
+
responseValue,
|
|
28140
|
+
"ErrorEnvelope",
|
|
28141
|
+
void 0,
|
|
28142
|
+
response
|
|
28143
|
+
);
|
|
28144
|
+
}
|
|
28145
|
+
} else if (response.status >= 500 && response.status <= 599) {
|
|
28146
|
+
const responseValue = await response.body("json");
|
|
28147
|
+
try {
|
|
28148
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28149
|
+
throw new ErrorEnvelopeError(
|
|
28150
|
+
`${response.status}`,
|
|
28151
|
+
response,
|
|
28152
|
+
errorBody,
|
|
28153
|
+
getErrorMessage(errorBody, "Server side error."),
|
|
28154
|
+
e
|
|
28155
|
+
);
|
|
28156
|
+
} catch (err) {
|
|
28157
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
28158
|
+
throw err;
|
|
28159
|
+
}
|
|
28160
|
+
throw new InvalidResponseError32(
|
|
28161
|
+
`SyntheticLocationsNodesAndConfigurationClient.getConfiguration:${response.status}`,
|
|
28162
|
+
err,
|
|
28163
|
+
responseValue,
|
|
28164
|
+
"ErrorEnvelope",
|
|
28165
|
+
void 0,
|
|
28166
|
+
response
|
|
28167
|
+
);
|
|
28168
|
+
}
|
|
28169
|
+
} else {
|
|
28170
|
+
try {
|
|
28171
|
+
const responseValue = await response.body("json");
|
|
28172
|
+
throw new ClientRequestError38(
|
|
28173
|
+
`${response.status}`,
|
|
28174
|
+
response,
|
|
28175
|
+
responseValue,
|
|
28176
|
+
getErrorMessage(responseValue, `Unexpected api response: code=${response.status} body="${responseValue}"`)
|
|
28177
|
+
);
|
|
28178
|
+
} catch (error) {
|
|
28179
|
+
if (error instanceof ClientRequestError38) {
|
|
28180
|
+
throw error;
|
|
28181
|
+
}
|
|
28182
|
+
const responseValue = await response.body("text").catch(() => "");
|
|
28183
|
+
throw new InvalidResponseError32(
|
|
28184
|
+
`${response.status}`,
|
|
28185
|
+
error,
|
|
28186
|
+
responseValue,
|
|
28187
|
+
"json",
|
|
28188
|
+
"Unexpected api response",
|
|
28189
|
+
response
|
|
28190
|
+
);
|
|
28191
|
+
}
|
|
28192
|
+
}
|
|
28193
|
+
}
|
|
28194
|
+
}
|
|
28195
|
+
/**
|
|
28196
|
+
* Updates set of synthetic related parameters defined for whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER
|
|
28197
|
+
*
|
|
28198
|
+
* **Required scope:** environment-api:synthetic:write<br/>**Required permission:** environment:roles:manage-settings
|
|
28199
|
+
*
|
|
28200
|
+
* @returns {Promise<SyntheticConfigDto>} Success. The set of synthetic related parameters has been updated. Response doesn't have a body.
|
|
28201
|
+
*
|
|
28202
|
+
* @example <caption>Code example</caption>
|
|
28203
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28204
|
+
*
|
|
28205
|
+
* const data =
|
|
28206
|
+
* await syntheticLocationsNodesAndConfigurationClient.updateConfiguration(
|
|
28207
|
+
* { body: { bmMonitorTimeout: 10, bmStepTimeout: 10 } },
|
|
28208
|
+
* );
|
|
28209
|
+
*
|
|
28210
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
28211
|
+
* @throws {InvalidResponseError}
|
|
28212
|
+
* @throws {ApiClientError}
|
|
28213
|
+
* @throws {ClientRequestError}
|
|
28214
|
+
*/
|
|
28215
|
+
async updateConfiguration(config) {
|
|
28216
|
+
if (!config) {
|
|
28217
|
+
throw new ApiClientError32("API client error", "API client call is missing mandatory config parameter");
|
|
28218
|
+
}
|
|
28219
|
+
const encodedBody = this.shouldTransformDates ? transformRequest(config.body, []) : config.body;
|
|
28220
|
+
try {
|
|
28221
|
+
const response = await this.httpClient.send({
|
|
28222
|
+
url: `/platform/classic/environment-api/v2/synthetic/config`,
|
|
28223
|
+
method: "PUT",
|
|
28224
|
+
requestBodyType: "json",
|
|
28225
|
+
body: encodedBody,
|
|
28226
|
+
headers: {
|
|
28227
|
+
"Content-Type": "application/json; charset=utf-8",
|
|
28228
|
+
Accept: "application/json; charset=utf-8, application/json"
|
|
28229
|
+
},
|
|
28230
|
+
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
28231
|
+
statusValidator: (status) => {
|
|
28232
|
+
return [204].includes(status);
|
|
28233
|
+
}
|
|
28234
|
+
});
|
|
28235
|
+
const responseValue = await response.body("json");
|
|
28236
|
+
try {
|
|
28237
|
+
return this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28238
|
+
} catch (err) {
|
|
28239
|
+
throw new InvalidResponseError32(
|
|
28240
|
+
`SyntheticLocationsNodesAndConfigurationClient.updateConfiguration:204`,
|
|
28241
|
+
err,
|
|
28242
|
+
responseValue,
|
|
28243
|
+
void 0,
|
|
28244
|
+
void 0,
|
|
28245
|
+
response
|
|
28246
|
+
);
|
|
28247
|
+
}
|
|
28248
|
+
} catch (e) {
|
|
28249
|
+
if (isHttpClientAbortError32(e) || isInvalidResponseError31(e)) {
|
|
28250
|
+
throw e;
|
|
28251
|
+
}
|
|
28252
|
+
if (!isHttpClientResponseError32(e)) {
|
|
28253
|
+
throw new ApiClientError32("UnexpectedError", "Unexpected error", e);
|
|
28254
|
+
}
|
|
28255
|
+
const response = e.response;
|
|
28256
|
+
await apiGatewayErrorsHandler(response);
|
|
28257
|
+
if (response.status >= 400 && response.status <= 499) {
|
|
28258
|
+
const responseValue = await response.body("json");
|
|
28259
|
+
try {
|
|
28260
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28261
|
+
throw new ErrorEnvelopeError(
|
|
28262
|
+
`${response.status}`,
|
|
28263
|
+
response,
|
|
28264
|
+
errorBody,
|
|
28265
|
+
getErrorMessage(errorBody, "Client side error."),
|
|
28266
|
+
e
|
|
28267
|
+
);
|
|
28268
|
+
} catch (err) {
|
|
28269
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
28270
|
+
throw err;
|
|
28271
|
+
}
|
|
28272
|
+
throw new InvalidResponseError32(
|
|
28273
|
+
`SyntheticLocationsNodesAndConfigurationClient.updateConfiguration:${response.status}`,
|
|
28274
|
+
err,
|
|
28275
|
+
responseValue,
|
|
28276
|
+
"ErrorEnvelope",
|
|
28277
|
+
void 0,
|
|
28278
|
+
response
|
|
28279
|
+
);
|
|
28280
|
+
}
|
|
28281
|
+
} else if (response.status >= 500 && response.status <= 599) {
|
|
28282
|
+
const responseValue = await response.body("json");
|
|
28283
|
+
try {
|
|
28284
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28285
|
+
throw new ErrorEnvelopeError(
|
|
28286
|
+
`${response.status}`,
|
|
28287
|
+
response,
|
|
28288
|
+
errorBody,
|
|
28289
|
+
getErrorMessage(errorBody, "Server side error."),
|
|
28290
|
+
e
|
|
28291
|
+
);
|
|
28292
|
+
} catch (err) {
|
|
28293
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
28294
|
+
throw err;
|
|
28295
|
+
}
|
|
28296
|
+
throw new InvalidResponseError32(
|
|
28297
|
+
`SyntheticLocationsNodesAndConfigurationClient.updateConfiguration:${response.status}`,
|
|
28298
|
+
err,
|
|
28299
|
+
responseValue,
|
|
28300
|
+
"ErrorEnvelope",
|
|
28301
|
+
void 0,
|
|
28302
|
+
response
|
|
28303
|
+
);
|
|
28304
|
+
}
|
|
28305
|
+
} else {
|
|
28306
|
+
try {
|
|
28307
|
+
const responseValue = await response.body("json");
|
|
28308
|
+
throw new ClientRequestError38(
|
|
28309
|
+
`${response.status}`,
|
|
28310
|
+
response,
|
|
28311
|
+
responseValue,
|
|
28312
|
+
getErrorMessage(responseValue, `Unexpected api response: code=${response.status} body="${responseValue}"`)
|
|
28313
|
+
);
|
|
28314
|
+
} catch (error) {
|
|
28315
|
+
if (error instanceof ClientRequestError38) {
|
|
28316
|
+
throw error;
|
|
28317
|
+
}
|
|
28318
|
+
const responseValue = await response.body("text").catch(() => "");
|
|
28319
|
+
throw new InvalidResponseError32(
|
|
28320
|
+
`${response.status}`,
|
|
28321
|
+
error,
|
|
28322
|
+
responseValue,
|
|
28323
|
+
"json",
|
|
28324
|
+
"Unexpected api response",
|
|
28325
|
+
response
|
|
28326
|
+
);
|
|
28327
|
+
}
|
|
28328
|
+
}
|
|
28329
|
+
}
|
|
28330
|
+
}
|
|
28331
|
+
/**
|
|
28332
|
+
* Lists all synthetic locations (both public and private) available for your environment
|
|
28333
|
+
*
|
|
28334
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:viewer
|
|
28335
|
+
*
|
|
28336
|
+
* @returns {Promise<SyntheticLocations>} Success
|
|
28337
|
+
*
|
|
28338
|
+
* @example <caption>Code example</caption>
|
|
28339
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28340
|
+
*
|
|
28341
|
+
* const data =
|
|
28342
|
+
* await syntheticLocationsNodesAndConfigurationClient.getLocations();
|
|
28343
|
+
*
|
|
28344
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
28345
|
+
* @throws {InvalidResponseError}
|
|
28346
|
+
* @throws {ApiClientError}
|
|
28347
|
+
* @throws {ClientRequestError}
|
|
28348
|
+
*/
|
|
28349
|
+
async getLocations(config = {}) {
|
|
28350
|
+
if (!config) {
|
|
28351
|
+
throw new ApiClientError32("API client error", "API client call is missing mandatory config parameter");
|
|
28352
|
+
}
|
|
28353
|
+
const query = toQueryString({
|
|
28354
|
+
cloudPlatform: config.cloudPlatform,
|
|
28355
|
+
type: config.type,
|
|
28356
|
+
capability: config.capability
|
|
28357
|
+
});
|
|
28358
|
+
try {
|
|
28359
|
+
const response = await this.httpClient.send({
|
|
28360
|
+
url: `/platform/classic/environment-api/v2/synthetic/locations${query}`,
|
|
28361
|
+
method: "GET",
|
|
28362
|
+
headers: {
|
|
28363
|
+
Accept: "application/json; charset=utf-8, application/json"
|
|
28364
|
+
},
|
|
28365
|
+
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
28366
|
+
statusValidator: (status) => {
|
|
28367
|
+
return [200].includes(status);
|
|
28368
|
+
}
|
|
28369
|
+
});
|
|
28370
|
+
const responseValue = await response.body("json");
|
|
28371
|
+
try {
|
|
28372
|
+
return this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28373
|
+
} catch (err) {
|
|
28374
|
+
throw new InvalidResponseError32(
|
|
28375
|
+
`SyntheticLocationsNodesAndConfigurationClient.getLocations:200`,
|
|
28376
|
+
err,
|
|
28377
|
+
responseValue,
|
|
28378
|
+
void 0,
|
|
28379
|
+
void 0,
|
|
28380
|
+
response
|
|
28381
|
+
);
|
|
28382
|
+
}
|
|
28383
|
+
} catch (e) {
|
|
28384
|
+
if (isHttpClientAbortError32(e) || isInvalidResponseError31(e)) {
|
|
28385
|
+
throw e;
|
|
28386
|
+
}
|
|
28387
|
+
if (!isHttpClientResponseError32(e)) {
|
|
28388
|
+
throw new ApiClientError32("UnexpectedError", "Unexpected error", e);
|
|
28389
|
+
}
|
|
28390
|
+
const response = e.response;
|
|
28391
|
+
await apiGatewayErrorsHandler(response);
|
|
28392
|
+
if (response.status >= 400 && response.status <= 499) {
|
|
28393
|
+
const responseValue = await response.body("json");
|
|
28394
|
+
try {
|
|
28395
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28396
|
+
throw new ErrorEnvelopeError(
|
|
28397
|
+
`${response.status}`,
|
|
28398
|
+
response,
|
|
28399
|
+
errorBody,
|
|
28400
|
+
getErrorMessage(errorBody, "Client side error."),
|
|
28401
|
+
e
|
|
28402
|
+
);
|
|
28403
|
+
} catch (err) {
|
|
28404
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
28405
|
+
throw err;
|
|
28406
|
+
}
|
|
28407
|
+
throw new InvalidResponseError32(
|
|
28408
|
+
`SyntheticLocationsNodesAndConfigurationClient.getLocations:${response.status}`,
|
|
28409
|
+
err,
|
|
28410
|
+
responseValue,
|
|
28411
|
+
"ErrorEnvelope",
|
|
28412
|
+
void 0,
|
|
28413
|
+
response
|
|
28414
|
+
);
|
|
28415
|
+
}
|
|
28416
|
+
} else if (response.status >= 500 && response.status <= 599) {
|
|
28417
|
+
const responseValue = await response.body("json");
|
|
28418
|
+
try {
|
|
28419
|
+
const errorBody = this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
28420
|
+
throw new ErrorEnvelopeError(
|
|
28421
|
+
`${response.status}`,
|
|
28422
|
+
response,
|
|
28423
|
+
errorBody,
|
|
28424
|
+
getErrorMessage(errorBody, "Server side error."),
|
|
28425
|
+
e
|
|
28426
|
+
);
|
|
28427
|
+
} catch (err) {
|
|
28428
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
28429
|
+
throw err;
|
|
28430
|
+
}
|
|
28431
|
+
throw new InvalidResponseError32(
|
|
28432
|
+
`SyntheticLocationsNodesAndConfigurationClient.getLocations:${response.status}`,
|
|
27630
28433
|
err,
|
|
27631
28434
|
responseValue,
|
|
27632
28435
|
"ErrorEnvelope",
|
|
@@ -27637,18 +28440,18 @@ var SyntheticHttpMonitorExecutionsClient = class {
|
|
|
27637
28440
|
} else {
|
|
27638
28441
|
try {
|
|
27639
28442
|
const responseValue = await response.body("json");
|
|
27640
|
-
throw new
|
|
28443
|
+
throw new ClientRequestError38(
|
|
27641
28444
|
`${response.status}`,
|
|
27642
28445
|
response,
|
|
27643
28446
|
responseValue,
|
|
27644
28447
|
getErrorMessage(responseValue, `Unexpected api response: code=${response.status} body="${responseValue}"`)
|
|
27645
28448
|
);
|
|
27646
28449
|
} catch (error) {
|
|
27647
|
-
if (error instanceof
|
|
28450
|
+
if (error instanceof ClientRequestError38) {
|
|
27648
28451
|
throw error;
|
|
27649
28452
|
}
|
|
27650
28453
|
const responseValue = await response.body("text").catch(() => "");
|
|
27651
|
-
throw new
|
|
28454
|
+
throw new InvalidResponseError32(
|
|
27652
28455
|
`${response.status}`,
|
|
27653
28456
|
error,
|
|
27654
28457
|
responseValue,
|
|
@@ -27660,65 +28463,52 @@ var SyntheticHttpMonitorExecutionsClient = class {
|
|
|
27660
28463
|
}
|
|
27661
28464
|
}
|
|
27662
28465
|
}
|
|
27663
|
-
};
|
|
27664
|
-
var syntheticHttpMonitorExecutionsClient = /* @__PURE__ */ new SyntheticHttpMonitorExecutionsClient(
|
|
27665
|
-
defaultHttpClient31
|
|
27666
|
-
);
|
|
27667
|
-
|
|
27668
|
-
// packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.ts
|
|
27669
|
-
import {
|
|
27670
|
-
httpClient as defaultHttpClient32,
|
|
27671
|
-
isHttpClientAbortError as isHttpClientAbortError32,
|
|
27672
|
-
isHttpClientResponseError as isHttpClientResponseError32
|
|
27673
|
-
} from "@dynatrace-sdk/http-client";
|
|
27674
|
-
import {
|
|
27675
|
-
ApiClientError as ApiClientError32,
|
|
27676
|
-
ClientRequestError as ClientRequestError38,
|
|
27677
|
-
InvalidResponseError as InvalidResponseError32,
|
|
27678
|
-
isInvalidResponseError as isInvalidResponseError31
|
|
27679
|
-
} from "@dynatrace-sdk/shared-errors";
|
|
27680
|
-
var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
27681
|
-
httpClient;
|
|
27682
|
-
shouldTransformDates = true;
|
|
27683
28466
|
/**
|
|
27684
|
-
*
|
|
27685
|
-
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
27686
|
-
* @example
|
|
27687
|
-
* const syntheticLocationsNodesAndConfigurationClientNodeJs = new SyntheticLocationsNodesAndConfigurationClient(yourCustomImplementation);
|
|
27688
|
-
*/
|
|
27689
|
-
constructor(httpClientImplementation, options) {
|
|
27690
|
-
this.httpClient = httpClientImplementation;
|
|
27691
|
-
this.shouldTransformDates = options?.transformDates ?? true;
|
|
27692
|
-
}
|
|
27693
|
-
/**
|
|
27694
|
-
* Gets set of synthetic related parameters defined for whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER
|
|
28467
|
+
* Creates a new private synthetic location
|
|
27695
28468
|
*
|
|
27696
|
-
* **Required scope:** environment-api:synthetic:
|
|
28469
|
+
* **Required scope:** environment-api:synthetic:write<br/>**Required permission:** environment:roles:manage-settings
|
|
27697
28470
|
*
|
|
27698
|
-
* @returns {Promise<
|
|
28471
|
+
* @returns {Promise<SyntheticLocationIdsDto>} Success. The private location has been created. The response contains the ID of the new location.
|
|
27699
28472
|
*
|
|
27700
28473
|
* @example <caption>Code example</caption>
|
|
27701
28474
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
27702
28475
|
*
|
|
27703
28476
|
* const data =
|
|
27704
|
-
* await syntheticLocationsNodesAndConfigurationClient.
|
|
28477
|
+
* await syntheticLocationsNodesAndConfigurationClient.addLocation(
|
|
28478
|
+
* {
|
|
28479
|
+
* body: {
|
|
28480
|
+
* latitude: 10,
|
|
28481
|
+
* longitude: 10,
|
|
28482
|
+
* name: "...",
|
|
28483
|
+
* nodes: ["..."],
|
|
28484
|
+
* type: "CLUSTER",
|
|
28485
|
+
* },
|
|
28486
|
+
* },
|
|
28487
|
+
* );
|
|
27705
28488
|
*
|
|
27706
28489
|
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
27707
28490
|
* @throws {InvalidResponseError}
|
|
27708
28491
|
* @throws {ApiClientError}
|
|
27709
28492
|
* @throws {ClientRequestError}
|
|
27710
28493
|
*/
|
|
27711
|
-
async
|
|
28494
|
+
async addLocation(config) {
|
|
28495
|
+
if (!config) {
|
|
28496
|
+
throw new ApiClientError32("API client error", "API client call is missing mandatory config parameter");
|
|
28497
|
+
}
|
|
28498
|
+
const encodedBody = this.shouldTransformDates ? transformRequest(config.body, []) : config.body;
|
|
27712
28499
|
try {
|
|
27713
28500
|
const response = await this.httpClient.send({
|
|
27714
|
-
url: `/platform/classic/environment-api/v2/synthetic/
|
|
27715
|
-
method: "
|
|
28501
|
+
url: `/platform/classic/environment-api/v2/synthetic/locations`,
|
|
28502
|
+
method: "POST",
|
|
28503
|
+
requestBodyType: "json",
|
|
28504
|
+
body: encodedBody,
|
|
27716
28505
|
headers: {
|
|
28506
|
+
"Content-Type": "application/json; charset=utf-8",
|
|
27717
28507
|
Accept: "application/json; charset=utf-8, application/json"
|
|
27718
28508
|
},
|
|
27719
28509
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
27720
28510
|
statusValidator: (status) => {
|
|
27721
|
-
return [
|
|
28511
|
+
return [201].includes(status);
|
|
27722
28512
|
}
|
|
27723
28513
|
});
|
|
27724
28514
|
const responseValue = await response.body("json");
|
|
@@ -27726,7 +28516,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
27726
28516
|
return this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
27727
28517
|
} catch (err) {
|
|
27728
28518
|
throw new InvalidResponseError32(
|
|
27729
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28519
|
+
`SyntheticLocationsNodesAndConfigurationClient.addLocation:201`,
|
|
27730
28520
|
err,
|
|
27731
28521
|
responseValue,
|
|
27732
28522
|
void 0,
|
|
@@ -27759,7 +28549,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
27759
28549
|
throw err;
|
|
27760
28550
|
}
|
|
27761
28551
|
throw new InvalidResponseError32(
|
|
27762
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28552
|
+
`SyntheticLocationsNodesAndConfigurationClient.addLocation:${response.status}`,
|
|
27763
28553
|
err,
|
|
27764
28554
|
responseValue,
|
|
27765
28555
|
"ErrorEnvelope",
|
|
@@ -27783,7 +28573,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
27783
28573
|
throw err;
|
|
27784
28574
|
}
|
|
27785
28575
|
throw new InvalidResponseError32(
|
|
27786
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28576
|
+
`SyntheticLocationsNodesAndConfigurationClient.addLocation:${response.status}`,
|
|
27787
28577
|
err,
|
|
27788
28578
|
responseValue,
|
|
27789
28579
|
"ErrorEnvelope",
|
|
@@ -27818,51 +28608,52 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
27818
28608
|
}
|
|
27819
28609
|
}
|
|
27820
28610
|
/**
|
|
27821
|
-
*
|
|
28611
|
+
* Gets list of commands to deploy synthetic location in Kubernetes/Openshift cluster
|
|
27822
28612
|
*
|
|
27823
|
-
* **Required scope:** environment-api:synthetic:
|
|
28613
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
27824
28614
|
*
|
|
27825
|
-
* @returns {Promise<
|
|
28615
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to deploy a synthetic location.
|
|
27826
28616
|
*
|
|
27827
28617
|
* @example <caption>Code example</caption>
|
|
27828
28618
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
27829
28619
|
*
|
|
27830
28620
|
* const data =
|
|
27831
|
-
* await syntheticLocationsNodesAndConfigurationClient.
|
|
27832
|
-
* { body: { bmMonitorTimeout: 10, bmStepTimeout: 10 } },
|
|
27833
|
-
* );
|
|
28621
|
+
* await syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentApplyCommands();
|
|
27834
28622
|
*
|
|
27835
28623
|
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
27836
28624
|
* @throws {InvalidResponseError}
|
|
27837
28625
|
* @throws {ApiClientError}
|
|
27838
28626
|
* @throws {ClientRequestError}
|
|
27839
28627
|
*/
|
|
27840
|
-
async
|
|
28628
|
+
async getLocationDeploymentApplyCommands(config = {}) {
|
|
27841
28629
|
if (!config) {
|
|
27842
28630
|
throw new ApiClientError32("API client error", "API client call is missing mandatory config parameter");
|
|
27843
28631
|
}
|
|
27844
|
-
const
|
|
28632
|
+
const query = toQueryString({
|
|
28633
|
+
platform: config.platform,
|
|
28634
|
+
namespace: config.namespace,
|
|
28635
|
+
filename: config.filename,
|
|
28636
|
+
fipsMode: config.fipsMode,
|
|
28637
|
+
squidProxyConfig: config.squidProxyConfig
|
|
28638
|
+
});
|
|
27845
28639
|
try {
|
|
27846
28640
|
const response = await this.httpClient.send({
|
|
27847
|
-
url: `/platform/classic/environment-api/v2/synthetic/
|
|
27848
|
-
method: "
|
|
27849
|
-
requestBodyType: "json",
|
|
27850
|
-
body: encodedBody,
|
|
28641
|
+
url: `/platform/classic/environment-api/v2/synthetic/locations/commands/apply${query}`,
|
|
28642
|
+
method: "GET",
|
|
27851
28643
|
headers: {
|
|
27852
|
-
|
|
27853
|
-
Accept: "application/json; charset=utf-8, application/json"
|
|
28644
|
+
Accept: "text/plain, application/json"
|
|
27854
28645
|
},
|
|
27855
28646
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
27856
28647
|
statusValidator: (status) => {
|
|
27857
|
-
return [
|
|
28648
|
+
return [200].includes(status);
|
|
27858
28649
|
}
|
|
27859
28650
|
});
|
|
27860
|
-
const responseValue = await response.body("
|
|
28651
|
+
const responseValue = await response.body("text");
|
|
27861
28652
|
try {
|
|
27862
|
-
return
|
|
28653
|
+
return responseValue;
|
|
27863
28654
|
} catch (err) {
|
|
27864
28655
|
throw new InvalidResponseError32(
|
|
27865
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28656
|
+
`SyntheticLocationsNodesAndConfigurationClient.getLocationDeploymentApplyCommands:200`,
|
|
27866
28657
|
err,
|
|
27867
28658
|
responseValue,
|
|
27868
28659
|
void 0,
|
|
@@ -27895,7 +28686,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
27895
28686
|
throw err;
|
|
27896
28687
|
}
|
|
27897
28688
|
throw new InvalidResponseError32(
|
|
27898
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28689
|
+
`SyntheticLocationsNodesAndConfigurationClient.getLocationDeploymentApplyCommands:${response.status}`,
|
|
27899
28690
|
err,
|
|
27900
28691
|
responseValue,
|
|
27901
28692
|
"ErrorEnvelope",
|
|
@@ -27919,7 +28710,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
27919
28710
|
throw err;
|
|
27920
28711
|
}
|
|
27921
28712
|
throw new InvalidResponseError32(
|
|
27922
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28713
|
+
`SyntheticLocationsNodesAndConfigurationClient.getLocationDeploymentApplyCommands:${response.status}`,
|
|
27923
28714
|
err,
|
|
27924
28715
|
responseValue,
|
|
27925
28716
|
"ErrorEnvelope",
|
|
@@ -27954,50 +28745,46 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
27954
28745
|
}
|
|
27955
28746
|
}
|
|
27956
28747
|
/**
|
|
27957
|
-
*
|
|
28748
|
+
* Gets list of commands to deploy metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
27958
28749
|
*
|
|
27959
|
-
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:
|
|
28750
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
27960
28751
|
*
|
|
27961
|
-
* @returns {Promise<
|
|
28752
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to deploy a metric adapter.
|
|
27962
28753
|
*
|
|
27963
28754
|
* @example <caption>Code example</caption>
|
|
27964
28755
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
27965
28756
|
*
|
|
27966
28757
|
* const data =
|
|
27967
|
-
* await syntheticLocationsNodesAndConfigurationClient.
|
|
28758
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentApplyCommands();
|
|
27968
28759
|
*
|
|
27969
28760
|
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
27970
28761
|
* @throws {InvalidResponseError}
|
|
27971
28762
|
* @throws {ApiClientError}
|
|
27972
28763
|
* @throws {ClientRequestError}
|
|
27973
28764
|
*/
|
|
27974
|
-
async
|
|
28765
|
+
async getMetricAdapterDeploymentApplyCommands(config = {}) {
|
|
27975
28766
|
if (!config) {
|
|
27976
28767
|
throw new ApiClientError32("API client error", "API client call is missing mandatory config parameter");
|
|
27977
28768
|
}
|
|
27978
|
-
const query = toQueryString({
|
|
27979
|
-
cloudPlatform: config.cloudPlatform,
|
|
27980
|
-
type: config.type,
|
|
27981
|
-
capability: config.capability
|
|
27982
|
-
});
|
|
28769
|
+
const query = toQueryString({ platform: config.platform, namespace: config.namespace, filename: config.filename });
|
|
27983
28770
|
try {
|
|
27984
28771
|
const response = await this.httpClient.send({
|
|
27985
|
-
url: `/platform/classic/environment-api/v2/synthetic/locations${query}`,
|
|
28772
|
+
url: `/platform/classic/environment-api/v2/synthetic/locations/metricAdapter/commands/apply${query}`,
|
|
27986
28773
|
method: "GET",
|
|
27987
28774
|
headers: {
|
|
27988
|
-
Accept: "
|
|
28775
|
+
Accept: "text/plain, application/json"
|
|
27989
28776
|
},
|
|
27990
28777
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
27991
28778
|
statusValidator: (status) => {
|
|
27992
28779
|
return [200].includes(status);
|
|
27993
28780
|
}
|
|
27994
28781
|
});
|
|
27995
|
-
const responseValue = await response.body("
|
|
28782
|
+
const responseValue = await response.body("text");
|
|
27996
28783
|
try {
|
|
27997
|
-
return
|
|
28784
|
+
return responseValue;
|
|
27998
28785
|
} catch (err) {
|
|
27999
28786
|
throw new InvalidResponseError32(
|
|
28000
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28787
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentApplyCommands:200`,
|
|
28001
28788
|
err,
|
|
28002
28789
|
responseValue,
|
|
28003
28790
|
void 0,
|
|
@@ -28030,7 +28817,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28030
28817
|
throw err;
|
|
28031
28818
|
}
|
|
28032
28819
|
throw new InvalidResponseError32(
|
|
28033
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28820
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentApplyCommands:${response.status}`,
|
|
28034
28821
|
err,
|
|
28035
28822
|
responseValue,
|
|
28036
28823
|
"ErrorEnvelope",
|
|
@@ -28054,7 +28841,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28054
28841
|
throw err;
|
|
28055
28842
|
}
|
|
28056
28843
|
throw new InvalidResponseError32(
|
|
28057
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28844
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentApplyCommands:${response.status}`,
|
|
28058
28845
|
err,
|
|
28059
28846
|
responseValue,
|
|
28060
28847
|
"ErrorEnvelope",
|
|
@@ -28089,59 +28876,46 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28089
28876
|
}
|
|
28090
28877
|
}
|
|
28091
28878
|
/**
|
|
28092
|
-
*
|
|
28879
|
+
* Gets list of commands to delete metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
28093
28880
|
*
|
|
28094
|
-
* **Required scope:** environment-api:synthetic:
|
|
28881
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
28095
28882
|
*
|
|
28096
|
-
* @returns {Promise<
|
|
28883
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to delete a metric adapter.
|
|
28097
28884
|
*
|
|
28098
28885
|
* @example <caption>Code example</caption>
|
|
28099
28886
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28100
28887
|
*
|
|
28101
28888
|
* const data =
|
|
28102
|
-
* await syntheticLocationsNodesAndConfigurationClient.
|
|
28103
|
-
* {
|
|
28104
|
-
* body: {
|
|
28105
|
-
* latitude: 10,
|
|
28106
|
-
* longitude: 10,
|
|
28107
|
-
* name: "...",
|
|
28108
|
-
* nodes: ["..."],
|
|
28109
|
-
* type: "CLUSTER",
|
|
28110
|
-
* },
|
|
28111
|
-
* },
|
|
28112
|
-
* );
|
|
28889
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentDeleteCommands();
|
|
28113
28890
|
*
|
|
28114
28891
|
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
28115
28892
|
* @throws {InvalidResponseError}
|
|
28116
28893
|
* @throws {ApiClientError}
|
|
28117
28894
|
* @throws {ClientRequestError}
|
|
28118
28895
|
*/
|
|
28119
|
-
async
|
|
28896
|
+
async getMetricAdapterDeploymentDeleteCommands(config = {}) {
|
|
28120
28897
|
if (!config) {
|
|
28121
28898
|
throw new ApiClientError32("API client error", "API client call is missing mandatory config parameter");
|
|
28122
28899
|
}
|
|
28123
|
-
const
|
|
28900
|
+
const query = toQueryString({ platform: config.platform, filename: config.filename });
|
|
28124
28901
|
try {
|
|
28125
28902
|
const response = await this.httpClient.send({
|
|
28126
|
-
url: `/platform/classic/environment-api/v2/synthetic/locations`,
|
|
28127
|
-
method: "
|
|
28128
|
-
requestBodyType: "json",
|
|
28129
|
-
body: encodedBody,
|
|
28903
|
+
url: `/platform/classic/environment-api/v2/synthetic/locations/metricAdapter/commands/delete${query}`,
|
|
28904
|
+
method: "GET",
|
|
28130
28905
|
headers: {
|
|
28131
|
-
|
|
28132
|
-
Accept: "application/json; charset=utf-8, application/json"
|
|
28906
|
+
Accept: "text/plain, application/json"
|
|
28133
28907
|
},
|
|
28134
28908
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
28135
28909
|
statusValidator: (status) => {
|
|
28136
|
-
return [
|
|
28910
|
+
return [200].includes(status);
|
|
28137
28911
|
}
|
|
28138
28912
|
});
|
|
28139
|
-
const responseValue = await response.body("
|
|
28913
|
+
const responseValue = await response.body("text");
|
|
28140
28914
|
try {
|
|
28141
|
-
return
|
|
28915
|
+
return responseValue;
|
|
28142
28916
|
} catch (err) {
|
|
28143
28917
|
throw new InvalidResponseError32(
|
|
28144
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28918
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentDeleteCommands:200`,
|
|
28145
28919
|
err,
|
|
28146
28920
|
responseValue,
|
|
28147
28921
|
void 0,
|
|
@@ -28174,7 +28948,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28174
28948
|
throw err;
|
|
28175
28949
|
}
|
|
28176
28950
|
throw new InvalidResponseError32(
|
|
28177
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28951
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentDeleteCommands:${response.status}`,
|
|
28178
28952
|
err,
|
|
28179
28953
|
responseValue,
|
|
28180
28954
|
"ErrorEnvelope",
|
|
@@ -28198,7 +28972,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28198
28972
|
throw err;
|
|
28199
28973
|
}
|
|
28200
28974
|
throw new InvalidResponseError32(
|
|
28201
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
28975
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentDeleteCommands:${response.status}`,
|
|
28202
28976
|
err,
|
|
28203
28977
|
responseValue,
|
|
28204
28978
|
"ErrorEnvelope",
|
|
@@ -28233,40 +29007,55 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28233
29007
|
}
|
|
28234
29008
|
}
|
|
28235
29009
|
/**
|
|
28236
|
-
* Gets
|
|
29010
|
+
* Gets yaml file content to deploy metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
28237
29011
|
*
|
|
28238
29012
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
28239
29013
|
*
|
|
28240
|
-
* @returns {Promise<
|
|
29014
|
+
* @returns {Promise<Binary>} Success. The response contains the content of deployment yaml file.
|
|
28241
29015
|
*
|
|
28242
29016
|
* @example <caption>Code example</caption>
|
|
28243
29017
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28244
29018
|
*
|
|
28245
29019
|
* const data =
|
|
28246
|
-
* await syntheticLocationsNodesAndConfigurationClient.
|
|
29020
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentYaml();
|
|
28247
29021
|
*
|
|
28248
29022
|
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
28249
29023
|
* @throws {InvalidResponseError}
|
|
28250
29024
|
* @throws {ApiClientError}
|
|
28251
29025
|
* @throws {ClientRequestError}
|
|
28252
29026
|
*/
|
|
28253
|
-
async
|
|
29027
|
+
async getMetricAdapterDeploymentYaml(config = {}) {
|
|
28254
29028
|
if (!config) {
|
|
28255
29029
|
throw new ApiClientError32("API client error", "API client call is missing mandatory config parameter");
|
|
28256
29030
|
}
|
|
28257
|
-
const query = toQueryString({ platform: config.platform, namespace: config.namespace
|
|
29031
|
+
const query = toQueryString({ platform: config.platform, namespace: config.namespace });
|
|
28258
29032
|
try {
|
|
28259
|
-
await this.httpClient.send({
|
|
28260
|
-
url: `/platform/classic/environment-api/v2/synthetic/locations/
|
|
29033
|
+
const response = await this.httpClient.send({
|
|
29034
|
+
url: `/platform/classic/environment-api/v2/synthetic/locations/metricAdapter/yaml${query}`,
|
|
28261
29035
|
method: "GET",
|
|
29036
|
+
headers: {
|
|
29037
|
+
Accept: "application/yaml, application/json"
|
|
29038
|
+
},
|
|
28262
29039
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
28263
29040
|
statusValidator: (status) => {
|
|
28264
29041
|
return [200].includes(status);
|
|
28265
29042
|
}
|
|
28266
29043
|
});
|
|
28267
|
-
|
|
29044
|
+
const responseValue = await response.body("binary");
|
|
29045
|
+
try {
|
|
29046
|
+
return responseValue;
|
|
29047
|
+
} catch (err) {
|
|
29048
|
+
throw new InvalidResponseError32(
|
|
29049
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentYaml:200`,
|
|
29050
|
+
err,
|
|
29051
|
+
responseValue,
|
|
29052
|
+
void 0,
|
|
29053
|
+
void 0,
|
|
29054
|
+
response
|
|
29055
|
+
);
|
|
29056
|
+
}
|
|
28268
29057
|
} catch (e) {
|
|
28269
|
-
if (isHttpClientAbortError32(e)) {
|
|
29058
|
+
if (isHttpClientAbortError32(e) || isInvalidResponseError31(e)) {
|
|
28270
29059
|
throw e;
|
|
28271
29060
|
}
|
|
28272
29061
|
if (!isHttpClientResponseError32(e)) {
|
|
@@ -28290,7 +29079,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28290
29079
|
throw err;
|
|
28291
29080
|
}
|
|
28292
29081
|
throw new InvalidResponseError32(
|
|
28293
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
29082
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentYaml:${response.status}`,
|
|
28294
29083
|
err,
|
|
28295
29084
|
responseValue,
|
|
28296
29085
|
"ErrorEnvelope",
|
|
@@ -28314,7 +29103,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28314
29103
|
throw err;
|
|
28315
29104
|
}
|
|
28316
29105
|
throw new InvalidResponseError32(
|
|
28317
|
-
`SyntheticLocationsNodesAndConfigurationClient.
|
|
29106
|
+
`SyntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentYaml:${response.status}`,
|
|
28318
29107
|
err,
|
|
28319
29108
|
responseValue,
|
|
28320
29109
|
"ErrorEnvelope",
|
|
@@ -28980,11 +29769,11 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
28980
29769
|
}
|
|
28981
29770
|
}
|
|
28982
29771
|
/**
|
|
28983
|
-
* Gets list of commands to delete synthetic location in Kubernetes/Openshift cluster
|
|
29772
|
+
* Gets list of commands to delete synthetic location in Kubernetes/Openshift cluster
|
|
28984
29773
|
*
|
|
28985
29774
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
28986
29775
|
*
|
|
28987
|
-
* @returns {Promise<
|
|
29776
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to delete a synthetic location.
|
|
28988
29777
|
*
|
|
28989
29778
|
* @example <caption>Code example</caption>
|
|
28990
29779
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -29005,17 +29794,32 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
29005
29794
|
}
|
|
29006
29795
|
const query = toQueryString({ platform: config.platform, namespace: config.namespace, filename: config.filename });
|
|
29007
29796
|
try {
|
|
29008
|
-
await this.httpClient.send({
|
|
29797
|
+
const response = await this.httpClient.send({
|
|
29009
29798
|
url: `/platform/classic/environment-api/v2/synthetic/locations/${config.locationId}/commands/delete${query}`,
|
|
29010
29799
|
method: "GET",
|
|
29800
|
+
headers: {
|
|
29801
|
+
Accept: "text/plain, application/json"
|
|
29802
|
+
},
|
|
29011
29803
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
29012
29804
|
statusValidator: (status) => {
|
|
29013
29805
|
return [200].includes(status);
|
|
29014
29806
|
}
|
|
29015
29807
|
});
|
|
29016
|
-
|
|
29808
|
+
const responseValue = await response.body("text");
|
|
29809
|
+
try {
|
|
29810
|
+
return responseValue;
|
|
29811
|
+
} catch (err) {
|
|
29812
|
+
throw new InvalidResponseError32(
|
|
29813
|
+
`SyntheticLocationsNodesAndConfigurationClient.getLocationDeploymentDeleteCommands:200`,
|
|
29814
|
+
err,
|
|
29815
|
+
responseValue,
|
|
29816
|
+
void 0,
|
|
29817
|
+
void 0,
|
|
29818
|
+
response
|
|
29819
|
+
);
|
|
29820
|
+
}
|
|
29017
29821
|
} catch (e) {
|
|
29018
|
-
if (isHttpClientAbortError32(e)) {
|
|
29822
|
+
if (isHttpClientAbortError32(e) || isInvalidResponseError31(e)) {
|
|
29019
29823
|
throw e;
|
|
29020
29824
|
}
|
|
29021
29825
|
if (!isHttpClientResponseError32(e)) {
|
|
@@ -29098,11 +29902,11 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
29098
29902
|
}
|
|
29099
29903
|
}
|
|
29100
29904
|
/**
|
|
29101
|
-
* Gets yaml file content to deploy location in Kubernetes/Openshift cluster
|
|
29905
|
+
* Gets yaml file content to deploy location in Kubernetes/Openshift cluster
|
|
29102
29906
|
*
|
|
29103
29907
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
29104
29908
|
*
|
|
29105
|
-
* @returns {Promise<
|
|
29909
|
+
* @returns {Promise<Binary>} Success. The response contains the content of deployment yaml file.
|
|
29106
29910
|
*
|
|
29107
29911
|
* @example <caption>Code example</caption>
|
|
29108
29912
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -29129,17 +29933,32 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
29129
29933
|
tagVersionSynthetic: config.tagVersionSynthetic
|
|
29130
29934
|
});
|
|
29131
29935
|
try {
|
|
29132
|
-
await this.httpClient.send({
|
|
29936
|
+
const response = await this.httpClient.send({
|
|
29133
29937
|
url: `/platform/classic/environment-api/v2/synthetic/locations/${config.locationId}/yaml${query}`,
|
|
29134
29938
|
method: "GET",
|
|
29939
|
+
headers: {
|
|
29940
|
+
Accept: "application/yaml, application/json"
|
|
29941
|
+
},
|
|
29135
29942
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
29136
29943
|
statusValidator: (status) => {
|
|
29137
29944
|
return [200].includes(status);
|
|
29138
29945
|
}
|
|
29139
29946
|
});
|
|
29140
|
-
|
|
29947
|
+
const responseValue = await response.body("binary");
|
|
29948
|
+
try {
|
|
29949
|
+
return responseValue;
|
|
29950
|
+
} catch (err) {
|
|
29951
|
+
throw new InvalidResponseError32(
|
|
29952
|
+
`SyntheticLocationsNodesAndConfigurationClient.getLocationDeploymentYaml:200`,
|
|
29953
|
+
err,
|
|
29954
|
+
responseValue,
|
|
29955
|
+
void 0,
|
|
29956
|
+
void 0,
|
|
29957
|
+
response
|
|
29958
|
+
);
|
|
29959
|
+
}
|
|
29141
29960
|
} catch (e) {
|
|
29142
|
-
if (isHttpClientAbortError32(e)) {
|
|
29961
|
+
if (isHttpClientAbortError32(e) || isInvalidResponseError31(e)) {
|
|
29143
29962
|
throw e;
|
|
29144
29963
|
}
|
|
29145
29964
|
if (!isHttpClientResponseError32(e)) {
|
|
@@ -29224,7 +30043,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
29224
30043
|
/**
|
|
29225
30044
|
* Lists all synthetic nodes available in your environment
|
|
29226
30045
|
*
|
|
29227
|
-
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:
|
|
30046
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:viewer
|
|
29228
30047
|
*
|
|
29229
30048
|
* @returns {Promise<Nodes>} Success
|
|
29230
30049
|
*
|
|
@@ -29513,7 +30332,7 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
29513
30332
|
this.shouldTransformDates = options?.transformDates ?? true;
|
|
29514
30333
|
}
|
|
29515
30334
|
/**
|
|
29516
|
-
* Gets all synthetic monitors. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
30335
|
+
* Gets all synthetic monitors. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
29517
30336
|
*
|
|
29518
30337
|
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
29519
30338
|
*
|
|
@@ -29644,7 +30463,7 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
29644
30463
|
}
|
|
29645
30464
|
}
|
|
29646
30465
|
/**
|
|
29647
|
-
* Creates a synthetic monitor definition. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
30466
|
+
* Creates a synthetic monitor definition. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
29648
30467
|
*
|
|
29649
30468
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
29650
30469
|
*
|
|
@@ -29664,16 +30483,12 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
29664
30483
|
* @throws {ClientRequestError}
|
|
29665
30484
|
*/
|
|
29666
30485
|
async createMonitor(config) {
|
|
29667
|
-
if (!config) {
|
|
29668
|
-
throw new ApiClientError33("API client error", "API client call is missing mandatory config parameter");
|
|
29669
|
-
}
|
|
29670
|
-
const encodedBody = this.shouldTransformDates ? transformRequest(config.body, []) : config.body;
|
|
29671
30486
|
try {
|
|
29672
30487
|
const response = await this.httpClient.send({
|
|
29673
30488
|
url: `/platform/classic/environment-api/v2/synthetic/monitors`,
|
|
29674
30489
|
method: "POST",
|
|
29675
30490
|
requestBodyType: "json",
|
|
29676
|
-
body:
|
|
30491
|
+
body: config.body,
|
|
29677
30492
|
headers: {
|
|
29678
30493
|
"Content-Type": "application/json; charset=utf-8",
|
|
29679
30494
|
Accept: "application/json; charset=utf-8, application/json"
|
|
@@ -29780,11 +30595,11 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
29780
30595
|
}
|
|
29781
30596
|
}
|
|
29782
30597
|
/**
|
|
29783
|
-
* Gets a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
30598
|
+
* Gets a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
29784
30599
|
*
|
|
29785
30600
|
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
29786
30601
|
*
|
|
29787
|
-
* @returns {Promise<SyntheticMultiProtocolMonitorResponse>} Success
|
|
30602
|
+
* @returns {Promise<SyntheticMultiProtocolMonitorResponse | SyntheticBrowserMonitorResponse>} Success
|
|
29788
30603
|
*
|
|
29789
30604
|
* @example <caption>Code example</caption>
|
|
29790
30605
|
* import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -29814,7 +30629,7 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
29814
30629
|
});
|
|
29815
30630
|
const responseValue = await response.body("json");
|
|
29816
30631
|
try {
|
|
29817
|
-
return
|
|
30632
|
+
return responseValue;
|
|
29818
30633
|
} catch (err) {
|
|
29819
30634
|
throw new InvalidResponseError33(
|
|
29820
30635
|
`SyntheticNetworkAvailabilityMonitorsClient.getMonitor:200`,
|
|
@@ -29909,7 +30724,7 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
29909
30724
|
}
|
|
29910
30725
|
}
|
|
29911
30726
|
/**
|
|
29912
|
-
* Updates a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
30727
|
+
* Updates a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
29913
30728
|
*
|
|
29914
30729
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
29915
30730
|
*
|
|
@@ -29927,16 +30742,12 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
29927
30742
|
* @throws {ClientRequestError}
|
|
29928
30743
|
*/
|
|
29929
30744
|
async updateMonitor(config) {
|
|
29930
|
-
if (!config) {
|
|
29931
|
-
throw new ApiClientError33("API client error", "API client call is missing mandatory config parameter");
|
|
29932
|
-
}
|
|
29933
|
-
const encodedBody = this.shouldTransformDates ? transformRequest(config.body, []) : config.body;
|
|
29934
30745
|
try {
|
|
29935
30746
|
await this.httpClient.send({
|
|
29936
30747
|
url: `/platform/classic/environment-api/v2/synthetic/monitors/${config.monitorId}`,
|
|
29937
30748
|
method: "PUT",
|
|
29938
30749
|
requestBodyType: "json",
|
|
29939
|
-
body:
|
|
30750
|
+
body: config.body,
|
|
29940
30751
|
headers: {
|
|
29941
30752
|
"Content-Type": "application/json; charset=utf-8"
|
|
29942
30753
|
},
|
|
@@ -30030,7 +30841,7 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
30030
30841
|
}
|
|
30031
30842
|
}
|
|
30032
30843
|
/**
|
|
30033
|
-
* Deletes a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
30844
|
+
* Deletes a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
30034
30845
|
*
|
|
30035
30846
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
30036
30847
|
*
|
|
@@ -31754,6 +32565,7 @@ var AssetInfoDtoType = /* @__PURE__ */ ((AssetInfoDtoType2) => {
|
|
|
31754
32565
|
AssetInfoDtoType2["LqlLogProcessingRule"] = "LQL_LOG_PROCESSING_RULE";
|
|
31755
32566
|
AssetInfoDtoType2["MetricMetadata"] = "METRIC_METADATA";
|
|
31756
32567
|
AssetInfoDtoType2["MetricQuery"] = "METRIC_QUERY";
|
|
32568
|
+
AssetInfoDtoType2["OpenPipeline"] = "OPEN_PIPELINE";
|
|
31757
32569
|
AssetInfoDtoType2["ProcessGroupingRules"] = "PROCESS_GROUPING_RULES";
|
|
31758
32570
|
AssetInfoDtoType2["ScreenActions"] = "SCREEN_ACTIONS";
|
|
31759
32571
|
AssetInfoDtoType2["ScreenChartGroups"] = "SCREEN_CHART_GROUPS";
|
|
@@ -31850,6 +32662,38 @@ var AuditLogEntryUserType = /* @__PURE__ */ ((AuditLogEntryUserType2) => {
|
|
|
31850
32662
|
return AuditLogEntryUserType2;
|
|
31851
32663
|
})(AuditLogEntryUserType || {});
|
|
31852
32664
|
|
|
32665
|
+
// packages/client/classic-environment-v2/src/lib/models/authentication-dto-input-type.ts
|
|
32666
|
+
var AuthenticationDtoInputType = /* @__PURE__ */ ((AuthenticationDtoInputType2) => {
|
|
32667
|
+
AuthenticationDtoInputType2["Plain"] = "PLAIN";
|
|
32668
|
+
AuthenticationDtoInputType2["Secure"] = "SECURE";
|
|
32669
|
+
return AuthenticationDtoInputType2;
|
|
32670
|
+
})(AuthenticationDtoInputType || {});
|
|
32671
|
+
|
|
32672
|
+
// packages/client/classic-environment-v2/src/lib/models/authentication-dto-type.ts
|
|
32673
|
+
var AuthenticationDtoType = /* @__PURE__ */ ((AuthenticationDtoType2) => {
|
|
32674
|
+
AuthenticationDtoType2["HttpAuthentication"] = "HTTP_AUTHENTICATION";
|
|
32675
|
+
AuthenticationDtoType2["Kerberos"] = "KERBEROS";
|
|
32676
|
+
AuthenticationDtoType2["Webform"] = "WEBFORM";
|
|
32677
|
+
return AuthenticationDtoType2;
|
|
32678
|
+
})(AuthenticationDtoType || {});
|
|
32679
|
+
|
|
32680
|
+
// packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto-type.ts
|
|
32681
|
+
var BaseWaitConditionDtoType = /* @__PURE__ */ ((BaseWaitConditionDtoType2) => {
|
|
32682
|
+
BaseWaitConditionDtoType2["Network"] = "NETWORK";
|
|
32683
|
+
BaseWaitConditionDtoType2["NextEvent"] = "NEXT_EVENT";
|
|
32684
|
+
BaseWaitConditionDtoType2["PageComplete"] = "PAGE_COMPLETE";
|
|
32685
|
+
BaseWaitConditionDtoType2["Time"] = "TIME";
|
|
32686
|
+
BaseWaitConditionDtoType2["Validation"] = "VALIDATION";
|
|
32687
|
+
return BaseWaitConditionDtoType2;
|
|
32688
|
+
})(BaseWaitConditionDtoType || {});
|
|
32689
|
+
|
|
32690
|
+
// packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-autoplay-policy.ts
|
|
32691
|
+
var ChromiumStartupFlagsDtoAutoplayPolicy = /* @__PURE__ */ ((ChromiumStartupFlagsDtoAutoplayPolicy2) => {
|
|
32692
|
+
ChromiumStartupFlagsDtoAutoplayPolicy2["NoUserGestureRequired"] = "no-user-gesture-required";
|
|
32693
|
+
ChromiumStartupFlagsDtoAutoplayPolicy2["DocumentUserActivationRequired"] = "document-user-activation-required";
|
|
32694
|
+
return ChromiumStartupFlagsDtoAutoplayPolicy2;
|
|
32695
|
+
})(ChromiumStartupFlagsDtoAutoplayPolicy || {});
|
|
32696
|
+
|
|
31853
32697
|
// packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details-type.ts
|
|
31854
32698
|
var CodeLevelVulnerabilityDetailsType = /* @__PURE__ */ ((CodeLevelVulnerabilityDetailsType2) => {
|
|
31855
32699
|
CodeLevelVulnerabilityDetailsType2["CmdInjection"] = "CMD_INJECTION";
|
|
@@ -32011,6 +32855,22 @@ var EffectivePermissionGranted = /* @__PURE__ */ ((EffectivePermissionGranted2)
|
|
|
32011
32855
|
return EffectivePermissionGranted2;
|
|
32012
32856
|
})(EffectivePermissionGranted || {});
|
|
32013
32857
|
|
|
32858
|
+
// packages/client/classic-environment-v2/src/lib/models/enablement-dto-origin.ts
|
|
32859
|
+
var EnablementDtoOrigin = /* @__PURE__ */ ((EnablementDtoOrigin2) => {
|
|
32860
|
+
EnablementDtoOrigin2["Monitor"] = "MONITOR";
|
|
32861
|
+
EnablementDtoOrigin2["Tenant"] = "TENANT";
|
|
32862
|
+
EnablementDtoOrigin2["Default"] = "DEFAULT";
|
|
32863
|
+
EnablementDtoOrigin2["Unknown"] = "UNKNOWN";
|
|
32864
|
+
return EnablementDtoOrigin2;
|
|
32865
|
+
})(EnablementDtoOrigin || {});
|
|
32866
|
+
|
|
32867
|
+
// packages/client/classic-environment-v2/src/lib/models/enablement-dto-performance-metric.ts
|
|
32868
|
+
var EnablementDtoPerformanceMetric = /* @__PURE__ */ ((EnablementDtoPerformanceMetric2) => {
|
|
32869
|
+
EnablementDtoPerformanceMetric2["ClassicTotalDuration"] = "classic.total_duration";
|
|
32870
|
+
EnablementDtoPerformanceMetric2["Duration"] = "duration";
|
|
32871
|
+
return EnablementDtoPerformanceMetric2;
|
|
32872
|
+
})(EnablementDtoPerformanceMetric || {});
|
|
32873
|
+
|
|
32014
32874
|
// packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-segment-type.ts
|
|
32015
32875
|
var EntryPointUsageSegmentSegmentType = /* @__PURE__ */ ((EntryPointUsageSegmentSegmentType2) => {
|
|
32016
32876
|
EntryPointUsageSegmentSegmentType2["MaliciousInput"] = "MALICIOUS_INPUT";
|
|
@@ -32065,6 +32925,7 @@ var EventIngestEventType = /* @__PURE__ */ ((EventIngestEventType2) => {
|
|
|
32065
32925
|
EventIngestEventType2["MarkedForTermination"] = "MARKED_FOR_TERMINATION";
|
|
32066
32926
|
EventIngestEventType2["PerformanceEvent"] = "PERFORMANCE_EVENT";
|
|
32067
32927
|
EventIngestEventType2["ResourceContentionEvent"] = "RESOURCE_CONTENTION_EVENT";
|
|
32928
|
+
EventIngestEventType2["Warning"] = "WARNING";
|
|
32068
32929
|
return EventIngestEventType2;
|
|
32069
32930
|
})(EventIngestEventType || {});
|
|
32070
32931
|
|
|
@@ -32195,6 +33056,13 @@ var FilterType = /* @__PURE__ */ ((FilterType2) => {
|
|
|
32195
33056
|
return FilterType2;
|
|
32196
33057
|
})(FilterType || {});
|
|
32197
33058
|
|
|
33059
|
+
// packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto-mode.ts
|
|
33060
|
+
var FilteredRequestsDtoMode = /* @__PURE__ */ ((FilteredRequestsDtoMode2) => {
|
|
33061
|
+
FilteredRequestsDtoMode2["Block"] = "BLOCK";
|
|
33062
|
+
FilteredRequestsDtoMode2["Allow"] = "ALLOW";
|
|
33063
|
+
return FilteredRequestsDtoMode2;
|
|
33064
|
+
})(FilteredRequestsDtoMode || {});
|
|
33065
|
+
|
|
32198
33066
|
// packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-auto-update.ts
|
|
32199
33067
|
var GetAllActiveGatesQueryAutoUpdate = /* @__PURE__ */ ((GetAllActiveGatesQueryAutoUpdate2) => {
|
|
32200
33068
|
GetAllActiveGatesQueryAutoUpdate2["Disabled"] = "DISABLED";
|
|
@@ -32526,6 +33394,37 @@ var ImpactImpactType = /* @__PURE__ */ ((ImpactImpactType2) => {
|
|
|
32526
33394
|
return ImpactImpactType2;
|
|
32527
33395
|
})(ImpactImpactType || {});
|
|
32528
33396
|
|
|
33397
|
+
// packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-load-action-kpm.ts
|
|
33398
|
+
var KeyPerformanceMetricsLoadActionKpm = /* @__PURE__ */ ((KeyPerformanceMetricsLoadActionKpm2) => {
|
|
33399
|
+
KeyPerformanceMetricsLoadActionKpm2["UserActionDuration"] = "USER_ACTION_DURATION";
|
|
33400
|
+
KeyPerformanceMetricsLoadActionKpm2["VisuallyComplete"] = "VISUALLY_COMPLETE";
|
|
33401
|
+
KeyPerformanceMetricsLoadActionKpm2["SpeedIndex"] = "SPEED_INDEX";
|
|
33402
|
+
KeyPerformanceMetricsLoadActionKpm2["DomInteractive"] = "DOM_INTERACTIVE";
|
|
33403
|
+
KeyPerformanceMetricsLoadActionKpm2["LoadEventStart"] = "LOAD_EVENT_START";
|
|
33404
|
+
KeyPerformanceMetricsLoadActionKpm2["LoadEventEnd"] = "LOAD_EVENT_END";
|
|
33405
|
+
KeyPerformanceMetricsLoadActionKpm2["ResponseStart"] = "RESPONSE_START";
|
|
33406
|
+
KeyPerformanceMetricsLoadActionKpm2["ResponseEnd"] = "RESPONSE_END";
|
|
33407
|
+
KeyPerformanceMetricsLoadActionKpm2["LargestContentfulPaint"] = "LARGEST_CONTENTFUL_PAINT";
|
|
33408
|
+
KeyPerformanceMetricsLoadActionKpm2["CumulativeLayoutShift"] = "CUMULATIVE_LAYOUT_SHIFT";
|
|
33409
|
+
return KeyPerformanceMetricsLoadActionKpm2;
|
|
33410
|
+
})(KeyPerformanceMetricsLoadActionKpm || {});
|
|
33411
|
+
|
|
33412
|
+
// packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-xhr-action-kpm.ts
|
|
33413
|
+
var KeyPerformanceMetricsXhrActionKpm = /* @__PURE__ */ ((KeyPerformanceMetricsXhrActionKpm2) => {
|
|
33414
|
+
KeyPerformanceMetricsXhrActionKpm2["UserActionDuration"] = "USER_ACTION_DURATION";
|
|
33415
|
+
KeyPerformanceMetricsXhrActionKpm2["VisuallyComplete"] = "VISUALLY_COMPLETE";
|
|
33416
|
+
KeyPerformanceMetricsXhrActionKpm2["ResponseStart"] = "RESPONSE_START";
|
|
33417
|
+
KeyPerformanceMetricsXhrActionKpm2["ResponseEnd"] = "RESPONSE_END";
|
|
33418
|
+
return KeyPerformanceMetricsXhrActionKpm2;
|
|
33419
|
+
})(KeyPerformanceMetricsXhrActionKpm || {});
|
|
33420
|
+
|
|
33421
|
+
// packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto-type.ts
|
|
33422
|
+
var KeystrokesInputDtoType = /* @__PURE__ */ ((KeystrokesInputDtoType2) => {
|
|
33423
|
+
KeystrokesInputDtoType2["Plain"] = "PLAIN";
|
|
33424
|
+
KeystrokesInputDtoType2["Secure"] = "SECURE";
|
|
33425
|
+
return KeystrokesInputDtoType2;
|
|
33426
|
+
})(KeystrokesInputDtoType || {});
|
|
33427
|
+
|
|
32529
33428
|
// packages/client/classic-environment-v2/src/lib/models/list-credentials-query-type.ts
|
|
32530
33429
|
var ListCredentialsQueryType = /* @__PURE__ */ ((ListCredentialsQueryType2) => {
|
|
32531
33430
|
ListCredentialsQueryType2["Certificate"] = "CERTIFICATE";
|
|
@@ -32584,6 +33483,13 @@ var LocationCollectionElementType = /* @__PURE__ */ ((LocationCollectionElementT
|
|
|
32584
33483
|
return LocationCollectionElementType2;
|
|
32585
33484
|
})(LocationCollectionElementType || {});
|
|
32586
33485
|
|
|
33486
|
+
// packages/client/classic-environment-v2/src/lib/models/locator-dto-type.ts
|
|
33487
|
+
var LocatorDtoType = /* @__PURE__ */ ((LocatorDtoType2) => {
|
|
33488
|
+
LocatorDtoType2["Css"] = "CSS";
|
|
33489
|
+
LocatorDtoType2["Dom"] = "DOM";
|
|
33490
|
+
return LocatorDtoType2;
|
|
33491
|
+
})(LocatorDtoType || {});
|
|
33492
|
+
|
|
32587
33493
|
// packages/client/classic-environment-v2/src/lib/models/log-record-event-type.ts
|
|
32588
33494
|
var LogRecordEventType = /* @__PURE__ */ ((LogRecordEventType2) => {
|
|
32589
33495
|
LogRecordEventType2["K8S"] = "K8S";
|
|
@@ -32789,6 +33695,14 @@ var PrivateSyntheticLocationDeploymentType = /* @__PURE__ */ ((PrivateSyntheticL
|
|
|
32789
33695
|
return PrivateSyntheticLocationDeploymentType2;
|
|
32790
33696
|
})(PrivateSyntheticLocationDeploymentType || {});
|
|
32791
33697
|
|
|
33698
|
+
// packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-fips-mode.ts
|
|
33699
|
+
var PrivateSyntheticLocationFipsMode = /* @__PURE__ */ ((PrivateSyntheticLocationFipsMode2) => {
|
|
33700
|
+
PrivateSyntheticLocationFipsMode2["Disabled"] = "DISABLED";
|
|
33701
|
+
PrivateSyntheticLocationFipsMode2["Enabled"] = "ENABLED";
|
|
33702
|
+
PrivateSyntheticLocationFipsMode2["EnabledWithCorporateProxy"] = "ENABLED_WITH_CORPORATE_PROXY";
|
|
33703
|
+
return PrivateSyntheticLocationFipsMode2;
|
|
33704
|
+
})(PrivateSyntheticLocationFipsMode || {});
|
|
33705
|
+
|
|
32792
33706
|
// packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-status.ts
|
|
32793
33707
|
var PrivateSyntheticLocationStatus = /* @__PURE__ */ ((PrivateSyntheticLocationStatus2) => {
|
|
32794
33708
|
PrivateSyntheticLocationStatus2["Disabled"] = "DISABLED";
|
|
@@ -32965,6 +33879,16 @@ var RemovePermissionPathAccessorType = /* @__PURE__ */ ((RemovePermissionPathAcc
|
|
|
32965
33879
|
return RemovePermissionPathAccessorType2;
|
|
32966
33880
|
})(RemovePermissionPathAccessorType || {});
|
|
32967
33881
|
|
|
33882
|
+
// packages/client/classic-environment-v2/src/lib/models/request-filter-dto-type.ts
|
|
33883
|
+
var RequestFilterDtoType = /* @__PURE__ */ ((RequestFilterDtoType2) => {
|
|
33884
|
+
RequestFilterDtoType2["StartsWith"] = "STARTS_WITH";
|
|
33885
|
+
RequestFilterDtoType2["EndsWith"] = "ENDS_WITH";
|
|
33886
|
+
RequestFilterDtoType2["Contains"] = "CONTAINS";
|
|
33887
|
+
RequestFilterDtoType2["Equals"] = "EQUALS";
|
|
33888
|
+
RequestFilterDtoType2["Regex"] = "REGEX";
|
|
33889
|
+
return RequestFilterDtoType2;
|
|
33890
|
+
})(RequestFilterDtoType || {});
|
|
33891
|
+
|
|
32968
33892
|
// packages/client/classic-environment-v2/src/lib/models/resource-context-operations-item.ts
|
|
32969
33893
|
var ResourceContextOperationsItem = /* @__PURE__ */ ((ResourceContextOperationsItem2) => {
|
|
32970
33894
|
ResourceContextOperationsItem2["Delete"] = "delete";
|
|
@@ -33182,6 +34106,22 @@ var SchemaConstraintRestDtoType = /* @__PURE__ */ ((SchemaConstraintRestDtoType2
|
|
|
33182
34106
|
return SchemaConstraintRestDtoType2;
|
|
33183
34107
|
})(SchemaConstraintRestDtoType || {});
|
|
33184
34108
|
|
|
34109
|
+
// packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-maturity.ts
|
|
34110
|
+
var SchemaDefinitionRestDtoMaturity = /* @__PURE__ */ ((SchemaDefinitionRestDtoMaturity2) => {
|
|
34111
|
+
SchemaDefinitionRestDtoMaturity2["EarlyAdopter"] = "EARLY_ADOPTER";
|
|
34112
|
+
SchemaDefinitionRestDtoMaturity2["GeneralAvailability"] = "GENERAL_AVAILABILITY";
|
|
34113
|
+
SchemaDefinitionRestDtoMaturity2["Preview"] = "PREVIEW";
|
|
34114
|
+
return SchemaDefinitionRestDtoMaturity2;
|
|
34115
|
+
})(SchemaDefinitionRestDtoMaturity || {});
|
|
34116
|
+
|
|
34117
|
+
// packages/client/classic-environment-v2/src/lib/models/schema-stub-maturity.ts
|
|
34118
|
+
var SchemaStubMaturity = /* @__PURE__ */ ((SchemaStubMaturity2) => {
|
|
34119
|
+
SchemaStubMaturity2["EarlyAdopter"] = "EARLY_ADOPTER";
|
|
34120
|
+
SchemaStubMaturity2["GeneralAvailability"] = "GENERAL_AVAILABILITY";
|
|
34121
|
+
SchemaStubMaturity2["Preview"] = "PREVIEW";
|
|
34122
|
+
return SchemaStubMaturity2;
|
|
34123
|
+
})(SchemaStubMaturity || {});
|
|
34124
|
+
|
|
33185
34125
|
// packages/client/classic-environment-v2/src/lib/models/schema-type-type.ts
|
|
33186
34126
|
var SchemaTypeType = /* @__PURE__ */ ((SchemaTypeType2) => {
|
|
33187
34127
|
SchemaTypeType2["Object"] = "object";
|
|
@@ -33230,6 +34170,8 @@ var SecurityProblemEventReason = /* @__PURE__ */ ((SecurityProblemEventReason2)
|
|
|
33230
34170
|
SecurityProblemEventReason2["SecurityProblemReopened"] = "SECURITY_PROBLEM_REOPENED";
|
|
33231
34171
|
SecurityProblemEventReason2["SecurityProblemResolved"] = "SECURITY_PROBLEM_RESOLVED";
|
|
33232
34172
|
SecurityProblemEventReason2["SecurityProblemUnmuted"] = "SECURITY_PROBLEM_UNMUTED";
|
|
34173
|
+
SecurityProblemEventReason2["VulnerabilityDiscontinued"] = "VULNERABILITY_DISCONTINUED";
|
|
34174
|
+
SecurityProblemEventReason2["VulnerabilityIdChanged"] = "VULNERABILITY_ID_CHANGED";
|
|
33233
34175
|
return SecurityProblemEventReason2;
|
|
33234
34176
|
})(SecurityProblemEventReason || {});
|
|
33235
34177
|
|
|
@@ -33320,6 +34262,39 @@ var SLOStatus = /* @__PURE__ */ ((SLOStatus2) => {
|
|
|
33320
34262
|
return SLOStatus2;
|
|
33321
34263
|
})(SLOStatus || {});
|
|
33322
34264
|
|
|
34265
|
+
// packages/client/classic-environment-v2/src/lib/models/store-log-query-structure.ts
|
|
34266
|
+
var StoreLogQueryStructure = /* @__PURE__ */ ((StoreLogQueryStructure2) => {
|
|
34267
|
+
StoreLogQueryStructure2["Flattened"] = "flattened";
|
|
34268
|
+
StoreLogQueryStructure2["Raw"] = "raw";
|
|
34269
|
+
return StoreLogQueryStructure2;
|
|
34270
|
+
})(StoreLogQueryStructure || {});
|
|
34271
|
+
|
|
34272
|
+
// packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request-type.ts
|
|
34273
|
+
var SyntheticBrowserMonitorRequestType = /* @__PURE__ */ ((SyntheticBrowserMonitorRequestType2) => {
|
|
34274
|
+
SyntheticBrowserMonitorRequestType2["MultiProtocol"] = "MULTI_PROTOCOL";
|
|
34275
|
+
SyntheticBrowserMonitorRequestType2["Browser"] = "BROWSER";
|
|
34276
|
+
return SyntheticBrowserMonitorRequestType2;
|
|
34277
|
+
})(SyntheticBrowserMonitorRequestType || {});
|
|
34278
|
+
|
|
34279
|
+
// packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response-type.ts
|
|
34280
|
+
var SyntheticBrowserMonitorResponseType = /* @__PURE__ */ ((SyntheticBrowserMonitorResponseType2) => {
|
|
34281
|
+
SyntheticBrowserMonitorResponseType2["MultiProtocol"] = "MULTI_PROTOCOL";
|
|
34282
|
+
SyntheticBrowserMonitorResponseType2["Browser"] = "BROWSER";
|
|
34283
|
+
return SyntheticBrowserMonitorResponseType2;
|
|
34284
|
+
})(SyntheticBrowserMonitorResponseType || {});
|
|
34285
|
+
|
|
34286
|
+
// packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto-type.ts
|
|
34287
|
+
var SyntheticBrowserMonitorStepDtoType = /* @__PURE__ */ ((SyntheticBrowserMonitorStepDtoType2) => {
|
|
34288
|
+
SyntheticBrowserMonitorStepDtoType2["Click"] = "CLICK";
|
|
34289
|
+
SyntheticBrowserMonitorStepDtoType2["Cookie"] = "COOKIE";
|
|
34290
|
+
SyntheticBrowserMonitorStepDtoType2["Javascript"] = "JAVASCRIPT";
|
|
34291
|
+
SyntheticBrowserMonitorStepDtoType2["Keystrokes"] = "KEYSTROKES";
|
|
34292
|
+
SyntheticBrowserMonitorStepDtoType2["Navigate"] = "NAVIGATE";
|
|
34293
|
+
SyntheticBrowserMonitorStepDtoType2["SelectOption"] = "SELECT_OPTION";
|
|
34294
|
+
SyntheticBrowserMonitorStepDtoType2["Tap"] = "TAP";
|
|
34295
|
+
return SyntheticBrowserMonitorStepDtoType2;
|
|
34296
|
+
})(SyntheticBrowserMonitorStepDtoType || {});
|
|
34297
|
+
|
|
33323
34298
|
// packages/client/classic-environment-v2/src/lib/models/synthetic-location-status.ts
|
|
33324
34299
|
var SyntheticLocationStatus = /* @__PURE__ */ ((SyntheticLocationStatus2) => {
|
|
33325
34300
|
SyntheticLocationStatus2["Disabled"] = "DISABLED";
|
|
@@ -33343,6 +34318,15 @@ var SyntheticLocationUpdateType = /* @__PURE__ */ ((SyntheticLocationUpdateType2
|
|
|
33343
34318
|
return SyntheticLocationUpdateType2;
|
|
33344
34319
|
})(SyntheticLocationUpdateType || {});
|
|
33345
34320
|
|
|
34321
|
+
// packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto-origin.ts
|
|
34322
|
+
var SyntheticMonitorOutageHandlingSettingsDtoOrigin = /* @__PURE__ */ ((SyntheticMonitorOutageHandlingSettingsDtoOrigin2) => {
|
|
34323
|
+
SyntheticMonitorOutageHandlingSettingsDtoOrigin2["Monitor"] = "MONITOR";
|
|
34324
|
+
SyntheticMonitorOutageHandlingSettingsDtoOrigin2["Tenant"] = "TENANT";
|
|
34325
|
+
SyntheticMonitorOutageHandlingSettingsDtoOrigin2["Default"] = "DEFAULT";
|
|
34326
|
+
SyntheticMonitorOutageHandlingSettingsDtoOrigin2["Unknown"] = "UNKNOWN";
|
|
34327
|
+
return SyntheticMonitorOutageHandlingSettingsDtoOrigin2;
|
|
34328
|
+
})(SyntheticMonitorOutageHandlingSettingsDtoOrigin || {});
|
|
34329
|
+
|
|
33346
34330
|
// packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-aggregation.ts
|
|
33347
34331
|
var SyntheticMonitorPerformanceThresholdDtoAggregation = /* @__PURE__ */ ((SyntheticMonitorPerformanceThresholdDtoAggregation2) => {
|
|
33348
34332
|
SyntheticMonitorPerformanceThresholdDtoAggregation2["Avg"] = "AVG";
|
|
@@ -33370,6 +34354,7 @@ var SyntheticMonitorSummaryDtoType = /* @__PURE__ */ ((SyntheticMonitorSummaryDt
|
|
|
33370
34354
|
// packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request-type.ts
|
|
33371
34355
|
var SyntheticMultiProtocolMonitorRequestType = /* @__PURE__ */ ((SyntheticMultiProtocolMonitorRequestType2) => {
|
|
33372
34356
|
SyntheticMultiProtocolMonitorRequestType2["MultiProtocol"] = "MULTI_PROTOCOL";
|
|
34357
|
+
SyntheticMultiProtocolMonitorRequestType2["Browser"] = "BROWSER";
|
|
33373
34358
|
return SyntheticMultiProtocolMonitorRequestType2;
|
|
33374
34359
|
})(SyntheticMultiProtocolMonitorRequestType || {});
|
|
33375
34360
|
|
|
@@ -33377,7 +34362,6 @@ var SyntheticMultiProtocolMonitorRequestType = /* @__PURE__ */ ((SyntheticMultiP
|
|
|
33377
34362
|
var SyntheticMultiProtocolMonitorResponseType = /* @__PURE__ */ ((SyntheticMultiProtocolMonitorResponseType2) => {
|
|
33378
34363
|
SyntheticMultiProtocolMonitorResponseType2["MultiProtocol"] = "MULTI_PROTOCOL";
|
|
33379
34364
|
SyntheticMultiProtocolMonitorResponseType2["Browser"] = "BROWSER";
|
|
33380
|
-
SyntheticMultiProtocolMonitorResponseType2["Http"] = "HTTP";
|
|
33381
34365
|
return SyntheticMultiProtocolMonitorResponseType2;
|
|
33382
34366
|
})(SyntheticMultiProtocolMonitorResponseType || {});
|
|
33383
34367
|
|
|
@@ -33512,6 +34496,14 @@ var UpdatePermissionsRequestPermissionsItem = /* @__PURE__ */ ((UpdatePermission
|
|
|
33512
34496
|
return UpdatePermissionsRequestPermissionsItem2;
|
|
33513
34497
|
})(UpdatePermissionsRequestPermissionsItem || {});
|
|
33514
34498
|
|
|
34499
|
+
// packages/client/classic-environment-v2/src/lib/models/validation-rule-dto-type.ts
|
|
34500
|
+
var ValidationRuleDtoType = /* @__PURE__ */ ((ValidationRuleDtoType2) => {
|
|
34501
|
+
ValidationRuleDtoType2["TextMatch"] = "TEXT_MATCH";
|
|
34502
|
+
ValidationRuleDtoType2["ContentMatch"] = "CONTENT_MATCH";
|
|
34503
|
+
ValidationRuleDtoType2["ElementMatch"] = "ELEMENT_MATCH";
|
|
34504
|
+
return ValidationRuleDtoType2;
|
|
34505
|
+
})(ValidationRuleDtoType || {});
|
|
34506
|
+
|
|
33515
34507
|
// packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment-type.ts
|
|
33516
34508
|
var VulnerableFunctionInputSegmentType = /* @__PURE__ */ ((VulnerableFunctionInputSegmentType2) => {
|
|
33517
34509
|
VulnerableFunctionInputSegmentType2["MaliciousInput"] = "MALICIOUS_INPUT";
|
|
@@ -33578,8 +34570,12 @@ export {
|
|
|
33578
34570
|
AuditLogEntryEventType,
|
|
33579
34571
|
AuditLogEntryUserType,
|
|
33580
34572
|
AuditLogsClient,
|
|
34573
|
+
AuthenticationDtoInputType,
|
|
34574
|
+
AuthenticationDtoType,
|
|
34575
|
+
BaseWaitConditionDtoType,
|
|
33581
34576
|
BizEventIngestResultError,
|
|
33582
34577
|
BusinessEventsClient,
|
|
34578
|
+
ChromiumStartupFlagsDtoAutoplayPolicy,
|
|
33583
34579
|
ClientRequestError41 as ClientRequestError,
|
|
33584
34580
|
CodeLevelVulnerabilityDetailsType,
|
|
33585
34581
|
ComplexConstraintType,
|
|
@@ -33600,6 +34596,8 @@ export {
|
|
|
33600
34596
|
DavisSecurityAdvisorClient,
|
|
33601
34597
|
DeletionConstraintType,
|
|
33602
34598
|
EffectivePermissionGranted,
|
|
34599
|
+
EnablementDtoOrigin,
|
|
34600
|
+
EnablementDtoPerformanceMetric,
|
|
33603
34601
|
EntryPointUsageSegmentSegmentType,
|
|
33604
34602
|
EntryPointUsageSegmentSourceType,
|
|
33605
34603
|
EntrypointPayloadType,
|
|
@@ -33621,6 +34619,7 @@ export {
|
|
|
33621
34619
|
ExternalVaultConfigType,
|
|
33622
34620
|
ExternalVaultSourceAuthMethod,
|
|
33623
34621
|
FilterType,
|
|
34622
|
+
FilteredRequestsDtoMode,
|
|
33624
34623
|
GetAllActiveGatesQueryAutoUpdate,
|
|
33625
34624
|
GetAllActiveGatesQueryDisabledModuleItem,
|
|
33626
34625
|
GetAllActiveGatesQueryEnabledModuleItem,
|
|
@@ -33657,12 +34656,16 @@ export {
|
|
|
33657
34656
|
IdentityType,
|
|
33658
34657
|
ImpactImpactType,
|
|
33659
34658
|
InvalidResponseError35 as InvalidResponseError,
|
|
34659
|
+
KeyPerformanceMetricsLoadActionKpm,
|
|
34660
|
+
KeyPerformanceMetricsXhrActionKpm,
|
|
34661
|
+
KeystrokesInputDtoType,
|
|
33660
34662
|
ListCredentialsQueryType,
|
|
33661
34663
|
LocationCollectionElementCloudPlatform,
|
|
33662
34664
|
LocationCollectionElementDeploymentType,
|
|
33663
34665
|
LocationCollectionElementStage,
|
|
33664
34666
|
LocationCollectionElementStatus,
|
|
33665
34667
|
LocationCollectionElementType,
|
|
34668
|
+
LocatorDtoType,
|
|
33666
34669
|
LogRecordEventType,
|
|
33667
34670
|
LogRecordStatus,
|
|
33668
34671
|
LogsClient,
|
|
@@ -33685,6 +34688,7 @@ export {
|
|
|
33685
34688
|
NetworkZonesClient,
|
|
33686
34689
|
PreconditionType,
|
|
33687
34690
|
PrivateSyntheticLocationDeploymentType,
|
|
34691
|
+
PrivateSyntheticLocationFipsMode,
|
|
33688
34692
|
PrivateSyntheticLocationStatus,
|
|
33689
34693
|
PrivateSyntheticLocationType,
|
|
33690
34694
|
ProblemImpactLevel,
|
|
@@ -33708,6 +34712,7 @@ export {
|
|
|
33708
34712
|
RemediationProgressEntityAssessmentVulnerableFunctionUsage,
|
|
33709
34713
|
RemediationProgressEntityState,
|
|
33710
34714
|
RemovePermissionPathAccessorType,
|
|
34715
|
+
RequestFilterDtoType,
|
|
33711
34716
|
ResourceContextOperationsItem,
|
|
33712
34717
|
RevisionDiffType,
|
|
33713
34718
|
RiskAssessmentAssessmentAccuracy,
|
|
@@ -33736,6 +34741,8 @@ export {
|
|
|
33736
34741
|
SLOEvaluationType,
|
|
33737
34742
|
SLOStatus,
|
|
33738
34743
|
SchemaConstraintRestDtoType,
|
|
34744
|
+
SchemaDefinitionRestDtoMaturity,
|
|
34745
|
+
SchemaStubMaturity,
|
|
33739
34746
|
SchemaTypeType,
|
|
33740
34747
|
SecurityProblemBulkMutingSummaryReason,
|
|
33741
34748
|
SecurityProblemDetailsStatus,
|
|
@@ -33758,11 +34765,16 @@ export {
|
|
|
33758
34765
|
SettingsSchemasClient,
|
|
33759
34766
|
SloBurnRateBurnRateType,
|
|
33760
34767
|
SloConfigItemDtoImplEvaluationType,
|
|
34768
|
+
StoreLogQueryStructure,
|
|
34769
|
+
SyntheticBrowserMonitorRequestType,
|
|
34770
|
+
SyntheticBrowserMonitorResponseType,
|
|
34771
|
+
SyntheticBrowserMonitorStepDtoType,
|
|
33761
34772
|
SyntheticHttpMonitorExecutionsClient,
|
|
33762
34773
|
SyntheticLocationStatus,
|
|
33763
34774
|
SyntheticLocationType,
|
|
33764
34775
|
SyntheticLocationUpdateType,
|
|
33765
34776
|
SyntheticLocationsNodesAndConfigurationClient,
|
|
34777
|
+
SyntheticMonitorOutageHandlingSettingsDtoOrigin,
|
|
33766
34778
|
SyntheticMonitorPerformanceThresholdDtoAggregation,
|
|
33767
34779
|
SyntheticMonitorPerformanceThresholdDtoType,
|
|
33768
34780
|
SyntheticMonitorSummaryDtoType,
|
|
@@ -33786,6 +34798,7 @@ export {
|
|
|
33786
34798
|
UpdatePermissionPathAccessorType,
|
|
33787
34799
|
UpdatePermissionsRequestPermissionsItem,
|
|
33788
34800
|
ValidationResponseError,
|
|
34801
|
+
ValidationRuleDtoType,
|
|
33789
34802
|
VulnerableFunctionInputSegmentType,
|
|
33790
34803
|
VulnerableFunctionInputType,
|
|
33791
34804
|
VulnerableFunctionProcessGroupsUsage,
|