@deviceinsight/ng-ui-api-client 10.47.0 → 10.48.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.js CHANGED
@@ -444,28 +444,28 @@ const Ss = (e, t, o, r) => {
444
444
  params: c
445
445
  }).then(n)
446
446
  );
447
- }, Rs = (e, t, o, r) => {
448
- const a = {
447
+ }, Rs = (e, t, o, r, a) => {
448
+ const i = {
449
449
  interval: {
450
450
  start: e,
451
451
  end: t
452
452
  },
453
453
  filters: o
454
- }, i = L(r);
454
+ }, c = L(r, a);
455
455
  return G(
456
- () => s().post(`/v2/assets/datapointValues${i}`, a).then(n)
456
+ () => s().post(`/v2/assets/datapointValues${c}`, i).then(n)
457
457
  );
458
458
  }, bs = (e, t) => {
459
459
  const o = L(e);
460
460
  return G(() => s().get(`/v2/assets/datapointValues/${t}${o}`).then(n));
461
- }, L = (e) => {
462
- const t = M(e);
463
- let o = {};
464
- return t !== void 0 && (o = {
465
- page: t.page.toString(),
466
- size: t.size.toString(),
467
- sort: t.sort
468
- }), Object.keys(o).length > 0 ? `?${new URLSearchParams(o).toString()}` : "";
461
+ }, L = (e, t) => {
462
+ const o = M(e);
463
+ let r = {};
464
+ return o !== void 0 && (r = {
465
+ page: o.page.toString(),
466
+ size: o.size.toString(),
467
+ sort: o.sort
468
+ }), t !== void 0 && (r.storeQueryResult = t.toString()), Object.keys(r).length > 0 ? `?${new URLSearchParams(r).toString()}` : "";
469
469
  }, Os = (e, t) => {
470
470
  const o = t || {
471
471
  page: 0,