@dx-do/client 7.8.0 → 7.9.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.
- package/dist/index.cjs.js +415 -80
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +409 -81
- package/dist/index.esm.js.map +1 -1
- package/dist/src/lib/model/config/DXDoConfiguration.d.ts +8 -0
- package/dist/src/lib/model/config/DXDoConfiguration.d.ts.map +1 -1
- package/dist/src/lib/model/datastore/tas/store.d.ts +114 -129
- package/dist/src/lib/model/datastore/tas/store.d.ts.map +1 -1
- package/dist/src/lib/model/log/ingest.d.ts +13 -0
- package/dist/src/lib/model/log/ingest.d.ts.map +1 -1
- package/dist/src/lib/model/nass/NASS.d.ts +4 -2
- package/dist/src/lib/model/nass/NASS.d.ts.map +1 -1
- package/dist/src/lib/model/oi/services.create.d.ts +19 -0
- package/dist/src/lib/model/oi/services.create.d.ts.map +1 -1
- package/dist/src/lib/model/oi/services.transform.d.ts +20 -1
- package/dist/src/lib/model/oi/services.transform.d.ts.map +1 -1
- package/dist/src/lib/model/service/service-overview.d.ts +2 -0
- package/dist/src/lib/model/service/service-overview.d.ts.map +1 -1
- package/dist/src/lib/model/tas/TASGraph.d.ts +7 -3
- package/dist/src/lib/model/tas/TASGraph.d.ts.map +1 -1
- package/dist/src/lib/services/alarm.service.d.ts +11 -1
- package/dist/src/lib/services/alarm.service.d.ts.map +1 -1
- package/dist/src/lib/services/datastore/datastore-metrics-metadata.service.d.ts +6 -3
- package/dist/src/lib/services/datastore/datastore-metrics-metadata.service.d.ts.map +1 -1
- package/dist/src/lib/services/datastore/datastore-nass.service.d.ts +6 -2
- package/dist/src/lib/services/datastore/datastore-nass.service.d.ts.map +1 -1
- package/dist/src/lib/services/datastore/datastore-tas.service.d.ts +8 -5
- package/dist/src/lib/services/datastore/datastore-tas.service.d.ts.map +1 -1
- package/dist/src/lib/services/dx-saas.service.d.ts +16 -7
- package/dist/src/lib/services/dx-saas.service.d.ts.map +1 -1
- package/dist/src/lib/services/event.service.d.ts +10 -1
- package/dist/src/lib/services/event.service.d.ts.map +1 -1
- package/dist/src/lib/services/logs.service.d.ts +40 -0
- package/dist/src/lib/services/logs.service.d.ts.map +1 -1
- package/dist/src/lib/services/service.service.d.ts +24 -2
- package/dist/src/lib/services/service.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -34,5 +34,13 @@ export interface DXDoConfiguration {
|
|
|
34
34
|
* client services will be routed through the specified proxy host/port.
|
|
35
35
|
*/
|
|
36
36
|
proxyConfiguration?: AxiosProxyConfig;
|
|
37
|
+
/**
|
|
38
|
+
* Default request timeout in milliseconds for every HTTP call the client
|
|
39
|
+
* issues. Unset (the default) keeps axios's behaviour of no timeout, which
|
|
40
|
+
* the CLI's streaming and long-running query paths rely on. Long-running
|
|
41
|
+
* producers set it so a hung gateway cannot strand a cycle; individual
|
|
42
|
+
* write calls can still override it per request.
|
|
43
|
+
*/
|
|
44
|
+
requestTimeoutMs?: number;
|
|
37
45
|
}
|
|
38
46
|
//# sourceMappingURL=DXDoConfiguration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DXDoConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/config/DXDoConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,MAAM,OAAO,CAAC;AAEvC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,iBAAiB;IAChC,4DAA4D;IAC5D,eAAe,EAAE,oBAAoB,CAAC;IACtC;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DXDoConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/config/DXDoConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,MAAM,OAAO,CAAC;AAEvC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,iBAAiB;IAChC,4DAA4D;IAC5D,eAAe,EAAE,oBAAoB,CAAC;IACtC;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IACtC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -1,4 +1,100 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Attribute value the TAS write interface accepts: a string or a list of
|
|
4
|
+
* strings (`docs/data-store-doc/tas-rest.html`, "Write Interface").
|
|
5
|
+
*/
|
|
6
|
+
export declare const TasStoreAttributeValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
7
|
+
export type TasStoreAttributeValue = z.infer<typeof TasStoreAttributeValueSchema>;
|
|
8
|
+
/**
|
|
9
|
+
* Request-side vertex for `POST /tas/graph/store`.
|
|
10
|
+
*
|
|
11
|
+
* Ingestion identifies a vertex by `externalId` only — a vertex being created
|
|
12
|
+
* has no numeric id yet (`docs/data-store-doc/tas-index.html` §2.2, "ingestion
|
|
13
|
+
* tasks should use external ID only") — so this deliberately differs from the
|
|
14
|
+
* response-side `TasVertexSchema`, which requires `id`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const TasStoreVertexSchema: z.ZodObject<{
|
|
17
|
+
externalId: z.ZodString;
|
|
18
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
endTime: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
attributes: z.ZodObject<{
|
|
22
|
+
name: z.ZodString;
|
|
23
|
+
type: z.ZodString;
|
|
24
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
25
|
+
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
26
|
+
CUSTOM: "CUSTOM";
|
|
27
|
+
GATHERED: "GATHERED";
|
|
28
|
+
DECORATED: "DECORATED";
|
|
29
|
+
HIDDEN: "HIDDEN";
|
|
30
|
+
}>>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
|
+
export type TasStoreVertex = z.infer<typeof TasStoreVertexSchema>;
|
|
33
|
+
/**
|
|
34
|
+
* Request-side edge for `POST /tas/graph/store`: endpoints are named by
|
|
35
|
+
* `externalId`; numeric ids are optional and only apply to edges between
|
|
36
|
+
* vertices the platform already holds. The platform silently drops an edge
|
|
37
|
+
* whose endpoint vertex does not exist.
|
|
38
|
+
*/
|
|
39
|
+
export declare const TasStoreEdgeSchema: z.ZodObject<{
|
|
40
|
+
sourceExternalId: z.ZodString;
|
|
41
|
+
targetExternalId: z.ZodString;
|
|
42
|
+
flowExternalId: z.ZodOptional<z.ZodString>;
|
|
43
|
+
wireExternalId: z.ZodOptional<z.ZodString>;
|
|
44
|
+
sourceId: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
targetId: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
flowId: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
wireId: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
endTime: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
51
|
+
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
52
|
+
CUSTOM: "CUSTOM";
|
|
53
|
+
GATHERED: "GATHERED";
|
|
54
|
+
DECORATED: "DECORATED";
|
|
55
|
+
HIDDEN: "HIDDEN";
|
|
56
|
+
}>>>;
|
|
57
|
+
}, z.core.$loose>;
|
|
58
|
+
export type TasStoreEdge = z.infer<typeof TasStoreEdgeSchema>;
|
|
59
|
+
/** The graph body of a store request: externalId-keyed vertices and edges. */
|
|
60
|
+
export declare const TasStoreGraphSchema: z.ZodObject<{
|
|
61
|
+
vertices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
62
|
+
externalId: z.ZodString;
|
|
63
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
endTime: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
attributes: z.ZodObject<{
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
type: z.ZodString;
|
|
69
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
70
|
+
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
71
|
+
CUSTOM: "CUSTOM";
|
|
72
|
+
GATHERED: "GATHERED";
|
|
73
|
+
DECORATED: "DECORATED";
|
|
74
|
+
HIDDEN: "HIDDEN";
|
|
75
|
+
}>>>;
|
|
76
|
+
}, z.core.$loose>>>;
|
|
77
|
+
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
78
|
+
sourceExternalId: z.ZodString;
|
|
79
|
+
targetExternalId: z.ZodString;
|
|
80
|
+
flowExternalId: z.ZodOptional<z.ZodString>;
|
|
81
|
+
wireExternalId: z.ZodOptional<z.ZodString>;
|
|
82
|
+
sourceId: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
targetId: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
flowId: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
wireId: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
endTime: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
89
|
+
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
90
|
+
CUSTOM: "CUSTOM";
|
|
91
|
+
GATHERED: "GATHERED";
|
|
92
|
+
DECORATED: "DECORATED";
|
|
93
|
+
HIDDEN: "HIDDEN";
|
|
94
|
+
}>>>;
|
|
95
|
+
}, z.core.$loose>>>;
|
|
96
|
+
}, z.core.$loose>;
|
|
97
|
+
export type TasStoreGraph = z.infer<typeof TasStoreGraphSchema>;
|
|
2
98
|
export declare const TasStoreGraphInputSchema: z.ZodObject<{
|
|
3
99
|
includeSuccessResult: z.ZodOptional<z.ZodBoolean>;
|
|
4
100
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11,11 +107,14 @@ export declare const TasStoreGraphInputSchema: z.ZodObject<{
|
|
|
11
107
|
}>>;
|
|
12
108
|
graph: z.ZodObject<{
|
|
13
109
|
vertices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
|
-
|
|
15
|
-
|
|
110
|
+
externalId: z.ZodString;
|
|
111
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
16
112
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
17
113
|
endTime: z.ZodOptional<z.ZodNumber>;
|
|
18
|
-
attributes: z.
|
|
114
|
+
attributes: z.ZodObject<{
|
|
115
|
+
name: z.ZodString;
|
|
116
|
+
type: z.ZodString;
|
|
117
|
+
}, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
19
118
|
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
20
119
|
CUSTOM: "CUSTOM";
|
|
21
120
|
GATHERED: "GATHERED";
|
|
@@ -24,17 +123,17 @@ export declare const TasStoreGraphInputSchema: z.ZodObject<{
|
|
|
24
123
|
}>>>;
|
|
25
124
|
}, z.core.$loose>>>;
|
|
26
125
|
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
flowId: z.ZodNumber;
|
|
30
|
-
wireId: z.ZodNumber;
|
|
31
|
-
sourceExternalId: z.ZodOptional<z.ZodString>;
|
|
32
|
-
targetExternalId: z.ZodOptional<z.ZodString>;
|
|
126
|
+
sourceExternalId: z.ZodString;
|
|
127
|
+
targetExternalId: z.ZodString;
|
|
33
128
|
flowExternalId: z.ZodOptional<z.ZodString>;
|
|
34
129
|
wireExternalId: z.ZodOptional<z.ZodString>;
|
|
130
|
+
sourceId: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
targetId: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
flowId: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
wireId: z.ZodOptional<z.ZodNumber>;
|
|
35
134
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
36
135
|
endTime: z.ZodOptional<z.ZodNumber>;
|
|
37
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
136
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
38
137
|
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
39
138
|
CUSTOM: "CUSTOM";
|
|
40
139
|
GATHERED: "GATHERED";
|
|
@@ -42,102 +141,6 @@ export declare const TasStoreGraphInputSchema: z.ZodObject<{
|
|
|
42
141
|
HIDDEN: "HIDDEN";
|
|
43
142
|
}>>>;
|
|
44
143
|
}, z.core.$loose>>>;
|
|
45
|
-
states: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
-
vertexId: z.ZodNumber;
|
|
47
|
-
alertId: z.ZodNumber;
|
|
48
|
-
metricId: z.ZodNumber;
|
|
49
|
-
stateExternalId: z.ZodOptional<z.ZodObject<{
|
|
50
|
-
vertexExternalId: z.ZodOptional<z.ZodString>;
|
|
51
|
-
alertExternalId: z.ZodOptional<z.ZodString>;
|
|
52
|
-
metricExternalId: z.ZodOptional<z.ZodString>;
|
|
53
|
-
}, z.core.$loose>>;
|
|
54
|
-
status: z.ZodNumber;
|
|
55
|
-
data: z.ZodOptional<z.ZodUnknown>;
|
|
56
|
-
startTime: z.ZodOptional<z.ZodNumber>;
|
|
57
|
-
endTime: z.ZodOptional<z.ZodNumber>;
|
|
58
|
-
}, z.core.$loose>>>;
|
|
59
|
-
expiredVertices: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
60
|
-
expiredEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
|
-
sourceId: z.ZodNumber;
|
|
62
|
-
targetId: z.ZodNumber;
|
|
63
|
-
flowId: z.ZodNumber;
|
|
64
|
-
wireId: z.ZodNumber;
|
|
65
|
-
}, z.core.$loose>>>;
|
|
66
|
-
expiredStates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
-
vertexId: z.ZodNumber;
|
|
68
|
-
alertId: z.ZodNumber;
|
|
69
|
-
metricId: z.ZodNumber;
|
|
70
|
-
}, z.core.$loose>>>;
|
|
71
|
-
version: z.ZodOptional<z.ZodString>;
|
|
72
|
-
analytics: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
73
|
-
t: z.ZodOptional<z.ZodString>;
|
|
74
|
-
id: z.ZodOptional<z.ZodString>;
|
|
75
|
-
values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
76
|
-
attribValue: z.ZodOptional<z.ZodString>;
|
|
77
|
-
occurances: z.ZodOptional<z.ZodNumber>;
|
|
78
|
-
vertexIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
79
|
-
alerts: z.ZodOptional<z.ZodNumber>;
|
|
80
|
-
cautionAlerts: z.ZodOptional<z.ZodNumber>;
|
|
81
|
-
dangerAlerts: z.ZodOptional<z.ZodNumber>;
|
|
82
|
-
}, z.core.$loose>>>;
|
|
83
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
84
|
-
t: z.ZodOptional<z.ZodString>;
|
|
85
|
-
id: z.ZodOptional<z.ZodString>;
|
|
86
|
-
values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
|
-
name: z.ZodOptional<z.ZodString>;
|
|
88
|
-
layer: z.ZodOptional<z.ZodString>;
|
|
89
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
90
|
-
CUSTOM: "CUSTOM";
|
|
91
|
-
GATHERED: "GATHERED";
|
|
92
|
-
DECORATED: "DECORATED";
|
|
93
|
-
HIDDEN: "HIDDEN";
|
|
94
|
-
}>>;
|
|
95
|
-
}, z.core.$loose>>>;
|
|
96
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
97
|
-
t: z.ZodOptional<z.ZodString>;
|
|
98
|
-
id: z.ZodOptional<z.ZodString>;
|
|
99
|
-
vertexCount: z.ZodOptional<z.ZodNumber>;
|
|
100
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
101
|
-
t: z.ZodOptional<z.ZodString>;
|
|
102
|
-
id: z.ZodOptional<z.ZodString>;
|
|
103
|
-
values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
104
|
-
id: z.ZodOptional<z.ZodString>;
|
|
105
|
-
name: z.ZodOptional<z.ZodString>;
|
|
106
|
-
groupName: z.ZodOptional<z.ZodString>;
|
|
107
|
-
layer: z.ZodOptional<z.ZodString>;
|
|
108
|
-
vertexIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
109
|
-
objectVertices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
-
id: z.ZodNumber;
|
|
111
|
-
externalId: z.ZodOptional<z.ZodString>;
|
|
112
|
-
startTime: z.ZodOptional<z.ZodNumber>;
|
|
113
|
-
endTime: z.ZodOptional<z.ZodNumber>;
|
|
114
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
115
|
-
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
116
|
-
CUSTOM: "CUSTOM";
|
|
117
|
-
GATHERED: "GATHERED";
|
|
118
|
-
DECORATED: "DECORATED";
|
|
119
|
-
HIDDEN: "HIDDEN";
|
|
120
|
-
}>>>;
|
|
121
|
-
}, z.core.$loose>>>;
|
|
122
|
-
alertStatistics: z.ZodOptional<z.ZodObject<{
|
|
123
|
-
alerts: z.ZodOptional<z.ZodNumber>;
|
|
124
|
-
cautionAlerts: z.ZodOptional<z.ZodNumber>;
|
|
125
|
-
dangerAlerts: z.ZodOptional<z.ZodNumber>;
|
|
126
|
-
}, z.core.$loose>>;
|
|
127
|
-
}, z.core.$loose>>>;
|
|
128
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
129
|
-
t: z.ZodOptional<z.ZodString>;
|
|
130
|
-
id: z.ZodOptional<z.ZodString>;
|
|
131
|
-
name: z.ZodOptional<z.ZodString>;
|
|
132
|
-
vertexIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
133
|
-
values: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$loose>>>;
|
|
134
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
135
|
-
t: z.ZodOptional<z.ZodString>;
|
|
136
|
-
id: z.ZodOptional<z.ZodString>;
|
|
137
|
-
}, z.core.$loose>]>>>;
|
|
138
|
-
nextOffset: z.ZodOptional<z.ZodNumber>;
|
|
139
|
-
totalVertices: z.ZodOptional<z.ZodNumber>;
|
|
140
|
-
totalEdges: z.ZodOptional<z.ZodNumber>;
|
|
141
144
|
}, z.core.$loose>;
|
|
142
145
|
}, z.core.$loose>;
|
|
143
146
|
export type TasStoreGraphInput = z.infer<typeof TasStoreGraphInputSchema>;
|
|
@@ -279,40 +282,22 @@ export declare const TasStoreGraphResponseSchema: z.ZodObject<{
|
|
|
279
282
|
}, z.core.$loose>>;
|
|
280
283
|
failedVertices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
284
|
object: z.ZodObject<{
|
|
282
|
-
id: z.ZodNumber;
|
|
283
285
|
externalId: z.ZodOptional<z.ZodString>;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
+
sourceExternalId: z.ZodOptional<z.ZodString>;
|
|
287
|
+
targetExternalId: z.ZodOptional<z.ZodString>;
|
|
288
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
286
289
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
287
|
-
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
288
|
-
CUSTOM: "CUSTOM";
|
|
289
|
-
GATHERED: "GATHERED";
|
|
290
|
-
DECORATED: "DECORATED";
|
|
291
|
-
HIDDEN: "HIDDEN";
|
|
292
|
-
}>>>;
|
|
293
290
|
}, z.core.$loose>;
|
|
294
291
|
code: z.ZodOptional<z.ZodString>;
|
|
295
292
|
message: z.ZodOptional<z.ZodString>;
|
|
296
293
|
}, z.core.$loose>>>;
|
|
297
294
|
failedEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
295
|
object: z.ZodObject<{
|
|
299
|
-
|
|
300
|
-
targetId: z.ZodNumber;
|
|
301
|
-
flowId: z.ZodNumber;
|
|
302
|
-
wireId: z.ZodNumber;
|
|
296
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
303
297
|
sourceExternalId: z.ZodOptional<z.ZodString>;
|
|
304
298
|
targetExternalId: z.ZodOptional<z.ZodString>;
|
|
305
|
-
|
|
306
|
-
wireExternalId: z.ZodOptional<z.ZodString>;
|
|
307
|
-
startTime: z.ZodOptional<z.ZodNumber>;
|
|
308
|
-
endTime: z.ZodOptional<z.ZodNumber>;
|
|
299
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
309
300
|
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
310
|
-
attributesType: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
311
|
-
CUSTOM: "CUSTOM";
|
|
312
|
-
GATHERED: "GATHERED";
|
|
313
|
-
DECORATED: "DECORATED";
|
|
314
|
-
HIDDEN: "HIDDEN";
|
|
315
|
-
}>>>;
|
|
316
301
|
}, z.core.$loose>;
|
|
317
302
|
code: z.ZodOptional<z.ZodString>;
|
|
318
303
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/model/datastore/tas/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/model/datastore/tas/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAO3B;;;GAGG;AACH,eAAO,MAAM,4BAA4B,6DAEsB,CAAC;AAEhE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;iBAyB/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;iBAmB7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,8EAA8E;AAC9E,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAclE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -25,6 +25,19 @@ export declare namespace LogIngest {
|
|
|
25
25
|
const RESERVED_ADDITIONAL_FIELDS: readonly ["severity", "logseverity"];
|
|
26
26
|
/** True when `name` is one of {@link RESERVED_ADDITIONAL_FIELDS} in any letter case. */
|
|
27
27
|
function isReservedLogField(name: string): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Thrown by `DxSaasService.resolveLogIngestionURL` when no log gateway can
|
|
30
|
+
* be determined. `definitive` is true when the profile itself rules an
|
|
31
|
+
* endpoint out (unparseable or on-premise gateway, Log Analytics absent or
|
|
32
|
+
* not provisioned) and false when only the products lookup failed — a
|
|
33
|
+
* producer keeps shipping off for the process in the first case and retries
|
|
34
|
+
* later in the second. The message names the reason and how to set
|
|
35
|
+
* `dxLogIngestionURL`.
|
|
36
|
+
*/
|
|
37
|
+
class LogIngestionEndpointError extends Error {
|
|
38
|
+
readonly definitive: boolean;
|
|
39
|
+
constructor(message: string, definitive: boolean);
|
|
40
|
+
}
|
|
28
41
|
const LogIngestOptionsSchema: z.ZodObject<{
|
|
29
42
|
logtype: z.ZodOptional<z.ZodString>;
|
|
30
43
|
severity: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/log/ingest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,yBAAiB,SAAS,CAAC;IACzB;;;OAGG;IACI,MAAM,cAAc,+DAAgE,CAAC;IAErF,MAAM,iBAAiB;;;;;;;MAI3B,CAAC;IACJ,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAE5D,+CAA+C;IACxC,MAAM,oBAAoB,EAAE,WAAoB,CAAC;IAExD;;;;;OAKG;IACI,MAAM,0BAA0B,sCAAuC,CAAC;IAE/E,wFAAwF;IACxF,SAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAExD;IAEM,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ingest.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/log/ingest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,yBAAiB,SAAS,CAAC;IACzB;;;OAGG;IACI,MAAM,cAAc,+DAAgE,CAAC;IAErF,MAAM,iBAAiB;;;;;;;MAI3B,CAAC;IACJ,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAE5D,+CAA+C;IACxC,MAAM,oBAAoB,EAAE,WAAoB,CAAC;IAExD;;;;;OAKG;IACI,MAAM,0BAA0B,sCAAuC,CAAC;IAE/E,wFAAwF;IACxF,SAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAExD;IAED;;;;;;;;OAQG;IACH,MAAa,yBAA0B,SAAQ,KAAK;QAGhD,QAAQ,CAAC,UAAU,EAAE,OAAO;oBAD5B,OAAO,EAAE,MAAM,EACN,UAAU,EAAE,OAAO;KAK/B;IAEM,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;qBA+CjC,CAAC;IAEH,KAAY,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;IAEtE,4FAA4F;IAC5F,UAAiB,QAAQ;QACvB,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB;CACF"}
|
|
@@ -8,8 +8,10 @@ export declare namespace NASS {
|
|
|
8
8
|
interface MetricValue {
|
|
9
9
|
metricId: string;
|
|
10
10
|
timestampSeconds: number;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
/** Numeric metrics: the interval minimum. String metrics require `null`. */
|
|
12
|
+
min: number | null | undefined;
|
|
13
|
+
/** Numeric metrics: the interval maximum. String metrics require `null`. */
|
|
14
|
+
max: number | null | undefined;
|
|
13
15
|
value: number | string;
|
|
14
16
|
count: number;
|
|
15
17
|
interval: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NASS.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/nass/NASS.ts"],"names":[],"mappings":"AAAA,yBAAiB,IAAI,CAAC;IACpB,UAAiB,kBAAkB;QACjC,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;KAC/C;IAED,UAAiB,WAAW;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,gBAAgB,EAAE,MAAM,CAAC;QACzB,GAAG,EAAE,MAAM,GA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QAC/B,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd;IAED,UAAiB,uBAAuB;QACtC,OAAO,EAAE,oBAAoB,EAAE,CAAC;KACjC;IAED,UAAiB,8BAA8B;QAC7C,OAAO,EAAE,gBAAgB,EAAE,CAAC;QAC5B,OAAO,EAAE,gBAAgB,EAAE,CAAC;KAC7B;IAED,UAAiB,kBAAkB;QACjC,EAAE,EAAE,MAAM,CAAC;KACZ;IACD,KAAY,mBAAmB,GAAG,OAAO,GAAG,OAAO,CAAC;IAEpD,UAAiB,aAAa;QAC5B,KAAK,EAAE,kBAAkB,EAAE,CAAC;KAC7B;IAgBD,SAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmDzD;CACF"}
|
|
@@ -29,9 +29,28 @@ export declare namespace CreateServices {
|
|
|
29
29
|
query: ServiceContentQuery[];
|
|
30
30
|
options: ServiceContentOptions;
|
|
31
31
|
}
|
|
32
|
+
/** The service kinds the platform recognises, in wire casing (`servicerepo/filters` catalog). */
|
|
33
|
+
const SERVICE_TYPES: readonly ["Service", "Application", "Group"];
|
|
34
|
+
type ServiceType = (typeof SERVICE_TYPES)[number];
|
|
35
|
+
/**
|
|
36
|
+
* Attribute changes for `service update-service`. Every field is optional —
|
|
37
|
+
* omitted means "keep the existing value"; `tags` / `customProperties` replace
|
|
38
|
+
* the whole list. The name and the service type are deliberately absent: both
|
|
39
|
+
* are fixed at creation — the server does not allow renames and silently
|
|
40
|
+
* ignores a `serviceType` change on a re-save (verified on a lab tenant:
|
|
41
|
+
* the save succeeds and the record's timestamp advances, the type stays).
|
|
42
|
+
*/
|
|
43
|
+
interface ServiceUpdatePatch {
|
|
44
|
+
description?: string;
|
|
45
|
+
location?: string;
|
|
46
|
+
tags?: string[];
|
|
47
|
+
customProperties?: ServiceCustomProperty[];
|
|
48
|
+
situationsIncludeChildServices?: boolean;
|
|
49
|
+
}
|
|
32
50
|
interface ServiceVertexAttributes {
|
|
33
51
|
type: 'saService';
|
|
34
52
|
name: string;
|
|
53
|
+
serviceType: ServiceType;
|
|
35
54
|
state: 'ACTIVE';
|
|
36
55
|
maintenance: boolean;
|
|
37
56
|
situationsIncludeChildServices: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.create.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/oi/services.create.ts"],"names":[],"mappings":"AAAA,yBAAiB,cAAc,CAAC;IAC9B,UAAiB,mBAAmB;QAClC,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,EAAE,EAAE,MAAM,CAAC;KACZ;IAED,UAAiB,aAAa;QAC5B,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;KACnB;IAED,UAAiB,qBAAqB;QACpC,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf;IAED,KAAY,2BAA2B,GAAG,IAAI,GAAG,SAAS,CAAC;IAE3D,UAAiB,mBAAmB;QAClC,aAAa,EAAE,MAAM,CAAC;QACtB,cAAc,EAAE,MAAM,CAAC;QACvB,QAAQ,EAAE,2BAA2B,CAAC;KACvC;IAED,UAAiB,qBAAqB;QACpC,kBAAkB,EAAE,OAAO,CAAC;KAC7B;IAED,UAAiB,cAAc;QAC7B,KAAK,EAAE,mBAAmB,EAAE,CAAC;QAC7B,OAAO,EAAE,qBAAqB,CAAC;KAChC;IAED,UAAiB,uBAAuB;QACtC,IAAI,EAAE,WAAW,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,QAAQ,CAAC;QAChB,WAAW,EAAE,OAAO,CAAC;QACrB,8BAA8B,EAAE,OAAO,CAAC;QACxC,cAAc,EAAE,cAAc,EAAE,CAAC;QACjC,YAAY,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAC9B,IAAI,EAAE,MAAM,EAAE,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;QAC1C,aAAa,EAAE,mBAAmB,EAAE,CAAC;QACrC,OAAO,EAAE,aAAa,EAAE,CAAC;KAC1B;IAED,UAAiB,aAAa;QAC5B,UAAU,EAAE,uBAAuB,CAAC;QACpC,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;IAED,UAAiB,qBAAqB;QACpC,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,aAAa,CAAC;KACzB;IAED,UAAiB,WAAW;QAC1B,gBAAgB,EAAE,MAAM,CAAC;QACzB,gBAAgB,EAAE,MAAM,CAAC;QACzB,UAAU,EAAE,qBAAqB,CAAC;KACnC;IAED,UAAiB,iBAAiB;QAChC,QAAQ,EAAE,aAAa,EAAE,CAAC;QAC1B,KAAK,EAAE,WAAW,EAAE,CAAC;KACtB;IAED,UAAiB,qBAAqB;QACpC,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;KAChB;CACF"}
|
|
1
|
+
{"version":3,"file":"services.create.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/oi/services.create.ts"],"names":[],"mappings":"AAAA,yBAAiB,cAAc,CAAC;IAC9B,UAAiB,mBAAmB;QAClC,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,EAAE,EAAE,MAAM,CAAC;KACZ;IAED,UAAiB,aAAa;QAC5B,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,EAAE,EAAE,MAAM,CA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AqB,EAAE,CAAC;QAC1C,aAAa,EAAE,mBAAmB,EAAE,CAAC;QACrC,OAAO,EAAE,aAAa,EAAE,CAAC;KAC1B;IAED,UAAiB,aAAa;QAC5B,UAAU,EAAE,uBAAuB,CAAC;QACpC,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;IAED,UAAiB,qBAAqB;QACpC,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,aAAa,CAAC;KACzB;IAED,UAAiB,WAAW;QAC1B,gBAAgB,EAAE,MAAM,CAAC;QACzB,gBAAgB,EAAE,MAAM,CAAC;QACzB,UAAU,EAAE,qBAAqB,CAAC;KACnC;IAED,UAAiB,iBAAiB;QAChC,QAAQ,EAAE,aAAa,EAAE,CAAC;QAC1B,KAAK,EAAE,WAAW,EAAE,CAAC;KACtB;IAED,UAAiB,qBAAqB;QACpC,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;KAChB;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CreateServices } from './services.create';
|
|
2
2
|
import type { RetrieveServices } from './services.retrieve';
|
|
3
3
|
/**
|
|
4
4
|
* Pure (HTTP-free) transforms between the Service read shapes and the store
|
|
@@ -25,6 +25,25 @@ export declare namespace ServiceTransform {
|
|
|
25
25
|
* and also makes exports portable across tenants.
|
|
26
26
|
*/
|
|
27
27
|
export function retrievedToServiceVertex(v: RetrieveServices.RetrievedServiceVertex): ServiceVertex;
|
|
28
|
+
/**
|
|
29
|
+
* Canonicalise a read-back `serviceType` (any casing). Missing or unknown
|
|
30
|
+
* values map to `Service`, the server's default for records that predate
|
|
31
|
+
* the field.
|
|
32
|
+
*/
|
|
33
|
+
export function normalizeServiceType(value: unknown): CreateServices.ServiceType;
|
|
34
|
+
/** Parse a user-supplied service type (`service|application|group`, any casing); throws on anything else. */
|
|
35
|
+
export function parseServiceType(input: string): CreateServices.ServiceType;
|
|
36
|
+
/**
|
|
37
|
+
* Apply an attribute patch to ONE vertex of a store body (in place) and return
|
|
38
|
+
* human-readable change lines; an empty result means nothing differs. Fields
|
|
39
|
+
* omitted from the patch keep their values; `tags` / `customProperties` are
|
|
40
|
+
* replaced wholesale (what the UI editor sends), not merged. The name and the
|
|
41
|
+
* `serviceType` are never touched — both are fixed at creation (the server
|
|
42
|
+
* does not allow renames and ignores a type change on a re-save).
|
|
43
|
+
*
|
|
44
|
+
* @throws Error if `serviceName` is not among `body.vertices`.
|
|
45
|
+
*/
|
|
46
|
+
export function applyServiceUpdate(body: CreateServiceBody, serviceName: string, patch: CreateServices.ServiceUpdatePatch): string[];
|
|
28
47
|
/**
|
|
29
48
|
* Build NAME-keyed store edges from a topology graph, preserving weights +
|
|
30
49
|
* semantic. Endpoints are mapped from `SA:<uuid>` to service name via the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.transform.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/oi/services.transform.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"services.transform.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/oi/services.transform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;;;;;GASG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,KAAK,aAAa,GAAG,cAAc,CAAC,aAAa,CAAC;IAClD,KAAK,WAAW,GAAG,cAAc,CAAC,WAAW,CAAC;IAC9C,KAAK,iBAAiB,GAAG,cAAc,CAAC,iBAAiB,CAAC;IAE1D;;;;;;;;;OASG;IACH,MAAM,UAAU,wBAAwB,CACtC,CAAC,EAAE,gBAAgB,CAAC,sBAAsB,GACzC,aAAa,CAsBf;IAOD;;;;OAIG;IACH,MAAM,UAAU,oBAAoB,CAAC,KAAK,EAAE,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F;IACtF,MAAM,UAAU,wBAAwB,CACtC,KAAK,EAAE,WAAW,EAAE,EACpB,MAAM,EAAE,MAAM,GACb,IAAI,CAiBN;;CACF"}
|
|
@@ -16,6 +16,8 @@ export interface ServiceOverviewAttributes {
|
|
|
16
16
|
maintenance: boolean;
|
|
17
17
|
situationsIncludeChildServices: boolean;
|
|
18
18
|
restrictSLOOnMaintenance: boolean;
|
|
19
|
+
/** `Service` | `Application` | `Group` on current tenants; absent on older records. */
|
|
20
|
+
serviceType?: string;
|
|
19
21
|
customProperties: ServiceCustomProperty[];
|
|
20
22
|
metrics: ServiceMetric[];
|
|
21
23
|
customMetrics: unknown[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-overview.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/service/service-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,KAAK,qBAAqB,GAAG,cAAc,CAAC,qBAAqB,CAAC;AAClE,KAAK,aAAa,GAAG,cAAc,CAAC,aAAa,CAAC;AAElD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,cAAc,EAAE,OAAO,EAAE,CAAC;IAC1B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,8BAA8B,EAAE,OAAO,CAAC;IACxC,wBAAwB,EAAE,OAAO,CAAC;IAClC,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;IAC1C,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,aAAa,EAAE,OAAO,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,yBAAyB,CAAC;CACvC"}
|
|
1
|
+
{"version":3,"file":"service-overview.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/service/service-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,KAAK,qBAAqB,GAAG,cAAc,CAAC,qBAAqB,CAAC;AAClE,KAAK,aAAa,GAAG,cAAc,CAAC,aAAa,CAAC;AAElD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,cAAc,EAAE,OAAO,EAAE,CAAC;IAC1B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,8BAA8B,EAAE,OAAO,CAAC;IACxC,wBAAwB,EAAE,OAAO,CAAC;IAClC,uFAAuF;IACvF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;IAC1C,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,aAAa,EAAE,OAAO,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,yBAAyB,CAAC;CACvC"}
|
|
@@ -7,13 +7,16 @@ export declare namespace TASGraph {
|
|
|
7
7
|
name: string;
|
|
8
8
|
type: string;
|
|
9
9
|
}
|
|
10
|
+
/** Attribute value the TAS write interface accepts: a string or a list of strings. */
|
|
11
|
+
type AttributeValue = string | string[];
|
|
10
12
|
interface Vertex {
|
|
11
13
|
externalId: string;
|
|
12
|
-
attributes: RequiredAttributes & Record<string,
|
|
14
|
+
attributes: RequiredAttributes & Record<string, AttributeValue>;
|
|
13
15
|
}
|
|
14
16
|
interface Edge {
|
|
15
17
|
sourceExternalId: string;
|
|
16
18
|
targetExternalId: string;
|
|
19
|
+
attributes?: Record<string, AttributeValue>;
|
|
17
20
|
}
|
|
18
21
|
interface StoreGraphRequestBody {
|
|
19
22
|
ttl: number | null;
|
|
@@ -29,10 +32,11 @@ export declare namespace TASGraph {
|
|
|
29
32
|
code: string;
|
|
30
33
|
message: string;
|
|
31
34
|
}
|
|
35
|
+
/** The wire returns arrays for `failedEdges` / `failedVertices` (empty when nothing failed). */
|
|
32
36
|
interface StoreGraphResponseBody {
|
|
33
37
|
graph: Graph;
|
|
34
|
-
failedEdges: FailedEdge;
|
|
35
|
-
failedVertices: FailedVertex;
|
|
38
|
+
failedEdges: FailedEdge[];
|
|
39
|
+
failedVertices: FailedVertex[];
|
|
36
40
|
}
|
|
37
41
|
const sample: StoreGraphRequestBody;
|
|
38
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TASGraph.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/tas/TASGraph.ts"],"names":[],"mappings":"AAAA,yBAAiB,QAAQ,CAAC;IACxB,UAAiB,KAAK;QACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,KAAK,EAAE,IAAI,EAAE,CAAC;KACf;IAED,UAAiB,kBAAkB;QACjC,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd;IAED,UAAiB,MAAM;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"TASGraph.d.ts","sourceRoot":"","sources":["../../../../../src/lib/model/tas/TASGraph.ts"],"names":[],"mappings":"AAAA,yBAAiB,QAAQ,CAAC;IACxB,UAAiB,KAAK;QACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,KAAK,EAAE,IAAI,EAAE,CAAC;KACf;IAED,UAAiB,kBAAkB;QACjC,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd;IAED,sFAAsF;IACtF,KAAY,cAAc,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;IAE/C,UAAiB,MAAM;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;KACjE;IAED,UAAiB,IAAI;QACnB,gBAAgB,EAAE,MAAM,CAAC;QACzB,gBAAgB,EAAE,MAAM,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;KAC7C;IAED,UAAiB,qBAAqB;QACpC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,KAAK,EAAE,KAAK,CAAC;KACd;IAED,UAAiB,UAAU;QACzB,MAAM,EAAE,IAAI,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB;IAED,UAAiB,YAAY;QAC3B,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB;IAED,gGAAgG;IAChG,UAAiB,sBAAsB;QACrC,KAAK,EAAE,KAAK,CAAC;QACb,WAAW,EAAE,UAAU,EAAE,CAAC;QAC1B,cAAc,EAAE,YAAY,EAAE,CAAC;KAChC;IAEM,MAAM,MAAM,EAAE,qBAmBpB,CAAC;CACH"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DxSaasService } from './dx-saas.service';
|
|
1
|
+
import { DxSaasService, RequestOverrides } from './dx-saas.service';
|
|
2
2
|
import { OIAlarm } from '../model/oi/alarms';
|
|
3
3
|
import { DateTime } from 'luxon';
|
|
4
4
|
import { Logging } from '@dx-do/util';
|
|
@@ -22,6 +22,16 @@ export declare class AlarmService {
|
|
|
22
22
|
constructor(dxSaaSService: DxSaasService, simpleLog?: Logging.SimpleLog);
|
|
23
23
|
/** Returns a single alarm by its ID using the GET endpoint. */
|
|
24
24
|
getAlarm(alarmId: string): Promise<OIAlarm.Alarm>;
|
|
25
|
+
/**
|
|
26
|
+
* Finds one alarm, open or closed, by its ID (for an ingested alarm, the
|
|
27
|
+
* `alarm_unique_id` it was sent with) among alarms from the last
|
|
28
|
+
* `lookbackMs`, through the alarm search.
|
|
29
|
+
*
|
|
30
|
+
* @remarks Resolves `undefined` when there is no such alarm. {@link getAlarm}
|
|
31
|
+
* cannot tell that apart from a failure: its endpoint answers HTTP 500 for an
|
|
32
|
+
* unknown ID.
|
|
33
|
+
*/
|
|
34
|
+
findAlarm(alarmId: string, lookbackMs: number, requestOverrides?: RequestOverrides): Promise<OIAlarm.Alarm | undefined>;
|
|
25
35
|
/** Returns the overview (first alarm in a custom-filter search) for an alarm ID. */
|
|
26
36
|
getAlarmOverview(alarmId: string): Promise<OIAlarm.Alarm>;
|
|
27
37
|
/** Sends a notification for an alarm to the specified channel with optional template/locale. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/alarm.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"alarm.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/alarm.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,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,CAAC;IASlF;;;;;OAKG;IACG,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAUtF;;;;;OAKG;IACG,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,EAAE,eAAe,SAAkB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAazH,8FAA8F;IACxF,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,mBAAmB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAI3G;;;;OAIG;IACG,eAAe,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;IAS9C,gEAAgE;IAC1D,gBAAgB,CAAC,OAAO,EAAE,MAAM;CAcvC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DxSaasService } from '../dx-saas.service';
|
|
1
|
+
import { DxSaasService, RequestOverrides } from '../dx-saas.service';
|
|
2
2
|
import type { MetadataMetricQuery, MetadataMetricQueryResponseV2, MetricRegister, MetricRegisterResponse } from '../../model/datastore/metrics-metadata';
|
|
3
3
|
import { Logging } from '@dx-do/util';
|
|
4
4
|
import SimpleLog = Logging.SimpleLog;
|
|
@@ -44,13 +44,16 @@ export declare class DataStoreMetricsMetadataService {
|
|
|
44
44
|
* schema validation, a warning is logged but the raw API response is
|
|
45
45
|
* still returned.
|
|
46
46
|
*
|
|
47
|
+
* @param requestOverrides - Per-call `timeout` / `signal`; registration is
|
|
48
|
+
* an idempotent upsert, so a caller may safely retry after a timeout.
|
|
49
|
+
*
|
|
47
50
|
* @throws ZodError if the request fails schema validation — including the
|
|
48
51
|
* tag-registration restrictions ("@tags" non-empty, every listed tag
|
|
49
52
|
* present with a non-empty string value, TYPE_TAGS never set without tags).
|
|
50
53
|
*/
|
|
51
|
-
registerMetrics(metrics: MetricRegister[], sync?: boolean): Promise<MetricRegisterResponse>;
|
|
54
|
+
registerMetrics(metrics: MetricRegister[], sync?: boolean, requestOverrides?: RequestOverrides): Promise<MetricRegisterResponse>;
|
|
52
55
|
/** Registers a single metric. Convenience wrapper around {@link registerMetrics}. */
|
|
53
|
-
registerMetric(metric: MetricRegister, sync?: boolean): Promise<MetricRegisterResponse>;
|
|
56
|
+
registerMetric(metric: MetricRegister, sync?: boolean, requestOverrides?: RequestOverrides): Promise<MetricRegisterResponse>;
|
|
54
57
|
/**
|
|
55
58
|
* POSTs a metadata query to `/metadata/queryMetric` and returns the matching
|
|
56
59
|
* metric / folder records.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datastore-metrics-metadata.service.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/datastore/datastore-metrics-metadata.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"datastore-metrics-metadata.service.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/datastore/datastore-metrics-metadata.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AASrE,OAAO,KAAK,EACV,mBAAmB,EACnB,6BAA6B,EAC7B,cAAc,EAEd,sBAAsB,EACvB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;AA8BrC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,+BAA+B;IAQxC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,GAAG;IARtB;;;;;OAKG;gBAEgB,aAAa,EAAE,aAAa,EAC5B,GAAG,EAAE,SAAS;IAGjC;;;;;;;;;;;;;;;OAeG;IACG,eAAe,CACnB,OAAO,EAAE,cAAc,EAAE,EACzB,IAAI,CAAC,EAAE,OAAO,EACd,gBAAgB,GAAE,gBAAqB,GACtC,OAAO,CAAC,sBAAsB,CAAC;IAuBlC,qFAAqF;IAC/E,cAAc,CAClB,MAAM,EAAE,cAAc,EACtB,IAAI,CAAC,EAAE,OAAO,EACd,gBAAgB,GAAE,gBAAqB,GACtC,OAAO,CAAC,sBAAsB,CAAC;IAIlC;;;;;;;;;;;OAWG;IACG,WAAW,CACf,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,6BAA6B,CAAC;CAe1C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DxSaasService } from '../dx-saas.service';
|
|
1
|
+
import { DxSaasService, RequestOverrides } from '../dx-saas.service';
|
|
2
2
|
import type { NassDatapoint, NassStoreResponse } from '../../model/datastore/nass';
|
|
3
3
|
import { Logging } from '@dx-do/util';
|
|
4
4
|
import SimpleLog = Logging.SimpleLog;
|
|
@@ -40,9 +40,13 @@ export declare class DataStoreNASSService {
|
|
|
40
40
|
* @remarks The request is validated against {@link NassStoreRequestSchema}.
|
|
41
41
|
* If the response fails schema validation, a warning is logged but the raw
|
|
42
42
|
* API response is still returned.
|
|
43
|
+
* @param requestOverrides - Per-call `timeout` / `signal`. A store is NOT
|
|
44
|
+
* idempotent: a second write to the same `(metricId, timestamp)` merges
|
|
45
|
+
* with the first, so only retry when the request provably never reached
|
|
46
|
+
* the server.
|
|
43
47
|
*
|
|
44
48
|
* @throws ZodError if any datapoint fails schema validation.
|
|
45
49
|
*/
|
|
46
|
-
storeMetricValues(values: NassDatapoint[]): Promise<NassStoreResponse>;
|
|
50
|
+
storeMetricValues(values: NassDatapoint[], requestOverrides?: RequestOverrides): Promise<NassStoreResponse>;
|
|
47
51
|
}
|
|
48
52
|
//# sourceMappingURL=datastore-nass.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datastore-nass.service.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/datastore/datastore-nass.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"datastore-nass.service.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/datastore/datastore-nass.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAKrE,OAAO,KAAK,EACV,aAAa,EAEb,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;AAErC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,GAAG;gBADH,aAAa,EAAE,aAAa,EAC5B,GAAG,EAAE,SAAS;IAGjC;;;;;;;;;;;;;;;;OAgBG;IACG,iBAAiB,CACrB,MAAM,EAAE,aAAa,EAAE,EACvB,gBAAgB,GAAE,gBAAqB,GACtC,OAAO,CAAC,iBAAiB,CAAC;CAmB9B"}
|