@placeos/ts-client 4.7.2 → 4.7.4

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.es.js CHANGED
@@ -14,14 +14,14 @@ function te(t, e) {
14
14
  }
15
15
  t.prototype = e === null ? Object.create(e) : (n.prototype = e.prototype, new n());
16
16
  }
17
- var Ke = function() {
18
- return Ke = Object.assign || function(e) {
17
+ var Ze = function() {
18
+ return Ze = Object.assign || function(e) {
19
19
  for (var n, r = 1, i = arguments.length; r < i; r++) {
20
20
  n = arguments[r];
21
21
  for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (e[s] = n[s]);
22
22
  }
23
23
  return e;
24
- }, Ke.apply(this, arguments);
24
+ }, Ze.apply(this, arguments);
25
25
  };
26
26
  function si(t, e) {
27
27
  var n = {};
@@ -1281,7 +1281,7 @@ function wn(t, e) {
1281
1281
  return c.removeEventListener("abort", l);
1282
1282
  });
1283
1283
  }
1284
- var _ = Ke(Ke({}, r), { signal: o }), y = function(p) {
1284
+ var _ = Ze(Ze({}, r), { signal: o }), y = function(p) {
1285
1285
  u = !1, i.error(p);
1286
1286
  };
1287
1287
  return fetch(t, _).then(function(p) {
@@ -1590,13 +1590,13 @@ function Zi() {
1590
1590
  3329325298
1591
1591
  ]);
1592
1592
  function r(p, a, f, h, $) {
1593
- for (var b, A, w, Q, j, U, ne, F, H, z, Qe, Ye, St; $ >= 64; ) {
1593
+ for (var b, A, w, Q, j, U, ne, F, H, z, Ye, Ge, St; $ >= 64; ) {
1594
1594
  for (b = a[0], A = a[1], w = a[2], Q = a[3], j = a[4], U = a[5], ne = a[6], F = a[7], z = 0; z < 16; z++)
1595
- Qe = h + z * 4, p[z] = (f[Qe] & 255) << 24 | (f[Qe + 1] & 255) << 16 | (f[Qe + 2] & 255) << 8 | f[Qe + 3] & 255;
1595
+ Ye = h + z * 4, p[z] = (f[Ye] & 255) << 24 | (f[Ye + 1] & 255) << 16 | (f[Ye + 2] & 255) << 8 | f[Ye + 3] & 255;
1596
1596
  for (z = 16; z < 64; z++)
1597
- H = p[z - 2], Ye = (H >>> 17 | H << 15) ^ (H >>> 19 | H << 13) ^ H >>> 10, H = p[z - 15], St = (H >>> 7 | H << 25) ^ (H >>> 18 | H << 14) ^ H >>> 3, p[z] = (Ye + p[z - 7] | 0) + (St + p[z - 16] | 0);
1597
+ H = p[z - 2], Ge = (H >>> 17 | H << 15) ^ (H >>> 19 | H << 13) ^ H >>> 10, H = p[z - 15], St = (H >>> 7 | H << 25) ^ (H >>> 18 | H << 14) ^ H >>> 3, p[z] = (Ge + p[z - 7] | 0) + (St + p[z - 16] | 0);
1598
1598
  for (z = 0; z < 64; z++)
1599
- Ye = (((j >>> 6 | j << 26) ^ (j >>> 11 | j << 21) ^ (j >>> 25 | j << 7)) + (j & U ^ ~j & ne) | 0) + (F + (n[z] + p[z] | 0) | 0) | 0, St = ((b >>> 2 | b << 30) ^ (b >>> 13 | b << 19) ^ (b >>> 22 | b << 10)) + (b & A ^ b & w ^ A & w) | 0, F = ne, ne = U, U = j, j = Q + Ye | 0, Q = w, w = A, A = b, b = Ye + St | 0;
1599
+ Ge = (((j >>> 6 | j << 26) ^ (j >>> 11 | j << 21) ^ (j >>> 25 | j << 7)) + (j & U ^ ~j & ne) | 0) + (F + (n[z] + p[z] | 0) | 0) | 0, St = ((b >>> 2 | b << 30) ^ (b >>> 13 | b << 19) ^ (b >>> 22 | b << 10)) + (b & A ^ b & w ^ A & w) | 0, F = ne, ne = U, U = j, j = Q + Ge | 0, Q = w, w = A, A = b, b = Ge + St | 0;
1600
1600
  a[0] += b, a[1] += A, a[2] += w, a[3] += Q, a[4] += j, a[5] += U, a[6] += ne, a[7] += F, h += 64, $ -= 64;
1601
1601
  }
1602
1602
  return h;
@@ -1909,11 +1909,11 @@ const ts = 36e5, Vn = Symbol.for("constructDateFrom");
1909
1909
  function Tt(t, e) {
1910
1910
  return typeof t == "function" ? t(e) : t && typeof t == "object" && Vn in t ? t[Vn](e) : t instanceof Date ? new t.constructor(e) : new Date(e);
1911
1911
  }
1912
- function Ze(t, e) {
1912
+ function Xe(t, e) {
1913
1913
  return Tt(t, t);
1914
1914
  }
1915
1915
  function ns(t, e, n) {
1916
- const r = Ze(t);
1916
+ const r = Xe(t);
1917
1917
  if (isNaN(e)) return Tt(t, NaN);
1918
1918
  const i = r.getDate(), s = Tt(t, r.getTime());
1919
1919
  s.setMonth(r.getMonth() + e + 1, 0);
@@ -1925,7 +1925,7 @@ function ns(t, e, n) {
1925
1925
  ), r);
1926
1926
  }
1927
1927
  function Or(t, e, n) {
1928
- return Tt(t, +Ze(t) + e);
1928
+ return Tt(t, +Xe(t) + e);
1929
1929
  }
1930
1930
  function rs(t, e, n) {
1931
1931
  return Or(t, e * ts);
@@ -1937,10 +1937,10 @@ function ss(t, e, n) {
1937
1937
  return ns(t, e * 12);
1938
1938
  }
1939
1939
  function Qn(t) {
1940
- return Math.trunc(+Ze(t) / 1e3);
1940
+ return Math.trunc(+Xe(t) / 1e3);
1941
1941
  }
1942
1942
  function os(t, e) {
1943
- return +Ze(t) < +Ze(e);
1943
+ return +Xe(t) < +Xe(e);
1944
1944
  }
1945
1945
  function d(t, e, n, r = "debug", i) {
1946
1946
  if (window.debug) {
@@ -1961,13 +1961,13 @@ function Ir() {
1961
1961
  if (t)
1962
1962
  if (t.indexOf("?") >= 0) {
1963
1963
  const i = t.split("?");
1964
- n = Ge(i[0]), e || (e = i[1]);
1964
+ n = Je(i[0]), e || (e = i[1]);
1965
1965
  } else
1966
- n = Ge(t);
1966
+ n = Je(t);
1967
1967
  let r = {};
1968
- return e && (r = Ge(e)), { ...n, ...r };
1968
+ return e && (r = Je(e)), { ...n, ...r };
1969
1969
  }
1970
- function Ge(t) {
1970
+ function Je(t) {
1971
1971
  const e = {}, n = t.split("&");
1972
1972
  for (const r of n) {
1973
1973
  const i = r.split("=");
@@ -2050,12 +2050,12 @@ function R(t) {
2050
2050
  )}`);
2051
2051
  return e;
2052
2052
  }
2053
- const ke = {}, Je = {}, de = {};
2053
+ const ke = {}, Ke = {}, de = {};
2054
2054
  function ps() {
2055
2055
  for (const t in ke)
2056
2056
  ke.hasOwnProperty(t) && we(t);
2057
- for (const t in Je)
2058
- Je.hasOwnProperty(t) && _s(t);
2057
+ for (const t in Ke)
2058
+ Ke.hasOwnProperty(t) && _s(t);
2059
2059
  for (const t in de)
2060
2060
  de.hasOwnProperty(t) && ms(t);
2061
2061
  }
@@ -2073,7 +2073,7 @@ function we(t) {
2073
2073
  ke[t] && (clearTimeout(ke[t]), delete ke[t]);
2074
2074
  }
2075
2075
  function _s(t) {
2076
- Je[t] && (clearInterval(Je[t]), delete Je[t]);
2076
+ Ke[t] && (clearInterval(Ke[t]), delete Ke[t]);
2077
2077
  }
2078
2078
  function ms(t) {
2079
2079
  de && de[t] && (de[t] instanceof Ae ? de[t].unsubscribe() : de[t](), delete de[t]);
@@ -2090,7 +2090,7 @@ const ys = {
2090
2090
  config: {},
2091
2091
  version: "2.0.0"
2092
2092
  };
2093
- let v = {}, E, W;
2093
+ let v = {}, E = localStorage, W;
2094
2094
  const S = {};
2095
2095
  let q = "", xe = "";
2096
2096
  const De = new _e(""), Ft = new _e("");
@@ -2488,7 +2488,7 @@ function Ds(t, e, n = Ht) {
2488
2488
  return null;
2489
2489
  }
2490
2490
  function Ns(t, e, n) {
2491
- const r = t.replace(/(http|https):\/\/[a-zA-Z0-9.-]*:?([0-9]*)?/g, "").split("?"), i = r[0].replace(/^\//, ""), s = r[1] || "", o = Ge(s), u = i.split("/"), c = {};
2491
+ const r = t.replace(/(http|https):\/\/[a-zA-Z0-9.-]*:?([0-9]*)?/g, "").split("?"), i = r[0].replace(/^\//, ""), s = r[1] || "", o = Je(s), u = i.split("/"), c = {};
2492
2492
  for (let _ = 0; _ < e.path_structure.length; _++) {
2493
2493
  const y = e.path_structure[_];
2494
2494
  y && (c[y] = u[_]);
@@ -2518,19 +2518,19 @@ const Dr = {};
2518
2518
  function Fs(t, e = Dr) {
2519
2519
  return e[t] || {};
2520
2520
  }
2521
- function N(t, e, n = et) {
2521
+ function N(t, e, n = tt) {
2522
2522
  return e || (e = { response_type: "json" }), n("GET", t, { response_type: "json", ...e });
2523
2523
  }
2524
- function G(t, e, n, r = et) {
2524
+ function G(t, e, n, r = tt) {
2525
2525
  return n || (n = { response_type: "json" }), r("POST", t, { body: e, response_type: "json", ...n });
2526
2526
  }
2527
- function Ne(t, e, n, r = et) {
2527
+ function Ne(t, e, n, r = tt) {
2528
2528
  return n || (n = { response_type: "json" }), r("PUT", t, { body: e, response_type: "json", ...n });
2529
2529
  }
2530
- function Xe(t, e, n, r = et) {
2530
+ function et(t, e, n, r = tt) {
2531
2531
  return n || (n = { response_type: "json" }), r("PATCH", t, { body: e, response_type: "json", ...n });
2532
2532
  }
2533
- function Oe(t, e, n = et) {
2533
+ function Oe(t, e, n = tt) {
2534
2534
  return e || (e = { response_type: "void" }), n("DELETE", t, { response_type: "void", ...e });
2535
2535
  }
2536
2536
  async function zs(t, e, n = Dr) {
@@ -2559,7 +2559,7 @@ const Nr = () => (Tn(), Er().then(
2559
2559
  }, 1e3);
2560
2560
  })
2561
2561
  ));
2562
- function et(t, e, n, r = In, i = Cs, s = zs) {
2562
+ function tt(t, e, n, r = In, i = Cs, s = zs) {
2563
2563
  if (r()) {
2564
2564
  const o = i(t, e, n?.body);
2565
2565
  if (o) return o;
@@ -2703,27 +2703,27 @@ function Xo(t) {
2703
2703
  function eu(t) {
2704
2704
  return O({
2705
2705
  query_params: {},
2706
- fn: nt,
2706
+ fn: rt,
2707
2707
  path: `${je}/${t}/alerts`
2708
2708
  });
2709
2709
  }
2710
- const tt = "alerts";
2711
- function nt(t) {
2710
+ const nt = "alerts";
2711
+ function rt(t) {
2712
2712
  return new Hs(t);
2713
2713
  }
2714
2714
  function tu(t = {}) {
2715
2715
  return O({
2716
2716
  query_params: t,
2717
- fn: nt,
2718
- path: tt
2717
+ fn: rt,
2718
+ path: nt
2719
2719
  });
2720
2720
  }
2721
2721
  function nu(t, e = {}) {
2722
2722
  return k({
2723
2723
  id: t,
2724
2724
  query_params: e,
2725
- fn: nt,
2726
- path: tt
2725
+ fn: rt,
2726
+ path: nt
2727
2727
  });
2728
2728
  }
2729
2729
  function ru(t, e, n = "patch") {
@@ -2732,20 +2732,20 @@ function ru(t, e, n = "patch") {
2732
2732
  form_data: e,
2733
2733
  query_params: {},
2734
2734
  method: n,
2735
- fn: nt,
2736
- path: tt
2735
+ fn: rt,
2736
+ path: nt
2737
2737
  });
2738
2738
  }
2739
2739
  function iu(t) {
2740
2740
  return P({
2741
2741
  form_data: t,
2742
2742
  query_params: {},
2743
- fn: nt,
2744
- path: tt
2743
+ fn: rt,
2744
+ path: nt
2745
2745
  });
2746
2746
  }
2747
2747
  function su(t) {
2748
- return I({ id: t, query_params: {}, path: tt });
2748
+ return I({ id: t, query_params: {}, path: nt });
2749
2749
  }
2750
2750
  class Ls extends L {
2751
2751
  /** Unique identifier of the application */
@@ -2818,7 +2818,7 @@ function T(t) {
2818
2818
  ...n,
2819
2819
  version: r.version || 0
2820
2820
  }), c = `${x()}/${s}/${e}${u ? "?" + u : ""}`;
2821
- return (i === "put" ? Ne : Xe)(c, r).pipe(
2821
+ return (i === "put" ? Ne : et)(c, r).pipe(
2822
2822
  g((l) => (o || Lt)(l))
2823
2823
  );
2824
2824
  }
@@ -2837,17 +2837,17 @@ function Bs(t, e, n) {
2837
2837
  const s = +(r["x-total-count"] || 0);
2838
2838
  (e.length < 2 || e.length < 12 && e.indexOf("offset=") >= 0) && (jr[n] = s), Fr[n] = s, i.total = s;
2839
2839
  }
2840
- return r && r.link && (Zn = cs(r.link || "").next, i.next = Ge(Zn.split("?")[1])), i;
2840
+ return r && r.link && (Zn = cs(r.link || "").next, i.next = Je(Zn.split("?")[1])), i;
2841
2841
  }
2842
- const rt = "oauth_apps";
2842
+ const it = "oauth_apps";
2843
2843
  function Bt(t) {
2844
2844
  return new Ls(t);
2845
2845
  }
2846
2846
  function cu(t = {}) {
2847
- return O({ query_params: t, fn: Bt, path: rt });
2847
+ return O({ query_params: t, fn: Bt, path: it });
2848
2848
  }
2849
2849
  function au(t) {
2850
- return k({ id: t, query_params: {}, fn: Bt, path: rt });
2850
+ return k({ id: t, query_params: {}, fn: Bt, path: it });
2851
2851
  }
2852
2852
  function lu(t, e, n = "patch") {
2853
2853
  return T({
@@ -2856,14 +2856,14 @@ function lu(t, e, n = "patch") {
2856
2856
  query_params: {},
2857
2857
  method: n,
2858
2858
  fn: Bt,
2859
- path: rt
2859
+ path: it
2860
2860
  });
2861
2861
  }
2862
2862
  function hu(t) {
2863
- return P({ form_data: t, query_params: {}, fn: Bt, path: rt });
2863
+ return P({ form_data: t, query_params: {}, fn: Bt, path: it });
2864
2864
  }
2865
2865
  function fu(t) {
2866
- return I({ id: t, query_params: {}, path: rt });
2866
+ return I({ id: t, query_params: {}, path: it });
2867
2867
  }
2868
2868
  var Vs = /* @__PURE__ */ ((t) => (t[t.Certificate = 0] = "Certificate", t[t.NoAuth = 1] = "NoAuth", t[t.UserPassword = 2] = "UserPassword", t))(Vs || {});
2869
2869
  class Qs extends L {
@@ -2895,15 +2895,15 @@ class Qs extends L {
2895
2895
  super(), this.id = e.id || "", this.name = e.name || "", this.auth_type = e.auth_type || 2, this.description = e.description || "", this.host = e.host || "", this.port = e.port || 1883, this.tls = e.tls || !1, this.username = e.username || "", this.password = e.password || "", this.certificate = e.certificate || "", this.secret = e.secret || "", this.filters = e.filters || [];
2896
2896
  }
2897
2897
  }
2898
- const it = "brokers";
2898
+ const st = "brokers";
2899
2899
  function Vt(t) {
2900
2900
  return new Qs(t);
2901
2901
  }
2902
2902
  function du(t = {}) {
2903
- return O({ query_params: t, fn: Vt, path: it });
2903
+ return O({ query_params: t, fn: Vt, path: st });
2904
2904
  }
2905
2905
  function pu(t, e = {}) {
2906
- return k({ id: t, query_params: e, fn: Vt, path: it });
2906
+ return k({ id: t, query_params: e, fn: Vt, path: st });
2907
2907
  }
2908
2908
  function _u(t, e, n = "patch") {
2909
2909
  return T({
@@ -2912,14 +2912,14 @@ function _u(t, e, n = "patch") {
2912
2912
  query_params: {},
2913
2913
  method: n,
2914
2914
  fn: Vt,
2915
- path: it
2915
+ path: st
2916
2916
  });
2917
2917
  }
2918
2918
  function mu(t) {
2919
- return P({ form_data: t, query_params: {}, fn: Vt, path: it });
2919
+ return P({ form_data: t, query_params: {}, fn: Vt, path: st });
2920
2920
  }
2921
2921
  function yu(t, e = {}) {
2922
- return I({ id: t, query_params: e, path: it });
2922
+ return I({ id: t, query_params: e, path: st });
2923
2923
  }
2924
2924
  class Ys {
2925
2925
  /** Unique identifier of the application */
@@ -3052,14 +3052,14 @@ class Js extends L {
3052
3052
  }
3053
3053
  }
3054
3054
  const ze = "domains";
3055
- function st(t) {
3055
+ function ot(t) {
3056
3056
  return new Js(t);
3057
3057
  }
3058
3058
  function xu(t = {}) {
3059
- return O({ query_params: t, fn: st, path: ze });
3059
+ return O({ query_params: t, fn: ot, path: ze });
3060
3060
  }
3061
3061
  function Au(t) {
3062
- return k({ id: t, query_params: {}, fn: st, path: ze });
3062
+ return k({ id: t, query_params: {}, fn: ot, path: ze });
3063
3063
  }
3064
3064
  function wu(t, e, n = "patch") {
3065
3065
  return T({
@@ -3067,19 +3067,19 @@ function wu(t, e, n = "patch") {
3067
3067
  form_data: e,
3068
3068
  query_params: {},
3069
3069
  method: n,
3070
- fn: st,
3070
+ fn: ot,
3071
3071
  path: ze
3072
3072
  });
3073
3073
  }
3074
3074
  function Ou(t) {
3075
- return P({ form_data: t, query_params: {}, fn: st, path: ze });
3075
+ return P({ form_data: t, query_params: {}, fn: ot, path: ze });
3076
3076
  }
3077
3077
  function Iu(t) {
3078
3078
  return I({ id: t, query_params: {}, path: ze });
3079
3079
  }
3080
3080
  function Pu(t) {
3081
3081
  const e = `${x()}${ze}/lookup/${encodeURIComponent(t)}`;
3082
- return N(e).pipe(g((n) => st(n)));
3082
+ return N(e).pipe(g((n) => ot(n)));
3083
3083
  }
3084
3084
  var He = /* @__PURE__ */ ((t) => (t[t.None = 0] = "None", t[t.Support = 1] = "Support", t[t.Admin = 2] = "Admin", t[t.NeverDisplay = 3] = "NeverDisplay", t))(He || {});
3085
3085
  class Ie extends L {
@@ -3258,15 +3258,15 @@ class Zs extends L {
3258
3258
  super(e), this.authority_id = e.authority_id || "", this.host = e.host || "", this.port = e.port || 636, this.auth_method = e.auth_method || "ssl", this.uid = e.uid || "", this.base = e.base || "", this.bind_dn = e.bind_dn || "", this.password = e.password || "", this.filter = e.filter || "";
3259
3259
  }
3260
3260
  }
3261
- const ot = "ldap_auths";
3261
+ const ut = "ldap_auths";
3262
3262
  function Gt(t) {
3263
3263
  return new Zs(t);
3264
3264
  }
3265
3265
  function Vu(t = {}) {
3266
- return O({ query_params: t, fn: Gt, path: ot });
3266
+ return O({ query_params: t, fn: Gt, path: ut });
3267
3267
  }
3268
3268
  function Qu(t) {
3269
- return k({ id: t, query_params: {}, fn: Gt, path: ot });
3269
+ return k({ id: t, query_params: {}, fn: Gt, path: ut });
3270
3270
  }
3271
3271
  function Yu(t, e, n = "patch") {
3272
3272
  return T({
@@ -3275,14 +3275,14 @@ function Yu(t, e, n = "patch") {
3275
3275
  query_params: {},
3276
3276
  method: n,
3277
3277
  fn: Gt,
3278
- path: ot
3278
+ path: ut
3279
3279
  });
3280
3280
  }
3281
3281
  function Gu(t) {
3282
- return P({ form_data: t, query_params: {}, fn: Gt, path: ot });
3282
+ return P({ form_data: t, query_params: {}, fn: Gt, path: ut });
3283
3283
  }
3284
3284
  function Ju(t) {
3285
- return I({ id: t, query_params: {}, path: ot });
3285
+ return I({ id: t, query_params: {}, path: ut });
3286
3286
  }
3287
3287
  class Wr {
3288
3288
  /** ID of the parent resource associated with the metadata */
@@ -3444,14 +3444,14 @@ class Xs {
3444
3444
  }
3445
3445
  }
3446
3446
  const Te = "metadata";
3447
- function ut(t) {
3447
+ function ct(t) {
3448
3448
  return new Wr(t);
3449
3449
  }
3450
3450
  function Ku(t, e = {}) {
3451
3451
  return k({
3452
3452
  id: t,
3453
3453
  query_params: e,
3454
- fn: (n) => Object.keys(n).map((r) => ut(n[r])),
3454
+ fn: (n) => Object.keys(n).map((r) => ct(n[r])),
3455
3455
  path: Te
3456
3456
  });
3457
3457
  }
@@ -3471,7 +3471,7 @@ function Zu(t, e = {}) {
3471
3471
  method: "get",
3472
3472
  callback: (n) => eo(
3473
3473
  Object.keys(n).map(
3474
- (r) => n[r].map((i) => ut(i))
3474
+ (r) => n[r].map((i) => ct(i))
3475
3475
  )
3476
3476
  ),
3477
3477
  path: Te
@@ -3481,7 +3481,7 @@ function Xu(t, e) {
3481
3481
  return k({
3482
3482
  id: t,
3483
3483
  query_params: { name: e },
3484
- fn: (n) => ut(n[e]),
3484
+ fn: (n) => ct(n[e]),
3485
3485
  path: Te
3486
3486
  });
3487
3487
  }
@@ -3491,12 +3491,12 @@ function ec(t, e, n = "put") {
3491
3491
  form_data: e,
3492
3492
  query_params: {},
3493
3493
  method: n,
3494
- fn: ut,
3494
+ fn: ct,
3495
3495
  path: Te
3496
3496
  });
3497
3497
  }
3498
3498
  function tc(t) {
3499
- return P({ form_data: t, query_params: {}, fn: ut, path: Te });
3499
+ return P({ form_data: t, query_params: {}, fn: ct, path: Te });
3500
3500
  }
3501
3501
  function nc(t, e) {
3502
3502
  return I({ id: t, query_params: e, path: Te });
@@ -3745,15 +3745,15 @@ class to extends L {
3745
3745
  super(e), this.authority_id = e.authority_id || "", this.client_id = e.client_id || "", this.client_secret = e.client_secret || "", this.info_mappings = e.info_mappings || {}, this.authorize_params = e.authorize_params || {}, this.ensure_matching = e.ensure_matching || {}, this.site = e.site || "", this.authorize_url = e.authorize_url || "oauth/authorize", this.token_method = e.token_method || "post", this.token_url = e.token_url || "oauth/token", this.auth_scheme = e.auth_scheme || "request_body", this.scope = e.scope || "", this.raw_info_url = e.raw_info_url || "", this.authorize_params = e.authorize_params || {}, this.ensure_matching = e.ensure_matching || {};
3746
3746
  }
3747
3747
  }
3748
- const ct = "oauth_auths";
3748
+ const at = "oauth_auths";
3749
3749
  function Kt(t) {
3750
3750
  return new to(t);
3751
3751
  }
3752
3752
  function yc(t = {}) {
3753
- return O({ query_params: t, fn: Kt, path: ct });
3753
+ return O({ query_params: t, fn: Kt, path: at });
3754
3754
  }
3755
3755
  function gc(t) {
3756
- return k({ id: t, query_params: {}, fn: Kt, path: ct });
3756
+ return k({ id: t, query_params: {}, fn: Kt, path: at });
3757
3757
  }
3758
3758
  function bc(t, e, n = "patch") {
3759
3759
  return T({
@@ -3762,14 +3762,14 @@ function bc(t, e, n = "patch") {
3762
3762
  query_params: {},
3763
3763
  method: n,
3764
3764
  fn: Kt,
3765
- path: ct
3765
+ path: at
3766
3766
  });
3767
3767
  }
3768
3768
  function vc(t) {
3769
- return P({ form_data: t, query_params: {}, fn: Kt, path: ct });
3769
+ return P({ form_data: t, query_params: {}, fn: Kt, path: at });
3770
3770
  }
3771
3771
  function Sc(t) {
3772
- return I({ id: t, query_params: {}, path: ct });
3772
+ return I({ id: t, query_params: {}, path: at });
3773
3773
  }
3774
3774
  var Vr = /* @__PURE__ */ ((t) => (t.Driver = "driver", t.Interface = "interface", t))(Vr || {});
3775
3775
  class no extends L {
@@ -3952,15 +3952,15 @@ class ro extends L {
3952
3952
  super(e), this.authority_id = e.authority_id || "", this.issuer = e.issuer || "", this.idp_sso_target_url_runtime_params = e.idp_sso_target_url_runtime_params || {}, this.name_identifier_format = e.name_identifier_format || "", this.uid_attribute = e.uid_attribute || "", this.assertion_consumer_service_url = e.assertion_consumer_service_url || "", this.idp_sso_target_url = e.idp_sso_target_url || "", this.idp_cert = e.idp_cert || "", this.idp_cert_fingerprint = e.idp_cert_fingerprint || "", this.attribute_service_name = e.attribute_service_name || "", this.attribute_statements = e.attribute_statements || {}, this.request_attributes = e.request_attributes || [], this.idp_slo_target_url = e.idp_slo_target_url || "", this.slo_default_relay_state = e.slo_default_relay_state || "";
3953
3953
  }
3954
3954
  }
3955
- const at = "saml_auths";
3955
+ const lt = "saml_auths";
3956
3956
  function Xt(t) {
3957
3957
  return new ro(t);
3958
3958
  }
3959
3959
  function Nc(t = {}) {
3960
- return O({ query_params: t, fn: Xt, path: at });
3960
+ return O({ query_params: t, fn: Xt, path: lt });
3961
3961
  }
3962
3962
  function jc(t) {
3963
- return k({ id: t, query_params: {}, fn: Xt, path: at });
3963
+ return k({ id: t, query_params: {}, fn: Xt, path: lt });
3964
3964
  }
3965
3965
  function Fc(t, e, n = "patch") {
3966
3966
  return T({
@@ -3969,24 +3969,24 @@ function Fc(t, e, n = "patch") {
3969
3969
  query_params: {},
3970
3970
  method: n,
3971
3971
  fn: Xt,
3972
- path: at
3972
+ path: lt
3973
3973
  });
3974
3974
  }
3975
3975
  function zc(t) {
3976
- return P({ form_data: t, query_params: {}, fn: Xt, path: at });
3976
+ return P({ form_data: t, query_params: {}, fn: Xt, path: lt });
3977
3977
  }
3978
3978
  function Hc(t) {
3979
- return I({ id: t, query_params: {}, path: at });
3979
+ return I({ id: t, query_params: {}, path: lt });
3980
3980
  }
3981
3981
  const We = "settings";
3982
- function lt(t) {
3982
+ function ht(t) {
3983
3983
  return new Ie(t);
3984
3984
  }
3985
3985
  function Wc(t = {}) {
3986
- return O({ query_params: t, fn: lt, path: We });
3986
+ return O({ query_params: t, fn: ht, path: We });
3987
3987
  }
3988
3988
  function Lc(t) {
3989
- return k({ id: t, query_params: {}, fn: lt, path: We });
3989
+ return k({ id: t, query_params: {}, fn: ht, path: We });
3990
3990
  }
3991
3991
  function Bc(t, e, n = {}, r = "patch") {
3992
3992
  return T({
@@ -3994,12 +3994,12 @@ function Bc(t, e, n = {}, r = "patch") {
3994
3994
  form_data: e,
3995
3995
  query_params: n,
3996
3996
  method: r,
3997
- fn: lt,
3997
+ fn: ht,
3998
3998
  path: We
3999
3999
  });
4000
4000
  }
4001
4001
  function Vc(t, e = {}) {
4002
- return P({ form_data: t, query_params: e, fn: lt, path: We });
4002
+ return P({ form_data: t, query_params: e, fn: ht, path: We });
4003
4003
  }
4004
4004
  function Qc(t) {
4005
4005
  return I({ id: t, query_params: {}, path: We });
@@ -4010,7 +4010,7 @@ function Yc(t, e = {}) {
4010
4010
  task_name: "history",
4011
4011
  form_data: e,
4012
4012
  method: "get",
4013
- callback: (n) => n.map((r) => lt(r)),
4013
+ callback: (n) => n.map((r) => ht(r)),
4014
4014
  path: We
4015
4015
  });
4016
4016
  }
@@ -4488,15 +4488,15 @@ function Qa(t) {
4488
4488
  path: Yr
4489
4489
  });
4490
4490
  }
4491
- const ht = "signage/media";
4491
+ const Ve = "signage/media";
4492
4492
  function nn(t) {
4493
4493
  return new co(t);
4494
4494
  }
4495
4495
  function Ya(t = {}) {
4496
- return O({ query_params: t, fn: nn, path: ht });
4496
+ return O({ query_params: t, fn: nn, path: Ve });
4497
4497
  }
4498
4498
  function Ga(t, e = {}) {
4499
- return k({ id: t, query_params: e, fn: nn, path: ht });
4499
+ return k({ id: t, query_params: e, fn: nn, path: Ve });
4500
4500
  }
4501
4501
  function Ja(t, e, n = "patch") {
4502
4502
  return T({
@@ -4505,7 +4505,7 @@ function Ja(t, e, n = "patch") {
4505
4505
  query_params: {},
4506
4506
  method: n,
4507
4507
  fn: nn,
4508
- path: ht
4508
+ path: Ve
4509
4509
  });
4510
4510
  }
4511
4511
  function Ka(t) {
@@ -4513,20 +4513,23 @@ function Ka(t) {
4513
4513
  form_data: t,
4514
4514
  query_params: {},
4515
4515
  fn: nn,
4516
- path: ht
4516
+ path: Ve
4517
4517
  });
4518
4518
  }
4519
4519
  function Za(t, e = {}) {
4520
- return I({ id: t, query_params: e, path: ht });
4520
+ return I({ id: t, query_params: e, path: Ve });
4521
+ }
4522
+ function Xa(t) {
4523
+ return `${x()}/${Ve}/${t}/thumbnail`;
4521
4524
  }
4522
4525
  const he = "signage/playlists";
4523
4526
  function rn(t) {
4524
4527
  return new ao(t);
4525
4528
  }
4526
- function Xa(t = {}) {
4529
+ function el(t = {}) {
4527
4530
  return O({ query_params: t, fn: rn, path: he });
4528
4531
  }
4529
- function el(t, e = {}) {
4532
+ function tl(t, e = {}) {
4530
4533
  return k({
4531
4534
  id: t,
4532
4535
  query_params: e,
@@ -4534,7 +4537,7 @@ function el(t, e = {}) {
4534
4537
  path: he
4535
4538
  });
4536
4539
  }
4537
- function tl(t, e, n = "patch") {
4540
+ function nl(t, e, n = "patch") {
4538
4541
  return T({
4539
4542
  id: t,
4540
4543
  form_data: e,
@@ -4544,7 +4547,7 @@ function tl(t, e, n = "patch") {
4544
4547
  path: he
4545
4548
  });
4546
4549
  }
4547
- function nl(t) {
4550
+ function rl(t) {
4548
4551
  return P({
4549
4552
  form_data: t,
4550
4553
  query_params: {},
@@ -4552,10 +4555,10 @@ function nl(t) {
4552
4555
  path: he
4553
4556
  });
4554
4557
  }
4555
- function rl(t, e = {}) {
4558
+ function il(t, e = {}) {
4556
4559
  return I({ id: t, query_params: e, path: he });
4557
4560
  }
4558
- function il(t, e = {}) {
4561
+ function sl(t, e = {}) {
4559
4562
  return m({
4560
4563
  id: t,
4561
4564
  task_name: "media",
@@ -4565,7 +4568,7 @@ function il(t, e = {}) {
4565
4568
  path: he
4566
4569
  });
4567
4570
  }
4568
- function sl(t, e = {}) {
4571
+ function ol(t, e = {}) {
4569
4572
  return m({
4570
4573
  id: t,
4571
4574
  task_name: "media/revisions",
@@ -4577,7 +4580,7 @@ function sl(t, e = {}) {
4577
4580
  path: he
4578
4581
  });
4579
4582
  }
4580
- function ol(t) {
4583
+ function ul(t) {
4581
4584
  return m({
4582
4585
  id: t,
4583
4586
  task_name: "media/approve",
@@ -4585,7 +4588,7 @@ function ol(t) {
4585
4588
  path: he
4586
4589
  });
4587
4590
  }
4588
- function ul(t, e) {
4591
+ function cl(t, e) {
4589
4592
  return m({
4590
4593
  id: t,
4591
4594
  task_name: "media",
@@ -4606,13 +4609,13 @@ class Gr {
4606
4609
  }
4607
4610
  }
4608
4611
  const Jr = "/api/staff/v1/surveys/answers";
4609
- function cl(t = {}) {
4612
+ function al(t = {}) {
4610
4613
  const e = R(t);
4611
4614
  return N(`${Jr}${e ? "?" + e : ""}`).pipe(
4612
4615
  g((n) => n.map((r) => new Gr(r)))
4613
4616
  );
4614
4617
  }
4615
- function al(t) {
4618
+ function ll(t) {
4616
4619
  return G(`${Jr}`, t).pipe(
4617
4620
  g((e) => e.map((n) => new Gr(n)))
4618
4621
  );
@@ -4628,29 +4631,29 @@ class sn {
4628
4631
  }
4629
4632
  }
4630
4633
  const ft = "/api/staff/v1/surveys/invitations";
4631
- function ll(t = {}) {
4634
+ function hl(t = {}) {
4632
4635
  const e = R(t);
4633
4636
  return N(`${ft}${e ? "?" + e : ""}`).pipe(
4634
4637
  g((n) => n.map((r) => new sn(r)))
4635
4638
  );
4636
4639
  }
4637
- function hl(t, e = {}) {
4640
+ function fl(t, e = {}) {
4638
4641
  const n = R(e);
4639
4642
  return N(`${ft}/${t}${n ? "?" + n : ""}`).pipe(
4640
4643
  g((r) => new sn(r))
4641
4644
  );
4642
4645
  }
4643
- function fl(t, e, n = "patch") {
4644
- return (n === "put" ? Ne : Xe)(`${ft}/${t}`, e).pipe(
4646
+ function dl(t, e, n = "patch") {
4647
+ return (n === "put" ? Ne : et)(`${ft}/${t}`, e).pipe(
4645
4648
  g((r) => new sn(r))
4646
4649
  );
4647
4650
  }
4648
- function dl(t) {
4651
+ function pl(t) {
4649
4652
  return G(`${ft}`, t).pipe(
4650
4653
  g((e) => new sn(e))
4651
4654
  );
4652
4655
  }
4653
- function pl(t, e = {}) {
4656
+ function _l(t, e = {}) {
4654
4657
  const n = R(e);
4655
4658
  return Oe(`${ft}/${t}${n ? "?" + n : ""}`);
4656
4659
  }
@@ -4670,29 +4673,29 @@ class on {
4670
4673
  }
4671
4674
  }
4672
4675
  const dt = "/api/staff/v1/surveys/questions";
4673
- function _l(t = {}) {
4676
+ function ml(t = {}) {
4674
4677
  const e = R(t);
4675
4678
  return N(`${dt}${e ? "?" + e : ""}`).pipe(
4676
4679
  g((n) => n.map((r) => new on(r)))
4677
4680
  );
4678
4681
  }
4679
- function ml(t, e = {}) {
4682
+ function yl(t, e = {}) {
4680
4683
  const n = R(e);
4681
4684
  return N(`${dt}/${t}${n ? "?" + n : ""}`).pipe(
4682
4685
  g((r) => new on(r))
4683
4686
  );
4684
4687
  }
4685
- function yl(t) {
4688
+ function gl(t) {
4686
4689
  return G(`${dt}`, t).pipe(
4687
4690
  g((e) => new on(e))
4688
4691
  );
4689
4692
  }
4690
- function gl(t, e, n = "patch") {
4691
- return (n === "put" ? Ne : Xe)(`${dt}/${t}`, e).pipe(
4693
+ function bl(t, e, n = "patch") {
4694
+ return (n === "put" ? Ne : et)(`${dt}/${t}`, e).pipe(
4692
4695
  g((r) => new on(r))
4693
4696
  );
4694
4697
  }
4695
- function bl(t, e = {}) {
4698
+ function vl(t, e = {}) {
4696
4699
  const n = R(e);
4697
4700
  return Oe(`${dt}/${t}${n ? "?" + n : ""}`);
4698
4701
  }
@@ -4709,27 +4712,27 @@ class un {
4709
4712
  }
4710
4713
  }
4711
4714
  const pt = "/api/staff/v1/surveys";
4712
- function vl(t = {}) {
4715
+ function Sl(t = {}) {
4713
4716
  const e = R(t);
4714
4717
  return N(`${pt}${e ? "?" + e : ""}`).pipe(
4715
4718
  g((n) => n.map((r) => new un(r)))
4716
4719
  );
4717
4720
  }
4718
- function Sl(t, e = {}) {
4721
+ function kl(t, e = {}) {
4719
4722
  const n = R(e);
4720
4723
  return N(`${pt}/${t}${n ? "?" + n : ""}`).pipe(
4721
4724
  g((r) => new un(r))
4722
4725
  );
4723
4726
  }
4724
- function kl(t, e, n = "patch") {
4725
- return (n === "put" ? Ne : Xe)(`${pt}/${t}`, e).pipe(
4727
+ function $l(t, e, n = "patch") {
4728
+ return (n === "put" ? Ne : et)(`${pt}/${t}`, e).pipe(
4726
4729
  g((r) => new un(r))
4727
4730
  );
4728
4731
  }
4729
- function $l(t) {
4732
+ function xl(t) {
4730
4733
  return G(`${pt}`, t).pipe(g((e) => new un(e)));
4731
4734
  }
4732
- function xl(t, e = {}) {
4735
+ function Al(t, e = {}) {
4733
4736
  const n = R(e);
4734
4737
  return Oe(`${pt}/${t}${n ? "?" + n : ""}`);
4735
4738
  }
@@ -4807,14 +4810,14 @@ const ye = "assets";
4807
4810
  function qe(t) {
4808
4811
  return new po(t);
4809
4812
  }
4810
- function Al(t = {}) {
4813
+ function wl(t = {}) {
4811
4814
  return O({
4812
4815
  query_params: t,
4813
4816
  fn: qe,
4814
4817
  path: ye
4815
4818
  });
4816
4819
  }
4817
- function wl(t, e = {}) {
4820
+ function Ol(t, e = {}) {
4818
4821
  return k({
4819
4822
  id: t,
4820
4823
  query_params: e,
@@ -4822,7 +4825,7 @@ function wl(t, e = {}) {
4822
4825
  path: ye
4823
4826
  });
4824
4827
  }
4825
- function Ol(t, e, n = "patch") {
4828
+ function Il(t, e, n = "patch") {
4826
4829
  return T({
4827
4830
  id: t,
4828
4831
  form_data: e,
@@ -4832,7 +4835,7 @@ function Ol(t, e, n = "patch") {
4832
4835
  path: ye
4833
4836
  });
4834
4837
  }
4835
- function Il(t) {
4838
+ function Pl(t) {
4836
4839
  return P({
4837
4840
  form_data: t,
4838
4841
  query_params: {},
@@ -4840,24 +4843,24 @@ function Il(t) {
4840
4843
  path: ye
4841
4844
  });
4842
4845
  }
4843
- function Pl(t, e = {}) {
4846
+ function Tl(t, e = {}) {
4844
4847
  return I({ id: t, query_params: e, path: ye });
4845
4848
  }
4846
- function Tl(t) {
4849
+ function El(t) {
4847
4850
  return G(
4848
4851
  `${x()}${ye}/bulk`,
4849
4852
  JSON.stringify(t),
4850
4853
  {}
4851
4854
  ).pipe(g((e) => e.map((n) => qe(n))));
4852
4855
  }
4853
- function El(t, e = "patch") {
4854
- return (e === "put" ? Ne : Xe)(
4856
+ function ql(t, e = "patch") {
4857
+ return (e === "put" ? Ne : et)(
4855
4858
  `${x()}${ye}/bulk`,
4856
4859
  JSON.stringify(t),
4857
4860
  {}
4858
4861
  ).pipe(g((r) => r.map((i) => qe(i))));
4859
4862
  }
4860
- function ql(t, e = {}) {
4863
+ function Ul(t, e = {}) {
4861
4864
  const n = R(e);
4862
4865
  return Oe(`${x()}${ye}/bulk${n ? "?" + n : ""}`, {
4863
4866
  body: JSON.stringify(t)
@@ -4867,14 +4870,14 @@ const _t = "asset_types";
4867
4870
  function cn(t) {
4868
4871
  return new fo(t);
4869
4872
  }
4870
- function Ul(t = {}) {
4873
+ function Rl(t = {}) {
4871
4874
  return O({
4872
4875
  query_params: t,
4873
4876
  fn: cn,
4874
4877
  path: _t
4875
4878
  });
4876
4879
  }
4877
- function Rl(t, e = {}) {
4880
+ function Ml(t, e = {}) {
4878
4881
  return k({
4879
4882
  id: t,
4880
4883
  query_params: e,
@@ -4882,7 +4885,7 @@ function Rl(t, e = {}) {
4882
4885
  path: _t
4883
4886
  });
4884
4887
  }
4885
- function Ml(t, e, n = "patch") {
4888
+ function Cl(t, e, n = "patch") {
4886
4889
  return T({
4887
4890
  id: t,
4888
4891
  form_data: e,
@@ -4892,7 +4895,7 @@ function Ml(t, e, n = "patch") {
4892
4895
  path: _t
4893
4896
  });
4894
4897
  }
4895
- function Cl(t) {
4898
+ function Dl(t) {
4896
4899
  return P({
4897
4900
  form_data: t,
4898
4901
  query_params: {},
@@ -4900,21 +4903,21 @@ function Cl(t) {
4900
4903
  path: _t
4901
4904
  });
4902
4905
  }
4903
- function Dl(t, e = {}) {
4906
+ function Nl(t, e = {}) {
4904
4907
  return I({ id: t, query_params: e, path: _t });
4905
4908
  }
4906
4909
  const mt = "asset_categories";
4907
4910
  function an(t) {
4908
4911
  return new lo(t);
4909
4912
  }
4910
- function Nl(t = {}) {
4913
+ function jl(t = {}) {
4911
4914
  return O({
4912
4915
  query_params: t,
4913
4916
  fn: an,
4914
4917
  path: mt
4915
4918
  });
4916
4919
  }
4917
- function jl(t, e = {}) {
4920
+ function Fl(t, e = {}) {
4918
4921
  return k({
4919
4922
  id: t,
4920
4923
  query_params: e,
@@ -4922,7 +4925,7 @@ function jl(t, e = {}) {
4922
4925
  path: mt
4923
4926
  });
4924
4927
  }
4925
- function Fl(t, e, n = "patch") {
4928
+ function zl(t, e, n = "patch") {
4926
4929
  return T({
4927
4930
  id: t,
4928
4931
  form_data: e,
@@ -4932,7 +4935,7 @@ function Fl(t, e, n = "patch") {
4932
4935
  path: mt
4933
4936
  });
4934
4937
  }
4935
- function zl(t) {
4938
+ function Hl(t) {
4936
4939
  return P({
4937
4940
  form_data: t,
4938
4941
  query_params: {},
@@ -4940,21 +4943,21 @@ function zl(t) {
4940
4943
  path: mt
4941
4944
  });
4942
4945
  }
4943
- function Hl(t, e = {}) {
4946
+ function Wl(t, e = {}) {
4944
4947
  return I({ id: t, query_params: e, path: mt });
4945
4948
  }
4946
4949
  const yt = "asset_purchase_orders";
4947
4950
  function ln(t) {
4948
4951
  return new ho(t);
4949
4952
  }
4950
- function Wl(t = {}) {
4953
+ function Ll(t = {}) {
4951
4954
  return O({
4952
4955
  query_params: t,
4953
4956
  fn: ln,
4954
4957
  path: yt
4955
4958
  });
4956
4959
  }
4957
- function Ll(t, e = {}) {
4960
+ function Bl(t, e = {}) {
4958
4961
  return k({
4959
4962
  id: t,
4960
4963
  query_params: e,
@@ -4962,7 +4965,7 @@ function Ll(t, e = {}) {
4962
4965
  path: yt
4963
4966
  });
4964
4967
  }
4965
- function Bl(t, e, n = "patch") {
4968
+ function Vl(t, e, n = "patch") {
4966
4969
  return T({
4967
4970
  id: t,
4968
4971
  form_data: e,
@@ -4972,7 +4975,7 @@ function Bl(t, e, n = "patch") {
4972
4975
  path: yt
4973
4976
  });
4974
4977
  }
4975
- function Vl(t) {
4978
+ function Ql(t) {
4976
4979
  return P({
4977
4980
  form_data: t,
4978
4981
  query_params: {},
@@ -4980,7 +4983,7 @@ function Vl(t) {
4980
4983
  path: yt
4981
4984
  });
4982
4985
  }
4983
- function Ql(t, e = {}) {
4986
+ function Yl(t, e = {}) {
4984
4987
  return I({ id: t, query_params: e, path: yt });
4985
4988
  }
4986
4989
  class _o {
@@ -5006,14 +5009,14 @@ const ie = "short_url";
5006
5009
  function hn(t) {
5007
5010
  return new _o(t);
5008
5011
  }
5009
- function Yl(t = {}) {
5012
+ function Gl(t = {}) {
5010
5013
  return O({
5011
5014
  query_params: t,
5012
5015
  fn: hn,
5013
5016
  path: ie
5014
5017
  });
5015
5018
  }
5016
- function Gl(t, e = {}) {
5019
+ function Jl(t, e = {}) {
5017
5020
  return k({
5018
5021
  id: t,
5019
5022
  query_params: e,
@@ -5021,7 +5024,7 @@ function Gl(t, e = {}) {
5021
5024
  path: ie
5022
5025
  });
5023
5026
  }
5024
- function Jl(t, e, n = "patch") {
5027
+ function Kl(t, e, n = "patch") {
5025
5028
  return T({
5026
5029
  id: t,
5027
5030
  form_data: e,
@@ -5031,7 +5034,7 @@ function Jl(t, e, n = "patch") {
5031
5034
  path: ie
5032
5035
  });
5033
5036
  }
5034
- function Kl(t) {
5037
+ function Zl(t) {
5035
5038
  return P({
5036
5039
  form_data: t,
5037
5040
  query_params: {},
@@ -5039,27 +5042,27 @@ function Kl(t) {
5039
5042
  path: ie
5040
5043
  });
5041
5044
  }
5042
- function Zl(t, e = {}) {
5045
+ function Xl(t, e = {}) {
5043
5046
  return I({ id: t, query_params: e, path: ie });
5044
5047
  }
5045
- function Xl(t) {
5048
+ function eh(t) {
5046
5049
  return `${x()}${ie}/${encodeURIComponent(t)}/redirect`;
5047
5050
  }
5048
- function eh(t) {
5051
+ function th(t) {
5049
5052
  return N(
5050
5053
  `${x()}${ie}/${encodeURIComponent(t)}/qr_code.svg`,
5051
5054
  { response_type: "text" }
5052
5055
  );
5053
5056
  }
5054
- function th(t, e = {}) {
5057
+ function nh(t, e = {}) {
5055
5058
  const n = R(e);
5056
5059
  return `${x()}${ie}/${encodeURIComponent(t)}/qr_code.png${n ? "?" + n : ""}`;
5057
5060
  }
5058
- function nh(t) {
5061
+ function rh(t) {
5059
5062
  const { format: e = "svg", ...n } = t, r = { ...n, format: e }, i = R(r);
5060
5063
  return `${x()}${ie}/qr_code${i ? "?" + i : ""}`;
5061
5064
  }
5062
- function rh(t) {
5065
+ function ih(t) {
5063
5066
  const e = { ...t, format: "svg" }, n = R(e);
5064
5067
  return N(`${x()}${ie}/qr_code${n ? "?" + n : ""}`, {
5065
5068
  response_type: "text"
@@ -5087,14 +5090,14 @@ const gt = "storages";
5087
5090
  function fn(t) {
5088
5091
  return new mo(t);
5089
5092
  }
5090
- function ih(t = {}) {
5093
+ function sh(t = {}) {
5091
5094
  return O({
5092
5095
  query_params: t,
5093
5096
  fn,
5094
5097
  path: gt
5095
5098
  });
5096
5099
  }
5097
- function sh(t, e = {}) {
5100
+ function oh(t, e = {}) {
5098
5101
  return k({
5099
5102
  id: t,
5100
5103
  query_params: e,
@@ -5102,7 +5105,7 @@ function sh(t, e = {}) {
5102
5105
  path: gt
5103
5106
  });
5104
5107
  }
5105
- function oh(t, e, n = "patch") {
5108
+ function uh(t, e, n = "patch") {
5106
5109
  return T({
5107
5110
  id: t,
5108
5111
  form_data: e,
@@ -5112,7 +5115,7 @@ function oh(t, e, n = "patch") {
5112
5115
  path: gt
5113
5116
  });
5114
5117
  }
5115
- function uh(t) {
5118
+ function ch(t) {
5116
5119
  return P({
5117
5120
  form_data: t,
5118
5121
  query_params: {},
@@ -5120,43 +5123,43 @@ function uh(t) {
5120
5123
  path: gt
5121
5124
  });
5122
5125
  }
5123
- function ch(t, e = {}) {
5126
+ function ah(t, e = {}) {
5124
5127
  return I({ id: t, query_params: e, path: gt });
5125
5128
  }
5126
5129
  const ge = "webrtc";
5127
- function ah(t = {}) {
5130
+ function lh(t = {}) {
5128
5131
  const e = R(t), n = `${x()}${ge}/rooms${e ? "?" + e : ""}`;
5129
5132
  return N(n).pipe(g((r) => r));
5130
5133
  }
5131
- function lh(t) {
5134
+ function hh(t) {
5132
5135
  const e = `${x()}${ge}/room/${encodeURIComponent(t)}`;
5133
5136
  return N(e).pipe(g((n) => n));
5134
5137
  }
5135
- function hh(t) {
5138
+ function fh(t) {
5136
5139
  const e = `${x()}${ge}/members/${encodeURIComponent(t)}`;
5137
5140
  return N(e).pipe(g((n) => n));
5138
5141
  }
5139
- function fh(t, e) {
5142
+ function dh(t, e) {
5140
5143
  const n = `${x()}${ge}/guest_entry/${encodeURIComponent(t)}`;
5141
5144
  return G(n, e).pipe(g(() => {
5142
5145
  }));
5143
5146
  }
5144
- function dh() {
5147
+ function ph() {
5145
5148
  const t = `${x()}${ge}/guest/exit`;
5146
5149
  return G(t, {}).pipe(g(() => {
5147
5150
  }));
5148
5151
  }
5149
- function ph(t, e, n) {
5152
+ function _h(t, e, n) {
5150
5153
  const r = `${x()}${ge}/kick/${encodeURIComponent(t)}/${encodeURIComponent(e)}`;
5151
5154
  return G(r, n).pipe(g(() => {
5152
5155
  }));
5153
5156
  }
5154
- function _h(t, e, n) {
5157
+ function mh(t, e, n) {
5155
5158
  const r = `${x()}${ge}/transfer/${encodeURIComponent(t)}/${encodeURIComponent(e)}`;
5156
5159
  return G(r, n || {}).pipe(g(() => {
5157
5160
  }));
5158
5161
  }
5159
- function mh() {
5162
+ function yh() {
5160
5163
  const t = x(), e = t.startsWith("https") ? "wss:" : "ws:", n = t.startsWith("https") ? "https:" : "http:";
5161
5164
  return t.replace(n, e) + `${ge}/signaller`;
5162
5165
  }
@@ -5175,7 +5178,7 @@ var yo = {
5175
5178
  if (i._socket = null, n instanceof D)
5176
5179
  i.destination = r, i.source = n;
5177
5180
  else {
5178
- var s = i._config = Ke({}, yo);
5181
+ var s = i._config = Ze({}, yo);
5179
5182
  if (i._output = new $e(), typeof n == "string")
5180
5183
  s.url = n;
5181
5184
  else
@@ -5354,13 +5357,13 @@ class ko {
5354
5357
  }
5355
5358
  }
5356
5359
  const Ct = {};
5357
- function yh(t, e) {
5360
+ function gh(t, e) {
5358
5361
  return Ct[t] = new ko(e), Ct[t];
5359
5362
  }
5360
5363
  function $o(t) {
5361
5364
  return Ct[t];
5362
5365
  }
5363
- function gh(t) {
5366
+ function bh(t) {
5364
5367
  delete Ct[t];
5365
5368
  }
5366
5369
  const Zr = 15;
@@ -5381,7 +5384,7 @@ function ri() {
5381
5384
  function Ao() {
5382
5385
  return Ue._place_os_status;
5383
5386
  }
5384
- function bh() {
5387
+ function vh() {
5385
5388
  return Ue._place_os_sync;
5386
5389
  }
5387
5390
  function wo(t, e = Mn, n = Ue) {
@@ -5393,7 +5396,7 @@ function Oo(t, e = Mn) {
5393
5396
  if (e[n])
5394
5397
  return e[n].getValue();
5395
5398
  }
5396
- function Xn(t, e = 0, n = Ve) {
5399
+ function Xn(t, e = 0, n = Qe) {
5397
5400
  const r = {
5398
5401
  id: ++bt,
5399
5402
  cmd: "bind",
@@ -5401,7 +5404,7 @@ function Xn(t, e = 0, n = Ve) {
5401
5404
  };
5402
5405
  return n(r, e);
5403
5406
  }
5404
- function Io(t, e = 0, n = Ve) {
5407
+ function Io(t, e = 0, n = Qe) {
5405
5408
  const r = {
5406
5409
  id: ++bt,
5407
5410
  cmd: "unbind",
@@ -5409,7 +5412,7 @@ function Io(t, e = 0, n = Ve) {
5409
5412
  };
5410
5413
  return n(r, e);
5411
5414
  }
5412
- function Po(t, e = vt, n = Ve) {
5415
+ function Po(t, e = vt, n = Qe) {
5413
5416
  const r = {
5414
5417
  id: ++bt,
5415
5418
  cmd: "exec",
@@ -5417,7 +5420,7 @@ function Po(t, e = vt, n = Ve) {
5417
5420
  };
5418
5421
  return n(r, e);
5419
5422
  }
5420
- function vh(t, e = vt, n = Ve) {
5423
+ function Sh(t, e = vt, n = Qe) {
5421
5424
  const r = {
5422
5425
  id: ++bt,
5423
5426
  cmd: "debug",
@@ -5425,7 +5428,7 @@ function vh(t, e = vt, n = Ve) {
5425
5428
  };
5426
5429
  return n(r, e);
5427
5430
  }
5428
- function Sh(t, e = vt, n = Ve) {
5431
+ function kh(t, e = vt, n = Qe) {
5429
5432
  const r = {
5430
5433
  id: ++bt,
5431
5434
  cmd: "ignore",
@@ -5433,7 +5436,7 @@ function Sh(t, e = vt, n = Ve) {
5433
5436
  };
5434
5437
  return n(r, e);
5435
5438
  }
5436
- function Ve(t, e = vt, n = 0) {
5439
+ function Qe(t, e = vt, n = 0) {
5437
5440
  const r = `${t.cmd}|${t.sys}|${t.mod}${t.index}|${t.name}|${t.args}|${fs()}`;
5438
5441
  if (B[r])
5439
5442
  d("WS", "Request already in progress. Waiting...", t);
@@ -5441,7 +5444,7 @@ function Ve(t, e = vt, n = 0) {
5441
5444
  const i = { ...t, key: r };
5442
5445
  i.promise = new Promise((s, o) => {
5443
5446
  const u = () => {
5444
- delete B[r], B[r] = null, Ve(t, e, n).then(
5447
+ delete B[r], B[r] = null, Qe(t, e, n).then(
5445
5448
  (c) => s(c),
5446
5449
  (c) => o(c)
5447
5450
  );
@@ -5857,7 +5860,7 @@ const yn = {};
5857
5860
  function jo(t) {
5858
5861
  return yn[t] || (yn[t] = new No(t)), yn[t];
5859
5862
  }
5860
- function kh(t, e, n = 1) {
5863
+ function $h(t, e, n = 1) {
5861
5864
  return jo(t).module(e, n);
5862
5865
  }
5863
5866
  export {
@@ -5913,31 +5916,31 @@ export {
5913
5916
  oo as TriggerWebhookType,
5914
5917
  iu as addAlert,
5915
5918
  Zo as addAlertDashboard,
5916
- al as addAnswer,
5919
+ ll as addAnswer,
5917
5920
  hu as addApplication,
5918
- Il as addAsset,
5919
- zl as addAssetCategory,
5920
- Vl as addAssetPurchaseOrder,
5921
- Cl as addAssetType,
5922
- Tl as addAssets,
5921
+ Pl as addAsset,
5922
+ Hl as addAssetCategory,
5923
+ Ql as addAssetPurchaseOrder,
5924
+ Dl as addAssetType,
5925
+ El as addAssets,
5923
5926
  mu as addBroker,
5924
5927
  Ou as addDomain,
5925
5928
  Uu as addDriver,
5926
5929
  Hu as addEdge,
5927
- dl as addInvitation,
5930
+ pl as addInvitation,
5928
5931
  Gu as addLDAPSource,
5929
5932
  tc as addMetadata,
5930
5933
  uc as addModule,
5931
5934
  vc as addOAuthSource,
5932
- yl as addQuestion,
5935
+ gl as addQuestion,
5933
5936
  Ac as addRepository,
5934
5937
  zc as addSAMLSource,
5935
5938
  Vc as addSettings,
5936
- Kl as addShortUrl,
5939
+ Zl as addShortUrl,
5937
5940
  Ka as addSignageMedia,
5938
- nl as addSignagePlaylist,
5939
- uh as addStorage,
5940
- $l as addSurvey,
5941
+ rl as addSignagePlaylist,
5942
+ ch as addStorage,
5943
+ xl as addSurvey,
5941
5944
  Xc as addSystem,
5942
5945
  ta as addSystemModule,
5943
5946
  ha as addSystemTrigger,
@@ -5946,7 +5949,7 @@ export {
5946
5949
  za as addZone,
5947
5950
  x as apiEndpoint,
5948
5951
  zt as apiKey,
5949
- ol as approveSignagePlaylist,
5952
+ ul as approveSignagePlaylist,
5950
5953
  qr as authorise,
5951
5954
  Ut as authority,
5952
5955
  Xn as bind,
@@ -5955,17 +5958,17 @@ export {
5955
5958
  vs as clientId,
5956
5959
  ku as clusterRebalance,
5957
5960
  $u as clusterVersions,
5958
- bh as connectionState,
5961
+ vh as connectionState,
5959
5962
  Yn as consoleHasColours,
5960
- Ge as convertPairStringToMap,
5963
+ Je as convertPairStringToMap,
5961
5964
  P as create,
5962
5965
  wa as currentUser,
5963
5966
  qa as currentUserResourceToken,
5964
- vh as debug,
5967
+ Sh as debug,
5965
5968
  ni as debug_events,
5966
5969
  Oe as del,
5967
5970
  Ms as deregisterMockEndpoint,
5968
- gh as deregisterSystem,
5971
+ bh as deregisterSystem,
5969
5972
  Nu as driverReadme,
5970
5973
  Bu as edgeControlUrl,
5971
5974
  Po as execute,
@@ -5974,17 +5977,17 @@ export {
5974
5977
  La as executeOnZone,
5975
5978
  ca as functionList,
5976
5979
  us as generateNonce,
5977
- rh as generateQrCode,
5980
+ ih as generateQrCode,
5978
5981
  N as get,
5979
5982
  Ir as getFragments,
5980
- kh as getModule,
5981
- eh as getShortUrlQrCodeSvg,
5983
+ $h as getModule,
5984
+ th as getShortUrlQrCodeSvg,
5982
5985
  jo as getSystem,
5983
5986
  ks as hasToken,
5984
5987
  kn as host,
5985
5988
  Pr as httpRoute,
5986
5989
  Et as humanReadableByteCount,
5987
- Sh as ignore,
5990
+ kh as ignore,
5988
5991
  Tn as invalidateToken,
5989
5992
  Du as isDriverCompiled,
5990
5993
  Tr as isFixedDevice,
@@ -6010,8 +6013,8 @@ export {
6010
6013
  Mc as listRepositoryDriverDetails,
6011
6014
  Ec as listRepositoryDrivers,
6012
6015
  Dc as listRepositoryFolders,
6013
- il as listSignagePlaylistMedia,
6014
- sl as listSignagePlaylistMediaRevisions,
6016
+ sl as listSignagePlaylistMedia,
6017
+ ol as listSignagePlaylistMediaRevisions,
6015
6018
  la as listSystemTriggers,
6016
6019
  aa as listSystemZones,
6017
6020
  $a as listTriggerInstances,
@@ -6025,87 +6028,88 @@ export {
6025
6028
  Pu as lookupDomainByEmail,
6026
6029
  fc as lookupModuleState,
6027
6030
  ua as lookupSystemModuleState,
6031
+ Xa as mediaThumbnail,
6028
6032
  $o as mockSystem,
6029
6033
  _c as moduleRuntimeError,
6030
6034
  pc as moduleSettings,
6031
6035
  hc as moduleState,
6032
6036
  Wo as onlineState,
6033
6037
  cs as parseLinkHeader,
6034
- Xe as patch,
6038
+ et as patch,
6035
6039
  G as post,
6036
6040
  Cc as pullRepositoryChanges,
6037
6041
  Ne as put,
6038
- nh as qrCodeUrl,
6042
+ rh as qrCodeUrl,
6039
6043
  O as query,
6040
6044
  Go as queryAlertDashboards,
6041
6045
  tu as queryAlerts,
6042
- cl as queryAnswers,
6046
+ al as queryAnswers,
6043
6047
  cu as queryApplications,
6044
- Nl as queryAssetCategories,
6045
- Wl as queryAssetPurchaseOrders,
6046
- Ul as queryAssetTypes,
6047
- Al as queryAssets,
6048
+ jl as queryAssetCategories,
6049
+ Ll as queryAssetPurchaseOrders,
6050
+ Rl as queryAssetTypes,
6051
+ wl as queryAssets,
6048
6052
  du as queryBrokers,
6049
6053
  gu as queryClusters,
6050
6054
  xu as queryDomains,
6051
6055
  Tu as queryDrivers,
6052
6056
  ju as queryEdges,
6053
- ll as queryInvitations,
6057
+ hl as queryInvitations,
6054
6058
  Vu as queryLDAPSources,
6055
6059
  ic as queryModules,
6056
6060
  yc as queryOAuthSources,
6057
6061
  vu as queryProcesses,
6058
- _l as queryQuestions,
6062
+ ml as queryQuestions,
6059
6063
  kc as queryRepositories,
6060
6064
  Nc as querySAMLSources,
6061
6065
  Wc as querySettings,
6062
- Yl as queryShortUrls,
6066
+ Gl as queryShortUrls,
6063
6067
  Ya as querySignageMedia,
6064
- Xa as querySignagePlaylists,
6065
- ih as queryStorages,
6066
- vl as querySurveys,
6068
+ el as querySignagePlaylists,
6069
+ sh as queryStorages,
6070
+ Sl as querySurveys,
6067
6071
  Gc as querySystems,
6068
6072
  Jc as querySystemsWithEmails,
6069
6073
  ga as queryTriggers,
6070
6074
  Ta as queryUserGroups,
6071
6075
  xa as queryUsers,
6072
- ah as queryWebrtcRooms,
6076
+ lh as queryWebrtcRooms,
6073
6077
  Da as queryZones,
6074
6078
  Mu as recompileDriver,
6075
6079
  Fo as redirectUri,
6076
6080
  Er as refreshAuthority,
6077
6081
  Sn as refreshToken,
6078
6082
  Yo as registerMockEndpoint,
6079
- yh as registerSystem,
6083
+ gh as registerSystem,
6080
6084
  Cu as reloadDriver,
6081
6085
  I as remove,
6082
6086
  su as removeAlert,
6083
6087
  Xo as removeAlertDashboard,
6084
6088
  fu as removeApplication,
6085
- Pl as removeAsset,
6086
- Hl as removeAssetCategory,
6087
- Ql as removeAssetPurchaseOrder,
6088
- Dl as removeAssetType,
6089
- ql as removeAssets,
6089
+ Tl as removeAsset,
6090
+ Wl as removeAssetCategory,
6091
+ Yl as removeAssetPurchaseOrder,
6092
+ Nl as removeAssetType,
6093
+ Ul as removeAssets,
6090
6094
  yu as removeBroker,
6091
6095
  Iu as removeDomain,
6092
6096
  Ru as removeDriver,
6093
6097
  Wu as removeEdge,
6094
6098
  be as removeFragment,
6095
- pl as removeInvitation,
6099
+ _l as removeInvitation,
6096
6100
  Ju as removeLDAPSource,
6097
6101
  nc as removeMetadata,
6098
6102
  cc as removeModule,
6099
6103
  Sc as removeOAuthSource,
6100
- bl as removeQuestion,
6104
+ vl as removeQuestion,
6101
6105
  wc as removeRepository,
6102
6106
  Hc as removeSAMLSource,
6103
6107
  Qc as removeSettings,
6104
- Zl as removeShortUrl,
6108
+ Xl as removeShortUrl,
6105
6109
  Za as removeSignageMedia,
6106
- rl as removeSignagePlaylist,
6107
- ch as removeStorage,
6108
- xl as removeSurvey,
6110
+ il as removeSignagePlaylist,
6111
+ ah as removeStorage,
6112
+ Al as removeSurvey,
6109
6113
  ea as removeSystem,
6110
6114
  na as removeSystemModule,
6111
6115
  fa as removeSystemTrigger,
@@ -6123,42 +6127,42 @@ export {
6123
6127
  Ss as setToken,
6124
6128
  Yc as settingsHistory,
6125
6129
  Lo as setup,
6126
- th as shortUrlQrCodePngUrl,
6127
- Xl as shortUrlRedirectUrl,
6130
+ nh as shortUrlQrCodePngUrl,
6131
+ eh as shortUrlRedirectUrl,
6128
6132
  k as show,
6129
6133
  nu as showAlert,
6130
6134
  Jo as showAlertDashboard,
6131
6135
  au as showApplication,
6132
- wl as showAsset,
6133
- jl as showAssetCategory,
6134
- Ll as showAssetPurchaseOrder,
6135
- Rl as showAssetType,
6136
+ Ol as showAsset,
6137
+ Fl as showAssetCategory,
6138
+ Bl as showAssetPurchaseOrder,
6139
+ Ml as showAssetType,
6136
6140
  pu as showBroker,
6137
6141
  bu as showCluster,
6138
6142
  Au as showDomain,
6139
6143
  Eu as showDriver,
6140
6144
  Fu as showEdge,
6141
- hl as showInvitation,
6145
+ fl as showInvitation,
6142
6146
  Qu as showLDAPSource,
6143
6147
  Xu as showMetadata,
6144
6148
  sc as showModule,
6145
6149
  gc as showOAuthSource,
6146
- ml as showQuestion,
6150
+ yl as showQuestion,
6147
6151
  $c as showRepository,
6148
6152
  jc as showSAMLSource,
6149
6153
  Lc as showSettings,
6150
- Gl as showShortUrl,
6154
+ Jl as showShortUrl,
6151
6155
  Va as showSignage,
6152
6156
  Ga as showSignageMedia,
6153
6157
  Qa as showSignageMetrics,
6154
- el as showSignagePlaylist,
6155
- sh as showStorage,
6156
- Sl as showSurvey,
6158
+ tl as showSignagePlaylist,
6159
+ oh as showStorage,
6160
+ kl as showSurvey,
6157
6161
  Kc as showSystem,
6158
6162
  ma as showSystemTrigger,
6159
6163
  ba as showTrigger,
6160
6164
  Aa as showUser,
6161
- lh as showWebrtcRoom,
6165
+ hh as showWebrtcRoom,
6162
6166
  ja as showZone,
6163
6167
  fs as simplifiedTime,
6164
6168
  ac as startModule,
@@ -6177,30 +6181,30 @@ export {
6177
6181
  ru as updateAlert,
6178
6182
  Ko as updateAlertDashboard,
6179
6183
  lu as updateApplication,
6180
- Ol as updateAsset,
6181
- Fl as updateAssetCategory,
6182
- Bl as updateAssetPurchaseOrder,
6183
- Ml as updateAssetType,
6184
- El as updateAssets,
6184
+ Il as updateAsset,
6185
+ zl as updateAssetCategory,
6186
+ Vl as updateAssetPurchaseOrder,
6187
+ Cl as updateAssetType,
6188
+ ql as updateAssets,
6185
6189
  _u as updateBroker,
6186
6190
  wu as updateDomain,
6187
6191
  qu as updateDriver,
6188
6192
  zu as updateEdge,
6189
- fl as updateInvitation,
6193
+ dl as updateInvitation,
6190
6194
  Yu as updateLDAPSource,
6191
6195
  ec as updateMetadata,
6192
6196
  oc as updateModule,
6193
6197
  bc as updateOAuthSource,
6194
- gl as updateQuestion,
6198
+ bl as updateQuestion,
6195
6199
  xc as updateRepository,
6196
6200
  Fc as updateSAMLSource,
6197
6201
  Bc as updateSettings,
6198
- Jl as updateShortUrl,
6202
+ Kl as updateShortUrl,
6199
6203
  Ja as updateSignageMedia,
6200
- tl as updateSignagePlaylist,
6201
- ul as updateSignagePlaylistMedia,
6202
- oh as updateStorage,
6203
- kl as updateSurvey,
6204
+ nl as updateSignagePlaylist,
6205
+ cl as updateSignagePlaylistMedia,
6206
+ uh as updateStorage,
6207
+ $l as updateSurvey,
6204
6208
  Zc as updateSystem,
6205
6209
  ya as updateSystemTrigger,
6206
6210
  va as updateTrigger,
@@ -6209,12 +6213,12 @@ export {
6209
6213
  Ua as userMetadata,
6210
6214
  Ma as userResourceToken,
6211
6215
  Oo as value,
6212
- fh as webrtcGuestEntry,
6213
- dh as webrtcGuestExit,
6214
- ph as webrtcKickUser,
6215
- hh as webrtcSessionMembers,
6216
- mh as webrtcSignallerUrl,
6217
- _h as webrtcTransferUser,
6216
+ dh as webrtcGuestEntry,
6217
+ ph as webrtcGuestExit,
6218
+ _h as webrtcKickUser,
6219
+ fh as webrtcSessionMembers,
6220
+ yh as webrtcSignallerUrl,
6221
+ mh as webrtcTransferUser,
6218
6222
  _n as websocketRoute,
6219
6223
  Ba as zoneMetadata
6220
6224
  };