@dynatrace-sdk/client-classic-environment-v2 1.10.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +18259 -8
  3. package/cjs/index.js +4577 -3406
  4. package/docs/DOCS.md +7226 -4091
  5. package/dynatrace-metadata.json +2 -2
  6. package/esm/index.js +4577 -3406
  7. package/package.json +2 -2
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +4 -0
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +2 -2
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +2 -2
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +0 -2
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +8 -4
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -2
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +9 -6
  15. package/types/packages/client/classic-environment-v2/src/lib/models/any-value.d.ts +6 -0
  16. package/types/packages/client/classic-environment-v2/src/lib/models/any-value.transformation.d.ts +4 -0
  17. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +6 -1
  18. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -0
  19. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +5 -0
  20. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +6 -1
  21. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -0
  22. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +2 -0
  23. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.d.ts +31 -2
  24. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.transformation.d.ts +8 -2
  25. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +4 -0
  26. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.transformation.d.ts +1 -0
  27. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +4 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.transformation.d.ts +1 -0
  29. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-scope.d.ts +0 -2
  30. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-scopes-item.d.ts +1 -3
  31. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scope.d.ts +0 -2
  32. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scopes-item.d.ts +1 -3
  33. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +9 -2
  34. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.transformation.d.ts +2 -2
  35. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +5 -2
  36. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.transformation.d.ts +2 -2
  37. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.d.ts +4 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.transformation.d.ts +1 -0
  39. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +6 -16
  40. package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +5 -2
  41. package/types/packages/client/classic-environment-v2/src/lib/models/item.transformation.d.ts +2 -2
  42. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +53 -9
  43. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation-status.d.ts +7 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation-status.transformation.d.ts +4 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.d.ts +15 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.transformation.d.ts +9 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +2 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.transformation.d.ts +2 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +1 -1
  50. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +8 -3
  51. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.transformation.d.ts +3 -3
  52. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +12 -4
  53. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.transformation.d.ts +4 -4
  54. package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +4 -0
  55. package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.transformation.d.ts +1 -0
  56. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +9 -2
  57. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.transformation.d.ts +2 -2
  58. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +9 -2
  59. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.transformation.d.ts +2 -2
  60. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +9 -2
  61. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.transformation.d.ts +2 -2
  62. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +9 -2
  63. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -2
  64. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +4 -0
  65. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.transformation.d.ts +1 -0
  66. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +4 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.transformation.d.ts +1 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +5 -2
  69. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.transformation.d.ts +2 -2
  70. package/types/packages/client/classic-environment-v2/src/lib/utils/url-helpers.d.ts +4 -1
  71. package/types/packages/http-client/src/index.d.ts +1 -1
  72. package/types/packages/http-client/src/lib/platform/index.d.ts +1 -0
  73. package/types/packages/http-client/src/lib/platform/oauth-http-client.d.ts +41 -0
  74. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.d.ts +0 -8
  75. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.transformation.d.ts +0 -4
  76. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.d.ts +0 -6
  77. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.transformation.d.ts +0 -4
  78. package/types/packages/client/classic-environment-v2/src/lib/models/item-type.d.ts +0 -6
  79. package/types/packages/client/classic-environment-v2/src/lib/models/item-type.transformation.d.ts +0 -5
  80. package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.d.ts +0 -8
  81. package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.transformation.d.ts +0 -4
  82. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.d.ts +0 -8
  83. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.transformation.d.ts +0 -4
  84. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-type.d.ts +0 -6
  85. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-type.transformation.d.ts +0 -5
  86. package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.d.ts +0 -10
  87. package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.transformation.d.ts +0 -4
  88. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.d.ts +0 -6
  89. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.transformation.d.ts +0 -5
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/client-classic-environment-v2",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "description": "Client for the Dynatrace Environment API v2",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
7
7
  "@dynatrace-sdk/error-handlers": "^1.2.0",
8
- "@dynatrace-sdk/http-client": "^1.0.9"
8
+ "@dynatrace-sdk/http-client": "^1.0.10"
9
9
  },
10
10
  "main": "./cjs/index.js",
11
11
  "module": "./esm/index.js",
@@ -47,6 +47,10 @@ export declare class AuditLogsClient {
47
47
  * * Event type: `eventType("value")`. The `EQUALS` operator applies.
48
48
  * * Category of a logged operation: `category("value")`. The `EQUALS` operator applies.
49
49
  * * Entity ID: `entityId("id")`. The `CONTAINS` operator applies.
50
+ * * Settings schema ID: `dt.settings.schema_id("id")`. The `EQUALS` operator applies.
51
+ * * Settings scope ID: `dt.settings.scope_id("id")`. The `EQUALS` operator applies.
52
+ * * Settings key: `dt.settings.key("key")`. The `EQUALS` operator applies.
53
+ * * Settings object ID: `dt.settings.object_id("id")`. The `EQUALS` operator applies.
50
54
  *
51
55
  * For each criterion, you can specify multiple alternatives with comma-separated values. In this case, the OR logic applies. For example, `eventType("CREATE","UPDATE")` means eventType can be "CREATE" or "UPDATE".
52
56
  *
@@ -45,10 +45,10 @@ export declare class BusinessEventsClient {
45
45
  */
46
46
  ingest(config: ({
47
47
  body: CloudEvent;
48
- type: 'application/cloudevent+json';
48
+ type: 'application/cloudevent+json' | 'application/cloudevents+json';
49
49
  } | {
50
50
  body: CloudEvent[];
51
- type: 'application/cloudevent-batch+json';
51
+ type: 'application/cloudevent-batch+json' | 'application/cloudevents-batch+json';
52
52
  } | {
53
53
  body: IngestBody;
54
54
  type: 'application/json; charset=utf-8';
@@ -62,7 +62,7 @@ export declare class CredentialVaultClient {
62
62
  * const data = await credentialVaultClient.createCredentials({
63
63
  * body: {
64
64
  * name: "...",
65
- * scopes: [CredentialsScopesItem.All],
65
+ * scopes: [CredentialsScopesItem.Extension],
66
66
  * },
67
67
  * });
68
68
  */
@@ -102,7 +102,7 @@ export declare class CredentialVaultClient {
102
102
  * id: "...",
103
103
  * body: {
104
104
  * name: "...",
105
- * scopes: [CredentialsScopesItem.All],
105
+ * scopes: [CredentialsScopesItem.Extension],
106
106
  * },
107
107
  * });
108
108
  */
@@ -79,13 +79,11 @@ export declare class Extensions_2_0Client {
79
79
  * import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
80
80
  *
81
81
  * const data = await extensions_2_0Client.uploadExtension({
82
- * type: "application/octet-stream",
83
82
  * body: new Blob(),
84
83
  * });
85
84
  */
86
85
  uploadExtension(config: {
87
86
  body: Blob;
88
- type: 'application/octet-stream' | 'multipart/form-data';
89
87
  /** Only run validation but do not persist the extension even if validation was successful. */ validateOnly?: boolean;
90
88
  abortSignal?: AbortSignal;
91
89
  }): Promise<ExtensionUploadResponseDto>;
@@ -160,6 +160,7 @@ export declare class MonitoredEntitiesClient {
160
160
  */
161
161
  pushCustomDevice(config: {
162
162
  body: CustomDeviceCreation;
163
+ /** If true, it will be handled as if it was created via UI. It will be refreshed automatically and won't age out. */ uiBased?: boolean;
163
164
  abortSignal?: AbortSignal;
164
165
  }): Promise<CustomDeviceCreationResult | void>;
165
166
  /**
@@ -180,6 +181,7 @@ export declare class MonitoredEntitiesClient {
180
181
  *
181
182
  * const data =
182
183
  * await monitoredEntitiesClient.setSecurityContext({
184
+ * entitySelector: "...",
183
185
  * body: {},
184
186
  * });
185
187
  */
@@ -219,7 +221,7 @@ export declare class MonitoredEntitiesClient {
219
221
  * To set several criteria, separate them with a comma (`,`). For example, `type("HOST"),healthState("HEALTHY")`. Only results matching **all** criteria are included in the response.
220
222
  *
221
223
  * The maximum string length is 2,000 characters.
222
- */ entitySelector?: string;
224
+ */ entitySelector: string;
223
225
  /**
224
226
  * The start of the requested timeframe.
225
227
  *
@@ -273,9 +275,11 @@ export declare class MonitoredEntitiesClient {
273
275
  * import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
274
276
  *
275
277
  * const data =
276
- * await monitoredEntitiesClient.deleteSecurityContext();
278
+ * await monitoredEntitiesClient.deleteSecurityContext({
279
+ * entitySelector: "...",
280
+ * });
277
281
  */
278
- deleteSecurityContext(config?: {
282
+ deleteSecurityContext(config: {
279
283
  /**
280
284
  * Defines the scope of the entities to set the security context for. Only entities that can have management zones are considered for this operation
281
285
  *
@@ -310,7 +314,7 @@ export declare class MonitoredEntitiesClient {
310
314
  * To set several criteria, separate them with a comma (`,`). For example, `type("HOST"),healthState("HEALTHY")`. Only results matching **all** criteria are included in the response.
311
315
  *
312
316
  * The maximum string length is 2,000 characters.
313
- */ entitySelector?: string;
317
+ */ entitySelector: string;
314
318
  /**
315
319
  * The start of the requested timeframe.
316
320
  *
@@ -136,7 +136,7 @@ export declare class SettingsObjectsClient {
136
136
  * * `author` (deprecated, will not work for future schemas)
137
137
  * * `value` with properties and sub-properties separated by dot (for example, `value.owningApp = 'Notebooks'`)
138
138
  *
139
- * If this parameter is omitted, all settings objects will be returned. The maximum nesting depth (via parentheses) is 5. The maximum expression length is 1000 characters.
139
+ * If this parameter is omitted, all settings objects will be returned. The maximum nesting depth (via parentheses) is 5. The maximum expression length is 1024 characters.
140
140
  *
141
141
  * Note that only fields included to the response via `fields` can be used for filtering.
142
142
  */ filter?: string;
@@ -190,6 +190,7 @@ export declare class SettingsObjectsClient {
190
190
  * schemaId:
191
191
  * "builtin:container.built-in-monitoring-rule",
192
192
  * scope: "HOST-D3A3C5A146830A79",
193
+ * value: {},
193
194
  * },
194
195
  * ],
195
196
  * });
@@ -239,12 +240,13 @@ export declare class SettingsObjectsClient {
239
240
  * const data =
240
241
  * await settingsObjectsClient.putSettingsObjectByObjectId({
241
242
  * objectId: "...",
242
- * body: {},
243
+ * body: { value: {} },
243
244
  * });
244
245
  */
245
246
  putSettingsObjectByObjectId(config: {
246
247
  body: SettingsObjectUpdate;
247
248
  /** The ID of the required settings object. */ objectId: string;
249
+ /** If `true`, the request runs only validation of the submitted settings object, without saving it. */ validateOnly?: boolean;
248
250
  abortSignal?: AbortSignal;
249
251
  }): Promise<SettingsObjectResponse>;
250
252
  /**
@@ -99,9 +99,9 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
99
99
  * import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
100
100
  *
101
101
  * const data =
102
- * await syntheticLocationsNodesAndConfigurationClient.getLocationDemploymentApplyCommands();
102
+ * await syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentApplyCommands();
103
103
  */
104
- getLocationDemploymentApplyCommands(config?: {
104
+ getLocationDeploymentApplyCommands(config?: {
105
105
  /** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
106
106
  /** Namespace */ namespace?: string;
107
107
  /** Filename */ filename?: string;
@@ -203,11 +203,11 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
203
203
  * import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
204
204
  *
205
205
  * const data =
206
- * await syntheticLocationsNodesAndConfigurationClient.getLocationDemploymentDeleteCommands(
206
+ * await syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentDeleteCommands(
207
207
  * { locationId: "..." },
208
208
  * );
209
209
  */
210
- getLocationDemploymentDeleteCommands(config: {
210
+ getLocationDeploymentDeleteCommands(config: {
211
211
  /** The Dynatrace entity ID of the required location. */ locationId: string;
212
212
  /** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
213
213
  /** Namespace */ namespace?: string;
@@ -225,15 +225,18 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
225
225
  * import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
226
226
  *
227
227
  * const data =
228
- * await syntheticLocationsNodesAndConfigurationClient.getLocationDemploymentYaml(
228
+ * await syntheticLocationsNodesAndConfigurationClient.getLocationDeploymentYaml(
229
229
  * { locationId: "..." },
230
230
  * );
231
231
  */
232
- getLocationDemploymentYaml(config: {
232
+ getLocationDeploymentYaml(config: {
233
233
  /** The Dynatrace entity ID of the required location. */ locationId: string;
234
234
  /** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
235
235
  /** Active gate name */ activeGateName?: string;
236
236
  /** Namespace */ namespace?: string;
237
+ /** Custom images registry prefix - this will replace 'dynatrace' in image URLs in generated yaml. */ customRegistry?: string;
238
+ /** Custom version tag for Active Gate - this will be used as desired Active Gate version in generated yaml. */ tagVersionActiveGate?: string;
239
+ /** Custom version tag for Synthetic- this will be used as desired Synthetic version in generated yaml */ tagVersionSynthetic?: string;
237
240
  abortSignal?: AbortSignal;
238
241
  }): Promise<void>;
239
242
  /**
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A schema representing an arbitrary value type.
3
+ * This is just an alias for a type any.
4
+ * @typedef {any} AnyValue
5
+ */
6
+ export declare type AnyValue = any;
@@ -0,0 +1,4 @@
1
+ import { AnyValue } from './any-value';
2
+ export declare type AsJson = any;
3
+ export declare function fromJson($model: AsJson): AnyValue;
4
+ export declare function toJson($model: AnyValue): AsJson;
@@ -32,6 +32,10 @@ export declare enum ApiTokenCreateScopesItem {
32
32
  ProblemsWrite = "problems.write",
33
33
  EventsRead = "events.read",
34
34
  EventsIngest = "events.ingest",
35
+ OpenpipelineEvents = "openpipeline.events",
36
+ OpenpipelineEventsCustom = "openpipeline.events.custom",
37
+ OpenpipelineEventsSecurity = "openpipeline.events.security",
38
+ OpenpipelineEventsSecurityCustom = "openpipeline.events.security.custom",
35
39
  BizeventsIngest = "bizevents.ingest",
36
40
  AnalyzersRead = "analyzers.read",
37
41
  AnalyzersWrite = "analyzers.write",
@@ -78,5 +82,6 @@ export declare enum ApiTokenCreateScopesItem {
78
82
  HubInstall = "hub.install",
79
83
  JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
80
84
  JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
81
- ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write"
85
+ ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write",
86
+ AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read"
82
87
  }
@@ -68,6 +68,10 @@ export interface ApiTokenCreate {
68
68
  * * `problems.write`: Write problems.
69
69
  * * `events.read`: Read events.
70
70
  * * `events.ingest`: Ingest events.
71
+ * * `openpipeline.events`: OpenPipeline events.
72
+ * * `openpipeline.events.custom`: OpenPipeline custom events.
73
+ * * `openpipeline.events.security`: OpenPipeline security events.
74
+ * * `openpipeline.events.security.custom`: OpenPipeline custom security events.
71
75
  * * `bizevents.ingest`: Ingest bizevents.
72
76
  * * `analyzers.read`: Read analyzers.
73
77
  * * `analyzers.write`: Write & execute analyzers.
@@ -115,6 +119,7 @@ export interface ApiTokenCreate {
115
119
  * * `javaScriptMappingFiles.read`: Read JavaScript mapping files.
116
120
  * * `javaScriptMappingFiles.write`: Write JavaScript mapping files.
117
121
  * * `extensionConfigurationActions.write`: Actions for extension monitoring configurations.
122
+ * * `adaptiveTrafficManagement.read`: Read sampling configuration for Adaptive Traffic Management.
118
123
  */
119
124
  scopes: ApiTokenCreateScopesItem[];
120
125
  }
@@ -32,6 +32,7 @@ export declare enum ApiTokenScopesItem {
32
32
  ActiveGateTokenManagementWrite = "activeGateTokenManagement.write",
33
33
  ActiveGatesRead = "activeGates.read",
34
34
  ActiveGatesWrite = "activeGates.write",
35
+ AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read",
35
36
  AnalyzersRead = "analyzers.read",
36
37
  AnalyzersWrite = "analyzers.write",
37
38
  ApiTokensRead = "apiTokens.read",
@@ -69,6 +70,10 @@ export declare enum ApiTokenScopesItem {
69
70
  OneAgentsRead = "oneAgents.read",
70
71
  OneAgentsWrite = "oneAgents.write",
71
72
  OpenTelemetryTraceIngest = "openTelemetryTrace.ingest",
73
+ OpenpipelineEvents = "openpipeline.events",
74
+ OpenpipelineEventsCustom = "openpipeline.events.custom",
75
+ OpenpipelineEventsSecurity = "openpipeline.events.security",
76
+ OpenpipelineEventsSecurityCustom = "openpipeline.events.security.custom",
72
77
  ProblemsRead = "problems.read",
73
78
  ProblemsWrite = "problems.write",
74
79
  ReleasesRead = "releases.read",
@@ -32,6 +32,10 @@ export declare enum ApiTokenUpdateScopesItem {
32
32
  ProblemsWrite = "problems.write",
33
33
  EventsRead = "events.read",
34
34
  EventsIngest = "events.ingest",
35
+ OpenpipelineEvents = "openpipeline.events",
36
+ OpenpipelineEventsCustom = "openpipeline.events.custom",
37
+ OpenpipelineEventsSecurity = "openpipeline.events.security",
38
+ OpenpipelineEventsSecurityCustom = "openpipeline.events.security.custom",
35
39
  BizeventsIngest = "bizevents.ingest",
36
40
  AnalyzersRead = "analyzers.read",
37
41
  AnalyzersWrite = "analyzers.write",
@@ -78,5 +82,6 @@ export declare enum ApiTokenUpdateScopesItem {
78
82
  HubInstall = "hub.install",
79
83
  JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
80
84
  JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
81
- ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write"
85
+ ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write",
86
+ AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read"
82
87
  }
@@ -49,6 +49,10 @@ export interface ApiTokenUpdate {
49
49
  * * `problems.write`: Write problems.
50
50
  * * `events.read`: Read events.
51
51
  * * `events.ingest`: Ingest events.
52
+ * * `openpipeline.events`: OpenPipeline events.
53
+ * * `openpipeline.events.custom`: OpenPipeline custom events.
54
+ * * `openpipeline.events.security`: OpenPipeline security events.
55
+ * * `openpipeline.events.security.custom`: OpenPipeline custom security events.
52
56
  * * `bizevents.ingest`: Ingest bizevents.
53
57
  * * `analyzers.read`: Read analyzers.
54
58
  * * `analyzers.write`: Write & execute analyzers.
@@ -96,6 +100,7 @@ export interface ApiTokenUpdate {
96
100
  * * `javaScriptMappingFiles.read`: Read JavaScript mapping files.
97
101
  * * `javaScriptMappingFiles.write`: Write JavaScript mapping files.
98
102
  * * `extensionConfigurationActions.write`: Actions for extension monitoring configurations.
103
+ * * `adaptiveTrafficManagement.read`: Read sampling configuration for Adaptive Traffic Management.
99
104
  */
100
105
  scopes?: ApiTokenUpdateScopesItem[];
101
106
  }
@@ -6,6 +6,7 @@ export declare enum AssetInfoDtoType {
6
6
  CustomCards = "CUSTOM_CARDS",
7
7
  Dashboard = "DASHBOARD",
8
8
  DeclarativeProcesses = "DECLARATIVE_PROCESSES",
9
+ DqlLogMetric = "DQL_LOG_METRIC",
9
10
  DqlLogProcessingRule = "DQL_LOG_PROCESSING_RULE",
10
11
  GenericRelationship = "GENERIC_RELATIONSHIP",
11
12
  GenericType = "GENERIC_TYPE",
@@ -15,6 +16,7 @@ export declare enum AssetInfoDtoType {
15
16
  LogEvent = "LOG_EVENT",
16
17
  LogMetric = "LOG_METRIC",
17
18
  LogProcessingRule = "LOG_PROCESSING_RULE",
19
+ LqlLogMetric = "LQL_LOG_METRIC",
18
20
  LqlLogProcessingRule = "LQL_LOG_PROCESSING_RULE",
19
21
  MetricMetadata = "METRIC_METADATA",
20
22
  MetricQuery = "METRIC_QUERY",
@@ -1,12 +1,36 @@
1
+ import { AnyValue } from './any-value';
1
2
  import { AuditLogEntryCategory } from './audit-log-entry-category';
2
3
  import { AuditLogEntryEventType } from './audit-log-entry-event-type';
3
- import { AuditLogEntryPatch } from './audit-log-entry-patch';
4
4
  import { AuditLogEntryUserType } from './audit-log-entry-user-type';
5
5
  /**
6
6
  * An entry of the audit log.
7
7
  */
8
8
  export interface AuditLogEntry {
9
9
  category: AuditLogEntryCategory;
10
+ /**
11
+ * The key of the affected object of a setting for entries of category `CONFIG`.
12
+ */
13
+ 'dt.settings.key'?: string;
14
+ /**
15
+ * The ID of the affected object of a setting for entries of category `CONFIG`.
16
+ */
17
+ 'dt.settings.object_id'?: string;
18
+ /**
19
+ * The value summary for entries of category `CONFIG`.
20
+ */
21
+ 'dt.settings.object_summary'?: string;
22
+ /**
23
+ * The schema ID or config ID for entries of category `CONFIG`.
24
+ */
25
+ 'dt.settings.schema_id'?: string;
26
+ /**
27
+ * The persistence scope for entries of category `CONFIG`, e.g. an ME identifier.
28
+ */
29
+ 'dt.settings.scope_id'?: string;
30
+ /**
31
+ * The display name of the scope for entries of category `CONFIG`.
32
+ */
33
+ 'dt.settings.scope_name'?: string;
10
34
  /**
11
35
  * The ID of an entity from the **category**.
12
36
  *
@@ -26,7 +50,12 @@ export interface AuditLogEntry {
26
50
  * The logged message.
27
51
  */
28
52
  message?: string;
29
- patch?: AuditLogEntryPatch;
53
+ /**
54
+ * The patch of the recorded operation as the JSON representation.
55
+ *
56
+ * The format is an enhanced RFC 6902. The patch also carries the previous value in the **oldValue** field.
57
+ */
58
+ patch?: AnyValue;
30
59
  /**
31
60
  * The recorded operation is successful (`true`) or failed (`false`).
32
61
  */
@@ -1,16 +1,22 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import { AuditLogEntry } from './audit-log-entry';
2
3
  import * as _AuditLogEntryCategoryTransformation from './audit-log-entry-category.transformation';
3
4
  import * as _AuditLogEntryEventTypeTransformation from './audit-log-entry-event-type.transformation';
4
- import * as _AuditLogEntryPatchTransformation from './audit-log-entry-patch.transformation';
5
5
  import * as _AuditLogEntryUserTypeTransformation from './audit-log-entry-user-type.transformation';
6
6
  export interface AsJson {
7
7
  category: _AuditLogEntryCategoryTransformation.AsJson;
8
+ 'dt.settings.key'?: string;
9
+ 'dt.settings.object_id'?: string;
10
+ 'dt.settings.object_summary'?: string;
11
+ 'dt.settings.schema_id'?: string;
12
+ 'dt.settings.scope_id'?: string;
13
+ 'dt.settings.scope_name'?: string;
8
14
  entityId?: string;
9
15
  environmentId: string;
10
16
  eventType: _AuditLogEntryEventTypeTransformation.AsJson;
11
17
  logId: string;
12
18
  message?: string;
13
- patch?: _AuditLogEntryPatchTransformation.AsJson;
19
+ patch?: _AnyValueTransformation.AsJson;
14
20
  success: boolean;
15
21
  timestamp: number;
16
22
  user: string;
@@ -27,5 +27,9 @@ export interface ComplexConstraint {
27
27
  * A list of properties (defined by IDs) that are used to check the constraint.
28
28
  */
29
29
  properties?: string[];
30
+ /**
31
+ * Whether to skip validation on a change made from the UI.
32
+ */
33
+ skipAsyncValidation?: boolean;
30
34
  type: ComplexConstraintType;
31
35
  }
@@ -7,6 +7,7 @@ export interface AsJson {
7
7
  maximumPropertyCount?: number;
8
8
  minimumPropertyCount?: number;
9
9
  properties?: string[];
10
+ skipAsyncValidation?: boolean;
10
11
  type: _ComplexConstraintTypeTransformation.AsJson;
11
12
  }
12
13
  export declare function fromJson($model: AsJson): ComplexConstraint;
@@ -31,6 +31,10 @@ export interface Constraint {
31
31
  * The regular expression pattern for valid string values.
32
32
  */
33
33
  pattern?: string;
34
+ /**
35
+ * Whether to skip validation on a change made from the UI.
36
+ */
37
+ skipAsyncValidation?: boolean;
34
38
  type: ConstraintType;
35
39
  /**
36
40
  * A list of properties for which the combination of values must be unique.
@@ -8,6 +8,7 @@ export interface AsJson {
8
8
  minLength?: number;
9
9
  minimum?: number;
10
10
  pattern?: string;
11
+ skipAsyncValidation?: boolean;
11
12
  type: _ConstraintTypeTransformation.AsJson;
12
13
  uniqueProperties?: string[];
13
14
  }
@@ -2,9 +2,7 @@
2
2
  * The scope of the credentials set.
3
3
  */
4
4
  export declare enum CredentialsResponseElementScope {
5
- All = "ALL",
6
5
  Extension = "EXTENSION",
7
6
  Synthetic = "SYNTHETIC",
8
- Unknown = "UNKNOWN",
9
7
  AppEngine = "APP_ENGINE"
10
8
  }
@@ -2,8 +2,6 @@
2
2
  * The set of scopes of the credentials set.
3
3
  */
4
4
  export declare enum CredentialsResponseElementScopesItem {
5
- All = "ALL",
6
5
  Extension = "EXTENSION",
7
- Synthetic = "SYNTHETIC",
8
- Unknown = "UNKNOWN"
6
+ Synthetic = "SYNTHETIC"
9
7
  }
@@ -2,9 +2,7 @@
2
2
  * The scope of the credentials set.
3
3
  */
4
4
  export declare enum CredentialsScope {
5
- All = "ALL",
6
5
  Extension = "EXTENSION",
7
6
  Synthetic = "SYNTHETIC",
8
- Unknown = "UNKNOWN",
9
7
  AppEngine = "APP_ENGINE"
10
8
  }
@@ -2,8 +2,6 @@
2
2
  * The set of scopes of the credentials set.
3
3
  */
4
4
  export declare enum CredentialsScopesItem {
5
- All = "ALL",
6
5
  Extension = "EXTENSION",
7
- Synthetic = "SYNTHETIC",
8
- Unknown = "UNKNOWN"
6
+ Synthetic = "SYNTHETIC"
9
7
  }
@@ -1,4 +1,4 @@
1
- import { SettingsValue } from './settings-value';
1
+ import { AnyValue } from './any-value';
2
2
  /**
3
3
  * An effective settings value.
4
4
  */
@@ -39,5 +39,12 @@ export interface EffectiveSettingsValue {
39
39
  * A short summary of settings. This can contain Markdown and will be escaped accordingly.
40
40
  */
41
41
  summary?: string;
42
- value?: SettingsValue;
42
+ /**
43
+ * The value of the setting.
44
+ *
45
+ * It defines the actual values of settings' parameters.
46
+ *
47
+ * The actual content depends on the object's schema.
48
+ */
49
+ value?: AnyValue;
43
50
  }
@@ -1,5 +1,5 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import { EffectiveSettingsValue } from './effective-settings-value';
2
- import * as _SettingsValueTransformation from './settings-value.transformation';
3
3
  export interface AsJson {
4
4
  author?: string;
5
5
  created?: number;
@@ -10,7 +10,7 @@ export interface AsJson {
10
10
  schemaVersion?: string;
11
11
  searchSummary?: string;
12
12
  summary?: string;
13
- value?: _SettingsValueTransformation.AsJson;
13
+ value?: _AnyValueTransformation.AsJson;
14
14
  }
15
15
  export declare function fromJson($model: AsJson): EffectiveSettingsValue;
16
16
  export declare function toJson($model: EffectiveSettingsValue): AsJson;
@@ -1,4 +1,4 @@
1
- import { EnumValueValue } from './enum-value-value';
1
+ import { AnyValue } from './any-value';
2
2
  /**
3
3
  * An allowed value for an enum property.
4
4
  */
@@ -19,5 +19,8 @@ export interface EnumValue {
19
19
  * The icon of the value.
20
20
  */
21
21
  icon?: string;
22
- value: EnumValueValue;
22
+ /**
23
+ * The allowed value of the enum.
24
+ */
25
+ value: AnyValue;
23
26
  }
@@ -1,11 +1,11 @@
1
+ import * as _AnyValueTransformation from './any-value.transformation';
1
2
  import { EnumValue } from './enum-value';
2
- import * as _EnumValueValueTransformation from './enum-value-value.transformation';
3
3
  export interface AsJson {
4
4
  description?: string;
5
5
  displayName: string;
6
6
  enumInstance?: string;
7
7
  icon?: string;
8
- value: _EnumValueValueTransformation.AsJson;
8
+ value: _AnyValueTransformation.AsJson;
9
9
  }
10
10
  export declare function fromJson($model: AsJson): EnumValue;
11
11
  export declare function toJson($model: EnumValue): AsJson;
@@ -1,4 +1,8 @@
1
1
  export interface ExecuteActionsResponse {
2
+ /**
3
+ * Active Gate id for actions execution
4
+ */
5
+ agId?: string;
2
6
  /**
3
7
  * Active Gate name for actions execution
4
8
  */
@@ -1,5 +1,6 @@
1
1
  import { ExecuteActionsResponse } from './execute-actions-response';
2
2
  export interface AsJson {
3
+ agId?: string;
3
4
  agName?: string;
4
5
  }
5
6
  export declare function fromJson($model: AsJson): ExecuteActionsResponse;