@overmap-ai/core 1.0.78-view-sets.28 → 1.0.78-view-sets-cleanup.1

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.
@@ -2,10 +2,10 @@ var Mc = Object.defineProperty;
2
2
  var jc = (t, e, s) => e in t ? Mc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
3
  var f = (t, e, s) => jc(t, typeof e != "symbol" ? e + "" : e, s);
4
4
  import "@redux-offline/redux-offline/lib/types";
5
- import { createAction as jt, createSlice as P, isAnyOf as R, createSelector as m, combineReducers as Pa, compose as zc } from "@reduxjs/toolkit";
5
+ import { createAction as jt, createSlice as P, isAnyOf as R, createSelector as m, combineReducers as Pa, compose as Uc } from "@reduxjs/toolkit";
6
6
  import $e from "superagent";
7
7
  import { v4 as Be } from "uuid";
8
- import { saveAs as Uc } from "file-saver";
8
+ import { saveAs as zc } from "file-saver";
9
9
  import { offline as Dc } from "@redux-offline/redux-offline";
10
10
  import Yt from "@redux-offline/redux-offline/lib/defaults";
11
11
  import "buffer";
@@ -184,12 +184,12 @@ function Fm(t, e) {
184
184
  if (t[s] !== e[s]) return !1;
185
185
  return !0;
186
186
  }
187
- const b = (t) => t.length === 0 ? Bc : t, zt = (t) => Object.keys(t).length === 0 ? Lc : t, Jc = Oa((t) => {
187
+ const b = (t) => t.length === 0 ? Bc : t, Ut = (t) => Object.keys(t).length === 0 ? Lc : t, Jc = Oa((t) => {
188
188
  if (!t) return "";
189
- const e = new Date(t), s = e.getFullYear() === Ut.getFullYear(), i = { day: "numeric", month: "short" };
189
+ const e = new Date(t), s = e.getFullYear() === zt.getFullYear(), i = { day: "numeric", month: "short" };
190
190
  return s || (i.year = "numeric"), e.toLocaleDateString([], i);
191
- }), Zc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Qc = 1e3 * 86400, Ut = /* @__PURE__ */ new Date(), Om = (t) => new Date(t).toDateString() === Ut.toDateString(), Rm = Oa((t, e, s) => {
192
- const i = Math.round((new Date(t).getTime() - Ut.getTime()) / Qc);
191
+ }), Zc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Qc = 1e3 * 86400, zt = /* @__PURE__ */ new Date(), Om = (t) => new Date(t).toDateString() === zt.toDateString(), Rm = Oa((t, e, s) => {
192
+ const i = Math.round((new Date(t).getTime() - zt.getTime()) / Qc);
193
193
  return i < e || i > s ? Jc(t) : Zc.format(i, "days");
194
194
  });
195
195
  function Xc(t) {
@@ -253,7 +253,7 @@ const wm = async (t) => {
253
253
  });
254
254
  function qm(t) {
255
255
  const e = new Blob([t]);
256
- Uc(e, t.name);
256
+ zc(e, t.name);
257
257
  }
258
258
  const Zt = {};
259
259
  function Em(t, e, s, ...i) {
@@ -284,10 +284,10 @@ function Mm(t, e = void 0, s = 255) {
284
284
  function jm(t) {
285
285
  return t.toLowerCase().replace(" ", "-");
286
286
  }
287
- function zm(t, e = !1) {
287
+ function Um(t, e = !1) {
288
288
  return t.normalize("NFKD").toLowerCase().replace(/[^\w\s-]/g, "").trim().replace(/[-\s]+/g, e ? "_" : "-");
289
289
  }
290
- function Um(t, e) {
290
+ function zm(t, e) {
291
291
  if (t.length <= e)
292
292
  return t;
293
293
  const s = t.slice(0, e - 1);
@@ -478,8 +478,8 @@ const V = O(
478
478
  deleteAssetProcedureFieldsMany: B.deleteMany
479
479
  }
480
480
  }), {
481
- initializeAssetProcedureFields: zr,
482
- addAssetProcedureFields: Ur,
481
+ initializeAssetProcedureFields: Ur,
482
+ addAssetProcedureFields: zr,
483
483
  addAssetProcedureFieldsMany: cA,
484
484
  setAssetProcedureFields: rA,
485
485
  setAssetProcedureFieldsMany: oA,
@@ -494,7 +494,7 @@ const V = O(
494
494
  )
495
495
  ), hA = y(
496
496
  m([ja, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
497
- ), pA = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], Cr = Ma.reducer, L = O((t) => t.uuid), as = L.getInitialState({}), za = P({
497
+ ), pA = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], Cr = Ma.reducer, L = O((t) => t.uuid), as = L.getInitialState({}), Ua = P({
498
498
  name: "assetProcedureFieldValuesAttachments",
499
499
  initialState: as,
500
500
  extraReducers: (t) => t.addMatcher(
@@ -522,13 +522,13 @@ const V = O(
522
522
  updateAssetProcedureFieldValuesAttachments: Gr,
523
523
  deleteAssetProcedureFieldValuesAttachment: bA,
524
524
  deleteAssetProcedureFieldValuesAttachments: Ft
525
- } = za.actions, Ua = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, Br = m(
526
- [Ua],
525
+ } = Ua.actions, za = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, Br = m(
526
+ [za],
527
527
  (t) => Object.values(t)
528
528
  ), SA = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], Lr = y(
529
529
  m(
530
530
  [
531
- Ua,
531
+ za,
532
532
  (t, e) => e
533
533
  ],
534
534
  (t, e) => {
@@ -541,7 +541,7 @@ const V = O(
541
541
  [Br, (t, e) => e],
542
542
  (t, e) => b(t.filter((s) => s.field_values === e))
543
543
  )
544
- ), Hr = za.reducer, N = O((t) => t.uuid), ns = N.getInitialState({}), Da = P({
544
+ ), Hr = Ua.reducer, N = O((t) => t.uuid), ns = N.getInitialState({}), Da = P({
545
545
  name: "assetProcedureFieldValues",
546
546
  initialState: ns,
547
547
  extraReducers: (t) => t.addMatcher(
@@ -679,7 +679,7 @@ const V = O(
679
679
  return b(s);
680
680
  }
681
681
  )
682
- ), zA = y(
682
+ ), UA = y(
683
683
  m([no, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
684
684
  ), co = Ga.reducer, K = O((t) => t.uuid), ys = K.getInitialState(
685
685
  {}
@@ -703,7 +703,7 @@ const V = O(
703
703
  }
704
704
  }), {
705
705
  initializeAssetProcedureStepFieldsAttachments: ro,
706
- addAssetProcedureStepFieldsAttachment: UA,
706
+ addAssetProcedureStepFieldsAttachment: zA,
707
707
  addAssetProcedureStepFieldsAttachments: oo,
708
708
  setAssetProcedureStepFieldsAttachment: DA,
709
709
  setAssetProcedureStepFieldsAttachments: xA,
@@ -886,7 +886,7 @@ const V = O(
886
886
  const s = {};
887
887
  for (const [i, a] of Object.entries(t))
888
888
  a.asset_procedure === e && (s[i] = a);
889
- return zt(s);
889
+ return Ut(s);
890
890
  })
891
891
  ), Af = y(
892
892
  m([Eo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
@@ -932,7 +932,7 @@ const V = O(
932
932
  setAssets: Sf
933
933
  } = Qa.actions, en = (t) => t.assetReducer.instances, jo = m([en], (t) => b(Object.values(t))), tn = y(
934
934
  m([jo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
935
- ), Ms = (t) => (e) => e.assetReducer.instances[t], zo = y(
935
+ ), Ms = (t) => (e) => e.assetReducer.instances[t], Uo = y(
936
936
  m([en, (t, e) => e], (t, e) => {
937
937
  const s = [];
938
938
  for (const i of e) {
@@ -941,7 +941,7 @@ const V = O(
941
941
  }
942
942
  return b(s);
943
943
  })
944
- ), gf = (t) => (e) => tn(t)(e).length, Uo = Qa.reducer, ee = O(
944
+ ), gf = (t) => (e) => tn(t)(e).length, zo = Qa.reducer, ee = O(
945
945
  (t) => t.uuid
946
946
  ), js = ee.getInitialState({}), sn = P({
947
947
  name: "assetStageCompletions",
@@ -963,8 +963,8 @@ const V = O(
963
963
  }
964
964
  }), {
965
965
  initializeAssetStageCompletions: Do,
966
- addAssetStageCompletion: zs,
967
- addAssetStageCompletions: Us,
966
+ addAssetStageCompletion: Us,
967
+ addAssetStageCompletions: zs,
968
968
  setAssetStageCompletion: _f,
969
969
  setAssetStageCompletions: Pf,
970
970
  updateAssetStageCompletion: xo,
@@ -1019,7 +1019,7 @@ const V = O(
1019
1019
  const s = {};
1020
1020
  for (const [i, a] of Object.entries(t))
1021
1021
  a.asset_procedure === e && (s[i] = a);
1022
- return zt(s);
1022
+ return Ut(s);
1023
1023
  })
1024
1024
  ), wf = y(
1025
1025
  m([Ho, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
@@ -1092,8 +1092,8 @@ const V = O(
1092
1092
  initializeAssetTypeFieldsAttachments: sd,
1093
1093
  addAssetTypeFieldsAttachment: jf,
1094
1094
  addAssetTypeFieldsAttachments: id,
1095
- setAssetTypeFieldsAttachment: zf,
1096
- setAssetTypeFieldsAttachments: Uf,
1095
+ setAssetTypeFieldsAttachment: Uf,
1096
+ setAssetTypeFieldsAttachments: zf,
1097
1097
  updateAssetTypeFieldsAttachment: Df,
1098
1098
  updateAssetTypeFieldsAttachments: ad,
1099
1099
  deleteAssetTypeFieldsAttachment: xf,
@@ -1317,7 +1317,7 @@ const V = O(
1317
1317
  updateCategories: Sy,
1318
1318
  deleteCategory: jd,
1319
1319
  deleteCategories: gy
1320
- } = yn.actions, bn = (t) => t.categoryReducer.instances, zd = m([bn], (t) => Object.values(t)), ai = (t) => (e) => e.categoryReducer.instances[t], _y = y(
1320
+ } = yn.actions, bn = (t) => t.categoryReducer.instances, Ud = m([bn], (t) => Object.values(t)), ai = (t) => (e) => e.categoryReducer.instances[t], _y = y(
1321
1321
  m(
1322
1322
  [bn, (t, e) => e],
1323
1323
  (t, e) => {
@@ -1330,8 +1330,8 @@ const V = O(
1330
1330
  }
1331
1331
  )
1332
1332
  ), Py = y(
1333
- m([zd, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1334
- ), Ud = yn.reducer, de = O(
1333
+ m([Ud, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1334
+ ), zd = yn.reducer, de = O(
1335
1335
  (t) => t.uuid
1336
1336
  ), ni = de.getInitialState({}), Sn = P({
1337
1337
  name: "documentAttachments",
@@ -1484,8 +1484,8 @@ const V = O(
1484
1484
  updateEmailDomain: My,
1485
1485
  updateEmailDomains: jy,
1486
1486
  deleteEmailDomain: Xd,
1487
- deleteEmailDomains: zy
1488
- } = Pn.actions, eu = (t) => t.emailDomainsReducer.instances, tu = m([eu], (t) => Object.values(t)), Uy = y(
1487
+ deleteEmailDomains: Uy
1488
+ } = Pn.actions, eu = (t) => t.emailDomainsReducer.instances, tu = m([eu], (t) => Object.values(t)), zy = y(
1489
1489
  m(
1490
1490
  [tu, (t, e) => e],
1491
1491
  (t, e) => b(
@@ -1731,12 +1731,12 @@ const V = O(
1731
1731
  [jn, (t, e) => e],
1732
1732
  (t, e) => Object.values(t).filter((s) => s.issue === e)
1733
1733
  )
1734
- ), zu = y(
1734
+ ), Uu = y(
1735
1735
  m(
1736
1736
  [jn, (t, e) => e],
1737
1737
  (t, e) => t.filter((s) => s.asset === e)
1738
1738
  )
1739
- ), Uu = En.reducer, fe = O((t) => t.uuid), gi = fe.getInitialState({}), zn = P({
1739
+ ), zu = En.reducer, fe = O((t) => t.uuid), gi = fe.getInitialState({}), Un = P({
1740
1740
  name: "geoImages",
1741
1741
  initialState: gi,
1742
1742
  extraReducers: (t) => t.addMatcher(
@@ -1764,11 +1764,11 @@ const V = O(
1764
1764
  updateGeoImages: ob,
1765
1765
  deleteGeoImage: _i,
1766
1766
  deleteGeoImages: Gu
1767
- } = zn.actions, Bu = (t) => t.geoImageReducer.instances, Lu = m([Bu], (t) => Object.values(t)), Pi = (t) => (e) => e.geoImageReducer.instances[t], db = y(
1767
+ } = Un.actions, Bu = (t) => t.geoImageReducer.instances, Lu = m([Bu], (t) => Object.values(t)), Pi = (t) => (e) => e.geoImageReducer.instances[t], db = y(
1768
1768
  m([Lu, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1769
- ), Nu = zn.reducer, ye = O(
1769
+ ), Nu = Un.reducer, ye = O(
1770
1770
  (t) => t.uuid
1771
- ), Ti = ye.getInitialState({}), Un = P({
1771
+ ), Ti = ye.getInitialState({}), zn = P({
1772
1772
  name: "issueAssociations",
1773
1773
  initialState: Ti,
1774
1774
  extraReducers: (t) => t.addMatcher(
@@ -1796,7 +1796,7 @@ const V = O(
1796
1796
  addIssueAssociations: Dn,
1797
1797
  deleteIssueAssociation: Oi,
1798
1798
  deleteIssueAssociations: xn
1799
- } = Un.actions, ht = (t) => t.issueAssociationReducer.instances, pb = m([ht], (t) => Object.values(t)), Ku = (t) => (e) => e.issueAssociationReducer.instances[t], Yu = y(
1799
+ } = zn.actions, ht = (t) => t.issueAssociationReducer.instances, pb = m([ht], (t) => Object.values(t)), Ku = (t) => (e) => e.issueAssociationReducer.instances[t], Yu = y(
1800
1800
  m(
1801
1801
  [ht, (t, e) => e],
1802
1802
  (t, e) => b(
@@ -1813,7 +1813,7 @@ const V = O(
1813
1813
  [ht, (t, e) => e],
1814
1814
  (t, e) => b(Object.values(t).filter((s) => s.asset === e))
1815
1815
  )
1816
- ), Qu = Un.reducer, be = O(
1816
+ ), Qu = zn.reducer, be = O(
1817
1817
  (t) => t.uuid
1818
1818
  ), Ri = be.getInitialState({}), Vn = P({
1819
1819
  name: "issueAttachments",
@@ -1923,12 +1923,12 @@ const V = O(
1923
1923
  [yl, (t, e) => e],
1924
1924
  (t, e) => b(Object.values(t).filter((s) => s.issue === e))
1925
1925
  )
1926
- ), bl = Bn.reducer, _e = O((t) => t.uuid), zi = _e.getInitialState({}), Ln = P({
1926
+ ), bl = Bn.reducer, _e = O((t) => t.uuid), Ui = _e.getInitialState({}), Ln = P({
1927
1927
  name: "issues",
1928
- initialState: zi,
1928
+ initialState: Ui,
1929
1929
  extraReducers: (t) => t.addMatcher(
1930
1930
  R(_, q, I),
1931
- (e) => Object.assign(e, zi)
1931
+ (e) => Object.assign(e, Ui)
1932
1932
  ),
1933
1933
  reducers: {
1934
1934
  initializeIssues: _e.initialize,
@@ -1943,7 +1943,7 @@ const V = O(
1943
1943
  }
1944
1944
  }), {
1945
1945
  initializeIssues: Sl,
1946
- addIssue: Ui,
1946
+ addIssue: zi,
1947
1947
  addIssues: gl,
1948
1948
  setIssue: Ib,
1949
1949
  setIssues: vb,
@@ -1993,7 +1993,7 @@ const V = O(
1993
1993
  } = Hn.actions, vl = (t) => t.issueTypeAttachmentReducer.instances, wl = m(
1994
1994
  [vl],
1995
1995
  (t) => Object.values(t)
1996
- ), kl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], zb = y(
1996
+ ), kl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Ub = y(
1997
1997
  m(
1998
1998
  [wl, (t, e) => e],
1999
1999
  (t, e) => b(t.filter(({ issue_type: s }) => e === s))
@@ -2018,16 +2018,16 @@ const V = O(
2018
2018
  }
2019
2019
  }), {
2020
2020
  initializeIssueTypeFieldsAttachments: El,
2021
- addIssueTypeFieldsAttachment: Ub,
2021
+ addIssueTypeFieldsAttachment: zb,
2022
2022
  addIssueTypeFieldsAttachments: Ml,
2023
2023
  setIssueTypeFieldsAttachment: Db,
2024
2024
  setIssueTypeFieldsAttachments: xb,
2025
2025
  updateIssueTypeFieldsAttachment: Vb,
2026
2026
  updateIssueTypeFieldsAttachments: jl,
2027
2027
  deleteIssueTypeFieldsAttachment: Cb,
2028
- deleteIssueTypeFieldsAttachments: zl
2029
- } = Wn.actions, Ul = (t) => t.issueTypeFieldsAttachmentReducer.instances, Dl = m(
2030
- [Ul],
2028
+ deleteIssueTypeFieldsAttachments: Ul
2029
+ } = Wn.actions, zl = (t) => t.issueTypeFieldsAttachmentReducer.instances, Dl = m(
2030
+ [zl],
2031
2031
  (t) => Object.values(t)
2032
2032
  ), $b = y(
2033
2033
  m(
@@ -2161,7 +2161,7 @@ const V = O(
2161
2161
  [Jl, (t, e) => e],
2162
2162
  (t, e) => b(t.filter((s) => s.field_values === e))
2163
2163
  )
2164
- ), Xl = Zn.reducer, U = O((t) => t.uuid), Ki = U.getInitialState({}), Xn = P({
2164
+ ), Xl = Zn.reducer, z = O((t) => t.uuid), Ki = z.getInitialState({}), Xn = P({
2165
2165
  name: "issueTypes",
2166
2166
  initialState: Ki,
2167
2167
  extraReducers: (t) => t.addMatcher(
@@ -2169,16 +2169,16 @@ const V = O(
2169
2169
  (e) => Object.assign(e, Ki)
2170
2170
  ),
2171
2171
  reducers: {
2172
- initializeIssueTypes: U.initialize,
2173
- addIssueType: U.addOne,
2174
- addIssueTypes: U.addMany,
2175
- setIssueType: U.setOne,
2176
- setIssueTypes: U.setMany,
2177
- updateIssueType: U.updateOne,
2178
- updateIssueTypes: U.updateMany,
2179
- deleteIssueType: U.deleteOne,
2180
- deleteIssueTypes: U.deleteMany,
2181
- removeIssueType: U.deleteOne
2172
+ initializeIssueTypes: z.initialize,
2173
+ addIssueType: z.addOne,
2174
+ addIssueTypes: z.addMany,
2175
+ setIssueType: z.setOne,
2176
+ setIssueTypes: z.setMany,
2177
+ updateIssueType: z.updateOne,
2178
+ updateIssueTypes: z.updateMany,
2179
+ deleteIssueType: z.deleteOne,
2180
+ deleteIssueTypes: z.deleteMany,
2181
+ removeIssueType: z.deleteOne
2182
2182
  }
2183
2183
  }), {
2184
2184
  initializeIssueTypes: eh,
@@ -2326,8 +2326,8 @@ const V = O(
2326
2326
  updateOrganizationAccess: yt,
2327
2327
  updateOrganizationAccesses: jS,
2328
2328
  deleteOrganizationAccess: Ph,
2329
- deleteOrganizationAccesses: zS
2330
- } = ac.actions, Th = ac.reducer, nc = (t) => t.organizationAccessReducer.instances, ea = (t) => (e) => e.organizationAccessReducer.instances[t], US = m(
2329
+ deleteOrganizationAccesses: US
2330
+ } = ac.actions, Th = ac.reducer, nc = (t) => t.organizationAccessReducer.instances, ea = (t) => (e) => e.organizationAccessReducer.instances[t], zS = m(
2331
2331
  [bh, nc],
2332
2332
  (t, e) => Object.values(e).find(
2333
2333
  (i) => i.user === (t == null ? void 0 : t.id)
@@ -2336,7 +2336,7 @@ const V = O(
2336
2336
  const e = {};
2337
2337
  for (const s of Object.values(t))
2338
2338
  e[s.user] = s;
2339
- return zt(e);
2339
+ return Ut(e);
2340
2340
  }), DS = y(
2341
2341
  m(
2342
2342
  [Wt, Fh, (t, e) => e],
@@ -2442,9 +2442,9 @@ const V = O(
2442
2442
  deleteProjectAccesses: qe.deleteMany
2443
2443
  }
2444
2444
  }), {
2445
- initializeProjectAccesses: zh,
2445
+ initializeProjectAccesses: Uh,
2446
2446
  addProjectAccess: aa,
2447
- addProjectAccesses: Uh,
2447
+ addProjectAccesses: zh,
2448
2448
  setProjectAccess: YS,
2449
2449
  setProjectAccesses: JS,
2450
2450
  updateProjectAccess: rt,
@@ -2620,9 +2620,9 @@ const V = O(
2620
2620
  t.isRehydrated = e.payload;
2621
2621
  }
2622
2622
  }
2623
- }), { setRehydrated: yg } = Ac.actions, bg = (t) => t.rehydratedReducer.isRehydrated, pp = Ac.reducer, ze = O(
2623
+ }), { setRehydrated: yg } = Ac.actions, bg = (t) => t.rehydratedReducer.isRehydrated, pp = Ac.reducer, Ue = O(
2624
2624
  (t) => t.uuid
2625
- ), pa = ze.getInitialState({}), fc = P({
2625
+ ), pa = Ue.getInitialState({}), fc = P({
2626
2626
  name: "teamMemberships",
2627
2627
  initialState: pa,
2628
2628
  extraReducers: (t) => t.addMatcher(
@@ -2630,15 +2630,15 @@ const V = O(
2630
2630
  (e) => Object.assign(e, pa)
2631
2631
  ),
2632
2632
  reducers: {
2633
- initializeTeamMemberships: ze.initialize,
2634
- addTeamMembership: ze.addOne,
2635
- addTeamMemberships: ze.addMany,
2636
- setTeamMembership: ze.setOne,
2637
- setTeamMemberships: ze.setMany,
2638
- updateTeamMembership: ze.updateOne,
2639
- updateTeamMemberships: ze.updateMany,
2640
- deleteTeamMembership: ze.deleteOne,
2641
- deleteTeamMemberships: ze.deleteMany
2633
+ initializeTeamMemberships: Ue.initialize,
2634
+ addTeamMembership: Ue.addOne,
2635
+ addTeamMemberships: Ue.addMany,
2636
+ setTeamMembership: Ue.setOne,
2637
+ setTeamMemberships: Ue.setMany,
2638
+ updateTeamMembership: Ue.updateOne,
2639
+ updateTeamMemberships: Ue.updateMany,
2640
+ deleteTeamMembership: Ue.deleteOne,
2641
+ deleteTeamMemberships: Ue.deleteMany
2642
2642
  }
2643
2643
  }), {
2644
2644
  initializeTeamMemberships: mp,
@@ -2668,7 +2668,7 @@ const V = O(
2668
2668
  return b(t.filter((a) => i.has(a.id)));
2669
2669
  }
2670
2670
  )
2671
- ), Ue = O((t) => t.uuid), fa = Ue.getInitialState({}), bc = P({
2671
+ ), ze = O((t) => t.uuid), fa = ze.getInitialState({}), bc = P({
2672
2672
  name: "teams",
2673
2673
  initialState: fa,
2674
2674
  extraReducers: (t) => t.addMatcher(
@@ -2676,15 +2676,15 @@ const V = O(
2676
2676
  (e) => Object.assign(e, fa)
2677
2677
  ),
2678
2678
  reducers: {
2679
- initializeTeams: Ue.initialize,
2680
- addTeam: Ue.addOne,
2681
- addTeams: Ue.addMany,
2682
- setTeam: Ue.setOne,
2683
- setTeams: Ue.setMany,
2684
- updateTeam: Ue.updateOne,
2685
- updateTeams: Ue.updateMany,
2686
- deleteTeam: Ue.deleteOne,
2687
- deleteTeams: Ue.deleteMany
2679
+ initializeTeams: ze.initialize,
2680
+ addTeam: ze.addOne,
2681
+ addTeams: ze.addMany,
2682
+ setTeam: ze.setOne,
2683
+ setTeams: ze.setMany,
2684
+ updateTeam: ze.updateOne,
2685
+ updateTeams: ze.updateMany,
2686
+ deleteTeam: ze.deleteOne,
2687
+ deleteTeams: ze.deleteMany
2688
2688
  }
2689
2689
  }), {
2690
2690
  initializeTeams: Sp,
@@ -2726,8 +2726,8 @@ const V = O(
2726
2726
  }, Eg = Pa(gc), Ip = {
2727
2727
  ...gc,
2728
2728
  [lt]: Rp,
2729
- categoryReducer: Ud,
2730
- assetReducer: Uo,
2729
+ categoryReducer: zd,
2730
+ assetReducer: zo,
2731
2731
  assetAttachmentReducer: yr,
2732
2732
  assetStageCompletionReducer: Co,
2733
2733
  assetStageReducer: No,
@@ -2748,7 +2748,7 @@ const V = O(
2748
2748
  formRevisionReducer: gu,
2749
2749
  formRevisionAttachmentReducer: hu,
2750
2750
  formSubmissionAttachmentReducer: ku,
2751
- formSubmissionReducer: Uu,
2751
+ formSubmissionReducer: zu,
2752
2752
  userReducer: yh,
2753
2753
  emailDomainsReducer: su,
2754
2754
  documentsReducer: Jd,
@@ -2828,10 +2828,10 @@ const jp = (t) => {
2828
2828
  if (t) throw t;
2829
2829
  const e = Ye();
2830
2830
  e ? e.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }) : console.error("Client store not set");
2831
- }, zp = (t, e, s) => {
2831
+ }, Up = (t, e, s) => {
2832
2832
  const i = Ge();
2833
2833
  return i ? (i.addRequest(e), i.getQueue()) : (console.warn("Outbox coordinator not set; cannot enqueue request yet."), []);
2834
- }, Up = (t, e, s) => {
2834
+ }, zp = (t, e, s) => {
2835
2835
  const i = Ge();
2836
2836
  if (!i)
2837
2837
  return console.warn("Outbox coordinator not set; cannot dequeue request yet."), [];
@@ -2860,12 +2860,12 @@ const xp = {
2860
2860
  // that same issue"
2861
2861
  queue: {
2862
2862
  ...Yt.queue,
2863
- enqueue: zp,
2864
- dequeue: Up,
2863
+ enqueue: Up,
2864
+ dequeue: zp,
2865
2865
  // Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
2866
2866
  peek: (...t) => Hp(...t)
2867
2867
  }
2868
- }, Vp = Vc(Mp, lt), jg = zc(Dc(xp), Vp);
2868
+ }, Vp = Vc(Mp, lt), jg = Uc(Dc(xp), Vp);
2869
2869
  function Cp(t) {
2870
2870
  function e(s) {
2871
2871
  return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((a) => a in s);
@@ -3096,7 +3096,7 @@ class v extends Fc {
3096
3096
  this.auth = i;
3097
3097
  }
3098
3098
  }
3099
- class zg extends v {
3099
+ class Ug extends v {
3100
3100
  async startConversation(e, s) {
3101
3101
  return this.enqueueRequest({
3102
3102
  description: "Start agent conversation",
@@ -3159,7 +3159,7 @@ class zg extends v {
3159
3159
  return this.dispatch(nr(s)), s;
3160
3160
  }
3161
3161
  }
3162
- class z extends v {
3162
+ class U extends v {
3163
3163
  getNumberOfAttachmentsWithSha1(e) {
3164
3164
  const {
3165
3165
  issueAttachmentReducer: s,
@@ -3218,7 +3218,7 @@ class z extends v {
3218
3218
  return await this.client.files.addCache(e, s), i;
3219
3219
  }
3220
3220
  }
3221
- class De extends z {
3221
+ class De extends U {
3222
3222
  async _bulkAdd(e) {
3223
3223
  var r;
3224
3224
  const { store: s } = this.client, i = (r = s.getState().userReducer.currentUser) == null ? void 0 : r.id, a = (/* @__PURE__ */ new Date()).toISOString(), n = [], c = [], o = {};
@@ -3282,7 +3282,7 @@ class De extends z {
3282
3282
  }), a;
3283
3283
  }
3284
3284
  }
3285
- class Ug extends De {
3285
+ class zg extends De {
3286
3286
  constructor() {
3287
3287
  super(...arguments);
3288
3288
  f(this, "name", "Asset Attachment");
@@ -3383,7 +3383,7 @@ class Dg extends De {
3383
3383
  return this.dispatch(br(i)), i;
3384
3384
  }
3385
3385
  }
3386
- class xg extends z {
3386
+ class xg extends U {
3387
3387
  async bulkAdd(e) {
3388
3388
  var l;
3389
3389
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -3456,7 +3456,7 @@ class Vg extends v {
3456
3456
  created_by: i,
3457
3457
  submitted_at: a
3458
3458
  });
3459
- this.dispatch(Ur(n));
3459
+ this.dispatch(zr(n));
3460
3460
  const c = this.enqueueRequest({
3461
3461
  description: "Add Asset Procedure Fields",
3462
3462
  method: u.POST,
@@ -3482,7 +3482,7 @@ class Vg extends v {
3482
3482
  blockers: [],
3483
3483
  blocks: []
3484
3484
  });
3485
- return this.dispatch(zr(s)), s;
3485
+ return this.dispatch(Ur(s)), s;
3486
3486
  }
3487
3487
  }
3488
3488
  function Ve(t, e) {
@@ -3493,7 +3493,7 @@ function Ve(t, e) {
3493
3493
  s.push(t.slice(i, i += e));
3494
3494
  return s;
3495
3495
  }
3496
- class Cg extends z {
3496
+ class Cg extends U {
3497
3497
  async bulkAdd(e, s) {
3498
3498
  var r;
3499
3499
  const i = (/* @__PURE__ */ new Date()).toISOString(), a = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, n = Ve(e, s ?? e.length), c = [], o = [];
@@ -3862,7 +3862,7 @@ class Bg extends v {
3862
3862
  return this.dispatch(ao(s)), s;
3863
3863
  }
3864
3864
  }
3865
- class Lg extends z {
3865
+ class Lg extends U {
3866
3866
  async bulkAdd(e) {
3867
3867
  var l;
3868
3868
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -4003,7 +4003,7 @@ class Ng extends v {
4003
4003
  return this.dispatch(Ao(s)), s;
4004
4004
  }
4005
4005
  }
4006
- class Hg extends z {
4006
+ class Hg extends U {
4007
4007
  async bulkAdd(e, s) {
4008
4008
  var r;
4009
4009
  const i = (/* @__PURE__ */ new Date()).toISOString(), a = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, n = Ve(e, s ?? e.length), c = [], o = [];
@@ -4356,7 +4356,7 @@ class Yg extends v {
4356
4356
  async delete(e) {
4357
4357
  const { store: s } = this.client, i = s.getState(), a = Ms(e)(i);
4358
4358
  if (!a) throw new Error(`No asset with uuid ${e} found in the store`);
4359
- const n = fr(e)(i), c = zu(e)(i), o = Zu(e)(i);
4359
+ const n = fr(e)(i), c = Uu(e)(i), o = Zu(e)(i);
4360
4360
  if (this.dispatch(Es(e)), n.length > 0) {
4361
4361
  const l = n.map(({ uuid: r }) => r);
4362
4362
  this.dispatch(ka(l));
@@ -4415,7 +4415,7 @@ class Yg extends v {
4415
4415
  }), l;
4416
4416
  }
4417
4417
  async bulkDelete(e) {
4418
- const { store: s } = this.client, i = s.getState(), a = zo(e)(i);
4418
+ const { store: s } = this.client, i = s.getState(), a = Uo(e)(i);
4419
4419
  this.dispatch(Xa(e));
4420
4420
  try {
4421
4421
  await this.enqueueRequest({
@@ -4452,7 +4452,7 @@ class Jg extends v {
4452
4452
  created_by: i,
4453
4453
  submitted_at: a
4454
4454
  });
4455
- this.dispatch(zs(n));
4455
+ this.dispatch(Us(n));
4456
4456
  const c = this.enqueueRequest({
4457
4457
  description: "Add asset stage completion",
4458
4458
  method: u.POST,
@@ -4480,7 +4480,7 @@ class Jg extends v {
4480
4480
  blocks: []
4481
4481
  });
4482
4482
  return a.catch(() => {
4483
- this.dispatch(zs(i));
4483
+ this.dispatch(Us(i));
4484
4484
  }), a;
4485
4485
  }
4486
4486
  bulkAdd(e) {
@@ -4490,7 +4490,7 @@ class Jg extends v {
4490
4490
  created_by: a,
4491
4491
  submitted_at: i
4492
4492
  })), o = c.map(({ uuid: d }) => d);
4493
- this.dispatch(Us(c));
4493
+ this.dispatch(zs(c));
4494
4494
  const l = this.enqueueRequest({
4495
4495
  description: "Bulk create asset stage completions",
4496
4496
  method: u.POST,
@@ -4524,7 +4524,7 @@ class Jg extends v {
4524
4524
  blocks: []
4525
4525
  });
4526
4526
  return a.catch(() => {
4527
- this.dispatch(Us(i));
4527
+ this.dispatch(zs(i));
4528
4528
  }), a;
4529
4529
  }
4530
4530
  async refreshStore(e) {
@@ -4663,7 +4663,7 @@ class Qg extends De {
4663
4663
  return this.dispatch(Wo(i)), i;
4664
4664
  }
4665
4665
  }
4666
- class Xg extends z {
4666
+ class Xg extends U {
4667
4667
  async bulkAdd(e) {
4668
4668
  var l;
4669
4669
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -4765,7 +4765,7 @@ class e_ extends v {
4765
4765
  return this.dispatch(dd(s)), s;
4766
4766
  }
4767
4767
  }
4768
- class t_ extends z {
4768
+ class t_ extends U {
4769
4769
  async bulkAdd(e, s) {
4770
4770
  var r;
4771
4771
  const i = (/* @__PURE__ */ new Date()).toISOString(), a = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, n = Ve(e, s ?? e.length), c = [], o = [];
@@ -5551,7 +5551,7 @@ class d_ extends v {
5551
5551
  return r;
5552
5552
  }
5553
5553
  }
5554
- class u_ extends z {
5554
+ class u_ extends U {
5555
5555
  async bulkAdd(e) {
5556
5556
  var l;
5557
5557
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -5614,7 +5614,7 @@ class u_ extends z {
5614
5614
  return this.dispatch(ru(s)), s;
5615
5615
  }
5616
5616
  }
5617
- class l_ extends z {
5617
+ class l_ extends U {
5618
5618
  add(e) {
5619
5619
  var o;
5620
5620
  const { store: s } = this.client, a = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = F({
@@ -5651,7 +5651,7 @@ class l_ extends z {
5651
5651
  return this.dispatch(mu(s)), s;
5652
5652
  }
5653
5653
  }
5654
- class h_ extends z {
5654
+ class h_ extends U {
5655
5655
  add(e, s) {
5656
5656
  var r;
5657
5657
  const { store: i } = this.client, a = (/* @__PURE__ */ new Date()).toISOString(), n = (r = i.getState().userReducer.currentUser) == null ? void 0 : r.id, c = F({
@@ -5720,7 +5720,7 @@ class h_ extends z {
5720
5720
  return this.dispatch(_u(s)), s;
5721
5721
  }
5722
5722
  }
5723
- class p_ extends z {
5723
+ class p_ extends U {
5724
5724
  async bulkAdd(e) {
5725
5725
  var l;
5726
5726
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -5801,7 +5801,7 @@ class p_ extends z {
5801
5801
  return this.dispatch(Ru(s)), s;
5802
5802
  }
5803
5803
  }
5804
- class m_ extends z {
5804
+ class m_ extends U {
5805
5805
  add(e) {
5806
5806
  var c;
5807
5807
  const { store: s } = this.client, i = s.getState(), a = F({
@@ -5879,7 +5879,7 @@ class m_ extends z {
5879
5879
  return this.dispatch(qu(s)), s;
5880
5880
  }
5881
5881
  }
5882
- class A_ extends z {
5882
+ class A_ extends U {
5883
5883
  async add(e) {
5884
5884
  var h;
5885
5885
  const { store: s } = this.client, { file: i, ...a } = e, n = (/* @__PURE__ */ new Date()).toISOString(), c = (h = s.getState().userReducer.currentUser) == null ? void 0 : h.id, o = a.project, l = await this.getFilePayload(i), r = F({
@@ -6252,7 +6252,7 @@ class g_ extends v {
6252
6252
  submitted_at: a,
6253
6253
  created_by: n
6254
6254
  });
6255
- this.dispatch(Ui(c));
6255
+ this.dispatch(zi(c));
6256
6256
  const o = this.enqueueRequest({
6257
6257
  description: "Create issue",
6258
6258
  method: u.POST,
@@ -6368,7 +6368,7 @@ class g_ extends v {
6368
6368
  blocks: []
6369
6369
  });
6370
6370
  } catch (d) {
6371
- throw this.dispatch(Ui(a)), this.dispatch(Cn(n)), this.dispatch(oh(c)), this.dispatch(Lt(o)), this.dispatch(Dn(r)), d;
6371
+ throw this.dispatch(zi(a)), this.dispatch(Cn(n)), this.dispatch(oh(c)), this.dispatch(Lt(o)), this.dispatch(Dn(r)), d;
6372
6372
  }
6373
6373
  }
6374
6374
  async refreshStore(e) {
@@ -6436,7 +6436,7 @@ class __ extends De {
6436
6436
  return this.dispatch(Ci(i)), i;
6437
6437
  }
6438
6438
  }
6439
- class P_ extends z {
6439
+ class P_ extends U {
6440
6440
  async bulkAdd(e) {
6441
6441
  var l;
6442
6442
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -6481,7 +6481,7 @@ class P_ extends z {
6481
6481
  this.processPresignedUrls(r.presigned_urls), this.dispatch(jl(r.attachments));
6482
6482
  }).catch(() => {
6483
6483
  this.dispatch(
6484
- zl(
6484
+ Ul(
6485
6485
  n.map((r) => r.uuid)
6486
6486
  )
6487
6487
  );
@@ -6538,7 +6538,7 @@ class T_ extends v {
6538
6538
  return this.dispatch(Gl(s)), s;
6539
6539
  }
6540
6540
  }
6541
- class F_ extends z {
6541
+ class F_ extends U {
6542
6542
  async bulkAdd(e) {
6543
6543
  var l;
6544
6544
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -7009,21 +7009,25 @@ class k_ extends v {
7009
7009
  }
7010
7010
  class q_ extends v {
7011
7011
  add(e) {
7012
- const s = F(e);
7013
- this.dispatch(aa(s));
7014
- const i = this.enqueueRequest({
7012
+ var n;
7013
+ const { store: s } = this.client, i = F({
7014
+ ...e,
7015
+ created_by: (n = s.getState().userReducer.currentUser) == null ? void 0 : n.id
7016
+ });
7017
+ this.dispatch(aa(i));
7018
+ const a = this.enqueueRequest({
7015
7019
  description: "Add project access",
7016
7020
  method: u.POST,
7017
7021
  url: "/project-accesses/",
7018
- payload: w(s),
7019
- blockers: [s.organization_access, s.project],
7020
- blocks: [s.uuid]
7022
+ payload: w(i),
7023
+ blockers: [i.organization_access, i.project],
7024
+ blocks: [i.uuid]
7021
7025
  });
7022
- return i.then((a) => {
7023
- this.dispatch(rt(a));
7024
- }).catch((a) => {
7025
- throw this.dispatch(na(s.uuid)), a;
7026
- }), [s, i];
7026
+ return a.then((c) => {
7027
+ this.dispatch(rt(c));
7028
+ }).catch((c) => {
7029
+ throw this.dispatch(na(i.uuid)), c;
7030
+ }), [i, a];
7027
7031
  }
7028
7032
  update(e) {
7029
7033
  const { store: s } = this.client, i = ca(e.uuid)(s.getState()), a = {
@@ -7071,7 +7075,7 @@ class q_ extends v {
7071
7075
  blockers: [],
7072
7076
  blocks: []
7073
7077
  });
7074
- return this.dispatch(zh(s)), s;
7078
+ return this.dispatch(Uh(s)), s;
7075
7079
  }
7076
7080
  }
7077
7081
  class E_ extends De {
@@ -7251,7 +7255,7 @@ class j_ extends v {
7251
7255
  blocks: []
7252
7256
  }), this.dispatch(ha(a.uuid));
7253
7257
  } catch (l) {
7254
- throw this.dispatch(la(a)), this.dispatch(Uh(Object.values(o))), this.dispatch(Qh(n)), this.dispatch(Bh(c)), l;
7258
+ throw this.dispatch(la(a)), this.dispatch(zh(Object.values(o))), this.dispatch(Qh(n)), this.dispatch(Bh(c)), l;
7255
7259
  }
7256
7260
  }
7257
7261
  async refreshStore(e) {
@@ -7268,23 +7272,27 @@ class j_ extends v {
7268
7272
  return this.dispatch(rp(s)), s;
7269
7273
  }
7270
7274
  }
7271
- class z_ extends v {
7275
+ class U_ extends v {
7272
7276
  add(e) {
7273
- const s = F(e);
7274
- this.dispatch(Ap(s));
7275
- const i = this.enqueueRequest({
7277
+ var n;
7278
+ const { store: s } = this.client, i = F({
7279
+ ...e,
7280
+ created_by: (n = s.getState().userReducer.currentUser) == null ? void 0 : n.id
7281
+ });
7282
+ this.dispatch(Ap(i));
7283
+ const a = this.enqueueRequest({
7276
7284
  description: "Create team membership",
7277
7285
  method: u.POST,
7278
7286
  url: "/team-memberships/",
7279
- payload: w(s),
7287
+ payload: w(i),
7280
7288
  blockers: [e.team],
7281
- blocks: [s.uuid]
7289
+ blocks: [i.uuid]
7282
7290
  });
7283
- return i.then((a) => {
7284
- this.dispatch(ma(a));
7291
+ return a.then((c) => {
7292
+ this.dispatch(ma(c));
7285
7293
  }).catch(() => {
7286
- this.dispatch(Aa(s.uuid));
7287
- }), [s, i];
7294
+ this.dispatch(Aa(i.uuid));
7295
+ }), [i, a];
7288
7296
  }
7289
7297
  async delete(e) {
7290
7298
  const { store: s } = this.client, i = s.getState(), a = bp(e)(i);
@@ -7317,28 +7325,28 @@ class z_ extends v {
7317
7325
  return this.dispatch(mp(s)), s;
7318
7326
  }
7319
7327
  }
7320
- class U_ extends v {
7328
+ class z_ extends v {
7321
7329
  add(e) {
7322
- const s = F({
7330
+ var n;
7331
+ const { store: s } = this.client, i = F({
7323
7332
  ...e,
7324
- submitted_at: (/* @__PURE__ */ new Date()).toISOString()
7325
- // TODO: uncomment once supported
7326
- // created_by: state.userReducer.currentUser.uuid,
7333
+ submitted_at: (/* @__PURE__ */ new Date()).toISOString(),
7334
+ created_by: (n = s.getState().userReducer.currentUser) == null ? void 0 : n.id
7327
7335
  });
7328
- this.dispatch(gp(s));
7329
- const i = this.enqueueRequest({
7336
+ this.dispatch(gp(i));
7337
+ const a = this.enqueueRequest({
7330
7338
  description: "Create team",
7331
7339
  method: u.POST,
7332
7340
  url: "/teams/",
7333
- payload: w(s),
7341
+ payload: w(i),
7334
7342
  blockers: [],
7335
- blocks: [s.uuid]
7343
+ blocks: [i.uuid]
7336
7344
  });
7337
- return i.then((a) => {
7338
- this.dispatch(ot(a));
7345
+ return a.then((c) => {
7346
+ this.dispatch(ot(c));
7339
7347
  }).catch(() => {
7340
- this.dispatch(ya(s.uuid));
7341
- }), [s, i];
7348
+ this.dispatch(ya(i.uuid));
7349
+ }), [i, a];
7342
7350
  }
7343
7351
  update(e) {
7344
7352
  const { store: s } = this.client, i = ba(e.uuid)(s.getState());
@@ -7625,8 +7633,8 @@ const V_ = (t, e) => {
7625
7633
  var em = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATION", t[t.APPLICATION_INVITE = 2] = "APPLICATION_INVITE", t[t.PROJECT_INVITE = 4] = "PROJECT_INVITE", t[t.ORGANIZATION_INVITE = 6] = "ORGANIZATION_INVITE", t[t.ADD_EMAIL_DOMAIN = 8] = "ADD_EMAIL_DOMAIN", t[t.RESET_PASSWORD = 10] = "RESET_PASSWORD", t))(em || {});
7626
7634
  export {
7627
7635
  D as APIError,
7628
- zg as AgentService,
7629
- Ug as AssetAttachmentService,
7636
+ Ug as AgentService,
7637
+ zg as AssetAttachmentService,
7630
7638
  Dg as AssetProcedureAttachmentService,
7631
7639
  Cg as AssetProcedureFieldValuesAttachmentService,
7632
7640
  $g as AssetProcedureFieldValuesService,
@@ -7698,8 +7706,8 @@ export {
7698
7706
  I as RESET_ORGANIZATION_STATE,
7699
7707
  q as RESET_PROJECT_STATE,
7700
7708
  _ as RESET_STATE,
7701
- z_ as TeamMembershipService,
7702
- U_ as TeamService,
7709
+ U_ as TeamMembershipService,
7710
+ z_ as TeamService,
7703
7711
  Ke as UNKNOWN_ERROR_MESSAGE,
7704
7712
  D_ as UserService,
7705
7713
  lt as VERSION_REDUCER_KEY,
@@ -7715,7 +7723,7 @@ export {
7715
7723
  mA as addAssetProcedureFieldValuesAttachment,
7716
7724
  Tt as addAssetProcedureFieldValuesAttachments,
7717
7725
  Kr as addAssetProcedureFieldValuesMany,
7718
- Ur as addAssetProcedureFields,
7726
+ zr as addAssetProcedureFields,
7719
7727
  Xm as addAssetProcedureFieldsAttachment,
7720
7728
  wr as addAssetProcedureFieldsAttachments,
7721
7729
  cA as addAssetProcedureFieldsMany,
@@ -7727,14 +7735,14 @@ export {
7727
7735
  Ot as addAssetProcedureStepFieldValuesAttachments,
7728
7736
  Fo as addAssetProcedureStepFieldValuesMany,
7729
7737
  Ss as addAssetProcedureStepFields,
7730
- UA as addAssetProcedureStepFieldsAttachment,
7738
+ zA as addAssetProcedureStepFieldsAttachment,
7731
7739
  oo as addAssetProcedureStepFieldsAttachments,
7732
7740
  BA as addAssetProcedureStepFieldsMany,
7733
7741
  lf as addAssetProcedureSteps,
7734
7742
  wA as addAssetProcedures,
7735
7743
  Cs as addAssetStage,
7736
- zs as addAssetStageCompletion,
7737
- Us as addAssetStageCompletions,
7744
+ Us as addAssetStageCompletion,
7745
+ zs as addAssetStageCompletions,
7738
7746
  Of as addAssetStages,
7739
7747
  Qs as addAssetType,
7740
7748
  qf as addAssetTypeAttachment,
@@ -7770,7 +7778,7 @@ export {
7770
7778
  Ky as addForms,
7771
7779
  Vu as addGeoImage,
7772
7780
  Cu as addGeoImages,
7773
- Ui as addIssue,
7781
+ zi as addIssue,
7774
7782
  Fi as addIssueAssociation,
7775
7783
  Dn as addIssueAssociations,
7776
7784
  mb as addIssueAttachment,
@@ -7787,7 +7795,7 @@ export {
7787
7795
  Et as addIssueTypeFieldValuesAttachments,
7788
7796
  Bb as addIssueTypeFieldValuesMany,
7789
7797
  Bl as addIssueTypeFields,
7790
- Ub as addIssueTypeFieldsAttachment,
7798
+ zb as addIssueTypeFieldsAttachment,
7791
7799
  Ml as addIssueTypeFieldsAttachments,
7792
7800
  Yb as addIssueTypeFieldsMany,
7793
7801
  uS as addIssueTypes,
@@ -7800,7 +7808,7 @@ export {
7800
7808
  CS as addOrganizations,
7801
7809
  la as addProject,
7802
7810
  aa as addProjectAccess,
7803
- Uh as addProjectAccesses,
7811
+ zh as addProjectAccesses,
7804
7812
  eg as addProjectAttachment,
7805
7813
  $h as addProjectAttachments,
7806
7814
  ag as addProjectFile,
@@ -7820,7 +7828,7 @@ export {
7820
7828
  Ir as assetProcedureAttachmentReducer,
7821
7829
  qa as assetProcedureAttachmentSlice,
7822
7830
  Hr as assetProcedureFieldValuesAttachmentReducer,
7823
- za as assetProcedureFieldValuesAttachmentSlice,
7831
+ Ua as assetProcedureFieldValuesAttachmentSlice,
7824
7832
  Qr as assetProcedureFieldValuesReducer,
7825
7833
  Da as assetProcedureFieldValuesSlice,
7826
7834
  jr as assetProcedureFieldsAttachmentReducer,
@@ -7841,7 +7849,7 @@ export {
7841
7849
  Na as assetProcedureStepFieldsSlice,
7842
7850
  qo as assetProcedureStepReducer,
7843
7851
  Za as assetProcedureStepSlice,
7844
- Uo as assetReducer,
7852
+ zo as assetReducer,
7845
7853
  Qa as assetSlice,
7846
7854
  Co as assetStageCompletionReducer,
7847
7855
  sn as assetStageCompletionSlice,
@@ -7864,7 +7872,7 @@ export {
7864
7872
  Eg as baseReducer,
7865
7873
  gc as baseReducers,
7866
7874
  km as blobToBase64,
7867
- Ud as categoryReducer,
7875
+ zd as categoryReducer,
7868
7876
  yn as categorySlice,
7869
7877
  py as clearTokens,
7870
7878
  wm as constructUploadedFilePayloads,
@@ -7926,7 +7934,7 @@ export {
7926
7934
  $d as deleteDocumentAttachment,
7927
7935
  Gd as deleteDocumentAttachments,
7928
7936
  Xd as deleteEmailDomain,
7929
- zy as deleteEmailDomains,
7937
+ Uy as deleteEmailDomains,
7930
7938
  mi as deleteForm,
7931
7939
  vn as deleteFormRevision,
7932
7940
  $y as deleteFormRevisionAttachment,
@@ -7957,7 +7965,7 @@ export {
7957
7965
  Wb as deleteIssueTypeFieldValuesMany,
7958
7966
  Nl as deleteIssueTypeFields,
7959
7967
  Cb as deleteIssueTypeFieldsAttachment,
7960
- zl as deleteIssueTypeFieldsAttachments,
7968
+ Ul as deleteIssueTypeFieldsAttachments,
7961
7969
  Xb as deleteIssueTypeFieldsMany,
7962
7970
  mS as deleteIssueTypes,
7963
7971
  dh as deleteIssueUpdate,
@@ -7965,7 +7973,7 @@ export {
7965
7973
  _l as deleteIssues,
7966
7974
  GS as deleteOrganization,
7967
7975
  Ph as deleteOrganizationAccess,
7968
- zS as deleteOrganizationAccesses,
7976
+ US as deleteOrganizationAccesses,
7969
7977
  BS as deleteOrganizations,
7970
7978
  ha as deleteProject,
7971
7979
  na as deleteProjectAccess,
@@ -7981,7 +7989,7 @@ export {
7981
7989
  wg as deleteTeams,
7982
7990
  fh as deleteUser,
7983
7991
  IS as deleteUsers,
7984
- Up as dequeue,
7992
+ zp as dequeue,
7985
7993
  qc as discard,
7986
7994
  Hd as documentAttachmentReducer,
7987
7995
  Sn as documentAttachmentSlice,
@@ -7992,10 +8000,10 @@ export {
7992
8000
  su as emailDomainsReducer,
7993
8001
  Pn as emailDomainsSlice,
7994
8002
  xm as emailRegex,
7995
- zp as enqueue,
8003
+ Up as enqueue,
7996
8004
  qh as enqueueRequest,
7997
8005
  b as fallbackToEmptyArray,
7998
- zt as fallbackToEmptyObject,
8006
+ Ut as fallbackToEmptyObject,
7999
8007
  cu as fileReducer,
8000
8008
  Fn as fileSlice,
8001
8009
  tr as fileToBlob,
@@ -8007,10 +8015,10 @@ export {
8007
8015
  wn as formSlice,
8008
8016
  ku as formSubmissionAttachmentReducer,
8009
8017
  kn as formSubmissionAttachmentSlice,
8010
- Uu as formSubmissionReducer,
8018
+ zu as formSubmissionReducer,
8011
8019
  En as formSubmissionSlice,
8012
8020
  Nu as geoImageReducer,
8013
- zn as geoImageSlice,
8021
+ Un as geoImageSlice,
8014
8022
  Im as getFileIdentifier,
8015
8023
  Jt as getFileS3Key,
8016
8024
  Jc as getLocalDateString,
@@ -8023,7 +8031,7 @@ export {
8023
8031
  br as initializeAssetProcedureAttachments,
8024
8032
  Wr as initializeAssetProcedureFieldValues,
8025
8033
  $r as initializeAssetProcedureFieldValuesAttachments,
8026
- zr as initializeAssetProcedureFields,
8034
+ Ur as initializeAssetProcedureFields,
8027
8035
  vr as initializeAssetProcedureFieldsAttachments,
8028
8036
  Xr as initializeAssetProcedureInstances,
8029
8037
  To as initializeAssetProcedureStepFieldValues,
@@ -8065,7 +8073,7 @@ export {
8065
8073
  Sl as initializeIssues,
8066
8074
  gh as initializeOrganizationAccesses,
8067
8075
  Oh as initializeOrganizations,
8068
- zh as initializeProjectAccesses,
8076
+ Uh as initializeProjectAccesses,
8069
8077
  Ch as initializeProjectAttachments,
8070
8078
  Zh as initializeProjectFiles,
8071
8079
  rp as initializeProjects,
@@ -8074,7 +8082,7 @@ export {
8074
8082
  mh as initializeUsers,
8075
8083
  Om as isToday,
8076
8084
  Qu as issueAssociationReducer,
8077
- Un as issueAssociationSlice,
8085
+ zn as issueAssociationSlice,
8078
8086
  cl as issueAttachmentReducer,
8079
8087
  Vn as issueAttachmentSlice,
8080
8088
  Al as issueCommentAttachmentReducer,
@@ -8132,7 +8140,7 @@ export {
8132
8140
  my as selectAccessToken,
8133
8141
  QS as selectAccessesByUserOfProject,
8134
8142
  Ag as selectAccessibleProjects,
8135
- US as selectActiveOrganizationAccess,
8143
+ zS as selectActiveOrganizationAccess,
8136
8144
  og as selectActiveProjectFileId,
8137
8145
  Ld as selectAllDocumentAttachments,
8138
8146
  Wh as selectAllProjectAttachments,
@@ -8148,7 +8156,7 @@ export {
8148
8156
  SA as selectAssetProcedureFieldValuesAttachmentById,
8149
8157
  Br as selectAssetProcedureFieldValuesAttachments,
8150
8158
  Lr as selectAssetProcedureFieldValuesAttachmentsByIds,
8151
- Ua as selectAssetProcedureFieldValuesAttachmentsMapping,
8159
+ za as selectAssetProcedureFieldValuesAttachmentsMapping,
8152
8160
  os as selectAssetProcedureFieldValuesById,
8153
8161
  Zr as selectAssetProcedureFieldValuesMapping,
8154
8162
  PA as selectAssetProcedureFieldValuesOfAsset,
@@ -8191,7 +8199,7 @@ export {
8191
8199
  no as selectAssetProcedures,
8192
8200
  jA as selectAssetProceduresByIds,
8193
8201
  Ba as selectAssetProceduresMapping,
8194
- zA as selectAssetProceduresOfOrganization,
8202
+ UA as selectAssetProceduresOfOrganization,
8195
8203
  Gs as selectAssetStageById,
8196
8204
  $o as selectAssetStageCompletionById,
8197
8205
  an as selectAssetStageCompletionMapping,
@@ -8226,7 +8234,7 @@ export {
8226
8234
  fn as selectAssetTypesMapping,
8227
8235
  ly as selectAssetTypesOfOrganization,
8228
8236
  jo as selectAssets,
8229
- zo as selectAssetsByIds,
8237
+ Uo as selectAssetsByIds,
8230
8238
  en as selectAssetsMapping,
8231
8239
  tn as selectAssetsOfAssetType,
8232
8240
  fr as selectAttachmentsOfAsset,
@@ -8243,11 +8251,11 @@ export {
8243
8251
  wu as selectAttachmentsOfFormSubmission,
8244
8252
  al as selectAttachmentsOfIssue,
8245
8253
  gb as selectAttachmentsOfIssueComment,
8246
- zb as selectAttachmentsOfIssueType,
8254
+ Ub as selectAttachmentsOfIssueType,
8247
8255
  Ql as selectAttachmentsOfIssueTypeFieldValues,
8248
8256
  $b as selectAttachmentsOfIssueTypeFields,
8249
8257
  Yh as selectAttachmentsOfProject,
8250
- zd as selectCategories,
8258
+ Ud as selectCategories,
8251
8259
  _y as selectCategoriesByIds,
8252
8260
  Py as selectCategoriesOfProject,
8253
8261
  ai as selectCategoryById,
@@ -8266,7 +8274,7 @@ export {
8266
8274
  Gt as selectDocumentsMapping,
8267
8275
  tu as selectEmailDomains,
8268
8276
  eu as selectEmailDomainsAsMapping,
8269
- Uy as selectEmailDomainsOfOrganization,
8277
+ zy as selectEmailDomainsOfOrganization,
8270
8278
  TA as selectFieldValuesOfAssetProcedureInstance,
8271
8279
  Ou as selectFormById,
8272
8280
  Tu as selectFormMapping,
@@ -8280,7 +8288,7 @@ export {
8280
8288
  Si as selectFormSubmissionById,
8281
8289
  jn as selectFormSubmissions,
8282
8290
  Mn as selectFormSubmissionsMapping,
8283
- zu as selectFormSubmissionsOfAsset,
8291
+ Uu as selectFormSubmissionsOfAsset,
8284
8292
  Mu as selectFormSubmissionsOfForm,
8285
8293
  ju as selectFormSubmissionsOfIssue,
8286
8294
  Fu as selectForms,
@@ -8322,7 +8330,7 @@ export {
8322
8330
  Ht as selectIssueTypeFields,
8323
8331
  Gb as selectIssueTypeFieldsAttachmentById,
8324
8332
  Dl as selectIssueTypeFieldsAttachments,
8325
- Ul as selectIssueTypeFieldsAttachmentsMapping,
8333
+ zl as selectIssueTypeFieldsAttachmentsMapping,
8326
8334
  iS as selectIssueTypeFieldsById,
8327
8335
  Hl as selectIssueTypeFieldsMapping,
8328
8336
  eS as selectIssueTypeFieldsOfIssueType,
@@ -8425,8 +8433,8 @@ export {
8425
8433
  Zf as setAssetTypeFieldValuesAttachments,
8426
8434
  sy as setAssetTypeFieldValuesMany,
8427
8435
  Gf as setAssetTypeFields,
8428
- zf as setAssetTypeFieldsAttachment,
8429
- Uf as setAssetTypeFieldsAttachments,
8436
+ Uf as setAssetTypeFieldsAttachment,
8437
+ zf as setAssetTypeFieldsAttachments,
8430
8438
  Bf as setAssetTypeFieldsMany,
8431
8439
  cy as setAssetTypes,
8432
8440
  Sf as setAssets,
@@ -8501,7 +8509,7 @@ export {
8501
8509
  TS as setUser,
8502
8510
  PS as setUsers,
8503
8511
  Tm as shallowEqual,
8504
- zm as slugify,
8512
+ Um as slugify,
8505
8513
  jm as spacesToDashesLower,
8506
8514
  fp as teamMembershipReducer,
8507
8515
  fc as teamMembershipSlice,
@@ -8509,7 +8517,7 @@ export {
8509
8517
  bc as teamSlice,
8510
8518
  Mm as toFileNameSafeString,
8511
8519
  ir as toOfflineIdRecord,
8512
- Um as truncate,
8520
+ zm as truncate,
8513
8521
  tt as updateAsset,
8514
8522
  Km as updateAssetAttachment,
8515
8523
  lr as updateAssetAttachments,