@dynatrace-sdk/client-classic-environment-v2 1.1.0 → 1.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 +29 -6
- package/README.md +15 -44
- package/cjs/index.js +1831 -1657
- package/docs/DOCS.md +4054 -11777
- package/dynatrace-metadata.json +2 -5
- package/esm/index.js +1831 -1657
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +36 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +60 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +33 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +48 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +75 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +19 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +54 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +18 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +63 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +231 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +53 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +52 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +50 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +37 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +55 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +77 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +173 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +78 -8
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +97 -9
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +23 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +14 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +31 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +64 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +12 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +6 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/comment.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/comment.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-segment-type.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-segment-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-source-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-source-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-points.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-points.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/error.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/error.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +26 -26
- package/types/packages/client/classic-environment-v2/src/lib/models/event.transformation.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/item.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +55 -55
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.transformation.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.d.ts +29 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-severity.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +10 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.transformation.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -18
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.transformation.d.ts +9 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +16 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/release.transformation.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +19 -17
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +7 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +23 -23
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.transformation.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +58 -53
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.transformation.d.ts +19 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/success.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/success.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-column-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-column-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +19 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.transformation.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-response.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-response.transformation.d.ts +1 -1
|
@@ -10,10 +10,23 @@ export declare class SyntheticHttpMonitorExecutionsClient {
|
|
|
10
10
|
*/
|
|
11
11
|
constructor(httpClientImplementation: HttpClient);
|
|
12
12
|
/**
|
|
13
|
-
* Gets detailed information about the last execution of the specified HTTP monitor
|
|
13
|
+
* Gets detailed information about the last execution of the specified HTTP monitor
|
|
14
14
|
*
|
|
15
15
|
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
16
|
+
*
|
|
16
17
|
* @returns Success. The response contains detailed data.
|
|
18
|
+
*
|
|
19
|
+
* @example <caption>Code example</caption>
|
|
20
|
+
* import { syntheticHttpMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
21
|
+
*
|
|
22
|
+
* const data =
|
|
23
|
+
* await syntheticHttpMonitorExecutionsClient.getExecutionResult(
|
|
24
|
+
* {
|
|
25
|
+
* monitorId: "...",
|
|
26
|
+
* resultType: {} as GetExecutionResultPathResultType,
|
|
27
|
+
* locationId: "...",
|
|
28
|
+
* }
|
|
29
|
+
* );
|
|
17
30
|
*/
|
|
18
31
|
getExecutionResult(config: {
|
|
19
32
|
/** Identifier of the HTTP monitor for which last execution result is returned. */ monitorId: string;
|
|
@@ -13,14 +13,30 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
13
13
|
* Gets set of synthetic related parameters defined for whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER
|
|
14
14
|
*
|
|
15
15
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
16
|
+
*
|
|
16
17
|
* @returns Success. The response contains synthetic related parameters defined for whole tenant.
|
|
18
|
+
*
|
|
19
|
+
* @example <caption>Code example</caption>
|
|
20
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
21
|
+
*
|
|
22
|
+
* const data =
|
|
23
|
+
* await syntheticLocationsNodesAndConfigurationClient.getConfiguration();
|
|
17
24
|
*/
|
|
18
25
|
getConfiguration(abortSignal?: AbortSignal): Promise<SyntheticConfigDto>;
|
|
19
26
|
/**
|
|
20
27
|
* Updates set of synthetic related parameters defined for whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER
|
|
21
28
|
*
|
|
22
29
|
* **Required scope:** environment-api:synthetic:write<br/>**Required permission:** environment:roles:manage-settings
|
|
30
|
+
*
|
|
23
31
|
* @returns Success. The set of synthetic related parameters has been updated. Response doesn't have a body.
|
|
32
|
+
*
|
|
33
|
+
* @example <caption>Code example</caption>
|
|
34
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
35
|
+
*
|
|
36
|
+
* const data =
|
|
37
|
+
* await syntheticLocationsNodesAndConfigurationClient.updateConfiguration(
|
|
38
|
+
* { body: {} as SyntheticConfigDto }
|
|
39
|
+
* );
|
|
24
40
|
*/
|
|
25
41
|
updateConfiguration(config: {
|
|
26
42
|
body: SyntheticConfigDto;
|
|
@@ -30,13 +46,28 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
30
46
|
* Checks the status of public synthetic locations
|
|
31
47
|
*
|
|
32
48
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
49
|
+
*
|
|
33
50
|
* @returns Success. The response contains the public locations status.
|
|
51
|
+
*
|
|
52
|
+
* @example <caption>Code example</caption>
|
|
53
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
54
|
+
*
|
|
55
|
+
* const data =
|
|
56
|
+
* await syntheticLocationsNodesAndConfigurationClient.getLocationsStatus();
|
|
34
57
|
*/
|
|
35
58
|
getLocationsStatus(abortSignal?: AbortSignal): Promise<SyntheticPublicLocationsStatus>;
|
|
36
59
|
/**
|
|
37
60
|
* Changes the status of public synthetic locations
|
|
38
61
|
*
|
|
39
62
|
* **Required scope:** environment-api:synthetic:write<br/>**Required permission:** environment:roles:manage-settings
|
|
63
|
+
*
|
|
64
|
+
* @example <caption>Code example</caption>
|
|
65
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
66
|
+
*
|
|
67
|
+
* const data =
|
|
68
|
+
* await syntheticLocationsNodesAndConfigurationClient.updateLocationsStatus(
|
|
69
|
+
* { body: {} as SyntheticPublicLocationsStatus }
|
|
70
|
+
* );
|
|
40
71
|
*/
|
|
41
72
|
updateLocationsStatus(config: {
|
|
42
73
|
body: SyntheticPublicLocationsStatus;
|
|
@@ -18,50 +18,109 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
18
18
|
*/
|
|
19
19
|
constructor(httpClientImplementation: HttpClient);
|
|
20
20
|
/**
|
|
21
|
-
* Triggers on-demand executions for synthetic monitors
|
|
21
|
+
* Triggers on-demand executions for synthetic monitors
|
|
22
22
|
*
|
|
23
23
|
* **Required scope:** environment-api:synthetic-execution:write<br/>**Required permission:** environment:roles:viewer
|
|
24
|
+
*
|
|
24
25
|
* @returns Success. The monitor's execution response details
|
|
26
|
+
*
|
|
27
|
+
* @example <caption>Code example</caption>
|
|
28
|
+
* import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
29
|
+
*
|
|
30
|
+
* const data =
|
|
31
|
+
* await syntheticOnDemandMonitorExecutionsClient.execute({
|
|
32
|
+
* body: {} as SyntheticOnDemandExecutionRequest,
|
|
33
|
+
* });
|
|
25
34
|
*/
|
|
26
35
|
execute(config: {
|
|
27
36
|
body: SyntheticOnDemandExecutionRequest;
|
|
28
37
|
abortSignal?: AbortSignal;
|
|
29
38
|
}): Promise<SyntheticOnDemandExecutionResult>;
|
|
30
39
|
/**
|
|
31
|
-
* Gets summary information and the list of failed executions for the given batch ID
|
|
40
|
+
* Gets summary information and the list of failed executions for the given batch ID
|
|
32
41
|
*
|
|
33
42
|
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
43
|
+
*
|
|
34
44
|
* @returns Success
|
|
45
|
+
*
|
|
46
|
+
* @example <caption>Code example</caption>
|
|
47
|
+
* import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
48
|
+
*
|
|
49
|
+
* const data =
|
|
50
|
+
* await syntheticOnDemandMonitorExecutionsClient.getBatch({
|
|
51
|
+
* batchId: 123,
|
|
52
|
+
* });
|
|
35
53
|
*/
|
|
36
54
|
getBatch(config: {
|
|
37
55
|
/** The batch identifier of the executions. */ batchId: number;
|
|
38
56
|
abortSignal?: AbortSignal;
|
|
39
57
|
}): Promise<SyntheticOnDemandBatchStatus>;
|
|
40
58
|
/**
|
|
41
|
-
* Gets basic results of the specified on-demand execution
|
|
59
|
+
* Gets basic results of the specified on-demand execution
|
|
42
60
|
*
|
|
43
61
|
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
62
|
+
*
|
|
44
63
|
* @returns Success. The response contains basic information about the on-demand execution.
|
|
64
|
+
*
|
|
65
|
+
* @example <caption>Code example</caption>
|
|
66
|
+
* import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
67
|
+
*
|
|
68
|
+
* const data =
|
|
69
|
+
* await syntheticOnDemandMonitorExecutionsClient.getExecution(
|
|
70
|
+
* { executionId: 123 }
|
|
71
|
+
* );
|
|
45
72
|
*/
|
|
46
73
|
getExecution(config: {
|
|
47
74
|
/** The identifier of the on-demand execution. */ executionId: number;
|
|
48
75
|
abortSignal?: AbortSignal;
|
|
49
76
|
}): Promise<SyntheticOnDemandExecution>;
|
|
50
77
|
/**
|
|
51
|
-
* Gets detailed results of the specified on-demand execution
|
|
78
|
+
* Gets detailed results of the specified on-demand execution
|
|
52
79
|
*
|
|
53
80
|
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
81
|
+
*
|
|
54
82
|
* @returns Success. The response contains detailed information about the on-demand execution.
|
|
83
|
+
*
|
|
84
|
+
* @example <caption>Code example</caption>
|
|
85
|
+
* import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
86
|
+
*
|
|
87
|
+
* const data =
|
|
88
|
+
* await syntheticOnDemandMonitorExecutionsClient.getExecutionFullReport(
|
|
89
|
+
* { executionId: 123 }
|
|
90
|
+
* );
|
|
55
91
|
*/
|
|
56
92
|
getExecutionFullReport(config: {
|
|
57
93
|
/** The identifier of the on-demand execution. */ executionId: number;
|
|
58
94
|
abortSignal?: AbortSignal;
|
|
59
95
|
}): Promise<SyntheticOnDemandExecution>;
|
|
60
96
|
/**
|
|
61
|
-
* Gets the list of all on-demand executions of synthetic monitors
|
|
97
|
+
* Gets the list of all on-demand executions of synthetic monitors
|
|
62
98
|
*
|
|
63
99
|
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
100
|
+
*
|
|
64
101
|
* @returns Success
|
|
102
|
+
*
|
|
103
|
+
* @example <caption>Code example</caption>
|
|
104
|
+
* import { syntheticOnDemandMonitorExecutionsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
105
|
+
*
|
|
106
|
+
* const data =
|
|
107
|
+
* await syntheticOnDemandMonitorExecutionsClient.getExecutions(
|
|
108
|
+
* {
|
|
109
|
+
* executionStage:
|
|
110
|
+
* {} as GetExecutionsQueryExecutionStage,
|
|
111
|
+
* schedulingFrom: "...",
|
|
112
|
+
* schedulingTo: "...",
|
|
113
|
+
* executionFrom: "...",
|
|
114
|
+
* executionTo: "...",
|
|
115
|
+
* dataDeliveryFrom: "...",
|
|
116
|
+
* dataDeliveryTo: "...",
|
|
117
|
+
* batchId: 123,
|
|
118
|
+
* monitorId: "...",
|
|
119
|
+
* locationId: "...",
|
|
120
|
+
* userId: "...",
|
|
121
|
+
* source: {} as GetExecutionsQuerySource,
|
|
122
|
+
* }
|
|
123
|
+
* );
|
|
65
124
|
*/
|
|
66
125
|
getExecutions(config?: {
|
|
67
126
|
/** Filters the resulting set of executions by their stage. */ executionStage?: GetExecutionsQueryExecutionStage;
|
|
@@ -12,10 +12,10 @@ export interface ActiveGateModule {
|
|
|
12
12
|
* The version of the ActiveGate module.
|
|
13
13
|
*/
|
|
14
14
|
version?: string;
|
|
15
|
-
type?: ActiveGateModuleType;
|
|
16
|
-
attributes?: ActiveGateModuleAttributes;
|
|
17
15
|
/**
|
|
18
16
|
* The module is enabled (`true`) or disabled (`false`).
|
|
19
17
|
*/
|
|
20
18
|
enabled?: boolean;
|
|
19
|
+
type?: ActiveGateModuleType;
|
|
20
|
+
attributes?: ActiveGateModuleAttributes;
|
|
21
21
|
}
|
|
@@ -4,9 +4,9 @@ import * as _ActiveGateModuleTypeTransformation from './active-gate-module-type.
|
|
|
4
4
|
export interface AsJson {
|
|
5
5
|
misconfigured?: boolean;
|
|
6
6
|
version?: string;
|
|
7
|
+
enabled?: boolean;
|
|
7
8
|
type?: _ActiveGateModuleTypeTransformation.AsJson;
|
|
8
9
|
attributes?: _ActiveGateModuleAttributesTransformation.AsJson;
|
|
9
|
-
enabled?: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare function fromJson($model: AsJson): ActiveGateModule;
|
|
12
12
|
export declare function toJson($model: ActiveGateModule): AsJson;
|
|
@@ -73,5 +73,7 @@ export declare enum ApiTokenCreateScopesItem {
|
|
|
73
73
|
TracesLookup = "traces.lookup",
|
|
74
74
|
HubRead = "hub.read",
|
|
75
75
|
HubWrite = "hub.write",
|
|
76
|
-
HubInstall = "hub.install"
|
|
76
|
+
HubInstall = "hub.install",
|
|
77
|
+
JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
|
|
78
|
+
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write"
|
|
77
79
|
}
|
|
@@ -3,6 +3,12 @@ import { ApiTokenCreateScopesItem } from './api-token-create-scopes-item';
|
|
|
3
3
|
* Parameters of a new API token.
|
|
4
4
|
*/
|
|
5
5
|
export interface ApiTokenCreate {
|
|
6
|
+
/**
|
|
7
|
+
* The token is a personal access token (`true`) or an API token (`false`).
|
|
8
|
+
*
|
|
9
|
+
* Personal access tokens are tied to the permissions of their owner.
|
|
10
|
+
*/
|
|
11
|
+
personalAccessToken?: boolean;
|
|
6
12
|
/**
|
|
7
13
|
* The expiration date of the token.
|
|
8
14
|
*
|
|
@@ -22,16 +28,6 @@ export interface ApiTokenCreate {
|
|
|
22
28
|
* If not set, the token never expires.
|
|
23
29
|
*/
|
|
24
30
|
expirationDate?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The token is a personal access token (`true`) or an API token (`false`).
|
|
27
|
-
*
|
|
28
|
-
* Personal access tokens are tied to the permissions of their owner.
|
|
29
|
-
*/
|
|
30
|
-
personalAccessToken?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* The name of the token.
|
|
33
|
-
*/
|
|
34
|
-
name: string;
|
|
35
31
|
/**
|
|
36
32
|
* A list of the scopes to be assigned to the token.
|
|
37
33
|
*
|
|
@@ -110,6 +106,12 @@ export interface ApiTokenCreate {
|
|
|
110
106
|
* * `hub.read`: Read Hub related data.
|
|
111
107
|
* * `hub.write`: Manage metadata of Hub items.
|
|
112
108
|
* * `hub.install`: Install and update Hub items.
|
|
109
|
+
* * `javaScriptMappingFiles.read`: Read JavaScript mapping files.
|
|
110
|
+
* * `javaScriptMappingFiles.write`: Write JavaScript mapping files.
|
|
113
111
|
*/
|
|
114
112
|
scopes: ApiTokenCreateScopesItem[];
|
|
113
|
+
/**
|
|
114
|
+
* The name of the token.
|
|
115
|
+
*/
|
|
116
|
+
name: string;
|
|
115
117
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ApiTokenCreate } from './api-token-create';
|
|
2
2
|
import * as _ApiTokenCreateScopesItemTransformation from './api-token-create-scopes-item.transformation';
|
|
3
3
|
export interface AsJson {
|
|
4
|
-
expirationDate?: string;
|
|
5
4
|
personalAccessToken?: boolean;
|
|
6
|
-
|
|
5
|
+
expirationDate?: string;
|
|
7
6
|
scopes: _ApiTokenCreateScopesItemTransformation.AsJson[];
|
|
7
|
+
name: string;
|
|
8
8
|
}
|
|
9
9
|
export declare function fromJson($model: AsJson): ApiTokenCreate;
|
|
10
10
|
export declare function toJson($model: ApiTokenCreate): AsJson;
|
|
@@ -6,12 +6,12 @@ export interface ApiTokenCreated {
|
|
|
6
6
|
* The token expiration date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`).
|
|
7
7
|
*/
|
|
8
8
|
expirationDate?: string;
|
|
9
|
-
/**
|
|
10
|
-
* The ID of the token, consisting of prefix and public part of the token.
|
|
11
|
-
*/
|
|
12
|
-
id?: string;
|
|
13
9
|
/**
|
|
14
10
|
* The secret of the token.
|
|
15
11
|
*/
|
|
16
12
|
token?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ID of the token, consisting of prefix and public part of the token.
|
|
15
|
+
*/
|
|
16
|
+
id?: string;
|
|
17
17
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApiTokenCreated } from './api-token-created';
|
|
2
2
|
export interface AsJson {
|
|
3
3
|
expirationDate?: string;
|
|
4
|
-
id?: string;
|
|
5
4
|
token?: string;
|
|
5
|
+
id?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare function fromJson($model: AsJson): ApiTokenCreated;
|
|
8
8
|
export declare function toJson($model: ApiTokenCreated): AsJson;
|
|
@@ -8,9 +8,9 @@ export interface ApiTokenList {
|
|
|
8
8
|
*/
|
|
9
9
|
apiTokens?: ApiToken[];
|
|
10
10
|
/**
|
|
11
|
-
* The
|
|
11
|
+
* The number of entries per page.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
pageSize?: number;
|
|
14
14
|
/**
|
|
15
15
|
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
16
16
|
*
|
|
@@ -18,7 +18,7 @@ export interface ApiTokenList {
|
|
|
18
18
|
*/
|
|
19
19
|
nextPageKey?: string;
|
|
20
20
|
/**
|
|
21
|
-
* The number of entries
|
|
21
|
+
* The total number of entries in the result.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
totalCount: number;
|
|
24
24
|
}
|
|
@@ -2,9 +2,9 @@ import { ApiTokenList } from './api-token-list';
|
|
|
2
2
|
import * as _ApiTokenTransformation from './api-token.transformation';
|
|
3
3
|
export interface AsJson {
|
|
4
4
|
apiTokens?: _ApiTokenTransformation.AsJson[];
|
|
5
|
-
totalCount: number;
|
|
6
|
-
nextPageKey?: string;
|
|
7
5
|
pageSize?: number;
|
|
6
|
+
nextPageKey?: string;
|
|
7
|
+
totalCount: number;
|
|
8
8
|
}
|
|
9
9
|
export declare function fromJson($model: AsJson): ApiTokenList;
|
|
10
10
|
export declare function toJson($model: ApiTokenList): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts
CHANGED
|
@@ -55,6 +55,8 @@ export declare enum ApiTokenScopesItem {
|
|
|
55
55
|
HubInstall = "hub.install",
|
|
56
56
|
HubRead = "hub.read",
|
|
57
57
|
HubWrite = "hub.write",
|
|
58
|
+
JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
|
|
59
|
+
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
|
|
58
60
|
LogsIngest = "logs.ingest",
|
|
59
61
|
LogsRead = "logs.read",
|
|
60
62
|
MetricsIngest = "metrics.ingest",
|
|
@@ -73,5 +73,7 @@ export declare enum ApiTokenUpdateScopesItem {
|
|
|
73
73
|
TracesLookup = "traces.lookup",
|
|
74
74
|
HubRead = "hub.read",
|
|
75
75
|
HubWrite = "hub.write",
|
|
76
|
-
HubInstall = "hub.install"
|
|
76
|
+
HubInstall = "hub.install",
|
|
77
|
+
JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
|
|
78
|
+
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write"
|
|
77
79
|
}
|
|
@@ -3,10 +3,6 @@ import { ApiTokenUpdateScopesItem } from './api-token-update-scopes-item';
|
|
|
3
3
|
* The update of the API token.
|
|
4
4
|
*/
|
|
5
5
|
export interface ApiTokenUpdate {
|
|
6
|
-
/**
|
|
7
|
-
* The name of the token.
|
|
8
|
-
*/
|
|
9
|
-
name?: string;
|
|
10
6
|
/**
|
|
11
7
|
* The token is enabled (`true`) or disabled (`false`)
|
|
12
8
|
*/
|
|
@@ -91,6 +87,12 @@ export interface ApiTokenUpdate {
|
|
|
91
87
|
* * `hub.read`: Read Hub related data.
|
|
92
88
|
* * `hub.write`: Manage metadata of Hub items.
|
|
93
89
|
* * `hub.install`: Install and update Hub items.
|
|
90
|
+
* * `javaScriptMappingFiles.read`: Read JavaScript mapping files.
|
|
91
|
+
* * `javaScriptMappingFiles.write`: Write JavaScript mapping files.
|
|
94
92
|
*/
|
|
95
93
|
scopes?: ApiTokenUpdateScopesItem[];
|
|
94
|
+
/**
|
|
95
|
+
* The name of the token.
|
|
96
|
+
*/
|
|
97
|
+
name?: string;
|
|
96
98
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApiTokenUpdate } from './api-token-update';
|
|
2
2
|
import * as _ApiTokenUpdateScopesItemTransformation from './api-token-update-scopes-item.transformation';
|
|
3
3
|
export interface AsJson {
|
|
4
|
-
name?: string;
|
|
5
4
|
enabled?: boolean;
|
|
6
5
|
scopes?: _ApiTokenUpdateScopesItemTransformation.AsJson[];
|
|
6
|
+
name?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare function fromJson($model: AsJson): ApiTokenUpdate;
|
|
9
9
|
export declare function toJson($model: ApiTokenUpdate): AsJson;
|
|
@@ -5,9 +5,11 @@ import { ApiTokenScopesItem } from './api-token-scopes-item';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ApiToken {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Token expiration date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`).
|
|
9
|
+
*
|
|
10
|
+
* If not set, the token never expires.
|
|
9
11
|
*/
|
|
10
|
-
|
|
12
|
+
expirationDate?: string;
|
|
11
13
|
/**
|
|
12
14
|
* Token last used date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)
|
|
13
15
|
*/
|
|
@@ -22,15 +24,21 @@ export interface ApiToken {
|
|
|
22
24
|
modifiedDate?: string;
|
|
23
25
|
additionalMetadata?: ApiTokenAdditionalMetadata;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* If not set, the token never expires.
|
|
27
|
+
* The token is a [personal access token](https://dt-url.net/wm03sop) (`true`) or an API token (`false`).
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
personalAccessToken?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
* Token creation date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)
|
|
32
32
|
*/
|
|
33
33
|
creationDate?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The token is enabled (`true`) or disabled (`false`).
|
|
36
|
+
*/
|
|
37
|
+
enabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* A list of scopes assigned to the token.
|
|
40
|
+
*/
|
|
41
|
+
scopes?: ApiTokenScopesItem[];
|
|
34
42
|
/**
|
|
35
43
|
* The name of the token.
|
|
36
44
|
*/
|
|
@@ -43,12 +51,4 @@ export interface ApiToken {
|
|
|
43
51
|
* The owner of the token.
|
|
44
52
|
*/
|
|
45
53
|
owner?: string;
|
|
46
|
-
/**
|
|
47
|
-
* The token is enabled (`true`) or disabled (`false`).
|
|
48
|
-
*/
|
|
49
|
-
enabled?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* A list of scopes assigned to the token.
|
|
52
|
-
*/
|
|
53
|
-
scopes?: ApiTokenScopesItem[];
|
|
54
54
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/api-token.transformation.d.ts
CHANGED
|
@@ -2,18 +2,18 @@ import { ApiToken } from './api-token';
|
|
|
2
2
|
import * as _ApiTokenAdditionalMetadataTransformation from './api-token-additional-metadata.transformation';
|
|
3
3
|
import * as _ApiTokenScopesItemTransformation from './api-token-scopes-item.transformation';
|
|
4
4
|
export interface AsJson {
|
|
5
|
-
|
|
5
|
+
expirationDate?: string;
|
|
6
6
|
lastUsedDate?: string;
|
|
7
7
|
lastUsedIpAddress?: string;
|
|
8
8
|
modifiedDate?: string;
|
|
9
9
|
additionalMetadata?: _ApiTokenAdditionalMetadataTransformation.AsJson;
|
|
10
|
-
|
|
10
|
+
personalAccessToken?: boolean;
|
|
11
11
|
creationDate?: string;
|
|
12
|
+
enabled?: boolean;
|
|
13
|
+
scopes?: _ApiTokenScopesItemTransformation.AsJson[];
|
|
12
14
|
name?: string;
|
|
13
15
|
id?: string;
|
|
14
16
|
owner?: string;
|
|
15
|
-
enabled?: boolean;
|
|
16
|
-
scopes?: _ApiTokenScopesItemTransformation.AsJson[];
|
|
17
17
|
}
|
|
18
18
|
export declare function fromJson($model: AsJson): ApiToken;
|
|
19
19
|
export declare function toJson($model: ApiToken): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare enum AssetInfoDtoType {
|
|
|
19
19
|
ScreenEntitiesLists = "SCREEN_ENTITIES_LISTS",
|
|
20
20
|
ScreenEventsCards = "SCREEN_EVENTS_CARDS",
|
|
21
21
|
ScreenFilters = "SCREEN_FILTERS",
|
|
22
|
+
ScreenHealthCards = "SCREEN_HEALTH_CARDS",
|
|
22
23
|
ScreenInjections = "SCREEN_INJECTIONS",
|
|
23
24
|
ScreenLayout = "SCREEN_LAYOUT",
|
|
24
25
|
ScreenLogsCards = "SCREEN_LOGS_CARDS",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* The comment to a problem.
|
|
3
3
|
*/
|
|
4
4
|
export interface Comment {
|
|
5
|
-
/**
|
|
6
|
-
* The timestamp of comment creation, in UTC milliseconds.
|
|
7
|
-
*/
|
|
8
|
-
createdAtTimestamp: number;
|
|
9
5
|
/**
|
|
10
6
|
* The user who wrote the comment.
|
|
11
7
|
*/
|
|
12
8
|
authorName?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The timestamp of comment creation, in UTC milliseconds.
|
|
11
|
+
*/
|
|
12
|
+
createdAtTimestamp: number;
|
|
13
13
|
/**
|
|
14
14
|
* The context of the comment.
|
|
15
15
|
*/
|
|
@@ -8,9 +8,9 @@ export interface CommentsList {
|
|
|
8
8
|
*/
|
|
9
9
|
comments: Comment[];
|
|
10
10
|
/**
|
|
11
|
-
* The
|
|
11
|
+
* The number of entries per page.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
pageSize?: number;
|
|
14
14
|
/**
|
|
15
15
|
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
16
16
|
*
|
|
@@ -18,7 +18,7 @@ export interface CommentsList {
|
|
|
18
18
|
*/
|
|
19
19
|
nextPageKey?: string;
|
|
20
20
|
/**
|
|
21
|
-
* The number of entries
|
|
21
|
+
* The total number of entries in the result.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
totalCount: number;
|
|
24
24
|
}
|
|
@@ -2,9 +2,9 @@ import * as _CommentTransformation from './comment.transformation';
|
|
|
2
2
|
import { CommentsList } from './comments-list';
|
|
3
3
|
export interface AsJson {
|
|
4
4
|
comments: _CommentTransformation.AsJson[];
|
|
5
|
-
totalCount: number;
|
|
6
|
-
nextPageKey?: string;
|
|
7
5
|
pageSize?: number;
|
|
6
|
+
nextPageKey?: string;
|
|
7
|
+
totalCount: number;
|
|
8
8
|
}
|
|
9
9
|
export declare function fromJson($model: AsJson): CommentsList;
|
|
10
10
|
export declare function toJson($model: CommentsList): AsJson;
|
|
@@ -4,25 +4,29 @@ import { ConstraintType } from './constraint-type';
|
|
|
4
4
|
*/
|
|
5
5
|
export interface Constraint {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* The maximum allowed length of string values.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
maxLength?: number;
|
|
10
10
|
/**
|
|
11
|
-
* The
|
|
11
|
+
* The minimum required length of string values.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
minLength?: number;
|
|
14
14
|
/**
|
|
15
15
|
* A list of properties for which the combination of values must be unique.
|
|
16
16
|
*/
|
|
17
17
|
uniqueProperties?: string[];
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* A custom message for invalid values.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
customMessage?: string;
|
|
22
22
|
/**
|
|
23
|
-
* The
|
|
23
|
+
* The ID of a custom validator.
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
customValidatorId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The regular expression pattern for valid string values.
|
|
28
|
+
*/
|
|
29
|
+
pattern?: string;
|
|
26
30
|
/**
|
|
27
31
|
* The maximum allowed value.
|
|
28
32
|
*/
|
|
@@ -32,8 +36,4 @@ export interface Constraint {
|
|
|
32
36
|
*/
|
|
33
37
|
minimum?: number;
|
|
34
38
|
type: ConstraintType;
|
|
35
|
-
/**
|
|
36
|
-
* The regular expression pattern for valid string values.
|
|
37
|
-
*/
|
|
38
|
-
pattern?: string;
|
|
39
39
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/constraint.transformation.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Constraint } from './constraint';
|
|
2
2
|
import * as _ConstraintTypeTransformation from './constraint-type.transformation';
|
|
3
3
|
export interface AsJson {
|
|
4
|
-
customMessage?: string;
|
|
5
|
-
customValidatorId?: string;
|
|
6
|
-
uniqueProperties?: string[];
|
|
7
4
|
maxLength?: number;
|
|
8
5
|
minLength?: number;
|
|
6
|
+
uniqueProperties?: string[];
|
|
7
|
+
customMessage?: string;
|
|
8
|
+
customValidatorId?: string;
|
|
9
|
+
pattern?: string;
|
|
9
10
|
maximum?: number;
|
|
10
11
|
minimum?: number;
|
|
11
12
|
type: _ConstraintTypeTransformation.AsJson;
|
|
12
|
-
pattern?: string;
|
|
13
13
|
}
|
|
14
14
|
export declare function fromJson($model: AsJson): Constraint;
|
|
15
15
|
export declare function toJson($model: Constraint): AsJson;
|
|
@@ -3,12 +3,12 @@ import { METag } from './me-tag';
|
|
|
3
3
|
* A list of custom tags.
|
|
4
4
|
*/
|
|
5
5
|
export interface CustomEntityTags {
|
|
6
|
-
/**
|
|
7
|
-
* The total number of tags in the response.
|
|
8
|
-
*/
|
|
9
|
-
totalCount?: number;
|
|
10
6
|
/**
|
|
11
7
|
* A list of custom tags.
|
|
12
8
|
*/
|
|
13
9
|
tags: METag[];
|
|
10
|
+
/**
|
|
11
|
+
* The total number of tags in the response.
|
|
12
|
+
*/
|
|
13
|
+
totalCount?: number;
|
|
14
14
|
}
|