@dynatrace-sdk/client-classic-environment-v2 3.0.0 → 3.3.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.
Files changed (226) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +3741 -960
  3. package/cjs/index.js +12427 -7375
  4. package/dynatrace-metadata.json +2 -2
  5. package/esm/index.js +12629 -7397
  6. package/package.json +3 -2
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +28 -4
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +34 -4
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +27 -6
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-active-gate-groups-api.d.ts +36 -0
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +12 -2
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +61 -7
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +34 -4
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +12 -2
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +12 -2
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +7 -1
  17. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +35 -5
  18. package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +6 -1
  19. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +46 -8
  20. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +158 -26
  21. package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
  22. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +25 -5
  23. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +30 -4
  24. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +18 -3
  25. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +42 -7
  26. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +18 -3
  27. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +42 -1
  28. package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +46 -7
  29. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +45 -5
  30. package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +6 -1
  31. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +114 -18
  32. package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +42 -4
  33. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +6 -1
  34. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +62 -10
  35. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +12 -2
  36. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +6 -1
  37. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +103 -16
  38. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +28 -3
  39. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +54 -5
  40. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-gateway-errors-handler.d.ts +2 -0
  41. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/biz-event-ingest-result-error.d.ts +1 -1
  42. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-envelope-error.d.ts +1 -1
  43. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +6 -8
  44. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-array-error.d.ts +1 -1
  45. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-error.d.ts +1 -1
  46. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/validation-response-error.d.ts +1 -1
  47. package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.d.ts +14 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/abstract-slo-alert-dto.d.ts +6 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-auto-update-config.d.ts +10 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-global-auto-update-config.d.ts +8 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group.d.ts +9 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group.transformation.d.ts +6 -0
  53. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups.d.ts +10 -0
  54. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups.transformation.d.ts +7 -0
  55. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +6 -0
  56. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-create.d.ts +3 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-info-dto.d.ts +3 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token.d.ts +3 -0
  59. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate.d.ts +21 -0
  60. package/types/packages/client/classic-environment-v2/src/lib/models/affected-entities.d.ts +6 -0
  61. package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.d.ts +3 -0
  62. package/types/packages/client/classic-environment-v2/src/lib/models/any-value.d.ts +2 -3
  63. package/types/packages/client/classic-environment-v2/src/lib/models/any-value.transformation.d.ts +3 -3
  64. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -5
  65. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -5
  66. package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +6 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/applied-filter.d.ts +3 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +6 -0
  69. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.d.ts +3 -0
  70. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.d.ts +6 -0
  71. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.d.ts +6 -0
  72. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.d.ts +3 -0
  73. package/types/packages/client/classic-environment-v2/src/lib/models/attack.d.ts +30 -0
  74. package/types/packages/client/classic-environment-v2/src/lib/models/attacker.d.ts +3 -0
  75. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.d.ts +25 -0
  76. package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.d.ts +18 -0
  77. package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.transformation.d.ts +9 -0
  78. package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts +14 -0
  79. package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.transformation.d.ts +8 -0
  80. package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details.d.ts +6 -0
  81. package/types/packages/client/classic-environment-v2/src/lib/models/code-location.d.ts +3 -0
  82. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +3 -0
  83. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +3 -0
  84. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-type.d.ts +3 -0
  85. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element.d.ts +9 -0
  86. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-type.d.ts +6 -0
  87. package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +16 -0
  88. package/types/packages/client/classic-environment-v2/src/lib/models/credentials.transformation.d.ts +6 -0
  89. package/types/packages/client/classic-environment-v2/src/lib/models/custom-device-creation.d.ts +3 -0
  90. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-allowed-location-dto.d.ts +1 -1
  91. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +1 -1
  92. package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +3 -0
  93. package/types/packages/client/classic-environment-v2/src/lib/models/davis-security-advice.d.ts +6 -0
  94. package/types/packages/client/classic-environment-v2/src/lib/models/entity-stub.d.ts +3 -0
  95. package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +12 -0
  96. package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.d.ts +6 -0
  97. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.d.ts +3 -0
  98. package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +3 -0
  99. package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +3 -0
  100. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.d.ts +3 -0
  101. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest.d.ts +14 -0
  102. package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +3 -0
  103. package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +6 -0
  104. package/types/packages/client/classic-environment-v2/src/lib/models/evidence.d.ts +15 -0
  105. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto.d.ts +3 -0
  106. package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +2 -0
  107. package/types/packages/client/classic-environment-v2/src/lib/models/execution-step.d.ts +6 -0
  108. package/types/packages/client/classic-environment-v2/src/lib/models/extension-event-dto.d.ts +3 -0
  109. package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration.d.ts +3 -0
  110. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto.d.ts +3 -0
  111. package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto.d.ts +6 -0
  112. package/types/packages/client/classic-environment-v2/src/lib/models/extension.d.ts +6 -0
  113. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config.d.ts +9 -0
  114. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +9 -0
  115. package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +26 -0
  116. package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.d.ts +3 -0
  117. package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.d.ts +6 -0
  118. package/types/packages/client/classic-environment-v2/src/lib/models/identity-type.d.ts +8 -0
  119. package/types/packages/client/classic-environment-v2/src/lib/models/identity-type.transformation.d.ts +4 -0
  120. package/types/packages/client/classic-environment-v2/src/lib/models/identity.d.ts +14 -0
  121. package/types/packages/client/classic-environment-v2/src/lib/models/identity.transformation.d.ts +8 -0
  122. package/types/packages/client/classic-environment-v2/src/lib/models/impact.d.ts +11 -0
  123. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +14 -0
  124. package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +9 -0
  125. package/types/packages/client/classic-environment-v2/src/lib/models/list-credentials-query-type.d.ts +4 -1
  126. package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +14 -0
  127. package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +9 -0
  128. package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +3 -0
  129. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +17 -0
  130. package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-definition.d.ts +3 -0
  131. package/types/packages/client/classic-environment-v2/src/lib/models/metric-dto.d.ts +3 -0
  132. package/types/packages/client/classic-environment-v2/src/lib/models/metric-metadata-dto.d.ts +4 -0
  133. package/types/packages/client/classic-environment-v2/src/lib/models/metric-metadata-dto.transformation.d.ts +1 -0
  134. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.d.ts +3 -0
  135. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +3 -0
  136. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +2 -0
  137. package/types/packages/client/classic-environment-v2/src/lib/models/metric-value-type.d.ts +3 -0
  138. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +6 -0
  139. package/types/packages/client/classic-environment-v2/src/lib/models/monitoring-configuration-dto.d.ts +3 -0
  140. package/types/packages/client/classic-environment-v2/src/lib/models/monitoring-configuration-update-dto.d.ts +3 -0
  141. package/types/packages/client/classic-environment-v2/src/lib/models/mute-state.d.ts +3 -0
  142. package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +3 -0
  143. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +6 -0
  144. package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +3 -0
  145. package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +24 -0
  146. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -0
  147. package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.d.ts +3 -0
  148. package/types/packages/client/classic-environment-v2/src/lib/models/related-service.d.ts +3 -0
  149. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +15 -0
  150. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.d.ts +12 -0
  151. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-mute-state-change.d.ts +3 -0
  152. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-mute-state.d.ts +3 -0
  153. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary.d.ts +3 -0
  154. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.d.ts +12 -0
  155. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute.d.ts +3 -0
  156. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute.d.ts +3 -0
  157. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.d.ts +7 -0
  158. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-progress-entity-assessment.d.ts +3 -0
  159. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-progress-entity.d.ts +6 -0
  160. package/types/packages/client/classic-environment-v2/src/lib/models/request-information.d.ts +3 -0
  161. package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.d.ts +3 -0
  162. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +6 -0
  163. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-changes.d.ts +9 -0
  164. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.d.ts +26 -0
  165. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.d.ts +17 -0
  166. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.d.ts +26 -0
  167. package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +3 -0
  168. package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +20 -0
  169. package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +6 -0
  170. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary.d.ts +3 -0
  171. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +39 -0
  172. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts +9 -0
  173. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-mute.d.ts +3 -0
  174. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-unmute.d.ts +3 -0
  175. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem.d.ts +18 -0
  176. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute.d.ts +3 -0
  177. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute.d.ts +3 -0
  178. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.d.ts +8 -0
  179. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.transformation.d.ts +2 -0
  180. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +13 -0
  181. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -0
  182. package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.d.ts +3 -0
  183. package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +5 -0
  184. package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +14 -0
  185. package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +23 -0
  186. package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.d.ts +30 -0
  187. package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.transformation.d.ts +12 -0
  188. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location-update.d.ts +6 -0
  189. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location.d.ts +15 -1
  190. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location.transformation.d.ts +1 -1
  191. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +3 -0
  192. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-constraint-dto.d.ts +3 -0
  193. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +6 -0
  194. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto.d.ts +6 -0
  195. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +9 -0
  196. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status.d.ts +6 -0
  197. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +6 -0
  198. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request.d.ts +9 -0
  199. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +21 -0
  200. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-failed-execution-status.d.ts +3 -0
  201. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-tag-with-source-dto.d.ts +3 -0
  202. package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.d.ts +6 -0
  203. package/types/packages/client/classic-environment-v2/src/lib/models/token-credentials.d.ts +3 -0
  204. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.d.ts +3 -0
  205. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.d.ts +3 -0
  206. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.d.ts +3 -0
  207. package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +12 -0
  208. package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-customization.d.ts +3 -0
  209. package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +12 -0
  210. package/types/packages/client/classic-environment-v2/src/lib/models/user-password-credentials.d.ts +3 -0
  211. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.d.ts +9 -0
  212. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment.d.ts +3 -0
  213. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input.d.ts +3 -0
  214. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-process-groups.d.ts +9 -0
  215. package/types/packages/client/classic-environment-v2/src/lib/utils/encoding.d.ts +1 -1
  216. package/types/packages/http-client/src/lib/types/binary.d.ts +2 -2
  217. package/types/packages/http-client/src/lib/types/http-client-response.d.ts +2 -2
  218. package/types/packages/shared-errors/src/api-client-error.d.ts +23 -0
  219. package/types/packages/shared-errors/src/api-gateway-error.d.ts +37 -0
  220. package/types/packages/shared-errors/src/client-request-error.d.ts +39 -0
  221. package/types/packages/shared-errors/src/index.d.ts +5 -0
  222. package/types/packages/shared-errors/src/invalid-response-error.d.ts +26 -0
  223. package/types/packages/shared-errors/src/types.d.ts +88 -0
  224. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +0 -11
  225. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/client-request-error.d.ts +0 -9
  226. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +0 -9
@@ -16,7 +16,7 @@ export declare class BusinessEventsClient {
16
16
  *
17
17
  * The ingestion of business events is subject to licensing (see [licensing documentation](https://www.dynatrace.com/support/help/shortlink/dps-events)).
18
18
  *
19
- * @returns The provided business events are all accepted and will be processed.
19
+ * @returns {Promise<void>} The provided business events are all accepted and will be processed.
20
20
  *
21
21
  * @example <caption>Code example</caption>
22
22
  * import { businessEventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -42,6 +42,12 @@ export declare class BusinessEventsClient {
42
42
  * },
43
43
  * },
44
44
  * });
45
+ *
46
+ * @throws {BizEventIngestResultError} Some business events are invalid. Valid business events are accepted and will be processed. | Content too large | Too many requests | Service is temporarily unavailable
47
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
48
+ * @throws {InvalidResponseError}
49
+ * @throws {ApiClientError}
50
+ * @throws {ClientRequestError}
45
51
  */
46
52
  ingest(config: ({
47
53
  body: CloudEvent;
@@ -21,12 +21,17 @@ export declare class CredentialVaultClient {
21
21
  *
22
22
  * **Required scope:** environment-api:credentials:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The credentials set itself (username/certificate and password) is not included in the response.
23
23
  *
24
- * @returns Success
24
+ * @returns {Promise<CredentialsList>} Success
25
25
  *
26
26
  * @example <caption>Code example</caption>
27
27
  * import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
28
28
  *
29
29
  * const data = await credentialVaultClient.listCredentials();
30
+ *
31
+ * @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
32
+ * @throws {InvalidResponseError}
33
+ * @throws {ApiClientError}
34
+ * @throws {ClientRequestError}
30
35
  */
31
36
  listCredentials(config?: {
32
37
  /** Filters the result by the specified credentials type. */ type?: ListCredentialsQueryType;
@@ -54,7 +59,7 @@ export declare class CredentialVaultClient {
54
59
  *
55
60
  * **Required scope:** environment-api:credentials:write<br/>**Required permission:** environment:roles:viewer<br/><br/>The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.
56
61
  *
57
- * @returns Success. The new credentials set has been created. The response contains the ID of the set.
62
+ * @returns {Promise<CredentialsId>} Success. The new credentials set has been created. The response contains the ID of the set.
58
63
  *
59
64
  * @example <caption>Code example</caption>
60
65
  * import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -65,6 +70,11 @@ export declare class CredentialVaultClient {
65
70
  * scopes: [CredentialsScopesItem.AppEngine],
66
71
  * },
67
72
  * });
73
+ *
74
+ * @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
75
+ * @throws {InvalidResponseError}
76
+ * @throws {ApiClientError}
77
+ * @throws {ClientRequestError}
68
78
  */
69
79
  createCredentials(config: {
70
80
  body: Credentials;
@@ -75,7 +85,7 @@ export declare class CredentialVaultClient {
75
85
  *
76
86
  * **Required scope:** environment-api:credentials:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The credentials set itself (e.g. username/certificate and password) is not included in the response.
77
87
  *
78
- * @returns Success. The response contains the metadata of the credentials set.
88
+ * @returns {Promise<CredentialsResponseElement>} Success. The response contains the metadata of the credentials set.
79
89
  *
80
90
  * @example <caption>Code example</caption>
81
91
  * import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -83,6 +93,11 @@ export declare class CredentialVaultClient {
83
93
  * const data = await credentialVaultClient.getCredentials({
84
94
  * id: "...",
85
95
  * });
96
+ *
97
+ * @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
98
+ * @throws {InvalidResponseError}
99
+ * @throws {ApiClientError}
100
+ * @throws {ClientRequestError}
86
101
  */
87
102
  getCredentials(config: {
88
103
  /** The Dynatrace entity ID of the required credentials set. */ id: string;
@@ -93,7 +108,7 @@ export declare class CredentialVaultClient {
93
108
  *
94
109
  * **Required scope:** environment-api:credentials:write<br/>**Required permission:** environment:roles:viewer<br/><br/>The body must not provide an ID. The ID should be provided in the path.
95
110
  *
96
- * @returns Success. The new credentials set has been created. The response contains the ID of the set.
111
+ * @returns {Promise<CredentialsId | void>} Success. The new credentials set has been created. The response contains the ID of the set.
97
112
  *
98
113
  * @example <caption>Code example</caption>
99
114
  * import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -105,6 +120,11 @@ export declare class CredentialVaultClient {
105
120
  * scopes: [CredentialsScopesItem.AppEngine],
106
121
  * },
107
122
  * });
123
+ *
124
+ * @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
125
+ * @throws {InvalidResponseError}
126
+ * @throws {ApiClientError}
127
+ * @throws {ClientRequestError}
108
128
  */
109
129
  updateCredentials(config: {
110
130
  body: Credentials;
@@ -122,6 +142,11 @@ export declare class CredentialVaultClient {
122
142
  * const data = await credentialVaultClient.removeCredentials({
123
143
  * id: "...",
124
144
  * });
145
+ *
146
+ * @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
147
+ * @throws {InvalidResponseError}
148
+ * @throws {ApiClientError}
149
+ * @throws {ClientRequestError}
125
150
  */
126
151
  removeCredentials(config: {
127
152
  /** The ID of the credentials set to be deleted. */ id: string;
@@ -132,7 +157,7 @@ export declare class CredentialVaultClient {
132
157
  *
133
158
  * **Required scope:** environment-api:credentials:read<br/><br/>The credentials set including username/certificate, password or token is included in the response.
134
159
  *
135
- * @returns Success. The response contains the details of the credentials set.
160
+ * @returns {Promise<AbstractCredentialsResponseElement>} Success. The response contains the details of the credentials set.
136
161
  *
137
162
  * @example <caption>Code example</caption>
138
163
  * import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -141,6 +166,11 @@ export declare class CredentialVaultClient {
141
166
  * await credentialVaultClient.getCredentialsDetails({
142
167
  * id: "...",
143
168
  * });
169
+ *
170
+ * @throws {ErrorEnvelopeError} Failed. The input is invalid. E.g. Requested credentials with unsupported scope. Only APP_ENGINE scope is supported. | Failed. Requested credentials belong to another user.
171
+ * @throws {InvalidResponseError}
172
+ * @throws {ApiClientError}
173
+ * @throws {ClientRequestError}
144
174
  */
145
175
  getCredentialsDetails(config: {
146
176
  /** The Dynatrace entity ID of the required credentials set. */ id: string;
@@ -20,13 +20,18 @@ export declare class DavisSecurityAdvisorClient {
20
20
  *
21
21
  * <br/><br/>You can narrow down the output by providing the management zone and pagination. If you specify a management zone, only problems originating from that zone are included to the request.
22
22
  *
23
- * @returns Success
23
+ * @returns {Promise<DavisSecurityAdviceList>} Success
24
24
  *
25
25
  * @example <caption>Code example</caption>
26
26
  * import { davisSecurityAdvisorClient } from "@dynatrace-sdk/client-classic-environment-v2";
27
27
  *
28
28
  * const data =
29
29
  * await davisSecurityAdvisorClient.getAdviceForSecurityProblems();
30
+ *
31
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
32
+ * @throws {InvalidResponseError}
33
+ * @throws {ApiClientError}
34
+ * @throws {ClientRequestError}
30
35
  */
31
36
  getAdviceForSecurityProblems(config?: {
32
37
  /**
@@ -23,12 +23,17 @@ export declare class EventsClient {
23
23
  *
24
24
  * **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
25
25
  *
26
- * @returns Success
26
+ * @returns {Promise<EventPropertiesList>} Success
27
27
  *
28
28
  * @example <caption>Code example</caption>
29
29
  * import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
30
30
  *
31
31
  * const data = await eventsClient.getEventProperties();
32
+ *
33
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
34
+ * @throws {InvalidResponseError}
35
+ * @throws {ApiClientError}
36
+ * @throws {ClientRequestError}
32
37
  */
33
38
  getEventProperties(config?: {
34
39
  /**
@@ -52,7 +57,7 @@ export declare class EventsClient {
52
57
  *
53
58
  * **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
54
59
  *
55
- * @returns Success
60
+ * @returns {Promise<EventPropertyDetails>} Success
56
61
  *
57
62
  * @example <caption>Code example</caption>
58
63
  * import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -60,6 +65,11 @@ export declare class EventsClient {
60
65
  * const data = await eventsClient.getEventProperty({
61
66
  * propertyKey: "...",
62
67
  * });
68
+ *
69
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
70
+ * @throws {InvalidResponseError}
71
+ * @throws {ApiClientError}
72
+ * @throws {ClientRequestError}
63
73
  */
64
74
  getEventProperty(config: {
65
75
  /** The event property key you're inquiring. */ propertyKey: string;
@@ -70,12 +80,17 @@ export declare class EventsClient {
70
80
  *
71
81
  * **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
72
82
  *
73
- * @returns Success
83
+ * @returns {Promise<EventTypeList>} Success
74
84
  *
75
85
  * @example <caption>Code example</caption>
76
86
  * import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
77
87
  *
78
88
  * const data = await eventsClient.getEventTypes();
89
+ *
90
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
91
+ * @throws {InvalidResponseError}
92
+ * @throws {ApiClientError}
93
+ * @throws {ClientRequestError}
79
94
  */
80
95
  getEventTypes(config?: {
81
96
  /**
@@ -99,7 +114,7 @@ export declare class EventsClient {
99
114
  *
100
115
  * **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
101
116
  *
102
- * @returns Success
117
+ * @returns {Promise<EventType>} Success
103
118
  *
104
119
  * @example <caption>Code example</caption>
105
120
  * import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -107,6 +122,11 @@ export declare class EventsClient {
107
122
  * const data = await eventsClient.getEventType({
108
123
  * eventType: "...",
109
124
  * });
125
+ *
126
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
127
+ * @throws {InvalidResponseError}
128
+ * @throws {ApiClientError}
129
+ * @throws {ClientRequestError}
110
130
  */
111
131
  getEventType(config: {
112
132
  /** The event type you're inquiring. */ eventType: string;
@@ -117,12 +137,17 @@ export declare class EventsClient {
117
137
  *
118
138
  * **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
119
139
  *
120
- * @returns Success. The response contains the list of events.
140
+ * @returns {Promise<EventList>} Success. The response contains the list of events.
121
141
  *
122
142
  * @example <caption>Code example</caption>
123
143
  * import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
124
144
  *
125
145
  * const data = await eventsClient.getEvents();
146
+ *
147
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
148
+ * @throws {InvalidResponseError}
149
+ * @throws {ApiClientError}
150
+ * @throws {ClientRequestError}
126
151
  */
127
152
  getEvents(config?: {
128
153
  /**
@@ -243,14 +268,22 @@ export declare class EventsClient {
243
268
  *
244
269
  * <br/><br/>The ingestion of custom events is subject to licensing (see [licensing documentation](https://www.dynatrace.com/support/help/shortlink/dps-events)).
245
270
  *
246
- * @returns The event ingest request was received by the server. The response body indicates for each event whether its creation was successful.
271
+ * @returns {Promise<EventIngestResults>} The event ingest request was received by the server. The response body indicates for each event whether its creation was successful.
247
272
  *
248
273
  * @example <caption>Code example</caption>
249
274
  * import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
250
275
  *
251
276
  * const data = await eventsClient.createEvent({
252
- * body: { title: "..." },
277
+ * body: {
278
+ * eventType: EventIngestEventType.AvailabilityEvent,
279
+ * title: "...",
280
+ * },
253
281
  * });
282
+ *
283
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
284
+ * @throws {InvalidResponseError}
285
+ * @throws {ApiClientError}
286
+ * @throws {ClientRequestError}
254
287
  */
255
288
  createEvent(config: {
256
289
  body: EventIngest;
@@ -261,7 +294,7 @@ export declare class EventsClient {
261
294
  *
262
295
  * **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
263
296
  *
264
- * @returns Success. The response contains the configuration of the event.
297
+ * @returns {Promise<Event>} Success. The response contains the configuration of the event.
265
298
  *
266
299
  * @example <caption>Code example</caption>
267
300
  * import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -269,6 +302,11 @@ export declare class EventsClient {
269
302
  * const data = await eventsClient.getEvent({
270
303
  * eventId: "...",
271
304
  * });
305
+ *
306
+ * @throws {ErrorEnvelopeError} Client side error. | Server side error.
307
+ * @throws {InvalidResponseError}
308
+ * @throws {ApiClientError}
309
+ * @throws {ClientRequestError}
272
310
  */
273
311
  getEvent(config: {
274
312
  /** The ID of the required event. */ eventId: string;