@deviceinsight/ng-ui-api-client 10.48.0 → 10.49.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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +509 -376
- package/dist/index.js.map +1 -1
- package/dist/types/aggregation.d.ts +2 -2
- package/dist/types/aggregation.d.ts.map +1 -1
- package/dist/types/asset.d.ts +15 -15
- package/dist/types/asset.d.ts.map +1 -1
- package/dist/types/assetGroup.d.ts +5 -5
- package/dist/types/assetGroup.d.ts.map +1 -1
- package/dist/types/assetGroupDefinition.d.ts +1 -1
- package/dist/types/assetGroupDefinition.d.ts.map +1 -1
- package/dist/types/auditLog.d.ts +3 -3
- package/dist/types/auditLog.d.ts.map +1 -1
- package/dist/types/authorities.d.ts.map +1 -1
- package/dist/types/authorizationServers.d.ts +2 -2
- package/dist/types/authorizationServers.d.ts.map +1 -1
- package/dist/types/axios.d.ts +1 -1
- package/dist/types/axios.d.ts.map +1 -1
- package/dist/types/blobox.d.ts +33 -33
- package/dist/types/blobox.d.ts.map +1 -1
- package/dist/types/bundles.d.ts +4 -4
- package/dist/types/bundles.d.ts.map +1 -1
- package/dist/types/commands.d.ts +3 -3
- package/dist/types/commands.d.ts.map +1 -1
- package/dist/types/configuration.d.ts +1 -1
- package/dist/types/configuration.d.ts.map +1 -1
- package/dist/types/dataProcessingDefinition.d.ts +3 -3
- package/dist/types/dataProcessingDefinition.d.ts.map +1 -1
- package/dist/types/datapoint.d.ts +3 -3
- package/dist/types/datapoint.d.ts.map +1 -1
- package/dist/types/dryRun.d.ts +10 -10
- package/dist/types/dryRun.d.ts.map +1 -1
- package/dist/types/event.d.ts +6 -6
- package/dist/types/event.d.ts.map +1 -1
- package/dist/types/grantedAccess.d.ts +1 -1
- package/dist/types/grantedAccess.d.ts.map +1 -1
- package/dist/types/licenses.d.ts +1 -1
- package/dist/types/licenses.d.ts.map +1 -1
- package/dist/types/namedquery.d.ts +2 -2
- package/dist/types/namedquery.d.ts.map +1 -1
- package/dist/types/notificationTemplates.d.ts +4 -4
- package/dist/types/notificationTemplates.d.ts.map +1 -1
- package/dist/types/oauth.d.ts +2 -2
- package/dist/types/oauth.d.ts.map +1 -1
- package/dist/types/powerBi.d.ts +1 -1
- package/dist/types/powerBi.d.ts.map +1 -1
- package/dist/types/preparedCommand.d.ts +3 -3
- package/dist/types/preparedCommand.d.ts.map +1 -1
- package/dist/types/property.d.ts +1 -1
- package/dist/types/property.d.ts.map +1 -1
- package/dist/types/remoteservice.d.ts +2 -2
- package/dist/types/remoteservice.d.ts.map +1 -1
- package/dist/types/role.d.ts +1 -1
- package/dist/types/role.d.ts.map +1 -1
- package/dist/types/ruleDefinition.d.ts +2 -2
- package/dist/types/ruleDefinition.d.ts.map +1 -1
- package/dist/types/shadowKeys.d.ts +1 -1
- package/dist/types/shadowKeys.d.ts.map +1 -1
- package/dist/types/subscription.d.ts +1 -1
- package/dist/types/subscription.d.ts.map +1 -1
- package/dist/types/units.d.ts +1 -1
- package/dist/types/units.d.ts.map +1 -1
- package/dist/types/user.d.ts +9 -9
- package/dist/types/user.d.ts.map +1 -1
- package/dist/types/userGroup.d.ts +9 -9
- package/dist/types/userGroup.d.ts.map +1 -1
- package/package.json +16 -11
package/dist/index.js
CHANGED
|
@@ -3,13 +3,13 @@ const n = (e) => {
|
|
|
3
3
|
if (!e || e.data === void 0)
|
|
4
4
|
throw Error('response object has no "data" entry');
|
|
5
5
|
return e.data;
|
|
6
|
-
},
|
|
6
|
+
}, ae = (e, t) => {
|
|
7
7
|
t || !window.nguiAxios ? window.nguiAxios = e : console.warn("window.nguiAxios instance already set");
|
|
8
8
|
}, s = () => {
|
|
9
9
|
if (window.nguiAxios == null)
|
|
10
10
|
throw Error("window.nguiAxios instance not set");
|
|
11
11
|
return window.nguiAxios;
|
|
12
|
-
},
|
|
12
|
+
}, re = (e) => {
|
|
13
13
|
if (window.nguiAxios) {
|
|
14
14
|
for (const t in Object.keys(e))
|
|
15
15
|
if (!Object.prototype.hasOwnProperty.call(window.nguiAxios.defaults, t))
|
|
@@ -20,25 +20,26 @@ const n = (e) => {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
}, G = async (e, t = 5, o = 100) => {
|
|
23
|
-
for (let
|
|
23
|
+
for (let a = 0; a < t; a++)
|
|
24
24
|
try {
|
|
25
25
|
return await e();
|
|
26
|
-
} catch (
|
|
27
|
-
if (
|
|
28
|
-
const i = o * Math.pow(2,
|
|
26
|
+
} catch (r) {
|
|
27
|
+
if (a < t - 1) {
|
|
28
|
+
const i = o * Math.pow(2, a) + Math.random() * 100;
|
|
29
29
|
await new Promise((c) => setTimeout(c, i));
|
|
30
30
|
} else
|
|
31
|
-
throw
|
|
31
|
+
throw r;
|
|
32
32
|
}
|
|
33
|
+
throw new Error("retryRequest: no attempts made");
|
|
33
34
|
}, ie = (e) => s().post("/v2/assets/aggregation", e).then(n);
|
|
34
|
-
function
|
|
35
|
+
function y(e) {
|
|
35
36
|
if (e) {
|
|
36
37
|
const {
|
|
37
38
|
page: t,
|
|
38
39
|
size: o,
|
|
39
|
-
sort: { property:
|
|
40
|
+
sort: { property: a, direction: r }
|
|
40
41
|
} = e;
|
|
41
|
-
return { page: t, size: o, sort: `${
|
|
42
|
+
return { page: t, size: o, sort: `${a},${r}` };
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
function M(e) {
|
|
@@ -46,16 +47,18 @@ function M(e) {
|
|
|
46
47
|
const {
|
|
47
48
|
page: t,
|
|
48
49
|
size: o,
|
|
49
|
-
sort: { property:
|
|
50
|
+
sort: { property: a, direction: r }
|
|
50
51
|
} = e;
|
|
51
|
-
return { page: t, size: o, sort: `${
|
|
52
|
+
return { page: t, size: o, sort: `${a},${r}` };
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
|
-
const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e,
|
|
55
|
-
|
|
55
|
+
const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e, ...y(t) } }).then(n), P = (e) => s().get("/v2/assetGroups", { params: { id: e } }).then(n), ue = (e) => s().get(`/v2/assetGroups/${e}`).then(n), pe = (e) => s().get(`/v2/assetGroups?processingDefinitionId=${e}`).then(n).then(({ content: t }) => t), de = (e) => s().get(`/v2/assetGroups?ruleId=${e}`).then(n).then(({ content: t }) => t), ge = (e) => s().post(`/v2/assetGroupDefinitions/${e.definitionId}/groups`, e).then(n), le = (e) => s().put(`/v2/assetGroups/${e.id}`, e).then(n), he = async (e) => {
|
|
56
|
+
await s().delete(`/v2/assetGroups/${e}`);
|
|
57
|
+
}, j = (e, t) => {
|
|
58
|
+
const { page: o, size: a, sort: r } = t, i = {
|
|
56
59
|
page: o || 0,
|
|
57
|
-
size:
|
|
58
|
-
sort: `${
|
|
60
|
+
size: a,
|
|
61
|
+
sort: `${r.property},${r.direction}`,
|
|
59
62
|
ignoreCase: !0
|
|
60
63
|
};
|
|
61
64
|
return s().post("/v2/assetGroups/search", e || "*:*", {
|
|
@@ -64,26 +67,34 @@ const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e, ...$(t) } }).t
|
|
|
64
67
|
"Content-Type": "text/plain"
|
|
65
68
|
}
|
|
66
69
|
}).then(n);
|
|
67
|
-
}, ve = (e, t) =>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
})
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
70
|
+
}, ve = async (e, t) => {
|
|
71
|
+
await s().post(`/v2/assetGroups/${e.id}/assetAssignments`, {
|
|
72
|
+
action: "ADD",
|
|
73
|
+
assetIds: t
|
|
74
|
+
});
|
|
75
|
+
}, fe = async (e, t) => {
|
|
76
|
+
await s().post(`/v2/assetGroups/${e.id}/assetAssignments`, {
|
|
77
|
+
action: "ADD",
|
|
78
|
+
query: t
|
|
79
|
+
});
|
|
80
|
+
}, me = async (e, t) => {
|
|
81
|
+
await s().post(`/v2/assetGroups/${e.id}/assetAssignments`, {
|
|
82
|
+
action: "REMOVE",
|
|
83
|
+
assetIds: t
|
|
84
|
+
});
|
|
85
|
+
}, ye = async (e, t) => {
|
|
86
|
+
await s().post(`/v2/assetGroups/${e.id}/assetAssignments`, {
|
|
87
|
+
action: "REMOVE",
|
|
88
|
+
query: t
|
|
89
|
+
});
|
|
90
|
+
}, $e = (e) => s().get(`/v2/assetGroups/${e}/ancestorGroups`).then(n), Ae = (e) => e.length ? j(`id:(${e.join(" OR ")})`, {
|
|
80
91
|
page: 0,
|
|
81
92
|
size: 2e3,
|
|
82
93
|
sort: {
|
|
83
94
|
property: "name",
|
|
84
95
|
direction: "ASC"
|
|
85
96
|
}
|
|
86
|
-
}).then((t) => t.content) : Promise.resolve([]),
|
|
97
|
+
}).then((t) => t.content) : Promise.resolve([]), we = (e, t) => {
|
|
87
98
|
const o = t ? {
|
|
88
99
|
size: t.size,
|
|
89
100
|
page: t.page,
|
|
@@ -92,19 +103,21 @@ const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e, ...$(t) } }).t
|
|
|
92
103
|
size: 1e3
|
|
93
104
|
};
|
|
94
105
|
return s().get(`/v2/assetGroups/${e}/children`, { params: o }).then(n);
|
|
95
|
-
},
|
|
106
|
+
}, De = (e) => s().get(`/v2/assets/${e}/shadow`).then(n), Ge = (e) => s().get(`/v2/gateways/${e}`).then(n), Se = (e) => s().get(`/v2/assets/urn/${encodeURIComponent(e)}`).then(n), S = (e, t) => s().get("/v2/assets", { params: { ...e, ...y(t) } }).then(n), Ce = (e) => s().get("/v2/assets", { params: { urn: e } }).then(n), Ie = (e, t, o) => S({ assetGroup: e, shadow: t }, o), Re = (e) => S({ ruleId: e }).then(({ content: t }) => t), be = (e) => S({ processingDefinitionId: e }).then(({ content: t }) => t), Oe = (e) => e.isGateway ? s().post("/v2/gateways", e).then(n) : s().post("/v2/assets", e).then(n), Ue = (e) => {
|
|
96
107
|
const { assetGroupIds: t, ...o } = e;
|
|
97
108
|
return e.isGateway ? s().put(`/v2/gateways/${e.id}`, o).then(n) : s().put(`/v2/assets/${e.id}`, o).then(n);
|
|
98
|
-
}, Pe =
|
|
109
|
+
}, Pe = async (e) => {
|
|
110
|
+
await s().delete(`/v2/assets/${e}`);
|
|
111
|
+
}, q = (e, t) => {
|
|
99
112
|
const o = t || {
|
|
100
113
|
page: 0,
|
|
101
114
|
size: 1e3,
|
|
102
115
|
sort: null
|
|
103
|
-
}, { page:
|
|
116
|
+
}, { page: a, size: r, sort: i } = o;
|
|
104
117
|
return s().post("/v2/assets/search", e || "*:*", {
|
|
105
118
|
params: {
|
|
106
|
-
page:
|
|
107
|
-
size:
|
|
119
|
+
page: a,
|
|
120
|
+
size: r,
|
|
108
121
|
sort: i && `${i.property},${i.direction}` || "",
|
|
109
122
|
ignoreCase: !0
|
|
110
123
|
},
|
|
@@ -117,11 +130,11 @@ const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e, ...$(t) } }).t
|
|
|
117
130
|
page: 0,
|
|
118
131
|
size: 1e3,
|
|
119
132
|
sort: null
|
|
120
|
-
}, { page:
|
|
133
|
+
}, { page: a, size: r, sort: i } = o;
|
|
121
134
|
return s().post("/v2/assets/search", e || "*:*", {
|
|
122
135
|
params: {
|
|
123
|
-
page:
|
|
124
|
-
size:
|
|
136
|
+
page: a,
|
|
137
|
+
size: r,
|
|
125
138
|
sort: i && `${i.property},${i.direction}` || "",
|
|
126
139
|
ignoreCase: !0,
|
|
127
140
|
assetsWithEventsOnly: !0
|
|
@@ -130,46 +143,46 @@ const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e, ...$(t) } }).t
|
|
|
130
143
|
"Content-Type": "text/plain"
|
|
131
144
|
}
|
|
132
145
|
}).then(n);
|
|
133
|
-
},
|
|
134
|
-
const
|
|
146
|
+
}, Ee = (e, t, o) => {
|
|
147
|
+
const a = o || {
|
|
135
148
|
page: 0,
|
|
136
149
|
size: 1e3,
|
|
137
150
|
sort: null
|
|
138
|
-
}, { page:
|
|
151
|
+
}, { page: r, size: i, sort: c } = a;
|
|
139
152
|
return s().get("/v2/assets/search", {
|
|
140
153
|
params: {
|
|
141
154
|
property: e,
|
|
142
155
|
value: t,
|
|
143
|
-
page:
|
|
156
|
+
page: r,
|
|
144
157
|
size: i,
|
|
145
158
|
sort: c && `${c.property},${c.direction}` || "",
|
|
146
159
|
ignoreCase: !0
|
|
147
160
|
}
|
|
148
161
|
}).then(n);
|
|
149
|
-
},
|
|
150
|
-
const
|
|
162
|
+
}, Be = (e, t) => q(`${e} isGateway:true`, t), ze = (e, t, o) => {
|
|
163
|
+
const a = t || {
|
|
151
164
|
page: 0,
|
|
152
165
|
size: 1e3,
|
|
153
166
|
sort: ""
|
|
154
|
-
}, { page:
|
|
167
|
+
}, { page: r, size: i, sort: c } = a, { distance: u, geoField: p, pinLocation: $ } = o;
|
|
155
168
|
return s().post(
|
|
156
169
|
"/v2/assets/geoDistance",
|
|
157
170
|
{
|
|
158
171
|
distance: u,
|
|
159
172
|
geoField: p,
|
|
160
|
-
pinLocation:
|
|
173
|
+
pinLocation: $,
|
|
161
174
|
query: e || "*:*"
|
|
162
175
|
},
|
|
163
176
|
{
|
|
164
177
|
params: {
|
|
165
178
|
ignoreCase: !0,
|
|
166
|
-
page:
|
|
179
|
+
page: r,
|
|
167
180
|
size: i,
|
|
168
181
|
sort: c && `${c.property},${c.direction}` || ""
|
|
169
182
|
}
|
|
170
183
|
}
|
|
171
184
|
).then(n);
|
|
172
|
-
}, Le = (e, t, { geoField: o, topLeft:
|
|
185
|
+
}, Le = (e, t, { geoField: o, topLeft: a, bottomRight: r }) => {
|
|
173
186
|
const i = t || {
|
|
174
187
|
page: 0,
|
|
175
188
|
size: 1e3,
|
|
@@ -180,8 +193,8 @@ const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e, ...$(t) } }).t
|
|
|
180
193
|
{
|
|
181
194
|
geoField: o,
|
|
182
195
|
query: e || "*:*",
|
|
183
|
-
topLeft:
|
|
184
|
-
bottomRight:
|
|
196
|
+
topLeft: a,
|
|
197
|
+
bottomRight: r
|
|
185
198
|
},
|
|
186
199
|
{
|
|
187
200
|
params: {
|
|
@@ -192,18 +205,30 @@ const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e, ...$(t) } }).t
|
|
|
192
205
|
}
|
|
193
206
|
}
|
|
194
207
|
).then(n);
|
|
195
|
-
}, T = (e) => s().get(`/v2/assets/${e}/groups`).then(n),
|
|
208
|
+
}, T = (e) => s().get(`/v2/assets/${e}/groups`).then(n), _ = async (e, t) => {
|
|
209
|
+
await s().put(`/v2/assets/${e}/groups/${t}`);
|
|
210
|
+
}, F = async (e, t) => {
|
|
211
|
+
await s().delete(`/v2/assets/${e}/groups/${t}`);
|
|
212
|
+
}, xe = async (e, t) => {
|
|
196
213
|
const o = await T(e);
|
|
197
|
-
let
|
|
198
|
-
o.length > 0 && (
|
|
199
|
-
const
|
|
214
|
+
let a = [];
|
|
215
|
+
o.length > 0 && (a = (await P(o)).map(({ id: c }) => c));
|
|
216
|
+
const r = t.filter((c) => !o.includes(c)), i = a.filter((c) => t && !t.includes(c));
|
|
200
217
|
return Promise.all([
|
|
201
|
-
...
|
|
218
|
+
...r.map((c) => _(e, c)),
|
|
202
219
|
...i.map((c) => F(e, c))
|
|
203
220
|
]);
|
|
204
|
-
}, ke = (e, t) =>
|
|
205
|
-
|
|
206
|
-
|
|
221
|
+
}, ke = async (e, t) => {
|
|
222
|
+
await s().put(`/v2/assets/${e}/gatewayAssignment`, {
|
|
223
|
+
gatewayId: t
|
|
224
|
+
});
|
|
225
|
+
}, Ne = async (e) => {
|
|
226
|
+
await s().delete(`/v2/assets/${e}/gatewayAssignment`);
|
|
227
|
+
}, Ve = (e) => s().get(`/v2/gateways/${e}/configurationSyncStatus`).then(n), Me = async (e) => {
|
|
228
|
+
await s().post(`/v2/gateways/${e}/configurationSync`);
|
|
229
|
+
}, je = async (e) => {
|
|
230
|
+
await s().post(`/beta/gateways/urn/${encodeURIComponent(e)}/bootstrap.json`);
|
|
231
|
+
}, qe = (e) => s().post(
|
|
207
232
|
`/beta/gateways/urn/${encodeURIComponent(e)}/bootstrapCommandLine`,
|
|
208
233
|
{},
|
|
209
234
|
{
|
|
@@ -211,7 +236,11 @@ const ce = (e, t) => s().get("/v2/assetGroups", { params: { ...e, ...$(t) } }).t
|
|
|
211
236
|
Accept: "text/plain"
|
|
212
237
|
}
|
|
213
238
|
}
|
|
214
|
-
).then(n),
|
|
239
|
+
).then(n), _e = (e) => s().get(`/v2/gateways/urn/${encodeURIComponent(e)}/certificates`).then(n), Fe = (e, t) => s().get(`/v2/gateways/urn/${encodeURIComponent(e)}/certificates/${t}`).then(n), Qe = async (e, t) => {
|
|
240
|
+
await s().put(`/v2/gateways/urn/${encodeURIComponent(e)}/certificates/${t}/revocation`);
|
|
241
|
+
}, He = async (e) => {
|
|
242
|
+
await s().put(`/v2/gateways/urn/${encodeURIComponent(e)}/certificates/revocation`);
|
|
243
|
+
}, We = (e, t) => s().get(`/v2/gateways/${e}/commands/${t}/responses`).then(n), Ke = (e) => s().post(
|
|
215
244
|
`/v2/gateways/${e}/commands`,
|
|
216
245
|
{
|
|
217
246
|
expirySeconds: 60,
|
|
@@ -230,8 +259,8 @@ function Ye(e) {
|
|
|
230
259
|
function Ze(e) {
|
|
231
260
|
return s().put(`/v2/authorities/${e}`).then(n);
|
|
232
261
|
}
|
|
233
|
-
function et(e) {
|
|
234
|
-
|
|
262
|
+
async function et(e) {
|
|
263
|
+
await s().delete(`/v2/authorities/${e}`);
|
|
235
264
|
}
|
|
236
265
|
async function tt() {
|
|
237
266
|
return s().get("/v2/assetDefinitions", {
|
|
@@ -247,40 +276,40 @@ async function st(e) {
|
|
|
247
276
|
return s().get(`/v2/assetDefinitions/${e}`).then(n);
|
|
248
277
|
}
|
|
249
278
|
async function nt(e) {
|
|
250
|
-
|
|
279
|
+
await s().delete(`/v2/assetDefinitions/${e}`);
|
|
251
280
|
}
|
|
252
281
|
async function ot(e) {
|
|
253
282
|
return s().put(`/v2/assetDefinitions/${e.id}`, e).then(n);
|
|
254
283
|
}
|
|
255
|
-
async function
|
|
284
|
+
async function at(e) {
|
|
256
285
|
return s().post("/v2/assetDefinitions", e).then(n);
|
|
257
286
|
}
|
|
258
|
-
async function
|
|
259
|
-
const { unit: o, ...
|
|
260
|
-
|
|
287
|
+
async function rt(e, t) {
|
|
288
|
+
const { unit: o, ...a } = t;
|
|
289
|
+
o && (a.unit = o.name), await s().post(
|
|
261
290
|
`/v2/assetDefinitions/${e}/datapoints/${encodeURIComponent(t.name)}`,
|
|
262
|
-
|
|
291
|
+
a
|
|
263
292
|
);
|
|
264
293
|
}
|
|
265
294
|
async function it(e, t) {
|
|
266
295
|
const o = new Map(
|
|
267
|
-
Array.from(t, ([
|
|
268
|
-
const { unit: i, ...c } =
|
|
269
|
-
return [
|
|
296
|
+
Array.from(t, ([a, r]) => {
|
|
297
|
+
const { unit: i, ...c } = r;
|
|
298
|
+
return [a, i ? { ...c, unit: i.name } : c];
|
|
270
299
|
})
|
|
271
300
|
);
|
|
272
|
-
|
|
301
|
+
await s().post(`/v2/assetDefinitions/${e}/datapoints`, Object.fromEntries(o));
|
|
273
302
|
}
|
|
274
303
|
async function ct(e, t) {
|
|
275
|
-
|
|
304
|
+
await s().delete(
|
|
276
305
|
`/v2/assetDefinitions/${e}/datapoints/${encodeURIComponent(t)}`
|
|
277
306
|
);
|
|
278
307
|
}
|
|
279
308
|
async function ut(e, t) {
|
|
280
|
-
const { unit: o, ...
|
|
281
|
-
|
|
309
|
+
const { unit: o, ...a } = t;
|
|
310
|
+
o && (a.unit = o.name), await s().put(
|
|
282
311
|
`/v2/assetDefinitions/${e}/datapoints/${encodeURIComponent(t.name)}`,
|
|
283
|
-
|
|
312
|
+
a
|
|
284
313
|
);
|
|
285
314
|
}
|
|
286
315
|
async function pt(e, t) {
|
|
@@ -301,8 +330,8 @@ const gt = (e) => s().get(`/v2/assetGroupDefinitions/${e}`).then(n), lt = (e) =>
|
|
|
301
330
|
return s().get("/v2/assetGroupDefinitions", {
|
|
302
331
|
params: e
|
|
303
332
|
}).then(n).then((t) => {
|
|
304
|
-
const o = new Array(Math.max(0, t.totalPages - 1)).fill(null).map((
|
|
305
|
-
const i =
|
|
333
|
+
const o = new Array(Math.max(0, t.totalPages - 1)).fill(null).map((a, r) => {
|
|
334
|
+
const i = r + 1;
|
|
306
335
|
return s().get("/v2/assetGroupDefinitions", {
|
|
307
336
|
params: {
|
|
308
337
|
...e,
|
|
@@ -311,39 +340,45 @@ const gt = (e) => s().get(`/v2/assetGroupDefinitions/${e}`).then(n), lt = (e) =>
|
|
|
311
340
|
}).then(n).then((c) => c.content);
|
|
312
341
|
});
|
|
313
342
|
return Promise.all(o).then(
|
|
314
|
-
(
|
|
343
|
+
(a) => a.reduce((r, i) => r.concat(i), t.content)
|
|
315
344
|
);
|
|
316
345
|
});
|
|
317
|
-
}, vt = (e) => s().post("/v2/assetGroupDefinitions", e).then(n), ft = (e) => s().put(`/v2/assetGroupDefinitions/${e.id}`, e).then(n), mt =
|
|
346
|
+
}, vt = (e) => s().post("/v2/assetGroupDefinitions", e).then(n), ft = (e) => s().put(`/v2/assetGroupDefinitions/${e.id}`, e).then(n), mt = async (e) => {
|
|
347
|
+
await s().delete(`/v2/assetGroupDefinitions/${e}`);
|
|
348
|
+
}, A = (e, t, o) => ["", "v2", e, t ? encodeURIComponent(t) : null, "blobs", o].filter((a) => a != null).join("/"), v = (e, t, o, a) => s().get(A(e, t, o), a ? { responseType: "arraybuffer" } : {}).then(n), f = (e, t, o, a, r, i) => (i ?? s()).post(A(e, t, o), a, r ? { headers: r } : void 0), m = (e, t, o) => s().delete(A(e, t, o)), Q = (e, t, o) => s().head(A(e, t, o)), yt = (e, t, o) => v("assets", e, t, !!o), $t = (e, t, o, a, r) => f("assets", e, t, o, a, r), At = (e, t) => m("assets", e, t), wt = (e, t, o) => v("assetDefinitions", e, t, !!o), Dt = (e, t, o, a, r) => f("assetDefinitions", e, t, o, a, r), Gt = (e, t) => m("assetDefinitions", e, t), St = (e, t, o) => v("assetGroups", e, t, !!o), Ct = (e, t, o, a, r) => f("assetGroups", e, t, o, a, r), It = (e, t) => m("assetGroups", e, t), g = (e, t) => v("tenant", void 0, e, !!t), C = (e, t, o, a) => f("tenant", void 0, e, t, o, a), I = (e) => m("tenant", void 0, e), Rt = () => g("uiConfigurations/default"), bt = () => g("uiSecrets/default"), Ot = (e) => C("uiConfigurations/default", e), Ut = () => I("uiConfigurations/default"), Pt = () => g("uiConfigurations/conditionmonitoringpriorities"), Tt = (e) => C("uiConfigurations/conditionmonitoringpriorities", e), Et = () => I("uiConfigurations/conditionmonitoringpriorities"), Bt = (e) => g(`terms/eula-${e}`, !0), zt = () => g("terms?meta=true"), Lt = (e, t, o, a, r) => C(
|
|
318
349
|
`terms/eula-${e}`,
|
|
319
350
|
t,
|
|
320
351
|
{
|
|
321
352
|
"X-Blob-Meta-Filename": o,
|
|
322
|
-
"Content-Type":
|
|
353
|
+
"Content-Type": a
|
|
323
354
|
},
|
|
324
|
-
|
|
325
|
-
), xt = (e) => I(`terms/eula-${e}`), kt = (e) => g(`terms/${e}`),
|
|
326
|
-
|
|
355
|
+
r
|
|
356
|
+
), xt = (e) => I(`terms/eula-${e}`), kt = (e) => g(`terms/${e}`), E = async (e) => {
|
|
357
|
+
await Q("accounts", "me", e);
|
|
358
|
+
}, l = (e) => v("accounts", "me", e, !1), h = (e, t) => f("accounts", "me", e, t), H = (e) => m("accounts", "me", e), Nt = () => E("uiConfigurations/startpage"), Vt = () => l("uiConfigurations/startpage"), Mt = (e) => h("uiConfigurations/startpage", e), jt = (e) => h("uiConfigurations/releasenotesversionsviewed", e), qt = () => l("uiConfigurations/releasenotesversionsviewed"), _t = () => l("uiConfigurations/releasenotessubscription"), Ft = (e) => h("uiConfigurations/releasenotessubscription", e), Qt = () => E("uiConfigurations/showuserdocumentation"), Ht = () => l("uiConfigurations/showuserdocumentation"), Wt = (e) => h("uiConfigurations/showuserdocumentation", e), Kt = (e) => h("uiConfigurations/paginationsettings", e), Xt = () => l("uiConfigurations/paginationsettings"), Jt = (e) => h("uiConfigurations/favorites", e), Yt = () => l("uiConfigurations/favorites"), Zt = () => H("uiConfigurations/startpage"), es = (e, t) => h(`uiConfigurations/advsearchprops${t}`, e), ts = (e) => l(`uiConfigurations/advsearchprops${e}`), ss = (e, t, o) => {
|
|
359
|
+
const a = {
|
|
327
360
|
from: new Date(t).toISOString(),
|
|
328
361
|
to: new Date(o).toISOString()
|
|
329
362
|
};
|
|
330
363
|
return Promise.all([
|
|
331
364
|
s().get(`/beta/assets/${encodeURIComponent(e)}/blobSeries/assetBlobs`, {
|
|
332
|
-
params:
|
|
365
|
+
params: a
|
|
333
366
|
}).then(n),
|
|
334
367
|
s().get(`/beta/assets/${encodeURIComponent(e)}/blobSeries/assetBlobs`, {
|
|
335
|
-
params: { ...
|
|
368
|
+
params: { ...a, meta: !0 }
|
|
336
369
|
}).then(n)
|
|
337
|
-
]).then(([
|
|
338
|
-
const p = c.split("/"),
|
|
339
|
-
return { ...i[u], blobUniqueKey:
|
|
370
|
+
]).then(([r, i]) => r.map((c, u) => {
|
|
371
|
+
const p = c.split("/"), $ = p.slice(p.length - 2).join("/");
|
|
372
|
+
return { ...i[u], blobUniqueKey: $ };
|
|
340
373
|
}));
|
|
341
374
|
}, ns = (e, t) => s().get(`/beta/assets/${encodeURIComponent(e)}/blobSeries/assetBlobs/${t}`, {
|
|
342
375
|
responseType: "arraybuffer"
|
|
343
376
|
}).then(n), os = (e, t, o) => s().get(
|
|
344
377
|
`/beta/administration/accountGroups/${e}/blobs/${t}`,
|
|
345
378
|
o ? { responseType: "arraybuffer" } : {}
|
|
346
|
-
).then(n),
|
|
379
|
+
).then(n), as = (e, t, o) => v("accountGroups", e, t, !!o), rs = (e, t, o, a, r) => f("accountGroups", e, t, o, a, r), is = (e, t) => m("accountGroups", e, t), cs = async () => g("uiConfigurations/adb2c"), us = (e) => s().get(`/v2/assets/${e}/configurations`).then(n), ps = (e) => s().get(`/v2/configurations/name/${encodeURIComponent(e)}`).then(n), ds = (e) => s().post("/v2/configurations", e).then(n), gs = (e) => s().put(`/v2/configurations/${e.id}`, e).then(n), ls = async (e) => {
|
|
380
|
+
await s().delete(`/v2/configurations/${e}`);
|
|
381
|
+
}, hs = (e, t) => s().put(`/v2/assets/${e}/configurations`, t).then(n), vs = (e, t) => {
|
|
347
382
|
const o = t ? { ...t } : {
|
|
348
383
|
page: 0,
|
|
349
384
|
size: 1e3,
|
|
@@ -351,68 +386,70 @@ const gt = (e) => s().get(`/v2/assetGroupDefinitions/${e}`).then(n), lt = (e) =>
|
|
|
351
386
|
};
|
|
352
387
|
return s().get(`/v2/configurations/${e}/gateways`, {
|
|
353
388
|
params: o
|
|
354
|
-
}).then(n).then((
|
|
389
|
+
}).then(n).then((a) => a.content);
|
|
355
390
|
}, fs = (e) => s().get(`/v2/assets/${e}/datapoints`).then(n), ms = (e, t) => {
|
|
356
|
-
const { name: o, datatype:
|
|
357
|
-
datatype:
|
|
391
|
+
const { name: o, datatype: a, unit: r } = t, i = {
|
|
392
|
+
datatype: a
|
|
358
393
|
};
|
|
359
|
-
return
|
|
360
|
-
},
|
|
361
|
-
const { name: o, datatype:
|
|
394
|
+
return r && (i.unit = r.name), s().put(`/v2/assets/${e}/datapoints/${encodeURIComponent(o)}`, i).then(n);
|
|
395
|
+
}, ys = (e, t) => {
|
|
396
|
+
const { name: o, datatype: a, thresholds: r } = t;
|
|
362
397
|
return s().put(`/v2/assets/${e}/datapoints/${encodeURIComponent(o)}`, {
|
|
363
|
-
datatype:
|
|
364
|
-
thresholds:
|
|
398
|
+
datatype: a,
|
|
399
|
+
thresholds: r
|
|
365
400
|
}).then(n);
|
|
366
401
|
};
|
|
367
|
-
function
|
|
402
|
+
function B(e) {
|
|
368
403
|
return e === "GEO_POSITION" ? "geoPosition" : e.toLowerCase();
|
|
369
404
|
}
|
|
370
|
-
const
|
|
405
|
+
const $s = (e, t, o, a, r, i = !1, c = "ASC", u = 1e4) => s().get(
|
|
371
406
|
`/v2/assets/urn/${encodeURIComponent(e)}/datapoints/${encodeURIComponent(
|
|
372
407
|
t
|
|
373
|
-
)}/${
|
|
408
|
+
)}/${B(o)}/entries`,
|
|
374
409
|
{
|
|
375
410
|
params: {
|
|
376
|
-
start:
|
|
377
|
-
end:
|
|
411
|
+
start: a ? new Date(a).toISOString() : "",
|
|
412
|
+
end: r ? new Date(r).toISOString() : "",
|
|
378
413
|
order: c,
|
|
379
414
|
limit: u,
|
|
380
415
|
onlyChangedValues: i
|
|
381
416
|
}
|
|
382
417
|
}
|
|
383
|
-
).then(n).then((p) => p.timeSeries.entries),
|
|
418
|
+
).then(n).then((p) => p.timeSeries.entries), As = (e, t, o, a = "ASC", r = 1e4, i = !1) => s().get(`/v2/assets/urn/${encodeURIComponent(e)}/datapoints/geoPosition/geoPosition/entries`, {
|
|
384
419
|
params: {
|
|
385
420
|
start: t ? new Date(t).toISOString() : "",
|
|
386
421
|
end: o ? new Date(o).toISOString() : "",
|
|
387
|
-
order:
|
|
388
|
-
limit:
|
|
422
|
+
order: a,
|
|
423
|
+
limit: r,
|
|
389
424
|
onlyChangedValues: i
|
|
390
425
|
}
|
|
391
|
-
}).then(n).then((c) => c.timeSeries.entries),
|
|
426
|
+
}).then(n).then((c) => c.timeSeries.entries), ws = (e, t, o, a, r, i) => {
|
|
392
427
|
const c = `/v2/assets/urn/${encodeURIComponent(e)}/datapoints/${encodeURIComponent(
|
|
393
428
|
t
|
|
394
|
-
)}/${
|
|
429
|
+
)}/${B(o)}/samples`;
|
|
395
430
|
return s().get(c, {
|
|
396
431
|
params: {
|
|
397
|
-
start: new Date(
|
|
398
|
-
end: new Date(
|
|
432
|
+
start: new Date(a).toISOString(),
|
|
433
|
+
end: new Date(r).toISOString(),
|
|
399
434
|
slices: i,
|
|
400
435
|
includeFirst: !1,
|
|
401
436
|
includeLast: !1
|
|
402
437
|
}
|
|
403
438
|
}).then(n).then((u) => u.timeSeries.entries);
|
|
404
|
-
},
|
|
439
|
+
}, Ds = (e, t, o) => s().put(`/v2/assets/${e}/datapoints/${encodeURIComponent(t)}/unit`, o).then(n), Gs = async (e, t) => {
|
|
440
|
+
await s().delete(`/v2/assets/${e}/datapoints/${encodeURIComponent(t)}`);
|
|
441
|
+
};
|
|
405
442
|
function W(e) {
|
|
406
443
|
return e === "GEO_POSITION" ? "geoPosition" : e.toLowerCase();
|
|
407
444
|
}
|
|
408
|
-
const Ss = (e, t, o,
|
|
409
|
-
const
|
|
445
|
+
const Ss = async (e, t, o, a) => {
|
|
446
|
+
const r = (/* @__PURE__ */ new Date(0)).toISOString(), i = o || r, c = a ? {
|
|
410
447
|
start: i,
|
|
411
|
-
end:
|
|
448
|
+
end: a
|
|
412
449
|
} : {
|
|
413
450
|
start: i
|
|
414
451
|
}, u = W(t.datatype);
|
|
415
|
-
|
|
452
|
+
await s().delete(
|
|
416
453
|
`/v2/assets/urn/${encodeURIComponent(e)}/datapoints/${encodeURIComponent(t.name)}/${u}/entries`,
|
|
417
454
|
{
|
|
418
455
|
params: c
|
|
@@ -425,18 +462,18 @@ const Ss = (e, t, o, r) => {
|
|
|
425
462
|
TEXT: "text",
|
|
426
463
|
GEO_POSITION: "geo_position",
|
|
427
464
|
STRUCTURED: "structured"
|
|
428
|
-
}, Cs = (e, t, o,
|
|
465
|
+
}, Cs = (e, t, o, a, r) => {
|
|
429
466
|
const i = {
|
|
430
467
|
datatype: z[o],
|
|
431
|
-
start:
|
|
432
|
-
end:
|
|
468
|
+
start: a,
|
|
469
|
+
end: r
|
|
433
470
|
};
|
|
434
471
|
return s().get(`/v2/assets/${e}/datapoints/${t}/propertyNodes`, { params: i }).then(n);
|
|
435
|
-
}, Is = (e, t, o,
|
|
472
|
+
}, Is = (e, t, o, a, r, i) => {
|
|
436
473
|
const c = {
|
|
437
474
|
datatype: z[o],
|
|
438
|
-
start:
|
|
439
|
-
end:
|
|
475
|
+
start: a,
|
|
476
|
+
end: r,
|
|
440
477
|
propertyPath: i || ""
|
|
441
478
|
};
|
|
442
479
|
return i && (c.propertyPath = i), G(
|
|
@@ -444,14 +481,14 @@ const Ss = (e, t, o, r) => {
|
|
|
444
481
|
params: c
|
|
445
482
|
}).then(n)
|
|
446
483
|
);
|
|
447
|
-
}, Rs = (e, t, o,
|
|
484
|
+
}, Rs = (e, t, o, a, r) => {
|
|
448
485
|
const i = {
|
|
449
486
|
interval: {
|
|
450
487
|
start: e,
|
|
451
488
|
end: t
|
|
452
489
|
},
|
|
453
490
|
filters: o
|
|
454
|
-
}, c = L(
|
|
491
|
+
}, c = L(a, r);
|
|
455
492
|
return G(
|
|
456
493
|
() => s().post(`/v2/assets/datapointValues${c}`, i).then(n)
|
|
457
494
|
);
|
|
@@ -460,21 +497,21 @@ const Ss = (e, t, o, r) => {
|
|
|
460
497
|
return G(() => s().get(`/v2/assets/datapointValues/${t}${o}`).then(n));
|
|
461
498
|
}, L = (e, t) => {
|
|
462
499
|
const o = M(e);
|
|
463
|
-
let
|
|
464
|
-
return o !== void 0 && (
|
|
500
|
+
let a = {};
|
|
501
|
+
return o !== void 0 && (a = {
|
|
465
502
|
page: o.page.toString(),
|
|
466
503
|
size: o.size.toString(),
|
|
467
504
|
sort: o.sort
|
|
468
|
-
}), t !== void 0 && (
|
|
505
|
+
}), t !== void 0 && (a.storeQueryResult = t.toString()), Object.keys(a).length > 0 ? `?${new URLSearchParams(a).toString()}` : "";
|
|
469
506
|
}, Os = (e, t) => {
|
|
470
507
|
const o = t || {
|
|
471
508
|
page: 0,
|
|
472
509
|
size: 10,
|
|
473
510
|
sort: ""
|
|
474
|
-
}, { page:
|
|
511
|
+
}, { page: a, size: r, sort: i } = o, c = {
|
|
475
512
|
...e,
|
|
476
|
-
page:
|
|
477
|
-
size:
|
|
513
|
+
page: a,
|
|
514
|
+
size: r,
|
|
478
515
|
sort: i && `${i.property},${i.direction}` || "",
|
|
479
516
|
ignoreCase: !0
|
|
480
517
|
};
|
|
@@ -493,26 +530,28 @@ const Ss = (e, t, o, r) => {
|
|
|
493
530
|
params: {
|
|
494
531
|
id: e
|
|
495
532
|
}
|
|
496
|
-
}).then(n),
|
|
497
|
-
const o = n(t),
|
|
498
|
-
return { ...o, etag:
|
|
499
|
-
}),
|
|
533
|
+
}).then(n), Es = (e) => s().get(`/v2/dataProcessingDefinitions/${e}`).then((t) => {
|
|
534
|
+
const o = n(t), a = t.headers?.etag || "";
|
|
535
|
+
return { ...o, etag: a };
|
|
536
|
+
}), Bs = (e) => s().get(`/v2/assets/${e}/dataProcessingDefinitions`).then(n), zs = (e) => s().get(`/v2/assetGroups/${e}/dataProcessingDefinitions`).then(n), Ls = (e) => s().post("/v2/dataProcessingDefinitions", e).then(n), xs = (e) => {
|
|
500
537
|
const { etag: t, ...o } = e;
|
|
501
538
|
return s().put(`/v2/dataProcessingDefinitions/${o.id}`, o, {
|
|
502
539
|
headers: t ? {
|
|
503
540
|
"If-Match": t
|
|
504
541
|
} : {}
|
|
505
542
|
}).then(n);
|
|
506
|
-
}, ks = (e, t) => s().put(`/v2/assets/${e}/dataProcessingDefinitionsById`, t).then(n), Ns = (e, t) => s().put(`/v2/assetGroups/${e}/dataProcessingDefinitionsById`, t).then(n), Vs =
|
|
507
|
-
|
|
543
|
+
}, ks = (e, t) => s().put(`/v2/assets/${e}/dataProcessingDefinitionsById`, t).then(n), Ns = (e, t) => s().put(`/v2/assetGroups/${e}/dataProcessingDefinitionsById`, t).then(n), Vs = async (e) => {
|
|
544
|
+
await s().delete(`/v2/dataProcessingDefinitions/${e}`);
|
|
545
|
+
}, Ms = (e, t, o) => {
|
|
546
|
+
const { definition: a } = e, r = o || {
|
|
508
547
|
page: 0,
|
|
509
548
|
size: 10,
|
|
510
549
|
sort: ""
|
|
511
|
-
}, { page: i, size: c, sort: u } =
|
|
550
|
+
}, { page: i, size: c, sort: u } = r;
|
|
512
551
|
return s().post(
|
|
513
552
|
`/v2/assetGroups/${t}/dataProcessingDefinitionValidation`,
|
|
514
553
|
{
|
|
515
|
-
definition:
|
|
554
|
+
definition: a
|
|
516
555
|
},
|
|
517
556
|
{
|
|
518
557
|
params: {
|
|
@@ -523,13 +562,17 @@ const Ss = (e, t, o, r) => {
|
|
|
523
562
|
}
|
|
524
563
|
}
|
|
525
564
|
).then(n);
|
|
526
|
-
}, js = (e) => s().get(`/v2/dataProcessingDefinitions/${e}/access`).then(n),
|
|
565
|
+
}, js = (e) => s().get(`/v2/dataProcessingDefinitions/${e}/access`).then(n), qs = async (e, t) => {
|
|
566
|
+
await s().put(`/v2/dataProcessingDefinitions/${e}/access/${t}`);
|
|
567
|
+
}, _s = async (e, t) => {
|
|
568
|
+
await s().delete(`/v2/dataProcessingDefinitions/${e}/access/${t}`);
|
|
569
|
+
}, Fs = (e, t) => s().post(`/v2/dataProcessingDefinitionEvaluations/${encodeURIComponent(e)}`, t).then(n), Qs = (e) => s().get("/v2/kpis/facts", {
|
|
527
570
|
params: { ...e }
|
|
528
571
|
}).then(({ data: t }) => t), Hs = (e) => s().get("/v2/kpis/facts/generic", {
|
|
529
572
|
params: { ...e }
|
|
530
|
-
}).then(({ data: t }) => t), K = 1440 * 60 * 1e3, Ws = (e, t, o,
|
|
531
|
-
const
|
|
532
|
-
excludeAcknowledged:
|
|
573
|
+
}).then(({ data: t }) => t), K = 1440 * 60 * 1e3, Ws = (e, t, o, a) => {
|
|
574
|
+
const r = Date.now(), i = r, c = r - 28 * K, u = typeof a < "u" ? {
|
|
575
|
+
excludeAcknowledged: a
|
|
533
576
|
} : {};
|
|
534
577
|
return s().get(`/v2/eventLog/history/${e}`, {
|
|
535
578
|
params: {
|
|
@@ -544,19 +587,25 @@ const Ss = (e, t, o, r) => {
|
|
|
544
587
|
};
|
|
545
588
|
return s().get(`/v2/eventLog/stateful/${e}/open`, {
|
|
546
589
|
params: o
|
|
547
|
-
}).then(n).then((
|
|
590
|
+
}).then(n).then((a) => a.events && a.events.map(R) || []);
|
|
548
591
|
}, R = (e) => ({
|
|
549
592
|
...e,
|
|
550
|
-
occurredAt:
|
|
551
|
-
clearedAt:
|
|
552
|
-
acknowledgeAt:
|
|
553
|
-
}),
|
|
554
|
-
`/v2/eventLog/
|
|
555
|
-
|
|
556
|
-
).
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
593
|
+
occurredAt: D(e.occurredAt),
|
|
594
|
+
clearedAt: D(e.clearedAt),
|
|
595
|
+
acknowledgeAt: D(e.acknowledgeAt)
|
|
596
|
+
}), D = (e) => e ? new Date(e).getTime() : null, Xs = async (e, t) => {
|
|
597
|
+
await s().put(`/v2/eventLog/stateful/${e}/${encodeURIComponent(t)}/acknowledge`);
|
|
598
|
+
}, Js = async (e, t) => {
|
|
599
|
+
await s().put(`/v2/eventLog/stateful/${e}/${encodeURIComponent(t)}/acknowledge`);
|
|
600
|
+
}, Ys = async (e, t, o) => {
|
|
601
|
+
await s().put(
|
|
602
|
+
`/v2/eventLog/stateless/${e}/${encodeURIComponent(t)}/acknowledge?occurredAt=${new Date(
|
|
603
|
+
o
|
|
604
|
+
).toISOString()}`
|
|
605
|
+
);
|
|
606
|
+
}, Zs = async (e, t, o) => {
|
|
607
|
+
const a = {};
|
|
608
|
+
t != null && (a.from = new Date(t).toISOString()), o != null && (a.to = new Date(o).toISOString()), await s().delete(`/v2/eventLog/history/${e}`, { params: a });
|
|
560
609
|
}, en = (e) => s().get("/v2/eventLog/stateful/assets/open", {
|
|
561
610
|
params: {
|
|
562
611
|
assetId: e
|
|
@@ -567,7 +616,7 @@ const Ss = (e, t, o, r) => {
|
|
|
567
616
|
from: new Date(t).toISOString(),
|
|
568
617
|
to: new Date(o).toISOString()
|
|
569
618
|
}
|
|
570
|
-
}).then(n).then((
|
|
619
|
+
}).then(n).then((a) => a.events.map(R)), sn = () => s().get("/v2/locales").then(n).then((e) => e.map((t) => t.tag)), nn = (e) => {
|
|
571
620
|
const t = {
|
|
572
621
|
page: 0,
|
|
573
622
|
size: 999,
|
|
@@ -587,9 +636,11 @@ const Ss = (e, t, o, r) => {
|
|
|
587
636
|
return s().get(`/v2/assetGroups/${e}/grantedAccesses`, {
|
|
588
637
|
params: t
|
|
589
638
|
}).then(n).then((o) => o.content);
|
|
590
|
-
},
|
|
639
|
+
}, an = (e, t) => s().post(`/v2/accountGroups/${e}/grantedAccesses`, {
|
|
591
640
|
requiredAssetGroups: t
|
|
592
|
-
}).then(n),
|
|
641
|
+
}).then(n), rn = (e, t) => s().put(`/v2/grantedAccesses/${e}`, t).then(n), cn = async (e) => {
|
|
642
|
+
await s().delete(`/v2/grantedAccesses/${e}`);
|
|
643
|
+
}, un = () => s().get("/beta/namedQuery").then(n), pn = (e, t) => s().put(`/beta/namedQuery/${e}/execute`, t).then((o) => n(o)), w = "OAUTH2_CLIENT", b = w, dn = (e, t) => {
|
|
593
644
|
const o = new URLSearchParams({
|
|
594
645
|
grant_type: "password",
|
|
595
646
|
username: e,
|
|
@@ -600,10 +651,10 @@ const Ss = (e, t, o, r) => {
|
|
|
600
651
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
601
652
|
},
|
|
602
653
|
auth: {
|
|
603
|
-
username:
|
|
654
|
+
username: w,
|
|
604
655
|
password: b
|
|
605
656
|
}
|
|
606
|
-
}).then(n).then(({ access_token:
|
|
657
|
+
}).then(n).then(({ access_token: a, expires_in: r, refresh_token: i }) => k(a, r, i));
|
|
607
658
|
}, gn = (e) => {
|
|
608
659
|
const t = new URLSearchParams({
|
|
609
660
|
grant_type: "refresh_token",
|
|
@@ -614,65 +665,75 @@ const Ss = (e, t, o, r) => {
|
|
|
614
665
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
615
666
|
},
|
|
616
667
|
auth: {
|
|
617
|
-
username:
|
|
668
|
+
username: w,
|
|
618
669
|
password: b
|
|
619
670
|
}
|
|
620
|
-
}).then(n).then(({ access_token: o, expires_in:
|
|
621
|
-
}, x = (e, t) => {
|
|
671
|
+
}).then(n).then(({ access_token: o, expires_in: a, refresh_token: r }) => k(o, a, r));
|
|
672
|
+
}, x = async (e, t) => {
|
|
622
673
|
const o = new URLSearchParams({
|
|
623
674
|
token: e,
|
|
624
675
|
token_type_hint: t
|
|
625
676
|
}).toString();
|
|
626
|
-
|
|
677
|
+
await s().post("/v2/oauth/revoke", o, {
|
|
627
678
|
headers: {
|
|
628
679
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
629
680
|
},
|
|
630
681
|
auth: {
|
|
631
|
-
username:
|
|
682
|
+
username: w,
|
|
632
683
|
password: b
|
|
633
684
|
}
|
|
634
685
|
});
|
|
635
686
|
}, ln = (e) => x(e, "access_token"), hn = (e) => x(e, "refresh_token"), k = (e, t, o) => {
|
|
636
|
-
const { account_number:
|
|
687
|
+
const { account_number: a, user_name: r, tenant: i } = V(e);
|
|
637
688
|
return {
|
|
638
|
-
accountNumber:
|
|
639
|
-
principal:
|
|
689
|
+
accountNumber: a,
|
|
690
|
+
principal: r,
|
|
640
691
|
accessToken: e,
|
|
641
692
|
expiresAt: (/* @__PURE__ */ new Date()).getTime() + t * 1e3,
|
|
642
693
|
refreshToken: o,
|
|
643
694
|
tenant: i
|
|
644
695
|
};
|
|
645
|
-
}, vn = () => s().get("/v2/authorizationOptions").then(n), fn = () => s().get("/v2/properties?size=2000").then(n).then((e) => e.content), mn = (e) => s().get(`/v2/properties/${e}`).then(n),
|
|
696
|
+
}, vn = () => s().get("/v2/authorizationOptions").then(n), fn = () => s().get("/v2/properties?size=2000").then(n).then((e) => e.content), mn = (e) => s().get(`/v2/properties/${e}`).then(n), yn = (e) => s().post("/v2/properties", e).then(n), $n = (e) => s().put(`/v2/properties/${e.key}`, e).then(n), An = async (e) => {
|
|
697
|
+
await s().delete(`/v2/properties/${e.key}`);
|
|
698
|
+
}, wn = (e) => s().get(`/v2/roles/${e}`).then(n), Dn = (e) => s().get("/v2/roles", {
|
|
646
699
|
params: {
|
|
647
700
|
id: e,
|
|
648
701
|
page: 0,
|
|
649
702
|
size: e.length
|
|
650
703
|
}
|
|
651
|
-
}).then(n).then((t) => t.content), Gn = (e) => s().get(`/v2/licenses/${e}/roles`).then(n), Sn = (e) => s().post("/v2/roles", e).then(n), Cn = (e, t) => s().post(`/v2/licenses/${t}/roles`, e).then(n), In = (e) => s().put(`/v2/roles/${e.id}`, e).then(n), Rn =
|
|
704
|
+
}).then(n).then((t) => t.content), Gn = (e) => s().get(`/v2/licenses/${e}/roles`).then(n), Sn = (e) => s().post("/v2/roles", e).then(n), Cn = (e, t) => s().post(`/v2/licenses/${t}/roles`, e).then(n), In = (e) => s().put(`/v2/roles/${e.id}`, e).then(n), Rn = async (e) => {
|
|
705
|
+
await s().delete(`/v2/roles/${e}`);
|
|
706
|
+
}, bn = () => s().get("/v2/roles", {
|
|
652
707
|
params: {
|
|
653
708
|
page: 0,
|
|
654
709
|
size: 1e3
|
|
655
710
|
}
|
|
656
|
-
}).then(n).then((e) => e.content), On = (e) => s().get(`/v2/roles/${e}/authorities`).then(n), Un = (e, t) => s().put(`/v2/roles/${e}/authorities`, t).then(n), X = (e) => s().get(`/v2/assets/${e}/ruleDefinitions`).then(n), J = (e) => s().get(`/v2/assetGroups/${e}/ruleDefinitions`).then(n), Pn = (e) => s().post("/v2/ruleDefinitions/", e).then(n), Tn = (e) => s().put(`/v2/ruleDefinitions/${e.id}`, e).then(n), Y = (e, t) => s().put(`/v2/assets/${e}/ruleDefinitionsById`, t).then(n), Z = (e, t) => s().put(`/v2/assetGroups/${e}/ruleDefinitionsById`, t).then(n),
|
|
711
|
+
}).then(n).then((e) => e.content), On = (e) => s().get(`/v2/roles/${e}/authorities`).then(n), Un = (e, t) => s().put(`/v2/roles/${e}/authorities`, t).then(n), X = (e) => s().get(`/v2/assets/${e}/ruleDefinitions`).then(n), J = (e) => s().get(`/v2/assetGroups/${e}/ruleDefinitions`).then(n), Pn = (e) => s().post("/v2/ruleDefinitions/", e).then(n), Tn = (e) => s().put(`/v2/ruleDefinitions/${e.id}`, e).then(n), Y = (e, t) => s().put(`/v2/assets/${e}/ruleDefinitionsById`, t).then(n), Z = (e, t) => s().put(`/v2/assetGroups/${e}/ruleDefinitionsById`, t).then(n), En = (e, t) => X(e).then(
|
|
657
712
|
(o) => Y(
|
|
658
713
|
e,
|
|
659
|
-
o.map((
|
|
714
|
+
o.map((a) => a.id).filter((a) => !t.includes(a))
|
|
660
715
|
)
|
|
661
|
-
),
|
|
716
|
+
), Bn = (e, t) => J(e).then(
|
|
662
717
|
(o) => Z(
|
|
663
718
|
e,
|
|
664
|
-
o.map((
|
|
719
|
+
o.map((a) => a.id).filter((a) => !t.includes(a))
|
|
665
720
|
)
|
|
666
|
-
), zn =
|
|
721
|
+
), zn = async (e) => {
|
|
722
|
+
await s().delete(`/v2/ruleDefinitions/${e}`);
|
|
723
|
+
}, ee = (e) => s().get(`/v2/ruleDefinitions/name/${e}`).then(n), Ln = (e) => !e || !e.length ? Promise.resolve(!0) : ee(e).then(() => !1).catch(() => !0), xn = (e) => s().get("/v1/eventTemplateMapping", {
|
|
667
724
|
params: {
|
|
668
725
|
ruleId: e
|
|
669
726
|
}
|
|
670
|
-
}).then(n).then((t) => t.content), kn = (e) => s().post("/v1/eventTemplateMapping", e).then(n), Nn =
|
|
727
|
+
}).then(n).then((t) => t.content), kn = (e) => s().post("/v1/eventTemplateMapping", e).then(n), Nn = async (e) => {
|
|
728
|
+
await s().delete(`/v1/eventTemplateMapping/ruleId/${e}`);
|
|
729
|
+
}, Vn = (e) => s().get(`/v2/emailTemplates/${e}`).then(n), Mn = (e) => s().get(`/v2/emailTemplates/${e}/access`).then(n), jn = (e) => s().get("/v2/emailTemplates", {
|
|
671
730
|
params: {
|
|
672
731
|
scope: "CONDITION_MONITORING",
|
|
673
732
|
...e
|
|
674
733
|
}
|
|
675
|
-
}).then(n).then((t) => t.content),
|
|
734
|
+
}).then(n).then((t) => t.content), qn = (e) => s().post("/v2/emailTemplates", e).then(n), _n = (e) => s().put(`/v2/emailTemplates/${e.id}`, e).then(n), Fn = async (e) => {
|
|
735
|
+
await s().delete(`/v2/emailTemplates/${e}`);
|
|
736
|
+
}, Qn = (e, t = ["datapointValuesReceived", "eventUpdate", "statefulEvent"]) => s().post("/v2/subscriptions", {
|
|
676
737
|
assetIds: e,
|
|
677
738
|
types: t,
|
|
678
739
|
durable: !1
|
|
@@ -680,7 +741,9 @@ const Ss = (e, t, o, r) => {
|
|
|
680
741
|
assetGroupIds: e,
|
|
681
742
|
types: t,
|
|
682
743
|
durable: !1
|
|
683
|
-
}).then(n), Wn =
|
|
744
|
+
}).then(n), Wn = async (e) => {
|
|
745
|
+
await s().delete(`/v2/subscriptions/${e}`);
|
|
746
|
+
}, Kn = () => s().get("/v2/units").then(n), Xn = (e) => s().put(`/v2/units/${e.name}`, e).then(n), Jn = (e) => s().get(`/v2/accounts/${e}`).then(n), te = () => s().get("/v2/accounts/me").then(n), Yn = (e) => s().get("/v2/accounts", { params: y(e) }).then(n), Zn = (e) => {
|
|
684
747
|
const t = {
|
|
685
748
|
displayName: e.displayName,
|
|
686
749
|
name: e.name,
|
|
@@ -692,48 +755,68 @@ const Ss = (e, t, o, r) => {
|
|
|
692
755
|
properties: e.properties
|
|
693
756
|
};
|
|
694
757
|
return e.principals.USERNAME && e.principals.USERNAME[0].name && (t.username = e.principals.USERNAME[0].name), s().post("/v2/accounts/registrationsWithEmail", t).then(n);
|
|
695
|
-
}, eo =
|
|
696
|
-
|
|
758
|
+
}, eo = async (e, t) => {
|
|
759
|
+
await s().post(`/v2/accounts/${e}/invite`, { initialState: t });
|
|
760
|
+
}, to = (e) => s().put(`/v2/accounts/${e.number}`, e).then(n), so = (e) => s().put("/v2/accounts/me", e).then(n), no = (e, t) => {
|
|
761
|
+
const { page: o, size: a, sort: r } = t;
|
|
697
762
|
return s().get("/v2/accounts/search", {
|
|
698
763
|
params: {
|
|
699
764
|
q: e,
|
|
700
765
|
page: o || 0,
|
|
701
|
-
size:
|
|
702
|
-
sort: `${
|
|
766
|
+
size: a,
|
|
767
|
+
sort: `${r.property},${r.direction}`,
|
|
703
768
|
ignoreCase: !0
|
|
704
769
|
},
|
|
705
770
|
headers: {
|
|
706
771
|
"Content-Type": "text/plain"
|
|
707
772
|
}
|
|
708
773
|
}).then(n);
|
|
709
|
-
}, oo = (e) => s().get(`/v2/accountGroups?accountNumber=${e}`).then(n),
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
774
|
+
}, oo = (e) => s().get(`/v2/accountGroups?accountNumber=${e}`).then(n), ao = async (e, t) => {
|
|
775
|
+
await s().put("/v2/accountPassword", {
|
|
776
|
+
token: e,
|
|
777
|
+
password: t
|
|
778
|
+
});
|
|
779
|
+
}, ro = async (e) => {
|
|
780
|
+
await s().delete(`/v2/accounts/${e}`);
|
|
781
|
+
}, io = async () => {
|
|
782
|
+
await s().delete("/v2/accounts/me");
|
|
783
|
+
}, co = async (e) => {
|
|
784
|
+
await s().post("/v2/accountPasswordReset", {
|
|
785
|
+
email: e
|
|
786
|
+
});
|
|
787
|
+
}, uo = async (e, t, o) => {
|
|
788
|
+
await s().post(`/v2/accounts/${e}/emailChange `, {
|
|
789
|
+
oldEmailAddress: t,
|
|
790
|
+
newEmailAddress: o
|
|
791
|
+
});
|
|
792
|
+
}, po = async (e) => {
|
|
793
|
+
await s().post("/v2/emailChange", {
|
|
794
|
+
token: e
|
|
795
|
+
});
|
|
796
|
+
}, go = async (e, t, o) => {
|
|
797
|
+
const a = [];
|
|
798
|
+
t.length && a.push({
|
|
722
799
|
action: "ADD",
|
|
723
800
|
groupIds: t
|
|
724
|
-
}), o.length &&
|
|
801
|
+
}), o.length && a.push({
|
|
725
802
|
action: "REMOVE",
|
|
726
803
|
groupIds: o
|
|
727
|
-
}), s().patch(`/v2/accounts/${e}/groups`, {
|
|
728
|
-
changes:
|
|
804
|
+
}), await s().patch(`/v2/accounts/${e}/groups`, {
|
|
805
|
+
changes: a
|
|
806
|
+
});
|
|
807
|
+
}, lo = (e) => s().get(`/v2/accounts/${e}/roles`).then(n), ho = (e, t) => s().put(`/v2/accounts/${e}/roles`, t).then(n), vo = (e) => s().put("/v2/accounts/me/locale", e).then(n), fo = () => s().put("/v2/accounts/me/acceptTerms").then(() => te()), mo = async (e, t) => {
|
|
808
|
+
await s().put(`/v2/accounts/${e}/state`, {
|
|
809
|
+
state: t
|
|
729
810
|
});
|
|
730
|
-
},
|
|
731
|
-
|
|
732
|
-
}
|
|
811
|
+
}, yo = async (e) => {
|
|
812
|
+
await s().delete(`/v2/accounts/${e}/authenticationDevices`);
|
|
813
|
+
}, $o = (e) => s().get("/v2/accountGroups", { params: y(e) }).then(n), Ao = (e) => s().get(`/v2/accountGroups/${e}`).then(n), wo = (e) => s().post("/v2/accountGroups", e).then(n), Do = (e) => s().put(`/v2/accountGroups/${e.id}`, e).then(n), Go = async (e) => {
|
|
814
|
+
await s().delete(`/v2/accountGroups/${e}`);
|
|
815
|
+
}, So = (e, t) => {
|
|
733
816
|
const o = {
|
|
734
817
|
q: e,
|
|
735
818
|
ignoreCase: !0,
|
|
736
|
-
|
|
819
|
+
...y(t)
|
|
737
820
|
};
|
|
738
821
|
return s().get("/v2/accountGroups/search", {
|
|
739
822
|
params: o,
|
|
@@ -741,28 +824,54 @@ const Ss = (e, t, o, r) => {
|
|
|
741
824
|
"Content-Type": "text/plain"
|
|
742
825
|
}
|
|
743
826
|
}).then(n);
|
|
744
|
-
}, Co = (e) => s().get(`/v2/accountGroups/${e}/roles`).then(n), Io = (e, t) => s().put(`/v2/accountGroups/${e}/roles`, t).then(n), Ro = (e, t) =>
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
})
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
827
|
+
}, Co = (e) => s().get(`/v2/accountGroups/${e}/roles`).then(n), Io = (e, t) => s().put(`/v2/accountGroups/${e}/roles`, t).then(n), Ro = async (e, t) => {
|
|
828
|
+
await s().post(`/v2/accountGroups/${e.id}/accountAssignments`, {
|
|
829
|
+
action: "ADD",
|
|
830
|
+
accountIds: t
|
|
831
|
+
});
|
|
832
|
+
}, bo = async (e, t) => {
|
|
833
|
+
await s().post(`/v2/accountGroups/${e.id}/accountAssignments`, {
|
|
834
|
+
action: "ADD",
|
|
835
|
+
query: t
|
|
836
|
+
});
|
|
837
|
+
}, Oo = async (e, t) => {
|
|
838
|
+
await s().post(`/v2/accountGroups/${e.id}/accountAssignments`, {
|
|
839
|
+
action: "REMOVE",
|
|
840
|
+
accountIds: t
|
|
841
|
+
});
|
|
842
|
+
}, Uo = async (e, t) => {
|
|
843
|
+
await s().post(`/v2/accountGroups/${e.id}/accountAssignments`, {
|
|
844
|
+
action: "REMOVE",
|
|
845
|
+
query: t
|
|
846
|
+
});
|
|
847
|
+
}, Po = (e) => s().get(`/v2/accountGroups/${e}/assetGroupsAccesses`).then(n).then((t) => t.assetGroupIds), To = async (e, t) => {
|
|
848
|
+
await s().put(`/v2/assetGroups/${t}/access/${e}`);
|
|
849
|
+
}, Eo = async (e, t) => {
|
|
850
|
+
await s().delete(`/v2/assetGroups/${t}/access/${e}`);
|
|
851
|
+
}, Bo = (e) => s().get(`/v2/accountGroups/${e}/accountGroupsAccesses`).then(n).then((t) => t.accountGroupIds), zo = (e) => s().get(`/v2/accountGroups/${e}/access`).then(n).then((t) => t.accountGroupIds), Lo = async (e, t) => {
|
|
852
|
+
await s().put(`/v2/accountGroups/${e}/access/${t}`);
|
|
853
|
+
}, xo = async (e, t) => {
|
|
854
|
+
await s().delete(`/v2/accountGroups/${e}/access/${t}`);
|
|
855
|
+
}, ko = () => s().get("v2/licenses").then(n), No = (e) => s().get(`v2/licenses/${e}`).then(n), Vo = (e) => s().post("v2/licenses", e).then(n), Mo = (e) => s().put(`/v2/licenses/${e.name}`, e).then(n), jo = async (e) => {
|
|
856
|
+
await s().delete(`v2/licenses/${e}`);
|
|
857
|
+
}, qo = () => s().get("/v2/version", {
|
|
757
858
|
headers: {
|
|
758
859
|
Accept: "text/plain"
|
|
759
860
|
}
|
|
760
|
-
}).then(n),
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
861
|
+
}).then(n), _o = async (e, t) => {
|
|
862
|
+
await s().put(
|
|
863
|
+
`/beta/gateways/urn/${e}/remoteServiceVpnConnection`,
|
|
864
|
+
t ? {
|
|
865
|
+
targetNetwork: t
|
|
866
|
+
} : {}
|
|
867
|
+
);
|
|
868
|
+
}, Fo = (e) => s().get(`/beta/gateways/urn/${e}/remoteServiceVpnConnection`).then(n), Qo = async (e) => {
|
|
869
|
+
await s().delete(`/beta/gateways/urn/${e}/remoteServiceVpnConnection`);
|
|
870
|
+
}, Ho = (e) => s().get(`/v2/gateways/${e}/preparedCommands`).then(n), Wo = (e) => s().post("/v2/preparedCommands", e).then(n), Ko = (e) => s().put(`/v2/preparedCommands/${e.id}`, e).then(n), Xo = async (e) => {
|
|
871
|
+
await s().delete(`/v2/preparedCommands/${e}`);
|
|
872
|
+
}, Jo = async (e, t) => {
|
|
873
|
+
await s().put(`/v2/gateways/${e}/preparedCommandsById`, t);
|
|
874
|
+
}, Yo = (e, t) => s().post(`/v2/gateways/${e}/preparedCommands/${t.id}/execution`).then(n), Zo = (e, t) => {
|
|
766
875
|
const o = {
|
|
767
876
|
expirySeconds: 60,
|
|
768
877
|
content: {
|
|
@@ -771,78 +880,102 @@ const Ss = (e, t, o, r) => {
|
|
|
771
880
|
}
|
|
772
881
|
};
|
|
773
882
|
return s().post(`/v2/gateways/${e}/commands`, o).then(n);
|
|
774
|
-
},
|
|
883
|
+
}, ea = (e, t) => s().get(`/v2/gateways/${e}/commands/${t}/responses`).then(n), ta = (e) => s().put(`/v2/authorizationServers/${e.name}`, e).then(n), sa = async (e) => {
|
|
884
|
+
await s().delete(`/v2/authorizationServers/${e}`);
|
|
885
|
+
}, na = (e) => s().get(`/v2/authorizationServers/${e}`).then(n), oa = () => s().get("/v2/authorizationServers").then(n), aa = (e, t) => s().put(`/v2/authorizationServers/${e}/rules/${t.name}`, t).then(n), ra = (e) => s().get(`/v2/authorizationServers/${e}/rules`).then(n), ia = (e, t) => s().get(`/v2/authorizationServers/${e}/rules/${t}`).then(n), ca = async (e, t) => {
|
|
886
|
+
await s().delete(`/v2/authorizationServers/${e}/rules/${t}`);
|
|
887
|
+
}, d = {
|
|
775
888
|
headers: {
|
|
776
889
|
"X-Dry-Run": !0
|
|
777
890
|
}
|
|
778
|
-
},
|
|
891
|
+
}, ua = (e) => s().post(`/v2/${e.isGateway ? "gateways" : "assets"}`, e, d).then(n), pa = (e) => {
|
|
779
892
|
const { assetGroupIds: t, ...o } = e;
|
|
780
893
|
return s().put(`/v2/${e.isGateway ? "gateways" : "assets"}/${e.id}`, o, d).then(n);
|
|
781
|
-
}, se =
|
|
894
|
+
}, se = async (e, t) => {
|
|
895
|
+
await s().put(`/v2/assets/${e}/groups/${t}`, null, d);
|
|
896
|
+
}, ne = async (e, t) => {
|
|
897
|
+
await s().delete(`/v2/assets/${e}/groups/${t}`, d);
|
|
898
|
+
}, da = async (e, t) => {
|
|
782
899
|
const o = await T(e);
|
|
783
|
-
let
|
|
784
|
-
o.length > 0 && (
|
|
785
|
-
const
|
|
900
|
+
let a = [];
|
|
901
|
+
o.length > 0 && (a = (await P(o)).map(({ id: c }) => c));
|
|
902
|
+
const r = t.filter((c) => !o.includes(c)), i = a.filter((c) => t && !t.includes(c));
|
|
786
903
|
return Promise.all([
|
|
787
|
-
...
|
|
904
|
+
...r.map((c) => se(e, c)),
|
|
788
905
|
...i.map((c) => ne(e, c))
|
|
789
906
|
]);
|
|
790
|
-
},
|
|
791
|
-
`/v2/assetGroups/${e
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
);
|
|
819
|
-
|
|
907
|
+
}, ga = (e) => s().post(`/v2/assetGroupDefinitions/${e.definitionId}/groups`, e, d).then(n), la = (e) => s().put(`/v2/assetGroups/${e.id}`, e, d).then(n), ha = async (e) => {
|
|
908
|
+
await s().delete(`/v2/assetGroups/${e}`, d);
|
|
909
|
+
}, va = async (e, t) => {
|
|
910
|
+
await s().post(
|
|
911
|
+
`/v2/assetGroups/${e.id}/assetAssignments`,
|
|
912
|
+
{
|
|
913
|
+
action: "ADD",
|
|
914
|
+
assetIds: t
|
|
915
|
+
},
|
|
916
|
+
d
|
|
917
|
+
);
|
|
918
|
+
}, fa = async (e, t) => {
|
|
919
|
+
await s().post(
|
|
920
|
+
`/v2/assetGroups/${e.id}/assetAssignments`,
|
|
921
|
+
{
|
|
922
|
+
action: "ADD",
|
|
923
|
+
query: t
|
|
924
|
+
},
|
|
925
|
+
d
|
|
926
|
+
);
|
|
927
|
+
}, ma = async (e, t) => {
|
|
928
|
+
await s().post(
|
|
929
|
+
`/v2/assetGroups/${e.id}/assetAssignments`,
|
|
930
|
+
{
|
|
931
|
+
action: "REMOVE",
|
|
932
|
+
assetIds: t
|
|
933
|
+
},
|
|
934
|
+
d
|
|
935
|
+
);
|
|
936
|
+
}, ya = async (e, t) => {
|
|
937
|
+
await s().post(
|
|
938
|
+
`/v2/assetGroups/${e.id}/assetAssignments`,
|
|
939
|
+
{
|
|
940
|
+
action: "REMOVE",
|
|
941
|
+
query: t
|
|
942
|
+
},
|
|
943
|
+
d
|
|
944
|
+
);
|
|
945
|
+
};
|
|
946
|
+
function $a(e) {
|
|
820
947
|
return e === "assets" ? s().get("/v2/assets/shadow/fields").then(n) : s().get(`/beta/${e}/fields`).then(n);
|
|
821
948
|
}
|
|
822
|
-
const
|
|
823
|
-
|
|
949
|
+
const Aa = () => s().get("/v2/bundles").then(n), wa = (e) => s().get(`/v2/bundles/${e}`).then(n), Da = (e) => s().post("/v2/bundles", e).then(n), Ga = async (e) => {
|
|
950
|
+
await s().delete(`/v2/bundles/${e}`);
|
|
951
|
+
}, Sa = (e, t, o) => {
|
|
952
|
+
const { page: a = 0, size: r = 1e3, sort: i = "" } = t || {};
|
|
824
953
|
return s().get(`/v2/bundles/${e}/versions`, {
|
|
825
954
|
params: {
|
|
826
|
-
page:
|
|
827
|
-
size:
|
|
955
|
+
page: a,
|
|
956
|
+
size: r,
|
|
828
957
|
sort: i && `${i.property},${i.direction}` || "",
|
|
829
958
|
ignoreCase: !0,
|
|
830
959
|
draft: o
|
|
831
960
|
}
|
|
832
961
|
}).then(n);
|
|
833
|
-
},
|
|
962
|
+
}, Ca = (e, t) => s().get(`/v2/bundles/${e}/versions/${t}`).then(n), Ia = (e, t) => s().post(`/v2/bundles/${e}/versions`, t).then(n), Ra = (e, t) => s().put(`/v2/bundles/${e}/versions/${t}/release`).then(n), ba = async (e, t) => {
|
|
963
|
+
await s().delete(`/v2/bundles/${e}/versions/${t}`);
|
|
964
|
+
}, Oa = (e, t, o, a) => (a ?? s()).post(`/v2/bundles/${e}/versions/${t}/files`, o, {
|
|
834
965
|
headers: {
|
|
835
966
|
"content-type": "multipart/form-data"
|
|
836
967
|
},
|
|
837
968
|
timeout: 900 * 1e3
|
|
838
|
-
})
|
|
969
|
+
}).then(n), Ua = (e, t) => s().get(`/v2/bundles/${e}/versions/${t}/files`).then(n), Pa = (e, t, o) => s().get(`/v2/bundles/${e}/versions/${t}/files/${o}`).then(n), Ta = async (e, t, o) => {
|
|
970
|
+
await s().delete(`/v2/bundles/${e}/versions/${t}/files/${o}`);
|
|
971
|
+
}, Ea = () => s().get("/v2/auditLogEntities").then(n), U = (e) => e ? new Date(e).toUTCString() : null, Ba = (e, t, o) => s().get(`/v2/auditLogDiffs/${e}/${t}`, {
|
|
839
972
|
params: {
|
|
840
973
|
processedFrom: U(o?.timeframe?.tsStart),
|
|
841
974
|
processedUntil: U(o?.timeframe?.tsEnd),
|
|
842
975
|
account: o?.accountId
|
|
843
976
|
}
|
|
844
977
|
}).then(n);
|
|
845
|
-
async function
|
|
978
|
+
async function za(e, t) {
|
|
846
979
|
return await s().get("/v1/powerBi/singleReport/params", { params: { workspaceId: e, reportId: t } }).then(n);
|
|
847
980
|
}
|
|
848
981
|
const O = async (e) => (await s().post("/v1/timeSeriesInsights/query", e, {
|
|
@@ -850,7 +983,7 @@ const O = async (e) => (await s().post("/v1/timeSeriesInsights/query", e, {
|
|
|
850
983
|
"api-version": "2020-07-31",
|
|
851
984
|
storeType: "ColdStore"
|
|
852
985
|
}
|
|
853
|
-
})).data,
|
|
986
|
+
})).data, La = (e) => O({ aggregateSeries: e }), xa = async (e) => O({ getSeries: e }), ka = async (e) => O({ getEvents: e }), Na = (e, t) => s().put(`/v1/ux4iotSecurity/assets/${e}`, t), Va = (e = "/v1/ux4iotSecurity/assets/", t) => s().put(`${e}${t.deviceId}`, t), N = {
|
|
854
987
|
BOOLEAN: "boolean",
|
|
855
988
|
DOUBLE: "double",
|
|
856
989
|
LONG: "long",
|
|
@@ -858,41 +991,41 @@ const O = async (e) => (await s().post("/v1/timeSeriesInsights/query", e, {
|
|
|
858
991
|
GEO_POSITION: "geo_position",
|
|
859
992
|
STRUCTURED: "structured"
|
|
860
993
|
};
|
|
861
|
-
async function
|
|
994
|
+
async function Ma(e, t, o, a, r, i, c, u) {
|
|
862
995
|
const p = {
|
|
863
996
|
datapoints: t,
|
|
864
997
|
datatype: N[o],
|
|
865
|
-
tsFrom: new Date(
|
|
866
|
-
tsTo: new Date(
|
|
998
|
+
tsFrom: new Date(a).toISOString(),
|
|
999
|
+
tsTo: new Date(r).toISOString()
|
|
867
1000
|
};
|
|
868
1001
|
return i != null && (p.groupBy = i), c != null && (p.deduplication = c), u != null && (p.includeOutliers = u), (await s().post(
|
|
869
1002
|
`/v2/assets/${e}/datapointValues`,
|
|
870
1003
|
p
|
|
871
1004
|
)).data;
|
|
872
1005
|
}
|
|
873
|
-
async function
|
|
1006
|
+
async function ja(e, t, o, a, r) {
|
|
874
1007
|
const i = {
|
|
875
1008
|
datapoints: t,
|
|
876
1009
|
datatype: N[o]
|
|
877
1010
|
};
|
|
878
|
-
return
|
|
1011
|
+
return a != null && r != null && (i.tsFrom = new Date(a).toISOString(), i.tsTo = new Date(r).toISOString()), (await s().post(
|
|
879
1012
|
`/v2/assets/${e}/datapointValues/latest`,
|
|
880
1013
|
i
|
|
881
1014
|
)).data;
|
|
882
1015
|
}
|
|
883
|
-
async function
|
|
1016
|
+
async function qa() {
|
|
884
1017
|
const e = await s().get("/v2/initialAccountGroupAssignmentRules");
|
|
885
1018
|
return n(e);
|
|
886
1019
|
}
|
|
887
|
-
async function
|
|
1020
|
+
async function _a(e) {
|
|
888
1021
|
const t = await s().post("/v2/initialAccountGroupAssignmentRules", e);
|
|
889
1022
|
return n(t);
|
|
890
1023
|
}
|
|
891
|
-
async function
|
|
1024
|
+
async function Fa(e, t) {
|
|
892
1025
|
const o = await s().put(`/v2/initialAccountGroupAssignmentRules/${e}`, t);
|
|
893
1026
|
return n(o);
|
|
894
1027
|
}
|
|
895
|
-
async function
|
|
1028
|
+
async function Qa(e) {
|
|
896
1029
|
await s().delete(`/v2/initialAccountGroupAssignmentRules/${e}`);
|
|
897
1030
|
}
|
|
898
1031
|
export {
|
|
@@ -902,17 +1035,17 @@ export {
|
|
|
902
1035
|
Js as acknowledgeStatefulEvent,
|
|
903
1036
|
Ys as acknowledgeStatelessEvent,
|
|
904
1037
|
To as addAccess,
|
|
905
|
-
|
|
1038
|
+
qs as addAccessToDataProcessingDefinition,
|
|
906
1039
|
Lo as addAccountGroupAccess,
|
|
907
1040
|
Xn as addUnit,
|
|
908
|
-
|
|
909
|
-
|
|
1041
|
+
La as aggregateSeries,
|
|
1042
|
+
_ as assignAssetGroup,
|
|
910
1043
|
Z as assignAssetGroupRules,
|
|
911
1044
|
Y as assignAssetRules,
|
|
912
1045
|
ve as assignAssetsByIds,
|
|
913
|
-
|
|
1046
|
+
va as assignAssetsByIdsDryRun,
|
|
914
1047
|
fe as assignAssetsByQuery,
|
|
915
|
-
|
|
1048
|
+
fa as assignAssetsByQueryDryRun,
|
|
916
1049
|
hs as assignConfigurationsToAsset,
|
|
917
1050
|
ks as assignDataProcessingDefinitionsToAsset,
|
|
918
1051
|
Ns as assignDataProcessingDefinitionsToAssetGroup,
|
|
@@ -925,36 +1058,36 @@ export {
|
|
|
925
1058
|
Qt as checkShowUserDocumentation,
|
|
926
1059
|
Nt as checkStartPage,
|
|
927
1060
|
Oe as createAsset,
|
|
928
|
-
|
|
929
|
-
|
|
1061
|
+
at as createAssetDefinition,
|
|
1062
|
+
rt as createAssetDefinitionDatapoint,
|
|
930
1063
|
it as createAssetDefinitionDatapoints,
|
|
931
|
-
|
|
1064
|
+
ua as createAssetDryRun,
|
|
932
1065
|
ge as createAssetGroup,
|
|
933
1066
|
vt as createAssetGroupDefinition,
|
|
934
|
-
|
|
1067
|
+
ga as createAssetGroupDryRun,
|
|
935
1068
|
Ze as createAuthority,
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
1069
|
+
Da as createBundle,
|
|
1070
|
+
Oa as createBundleFile,
|
|
1071
|
+
Ia as createBundleVersion,
|
|
939
1072
|
ds as createConfiguration,
|
|
940
1073
|
Ls as createDataProcessingDefinition,
|
|
941
1074
|
ms as createDatapoint,
|
|
942
|
-
|
|
1075
|
+
qn as createEmailTemplate,
|
|
943
1076
|
kn as createEventTemplateMapping,
|
|
944
|
-
|
|
945
|
-
|
|
1077
|
+
an as createGrantedAccess,
|
|
1078
|
+
_a as createInitialAccountGroupAssignmentRule,
|
|
946
1079
|
Vo as createLicense,
|
|
947
|
-
|
|
948
|
-
|
|
1080
|
+
ta as createOrUpdateAuthorizationServer,
|
|
1081
|
+
aa as createOrUpdateAuthorizationServerRule,
|
|
949
1082
|
Wo as createPreparedCommand,
|
|
950
|
-
|
|
1083
|
+
yn as createProperty,
|
|
951
1084
|
Sn as createRole,
|
|
952
1085
|
Cn as createRoleWithLicense,
|
|
953
1086
|
Pn as createRule,
|
|
954
1087
|
Zn as createUser,
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1088
|
+
wo as createUserGroup,
|
|
1089
|
+
yo as delete2FADevice,
|
|
1090
|
+
Eo as deleteAccess,
|
|
958
1091
|
xo as deleteAccountGroupAccess,
|
|
959
1092
|
is as deleteAccountGroupObject,
|
|
960
1093
|
H as deleteAccountObject,
|
|
@@ -965,16 +1098,16 @@ export {
|
|
|
965
1098
|
Gt as deleteAssetDefinitionObject,
|
|
966
1099
|
he as deleteAssetGroup,
|
|
967
1100
|
mt as deleteAssetGroupDefinition,
|
|
968
|
-
|
|
1101
|
+
ha as deleteAssetGroupDryRun,
|
|
969
1102
|
It as deleteAssetGroupObject,
|
|
970
|
-
|
|
1103
|
+
At as deleteAssetObject,
|
|
971
1104
|
et as deleteAuthority,
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
1105
|
+
sa as deleteAuthorizationServer,
|
|
1106
|
+
ca as deleteAuthorizationServerRule,
|
|
1107
|
+
Ga as deleteBundle,
|
|
1108
|
+
Ta as deleteBundleFile,
|
|
1109
|
+
ba as deleteBundleVersion,
|
|
1110
|
+
Et as deleteConditionMonitoringPriorities,
|
|
978
1111
|
ls as deleteConfiguration,
|
|
979
1112
|
Vs as deleteDataProcessingDefinition,
|
|
980
1113
|
Gs as deleteDatapoint,
|
|
@@ -983,26 +1116,26 @@ export {
|
|
|
983
1116
|
Fn as deleteEmailTemplate,
|
|
984
1117
|
cn as deleteGrantedAccess,
|
|
985
1118
|
Zs as deleteHistoricEvents,
|
|
986
|
-
|
|
1119
|
+
Qa as deleteInitialAccountGroupAssignmentRule,
|
|
987
1120
|
jo as deleteLicense,
|
|
988
1121
|
io as deleteMyAccount,
|
|
989
1122
|
Xo as deletePreparedCommand,
|
|
990
|
-
|
|
1123
|
+
An as deleteProperty,
|
|
991
1124
|
Rn as deleteRole,
|
|
992
1125
|
zn as deleteRule,
|
|
993
1126
|
Zt as deleteStartPage,
|
|
994
1127
|
I as deleteTenantObject,
|
|
995
1128
|
Ut as deleteUIConfigurations,
|
|
996
|
-
|
|
1129
|
+
ro as deleteUser,
|
|
997
1130
|
Go as deleteUserGroup,
|
|
998
1131
|
ns as downloadAssetBlobSeriesItem,
|
|
999
|
-
|
|
1132
|
+
Pa as downloadBundleFile,
|
|
1000
1133
|
pn as executeNamedQuery,
|
|
1001
1134
|
Yo as executePreparedCommand,
|
|
1002
1135
|
Po as fetchAccesses,
|
|
1003
|
-
|
|
1136
|
+
Bo as fetchAccountGroupAccesses,
|
|
1004
1137
|
ie as fetchAggregation,
|
|
1005
|
-
|
|
1138
|
+
Aa as fetchAllBundles,
|
|
1006
1139
|
Se as fetchAssetByUrn,
|
|
1007
1140
|
st as fetchAssetDefinition,
|
|
1008
1141
|
tt as fetchAssetDefinitions,
|
|
@@ -1015,7 +1148,7 @@ export {
|
|
|
1015
1148
|
pe as fetchAssetGroupsByDataProcessingDefinitionId,
|
|
1016
1149
|
P as fetchAssetGroupsById,
|
|
1017
1150
|
de as fetchAssetGroupsByRuleId,
|
|
1018
|
-
|
|
1151
|
+
De as fetchAssetWithShadowById,
|
|
1019
1152
|
S as fetchAssets,
|
|
1020
1153
|
Ie as fetchAssetsByAssetGroupId,
|
|
1021
1154
|
be as fetchAssetsByDataProcessingDefinitionId,
|
|
@@ -1024,23 +1157,23 @@ export {
|
|
|
1024
1157
|
J as fetchAssignedAssetGroupRules,
|
|
1025
1158
|
X as fetchAssignedAssetRules,
|
|
1026
1159
|
vs as fetchAssignedGatewaysToConfiguration,
|
|
1027
|
-
|
|
1028
|
-
|
|
1160
|
+
Ba as fetchAuditLogDifferences,
|
|
1161
|
+
Ea as fetchAuditLogEntities,
|
|
1029
1162
|
Je as fetchAuthorities,
|
|
1030
1163
|
On as fetchAuthoritiesOfRole,
|
|
1031
1164
|
Ye as fetchAuthorityByName,
|
|
1032
1165
|
vn as fetchAuthorizationOptions,
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1166
|
+
na as fetchAuthorizationServer,
|
|
1167
|
+
ia as fetchAuthorizationServerRule,
|
|
1168
|
+
ra as fetchAuthorizationServerRules,
|
|
1169
|
+
oa as fetchAuthorizationServers,
|
|
1170
|
+
wa as fetchBundle,
|
|
1171
|
+
Ua as fetchBundleFiles,
|
|
1172
|
+
Ca as fetchBundleVersion,
|
|
1173
|
+
Sa as fetchBundleVersions,
|
|
1041
1174
|
ps as fetchConfigurationByName,
|
|
1042
1175
|
us as fetchConfigurations,
|
|
1043
|
-
|
|
1176
|
+
Bs as fetchDataProcessingDefinitionsAssignedToAsset,
|
|
1044
1177
|
zs as fetchDataProcessingDefinitionsAssignedToAssetGroup,
|
|
1045
1178
|
fs as fetchDatapointsByAssetId,
|
|
1046
1179
|
Mn as fetchEmailTemplateAccessById,
|
|
@@ -1053,7 +1186,7 @@ export {
|
|
|
1053
1186
|
We as fetchGatewayCommandResponses,
|
|
1054
1187
|
nn as fetchGrantedAccesses,
|
|
1055
1188
|
on as fetchGrantedAccessesForAssetGroup,
|
|
1056
|
-
|
|
1189
|
+
Ae as fetchGroupsByIds,
|
|
1057
1190
|
tn as fetchHistoricEventsOfMultipleAssets,
|
|
1058
1191
|
zo as fetchInverseAccountGroupAccesses,
|
|
1059
1192
|
No as fetchLicenseByName,
|
|
@@ -1066,106 +1199,106 @@ export {
|
|
|
1066
1199
|
Ho as fetchPreparedCommands,
|
|
1067
1200
|
fn as fetchProperties,
|
|
1068
1201
|
Fo as fetchRemoteServiceConnectionInfo,
|
|
1069
|
-
|
|
1070
|
-
|
|
1202
|
+
wn as fetchRoleById,
|
|
1203
|
+
Dn as fetchRoleByIds,
|
|
1071
1204
|
Co as fetchRoleIdsOfUserGroup,
|
|
1072
1205
|
bn as fetchRoles,
|
|
1073
1206
|
Gn as fetchRolesForLicense,
|
|
1074
1207
|
lo as fetchRolesOfUser,
|
|
1075
1208
|
ee as fetchRuleByName,
|
|
1076
|
-
|
|
1077
|
-
|
|
1209
|
+
ea as fetchSentCommandResponses,
|
|
1210
|
+
$a as fetchShadowKeys,
|
|
1078
1211
|
Kn as fetchUnits,
|
|
1079
1212
|
Jn as fetchUserByAccountNumber,
|
|
1080
|
-
|
|
1081
|
-
|
|
1213
|
+
Ao as fetchUserGroupById,
|
|
1214
|
+
$o as fetchUserGroups,
|
|
1082
1215
|
oo as fetchUserGroupsOfUser,
|
|
1083
1216
|
Yn as fetchUsers,
|
|
1084
|
-
|
|
1217
|
+
$e as getAncestorGroups,
|
|
1085
1218
|
pt as getAssetGroupHierarchies,
|
|
1086
1219
|
dt as getAssetGroupHierarchyRoots,
|
|
1087
1220
|
s as getAxios,
|
|
1088
1221
|
Fe as getCertificateDetails,
|
|
1089
|
-
|
|
1222
|
+
Es as getDataProcessingDefinitionById,
|
|
1090
1223
|
Fs as getDataProcessingDefinitionEvaluations,
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1224
|
+
As as getDatapointGeoPositionValues,
|
|
1225
|
+
ws as getDatapointSamples,
|
|
1226
|
+
$s as getDatapointValues,
|
|
1094
1227
|
Rs as getDatapointValuesByFilters,
|
|
1095
1228
|
bs as getDatapointValuesByQueryId,
|
|
1096
|
-
|
|
1097
|
-
|
|
1229
|
+
ka as getEvents,
|
|
1230
|
+
_e as getGatewayCertificateSummary,
|
|
1098
1231
|
Ve as getGatewayConfigurationsSyncStatus,
|
|
1099
|
-
|
|
1232
|
+
qa as getInitialAccountGroupAssignmentRules,
|
|
1100
1233
|
Hs as getKpiGeneric,
|
|
1101
1234
|
Qs as getKpiGenericWithTimestamp,
|
|
1102
|
-
|
|
1235
|
+
za as getParamsForSingleReport,
|
|
1103
1236
|
mn as getPropertyById,
|
|
1104
|
-
|
|
1237
|
+
xa as getSeries,
|
|
1105
1238
|
Is as getStructuredDatapointDistinctValues,
|
|
1106
1239
|
Cs as getStructuredDatapointPropertyNodes,
|
|
1107
|
-
|
|
1108
|
-
|
|
1240
|
+
qo as getVersion,
|
|
1241
|
+
_o as initializeRemoteServiceConnection,
|
|
1109
1242
|
eo as inviteUser,
|
|
1110
1243
|
Zo as invokeDiscoveryCommand,
|
|
1111
|
-
|
|
1244
|
+
we as listAllChildAssetGroups,
|
|
1112
1245
|
js as listDataProcessingDefinitionAccesses,
|
|
1113
1246
|
Ts as listDataProcessingDefinitionAccountGroupAssignments,
|
|
1114
1247
|
Us as listDataProcessingDefinitionAssetAssignments,
|
|
1115
1248
|
Ps as listDataProcessingDefinitionAssetGroupAssignments,
|
|
1116
1249
|
Os as listDataProcessingDefinitions,
|
|
1117
1250
|
M as paginationSettingsAdxToQueryParams,
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1251
|
+
y as paginationSettingsToQueryParams,
|
|
1252
|
+
Ma as queryDatapointValues,
|
|
1253
|
+
ja as queryLastDatapointsValue,
|
|
1121
1254
|
os as readAccountGroupObject,
|
|
1122
|
-
|
|
1255
|
+
as as readAccountGroupObjectBasedOnMembership,
|
|
1123
1256
|
l as readAccountObject,
|
|
1124
1257
|
ts as readAdvancedSearchDefaultProperties,
|
|
1125
1258
|
ss as readAssetBlobSeries,
|
|
1126
|
-
|
|
1259
|
+
wt as readAssetDefinitionObject,
|
|
1127
1260
|
St as readAssetGroupObject,
|
|
1128
|
-
|
|
1261
|
+
yt as readAssetObject,
|
|
1129
1262
|
cs as readAzureB2cConfiguration,
|
|
1130
1263
|
Pt as readConditionMonitoringPriorities,
|
|
1131
|
-
|
|
1264
|
+
Bt as readEULA,
|
|
1132
1265
|
zt as readEULAList,
|
|
1133
1266
|
Yt as readFavorites,
|
|
1134
1267
|
kt as readLegalPage,
|
|
1135
1268
|
Xt as readPaginationSettings,
|
|
1136
|
-
|
|
1137
|
-
|
|
1269
|
+
_t as readReleaseNotesSubscription,
|
|
1270
|
+
qt as readReleaseNotesVersionsViewed,
|
|
1138
1271
|
Ht as readShowUserDocumentation,
|
|
1139
1272
|
Vt as readStartPage,
|
|
1140
1273
|
g as readTenantObject,
|
|
1141
1274
|
Rt as readUIConfigurations,
|
|
1142
1275
|
bt as readUISecrets,
|
|
1143
1276
|
gn as refreshToken,
|
|
1144
|
-
|
|
1145
|
-
|
|
1277
|
+
Ra as releaseBundleVersion,
|
|
1278
|
+
_s as removeAccessToDataProcessingDefinition,
|
|
1146
1279
|
Ke as requestApplicationLogCommand,
|
|
1147
1280
|
dn as requestToken,
|
|
1148
1281
|
je as retrieveAssetBootstrapJson,
|
|
1149
|
-
|
|
1282
|
+
qe as retrieveAssetBootstrapShellCommand,
|
|
1150
1283
|
ln as revokeAccessToken,
|
|
1151
1284
|
He as revokeAllGatewayCertificates,
|
|
1152
1285
|
Qe as revokeGatewayCertificate,
|
|
1153
1286
|
hn as revokeRefreshToken,
|
|
1154
1287
|
j as searchAssetGroups,
|
|
1155
|
-
|
|
1288
|
+
q as searchAssets,
|
|
1156
1289
|
Le as searchAssetsByGeoBoundingBox,
|
|
1157
|
-
|
|
1290
|
+
Ee as searchAssetsByProperty,
|
|
1158
1291
|
ze as searchAssetsWithGeoDistance,
|
|
1159
1292
|
Te as searchAssetsWithOpenEvents,
|
|
1160
|
-
|
|
1293
|
+
Be as searchGateways,
|
|
1161
1294
|
So as searchUserGroups,
|
|
1162
1295
|
no as searchUsers,
|
|
1163
|
-
|
|
1164
|
-
|
|
1296
|
+
Na as sendUx4iotGrantRequest,
|
|
1297
|
+
Va as sendUx4iotGrantRequestToEndpoint,
|
|
1165
1298
|
Un as setAuthoritiesOfRole,
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1299
|
+
ae as setAxios,
|
|
1300
|
+
re as setAxiosConfig,
|
|
1301
|
+
ao as setUserPassword,
|
|
1169
1302
|
mo as setUserState,
|
|
1170
1303
|
Hn as subscribeAssetGroups,
|
|
1171
1304
|
Qn as subscribeAssets,
|
|
@@ -1174,12 +1307,12 @@ export {
|
|
|
1174
1307
|
Me as triggerGatewayConfigurationsSync,
|
|
1175
1308
|
co as triggerPasswordReset,
|
|
1176
1309
|
F as unassignAssetGroup,
|
|
1177
|
-
|
|
1178
|
-
|
|
1310
|
+
Bn as unassignAssetGroupRules,
|
|
1311
|
+
En as unassignAssetRules,
|
|
1179
1312
|
me as unassignAssetsByIds,
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1313
|
+
ma as unassignAssetsByIdsDryRun,
|
|
1314
|
+
ye as unassignAssetsByQuery,
|
|
1315
|
+
ya as unassignAssetsByQueryDryRun,
|
|
1183
1316
|
Ne as unassignGateway,
|
|
1184
1317
|
Oo as unassignUsersFromUserGroupByIds,
|
|
1185
1318
|
Uo as unassignUsersFromUserGroupByQuery,
|
|
@@ -1187,38 +1320,38 @@ export {
|
|
|
1187
1320
|
Ue as updateAsset,
|
|
1188
1321
|
ot as updateAssetDefinition,
|
|
1189
1322
|
ut as updateAssetDefinitionDatapoint,
|
|
1190
|
-
|
|
1323
|
+
pa as updateAssetDryRun,
|
|
1191
1324
|
le as updateAssetGroup,
|
|
1192
1325
|
ft as updateAssetGroupDefinition,
|
|
1193
|
-
|
|
1326
|
+
la as updateAssetGroupDryRun,
|
|
1194
1327
|
xe as updateAssetGroupIds,
|
|
1195
|
-
|
|
1328
|
+
da as updateAssetGroupIdsDryRun,
|
|
1196
1329
|
gs as updateConfiguration,
|
|
1197
1330
|
xs as updateDataProcessingDefinition,
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1331
|
+
ys as updateDatapointThresholds,
|
|
1332
|
+
Ds as updateDatapointUnit,
|
|
1333
|
+
_n as updateEmailTemplate,
|
|
1334
|
+
rn as updateGrantedAccess,
|
|
1335
|
+
Fa as updateInitialAccountGroupAssignmentRule,
|
|
1203
1336
|
Mo as updateLicense,
|
|
1204
1337
|
vo as updateLocaleOfUser,
|
|
1205
1338
|
so as updateMe,
|
|
1206
1339
|
Ko as updatePreparedCommand,
|
|
1207
|
-
|
|
1340
|
+
$n as updateProperty,
|
|
1208
1341
|
In as updateRole,
|
|
1209
1342
|
Io as updateRoleIdsOfUserGroup,
|
|
1210
1343
|
ho as updateRolesOfUser,
|
|
1211
1344
|
Tn as updateRule,
|
|
1212
1345
|
to as updateUser,
|
|
1213
|
-
|
|
1346
|
+
Do as updateUserGroup,
|
|
1214
1347
|
go as updateUserGroupsOfUser,
|
|
1215
1348
|
Ms as validateDataProcessingDefinitionForAssetGroup,
|
|
1216
|
-
|
|
1349
|
+
rs as writeAccountGroupObject,
|
|
1217
1350
|
h as writeAccountObject,
|
|
1218
1351
|
es as writeAdvancedSearchDefaultProperties,
|
|
1219
|
-
|
|
1352
|
+
Dt as writeAssetDefinitionObject,
|
|
1220
1353
|
Ct as writeAssetGroupObject,
|
|
1221
|
-
|
|
1354
|
+
$t as writeAssetObject,
|
|
1222
1355
|
Tt as writeConditionMonitoringPriorities,
|
|
1223
1356
|
Lt as writeEULA,
|
|
1224
1357
|
Jt as writeFavorites,
|