@socotra/ec-react-schemas 2.15.0-next.1 → 2.15.0-next.3
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.d.ts +62 -131
- package/dist/index.es.js +161 -158
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -63,7 +63,7 @@ const p = A.arrayToEnum([
|
|
|
63
63
|
"never",
|
|
64
64
|
"map",
|
|
65
65
|
"set"
|
|
66
|
-
]),
|
|
66
|
+
]), V = (n) => {
|
|
67
67
|
switch (typeof n) {
|
|
68
68
|
case "undefined":
|
|
69
69
|
return p.undefined;
|
|
@@ -321,7 +321,7 @@ var g;
|
|
|
321
321
|
n.errToObj = (t) => typeof t == "string" ? { message: t } : t || {}, n.toString = (t) => typeof t == "string" ? t : t == null ? void 0 : t.message;
|
|
322
322
|
})(g || (g = {}));
|
|
323
323
|
var Ee, Ce;
|
|
324
|
-
class
|
|
324
|
+
class O {
|
|
325
325
|
constructor(t, a, r, o) {
|
|
326
326
|
this._cachedPath = [], this.parent = t, this.data = a, this._path = r, this._key = o;
|
|
327
327
|
}
|
|
@@ -361,13 +361,13 @@ class T {
|
|
|
361
361
|
return this._def.description;
|
|
362
362
|
}
|
|
363
363
|
_getType(t) {
|
|
364
|
-
return
|
|
364
|
+
return V(t.data);
|
|
365
365
|
}
|
|
366
366
|
_getOrReturnCtx(t, a) {
|
|
367
367
|
return a || {
|
|
368
368
|
common: t.parent.common,
|
|
369
369
|
data: t.data,
|
|
370
|
-
parsedType:
|
|
370
|
+
parsedType: V(t.data),
|
|
371
371
|
schemaErrorMap: this._def.errorMap,
|
|
372
372
|
path: t.path,
|
|
373
373
|
parent: t.parent
|
|
@@ -379,7 +379,7 @@ class T {
|
|
|
379
379
|
ctx: {
|
|
380
380
|
common: t.parent.common,
|
|
381
381
|
data: t.data,
|
|
382
|
-
parsedType:
|
|
382
|
+
parsedType: V(t.data),
|
|
383
383
|
schemaErrorMap: this._def.errorMap,
|
|
384
384
|
path: t.path,
|
|
385
385
|
parent: t.parent
|
|
@@ -414,7 +414,7 @@ class T {
|
|
|
414
414
|
schemaErrorMap: this._def.errorMap,
|
|
415
415
|
parent: null,
|
|
416
416
|
data: t,
|
|
417
|
-
parsedType:
|
|
417
|
+
parsedType: V(t)
|
|
418
418
|
}, i = this._parseSync({ data: t, path: o.path, parent: o });
|
|
419
419
|
return ba(o, i);
|
|
420
420
|
}
|
|
@@ -429,7 +429,7 @@ class T {
|
|
|
429
429
|
schemaErrorMap: this._def.errorMap,
|
|
430
430
|
parent: null,
|
|
431
431
|
data: t,
|
|
432
|
-
parsedType:
|
|
432
|
+
parsedType: V(t)
|
|
433
433
|
};
|
|
434
434
|
if (!this["~standard"].async)
|
|
435
435
|
try {
|
|
@@ -468,7 +468,7 @@ class T {
|
|
|
468
468
|
schemaErrorMap: this._def.errorMap,
|
|
469
469
|
parent: null,
|
|
470
470
|
data: t,
|
|
471
|
-
parsedType:
|
|
471
|
+
parsedType: V(t)
|
|
472
472
|
}, o = this._parse({ data: t, path: r.path, parent: r }), i = await (qe(o) ? o : Promise.resolve(o));
|
|
473
473
|
return ba(r, i);
|
|
474
474
|
}
|
|
@@ -1477,7 +1477,7 @@ ne.create = (n) => new ne({
|
|
|
1477
1477
|
typeName: f.ZodUnknown,
|
|
1478
1478
|
...j(n)
|
|
1479
1479
|
});
|
|
1480
|
-
class
|
|
1480
|
+
class W extends T {
|
|
1481
1481
|
_parse(t) {
|
|
1482
1482
|
const a = this._getOrReturnCtx(t);
|
|
1483
1483
|
return d(a, {
|
|
@@ -1487,7 +1487,7 @@ class K extends T {
|
|
|
1487
1487
|
}), h;
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
|
-
|
|
1490
|
+
W.create = (n) => new W({
|
|
1491
1491
|
typeName: f.ZodNever,
|
|
1492
1492
|
...j(n)
|
|
1493
1493
|
});
|
|
@@ -1544,8 +1544,8 @@ class B extends T {
|
|
|
1544
1544
|
exact: !1,
|
|
1545
1545
|
message: o.maxLength.message
|
|
1546
1546
|
}), r.dirty()), a.common.async)
|
|
1547
|
-
return Promise.all([...a.data].map((l, s) => o.type._parseAsync(new
|
|
1548
|
-
const i = [...a.data].map((l, s) => o.type._parseSync(new
|
|
1547
|
+
return Promise.all([...a.data].map((l, s) => o.type._parseAsync(new O(a, l, a.path, s)))).then((l) => x.mergeArray(r, l));
|
|
1548
|
+
const i = [...a.data].map((l, s) => o.type._parseSync(new O(a, l, a.path, s)));
|
|
1549
1549
|
return x.mergeArray(r, i);
|
|
1550
1550
|
}
|
|
1551
1551
|
get element() {
|
|
@@ -1582,22 +1582,22 @@ B.create = (n, t) => new B({
|
|
|
1582
1582
|
...j(t)
|
|
1583
1583
|
});
|
|
1584
1584
|
function ue(n) {
|
|
1585
|
-
if (n instanceof
|
|
1585
|
+
if (n instanceof k) {
|
|
1586
1586
|
const t = {};
|
|
1587
1587
|
for (const a in n.shape) {
|
|
1588
1588
|
const r = n.shape[a];
|
|
1589
1589
|
t[a] = M.create(ue(r));
|
|
1590
1590
|
}
|
|
1591
|
-
return new
|
|
1591
|
+
return new k({
|
|
1592
1592
|
...n._def,
|
|
1593
1593
|
shape: () => t
|
|
1594
1594
|
});
|
|
1595
1595
|
} else return n instanceof B ? new B({
|
|
1596
1596
|
...n._def,
|
|
1597
1597
|
type: ue(n.element)
|
|
1598
|
-
}) : n instanceof M ? M.create(ue(n.unwrap())) : n instanceof ee ? ee.create(ue(n.unwrap())) : n instanceof
|
|
1598
|
+
}) : n instanceof M ? M.create(ue(n.unwrap())) : n instanceof ee ? ee.create(ue(n.unwrap())) : n instanceof Z ? Z.create(n.items.map((t) => ue(t))) : n;
|
|
1599
1599
|
}
|
|
1600
|
-
class
|
|
1600
|
+
class k extends T {
|
|
1601
1601
|
constructor() {
|
|
1602
1602
|
super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
|
|
1603
1603
|
}
|
|
@@ -1617,7 +1617,7 @@ class w extends T {
|
|
|
1617
1617
|
}), h;
|
|
1618
1618
|
}
|
|
1619
1619
|
const { status: r, ctx: o } = this._processInputParams(t), { shape: i, keys: l } = this._getCached(), s = [];
|
|
1620
|
-
if (!(this._def.catchall instanceof
|
|
1620
|
+
if (!(this._def.catchall instanceof W && this._def.unknownKeys === "strip"))
|
|
1621
1621
|
for (const u in o.data)
|
|
1622
1622
|
l.includes(u) || s.push(u);
|
|
1623
1623
|
const m = [];
|
|
@@ -1625,11 +1625,11 @@ class w extends T {
|
|
|
1625
1625
|
const b = i[u], C = o.data[u];
|
|
1626
1626
|
m.push({
|
|
1627
1627
|
key: { status: "valid", value: u },
|
|
1628
|
-
value: b._parse(new
|
|
1628
|
+
value: b._parse(new O(o, C, o.path, u)),
|
|
1629
1629
|
alwaysSet: u in o.data
|
|
1630
1630
|
});
|
|
1631
1631
|
}
|
|
1632
|
-
if (this._def.catchall instanceof
|
|
1632
|
+
if (this._def.catchall instanceof W) {
|
|
1633
1633
|
const u = this._def.unknownKeys;
|
|
1634
1634
|
if (u === "passthrough")
|
|
1635
1635
|
for (const b of s)
|
|
@@ -1650,7 +1650,7 @@ class w extends T {
|
|
|
1650
1650
|
m.push({
|
|
1651
1651
|
key: { status: "valid", value: b },
|
|
1652
1652
|
value: u._parse(
|
|
1653
|
-
new
|
|
1653
|
+
new O(o, C, o.path, b)
|
|
1654
1654
|
//, ctx.child(key), value, getParsedType(value)
|
|
1655
1655
|
),
|
|
1656
1656
|
alwaysSet: b in o.data
|
|
@@ -1674,7 +1674,7 @@ class w extends T {
|
|
|
1674
1674
|
return this._def.shape();
|
|
1675
1675
|
}
|
|
1676
1676
|
strict(t) {
|
|
1677
|
-
return g.errToObj, new
|
|
1677
|
+
return g.errToObj, new k({
|
|
1678
1678
|
...this._def,
|
|
1679
1679
|
unknownKeys: "strict",
|
|
1680
1680
|
...t !== void 0 ? {
|
|
@@ -1691,13 +1691,13 @@ class w extends T {
|
|
|
1691
1691
|
});
|
|
1692
1692
|
}
|
|
1693
1693
|
strip() {
|
|
1694
|
-
return new
|
|
1694
|
+
return new k({
|
|
1695
1695
|
...this._def,
|
|
1696
1696
|
unknownKeys: "strip"
|
|
1697
1697
|
});
|
|
1698
1698
|
}
|
|
1699
1699
|
passthrough() {
|
|
1700
|
-
return new
|
|
1700
|
+
return new k({
|
|
1701
1701
|
...this._def,
|
|
1702
1702
|
unknownKeys: "passthrough"
|
|
1703
1703
|
});
|
|
@@ -1720,7 +1720,7 @@ class w extends T {
|
|
|
1720
1720
|
// }) as any;
|
|
1721
1721
|
// };
|
|
1722
1722
|
extend(t) {
|
|
1723
|
-
return new
|
|
1723
|
+
return new k({
|
|
1724
1724
|
...this._def,
|
|
1725
1725
|
shape: () => ({
|
|
1726
1726
|
...this._def.shape(),
|
|
@@ -1734,7 +1734,7 @@ class w extends T {
|
|
|
1734
1734
|
* upgrade if you are experiencing issues.
|
|
1735
1735
|
*/
|
|
1736
1736
|
merge(t) {
|
|
1737
|
-
return new
|
|
1737
|
+
return new k({
|
|
1738
1738
|
unknownKeys: t._def.unknownKeys,
|
|
1739
1739
|
catchall: t._def.catchall,
|
|
1740
1740
|
shape: () => ({
|
|
@@ -1804,7 +1804,7 @@ class w extends T {
|
|
|
1804
1804
|
// return merged;
|
|
1805
1805
|
// }
|
|
1806
1806
|
catchall(t) {
|
|
1807
|
-
return new
|
|
1807
|
+
return new k({
|
|
1808
1808
|
...this._def,
|
|
1809
1809
|
catchall: t
|
|
1810
1810
|
});
|
|
@@ -1813,7 +1813,7 @@ class w extends T {
|
|
|
1813
1813
|
const a = {};
|
|
1814
1814
|
return A.objectKeys(t).forEach((r) => {
|
|
1815
1815
|
t[r] && this.shape[r] && (a[r] = this.shape[r]);
|
|
1816
|
-
}), new
|
|
1816
|
+
}), new k({
|
|
1817
1817
|
...this._def,
|
|
1818
1818
|
shape: () => a
|
|
1819
1819
|
});
|
|
@@ -1822,7 +1822,7 @@ class w extends T {
|
|
|
1822
1822
|
const a = {};
|
|
1823
1823
|
return A.objectKeys(this.shape).forEach((r) => {
|
|
1824
1824
|
t[r] || (a[r] = this.shape[r]);
|
|
1825
|
-
}), new
|
|
1825
|
+
}), new k({
|
|
1826
1826
|
...this._def,
|
|
1827
1827
|
shape: () => a
|
|
1828
1828
|
});
|
|
@@ -1838,7 +1838,7 @@ class w extends T {
|
|
|
1838
1838
|
return A.objectKeys(this.shape).forEach((r) => {
|
|
1839
1839
|
const o = this.shape[r];
|
|
1840
1840
|
t && !t[r] ? a[r] = o : a[r] = o.optional();
|
|
1841
|
-
}), new
|
|
1841
|
+
}), new k({
|
|
1842
1842
|
...this._def,
|
|
1843
1843
|
shape: () => a
|
|
1844
1844
|
});
|
|
@@ -1854,7 +1854,7 @@ class w extends T {
|
|
|
1854
1854
|
i = i._def.innerType;
|
|
1855
1855
|
a[r] = i;
|
|
1856
1856
|
}
|
|
1857
|
-
}), new
|
|
1857
|
+
}), new k({
|
|
1858
1858
|
...this._def,
|
|
1859
1859
|
shape: () => a
|
|
1860
1860
|
});
|
|
@@ -1863,24 +1863,24 @@ class w extends T {
|
|
|
1863
1863
|
return qa(A.objectKeys(this.shape));
|
|
1864
1864
|
}
|
|
1865
1865
|
}
|
|
1866
|
-
|
|
1866
|
+
k.create = (n, t) => new k({
|
|
1867
1867
|
shape: () => n,
|
|
1868
1868
|
unknownKeys: "strip",
|
|
1869
|
-
catchall:
|
|
1869
|
+
catchall: W.create(),
|
|
1870
1870
|
typeName: f.ZodObject,
|
|
1871
1871
|
...j(t)
|
|
1872
1872
|
});
|
|
1873
|
-
|
|
1873
|
+
k.strictCreate = (n, t) => new k({
|
|
1874
1874
|
shape: () => n,
|
|
1875
1875
|
unknownKeys: "strict",
|
|
1876
|
-
catchall:
|
|
1876
|
+
catchall: W.create(),
|
|
1877
1877
|
typeName: f.ZodObject,
|
|
1878
1878
|
...j(t)
|
|
1879
1879
|
});
|
|
1880
|
-
|
|
1880
|
+
k.lazycreate = (n, t) => new k({
|
|
1881
1881
|
shape: n,
|
|
1882
1882
|
unknownKeys: "strip",
|
|
1883
|
-
catchall:
|
|
1883
|
+
catchall: W.create(),
|
|
1884
1884
|
typeName: f.ZodObject,
|
|
1885
1885
|
...j(t)
|
|
1886
1886
|
});
|
|
@@ -1957,7 +1957,7 @@ Ie.create = (n, t) => new Ie({
|
|
|
1957
1957
|
typeName: f.ZodUnion,
|
|
1958
1958
|
...j(t)
|
|
1959
1959
|
});
|
|
1960
|
-
const
|
|
1960
|
+
const F = (n) => n instanceof Ze ? F(n.schema) : n instanceof N ? F(n.innerType()) : n instanceof Ue ? [n.value] : n instanceof X ? n.options : n instanceof ze ? A.objectValues(n.enum) : n instanceof Fe ? F(n._def.innerType) : n instanceof Be ? [void 0] : n instanceof Ne ? [null] : n instanceof M ? [void 0, ...F(n.unwrap())] : n instanceof ee ? [null, ...F(n.unwrap())] : n instanceof Ut || n instanceof Ve ? F(n.unwrap()) : n instanceof Ge ? F(n._def.innerType) : [];
|
|
1961
1961
|
class ft extends T {
|
|
1962
1962
|
_parse(t) {
|
|
1963
1963
|
const { ctx: a } = this._processInputParams(t);
|
|
@@ -2002,7 +2002,7 @@ class ft extends T {
|
|
|
2002
2002
|
static create(t, a, r) {
|
|
2003
2003
|
const o = /* @__PURE__ */ new Map();
|
|
2004
2004
|
for (const i of a) {
|
|
2005
|
-
const l =
|
|
2005
|
+
const l = F(i.shape[t]);
|
|
2006
2006
|
if (!l.length)
|
|
2007
2007
|
throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);
|
|
2008
2008
|
for (const s of l) {
|
|
@@ -2021,7 +2021,7 @@ class ft extends T {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
}
|
|
2023
2023
|
function Zt(n, t) {
|
|
2024
|
-
const a =
|
|
2024
|
+
const a = V(n), r = V(t);
|
|
2025
2025
|
if (n === t)
|
|
2026
2026
|
return { valid: !0, data: n };
|
|
2027
2027
|
if (a === p.object && r === p.object) {
|
|
@@ -2084,7 +2084,7 @@ Me.create = (n, t, a) => new Me({
|
|
|
2084
2084
|
typeName: f.ZodIntersection,
|
|
2085
2085
|
...j(a)
|
|
2086
2086
|
});
|
|
2087
|
-
class
|
|
2087
|
+
class Z extends T {
|
|
2088
2088
|
_parse(t) {
|
|
2089
2089
|
const { status: a, ctx: r } = this._processInputParams(t);
|
|
2090
2090
|
if (r.parsedType !== p.array)
|
|
@@ -2110,7 +2110,7 @@ class U extends T {
|
|
|
2110
2110
|
}), a.dirty());
|
|
2111
2111
|
const i = [...r.data].map((l, s) => {
|
|
2112
2112
|
const m = this._def.items[s] || this._def.rest;
|
|
2113
|
-
return m ? m._parse(new
|
|
2113
|
+
return m ? m._parse(new O(r, l, r.path, s)) : null;
|
|
2114
2114
|
}).filter((l) => !!l);
|
|
2115
2115
|
return r.common.async ? Promise.all(i).then((l) => x.mergeArray(a, l)) : x.mergeArray(a, i);
|
|
2116
2116
|
}
|
|
@@ -2118,16 +2118,16 @@ class U extends T {
|
|
|
2118
2118
|
return this._def.items;
|
|
2119
2119
|
}
|
|
2120
2120
|
rest(t) {
|
|
2121
|
-
return new
|
|
2121
|
+
return new Z({
|
|
2122
2122
|
...this._def,
|
|
2123
2123
|
rest: t
|
|
2124
2124
|
});
|
|
2125
2125
|
}
|
|
2126
2126
|
}
|
|
2127
|
-
|
|
2127
|
+
Z.create = (n, t) => {
|
|
2128
2128
|
if (!Array.isArray(n))
|
|
2129
2129
|
throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
|
|
2130
|
-
return new
|
|
2130
|
+
return new Z({
|
|
2131
2131
|
items: n,
|
|
2132
2132
|
typeName: f.ZodTuple,
|
|
2133
2133
|
rest: null,
|
|
@@ -2152,8 +2152,8 @@ class Oe extends T {
|
|
|
2152
2152
|
const o = [], i = this._def.keyType, l = this._def.valueType;
|
|
2153
2153
|
for (const s in r.data)
|
|
2154
2154
|
o.push({
|
|
2155
|
-
key: i._parse(new
|
|
2156
|
-
value: l._parse(new
|
|
2155
|
+
key: i._parse(new O(r, s, r.path, s)),
|
|
2156
|
+
value: l._parse(new O(r, r.data[s], r.path, s)),
|
|
2157
2157
|
alwaysSet: s in r.data
|
|
2158
2158
|
});
|
|
2159
2159
|
return r.common.async ? x.mergeObjectAsync(a, o) : x.mergeObjectSync(a, o);
|
|
@@ -2191,8 +2191,8 @@ class pt extends T {
|
|
|
2191
2191
|
received: r.parsedType
|
|
2192
2192
|
}), h;
|
|
2193
2193
|
const o = this._def.keyType, i = this._def.valueType, l = [...r.data.entries()].map(([s, m], u) => ({
|
|
2194
|
-
key: o._parse(new
|
|
2195
|
-
value: i._parse(new
|
|
2194
|
+
key: o._parse(new O(r, s, r.path, [u, "key"])),
|
|
2195
|
+
value: i._parse(new O(r, m, r.path, [u, "value"]))
|
|
2196
2196
|
}));
|
|
2197
2197
|
if (r.common.async) {
|
|
2198
2198
|
const s = /* @__PURE__ */ new Map();
|
|
@@ -2258,7 +2258,7 @@ class ie extends T {
|
|
|
2258
2258
|
}
|
|
2259
2259
|
return { status: a.value, value: u };
|
|
2260
2260
|
}
|
|
2261
|
-
const s = [...r.data.values()].map((m, u) => i._parse(new
|
|
2261
|
+
const s = [...r.data.values()].map((m, u) => i._parse(new O(r, m, r.path, u)));
|
|
2262
2262
|
return r.common.async ? Promise.all(s).then((m) => l(m)) : l(s);
|
|
2263
2263
|
}
|
|
2264
2264
|
min(t, a) {
|
|
@@ -2364,7 +2364,7 @@ class pe extends T {
|
|
|
2364
2364
|
args(...t) {
|
|
2365
2365
|
return new pe({
|
|
2366
2366
|
...this._def,
|
|
2367
|
-
args:
|
|
2367
|
+
args: Z.create(t).rest(ne.create())
|
|
2368
2368
|
});
|
|
2369
2369
|
}
|
|
2370
2370
|
returns(t) {
|
|
@@ -2381,7 +2381,7 @@ class pe extends T {
|
|
|
2381
2381
|
}
|
|
2382
2382
|
static create(t, a, r) {
|
|
2383
2383
|
return new pe({
|
|
2384
|
-
args: t ||
|
|
2384
|
+
args: t || Z.create([]).rest(ne.create()),
|
|
2385
2385
|
returns: a || ne.create(),
|
|
2386
2386
|
typeName: f.ZodFunction,
|
|
2387
2387
|
...j(r)
|
|
@@ -2820,7 +2820,7 @@ function Pa(n, t = {}, a) {
|
|
|
2820
2820
|
}) : ye.create();
|
|
2821
2821
|
}
|
|
2822
2822
|
const Dr = {
|
|
2823
|
-
object:
|
|
2823
|
+
object: k.lazycreate
|
|
2824
2824
|
};
|
|
2825
2825
|
var f;
|
|
2826
2826
|
(function(n) {
|
|
@@ -2828,7 +2828,7 @@ var f;
|
|
|
2828
2828
|
})(f || (f = {}));
|
|
2829
2829
|
const qr = (n, t = {
|
|
2830
2830
|
message: `Input not instance of ${n.name}`
|
|
2831
|
-
}) => Pa((a) => a instanceof n, t), Ba = P.create, Na = J.create, Pr = gt.create, Br = Y.create, Ia = Pe.create, Nr = oe.create, Ir = ut.create, Mr = Be.create, Or = Ne.create, Zr = ye.create, Ur = ne.create, zr =
|
|
2831
|
+
}) => Pa((a) => a instanceof n, t), Ba = P.create, Na = J.create, Pr = gt.create, Br = Y.create, Ia = Pe.create, Nr = oe.create, Ir = ut.create, Mr = Be.create, Or = Ne.create, Zr = ye.create, Ur = ne.create, zr = W.create, Fr = mt.create, Gr = B.create, Vr = k.create, $r = k.strictCreate, Wr = Ie.create, Kr = ft.create, Qr = Me.create, Hr = Z.create, Jr = Oe.create, Yr = pt.create, Xr = ie.create, eo = pe.create, to = Ze.create, ao = Ue.create, no = X.create, ro = ze.create, oo = fe.create, va = N.create, io = M.create, lo = ee.create, so = N.createWithPreprocess, co = Qe.create, uo = () => Ba().optional(), mo = () => Na().optional(), po = () => Ia().optional(), go = {
|
|
2832
2832
|
string: (n) => P.create({ ...n, coerce: !0 }),
|
|
2833
2833
|
number: (n) => J.create({ ...n, coerce: !0 }),
|
|
2834
2834
|
boolean: (n) => Pe.create({
|
|
@@ -2861,7 +2861,7 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
2861
2861
|
return It;
|
|
2862
2862
|
},
|
|
2863
2863
|
ZodParsedType: p,
|
|
2864
|
-
getParsedType:
|
|
2864
|
+
getParsedType: V,
|
|
2865
2865
|
ZodType: T,
|
|
2866
2866
|
datetimeRegex: Da,
|
|
2867
2867
|
ZodString: P,
|
|
@@ -2874,14 +2874,14 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
2874
2874
|
ZodNull: Ne,
|
|
2875
2875
|
ZodAny: ye,
|
|
2876
2876
|
ZodUnknown: ne,
|
|
2877
|
-
ZodNever:
|
|
2877
|
+
ZodNever: W,
|
|
2878
2878
|
ZodVoid: mt,
|
|
2879
2879
|
ZodArray: B,
|
|
2880
|
-
ZodObject:
|
|
2880
|
+
ZodObject: k,
|
|
2881
2881
|
ZodUnion: Ie,
|
|
2882
2882
|
ZodDiscriminatedUnion: ft,
|
|
2883
2883
|
ZodIntersection: Me,
|
|
2884
|
-
ZodTuple:
|
|
2884
|
+
ZodTuple: Z,
|
|
2885
2885
|
ZodRecord: Oe,
|
|
2886
2886
|
ZodMap: pt,
|
|
2887
2887
|
ZodSet: ie,
|
|
@@ -4233,7 +4233,7 @@ const zo = e.object({
|
|
|
4233
4233
|
table: e.string(),
|
|
4234
4234
|
column: e.string(),
|
|
4235
4235
|
where: e.record(Do)
|
|
4236
|
-
}),
|
|
4236
|
+
}), U = e.object({
|
|
4237
4237
|
displayName: e.string(),
|
|
4238
4238
|
type: e.string(),
|
|
4239
4239
|
scope: e.string(),
|
|
@@ -4361,7 +4361,7 @@ const ni = e.object({
|
|
|
4361
4361
|
displayName: e.string(),
|
|
4362
4362
|
extend: e.string(),
|
|
4363
4363
|
defaultSearchable: e.boolean(),
|
|
4364
|
-
data: e.record(
|
|
4364
|
+
data: e.record(U),
|
|
4365
4365
|
defaultInvoiceDocument: e.string(),
|
|
4366
4366
|
numberingPlan: e.string(),
|
|
4367
4367
|
invoiceNumberingPlan: e.string(),
|
|
@@ -4373,7 +4373,7 @@ const ni = e.object({
|
|
|
4373
4373
|
displayName: e.string(),
|
|
4374
4374
|
extend: e.string(),
|
|
4375
4375
|
defaultSearchable: e.boolean(),
|
|
4376
|
-
data: e.record(
|
|
4376
|
+
data: e.record(U),
|
|
4377
4377
|
abstract: e.boolean()
|
|
4378
4378
|
}), ii = e.object({
|
|
4379
4379
|
type: e.union([
|
|
@@ -4383,18 +4383,18 @@ const ni = e.object({
|
|
|
4383
4383
|
]),
|
|
4384
4384
|
displayName: e.string(),
|
|
4385
4385
|
options: e.record(Bo),
|
|
4386
|
-
value:
|
|
4386
|
+
value: U,
|
|
4387
4387
|
availability: bt.optional()
|
|
4388
4388
|
}), li = e.object({
|
|
4389
4389
|
displayName: e.string(),
|
|
4390
4390
|
extend: e.string(),
|
|
4391
|
-
data: e.record(
|
|
4391
|
+
data: e.record(U),
|
|
4392
4392
|
defaultSearchable: e.boolean(),
|
|
4393
4393
|
abstract: e.boolean()
|
|
4394
4394
|
}), $a = e.object({
|
|
4395
4395
|
displayName: e.string(),
|
|
4396
4396
|
extend: e.string(),
|
|
4397
|
-
data: e.record(
|
|
4397
|
+
data: e.record(U),
|
|
4398
4398
|
numberingPlan: e.string(),
|
|
4399
4399
|
abstract: e.boolean()
|
|
4400
4400
|
}), Wa = e.object({
|
|
@@ -4456,21 +4456,21 @@ const ni = e.object({
|
|
|
4456
4456
|
contents: e.array(e.string()),
|
|
4457
4457
|
charges: e.array(e.string()),
|
|
4458
4458
|
defaultSearchable: e.boolean(),
|
|
4459
|
-
data: e.record(
|
|
4459
|
+
data: e.record(U),
|
|
4460
4460
|
availability: bt.optional(),
|
|
4461
4461
|
abstract: e.boolean()
|
|
4462
4462
|
}), si = e.object({
|
|
4463
4463
|
extend: e.string(),
|
|
4464
4464
|
lossType: e.string(),
|
|
4465
4465
|
defaultSearchable: e.boolean(),
|
|
4466
|
-
data: e.record(
|
|
4466
|
+
data: e.record(U),
|
|
4467
4467
|
numberingPlan: e.string(),
|
|
4468
4468
|
contacts: e.record(e.array(e.string())),
|
|
4469
4469
|
abstract: e.boolean()
|
|
4470
4470
|
}), ci = e.object({
|
|
4471
4471
|
displayName: e.string(),
|
|
4472
4472
|
extend: e.string(),
|
|
4473
|
-
data: e.record(
|
|
4473
|
+
data: e.record(U),
|
|
4474
4474
|
abstract: e.boolean()
|
|
4475
4475
|
}), di = e.object({
|
|
4476
4476
|
extend: e.string(),
|
|
@@ -4495,8 +4495,8 @@ const ni = e.object({
|
|
|
4495
4495
|
contents: e.array(e.string()),
|
|
4496
4496
|
documents: e.array(e.string()),
|
|
4497
4497
|
charges: e.array(e.string()),
|
|
4498
|
-
data: e.record(
|
|
4499
|
-
staticData: e.record(
|
|
4498
|
+
data: e.record(U),
|
|
4499
|
+
staticData: e.record(U),
|
|
4500
4500
|
defaultSearchable: e.boolean(),
|
|
4501
4501
|
pluralType: e.string(),
|
|
4502
4502
|
defaultBillingTrigger: e.union([e.literal("accept"), e.literal("issue")]),
|
|
@@ -4691,7 +4691,7 @@ const ui = e.enum(["none", "required", "excluded"]), Ka = e.enum([
|
|
|
4691
4691
|
"text/html",
|
|
4692
4692
|
"text/plain"
|
|
4693
4693
|
]);
|
|
4694
|
-
var
|
|
4694
|
+
var G = /* @__PURE__ */ ((n) => (n.applicationJson = "application/json", n.applicationOctetStream = "application/octet-stream", n.applicationPdf = "application/pdf", n.applicationZip = "application/zip", n.applicationZipWindows = "application/x-zip-compressed", n.imageJpg = "image/jpeg", n.imagePng = "image/png", n.imageSvg = "image/svg+xml", n.javaSource = "text/x-java-source", n.multipartFormData = "multipart/form-data", n.textCsv = "text/csv", n.textHtml = "text/html", n.text = "text/plain", n))(G || {});
|
|
4695
4695
|
const Kt = e.enum([
|
|
4696
4696
|
"quote",
|
|
4697
4697
|
"policy",
|
|
@@ -7330,8 +7330,8 @@ e.object({
|
|
|
7330
7330
|
quoteEvents: sl.optional(),
|
|
7331
7331
|
transactionEvents: cl.optional()
|
|
7332
7332
|
});
|
|
7333
|
-
const At = e.string().uuid(), v = e.string().ulid(), y = e.string().datetime(), Sd = e.string().datetime({ offset: !0 }),
|
|
7334
|
-
function
|
|
7333
|
+
const At = e.string().uuid(), v = e.string().ulid(), y = e.string().datetime(), Sd = e.string().datetime({ offset: !0 }), z = e.record(e.string(), e.string()), _ = e.record(e.string(), e.any()), Te = At, w = At, nt = v, te = v, Ae = v, $ = v, lt = v, jd = v, ca = v, Rn = v, Ke = v, dl = v, En = v, Cn = v, Dn = v;
|
|
7334
|
+
function K(n) {
|
|
7335
7335
|
return e.object({
|
|
7336
7336
|
listCompleted: e.boolean(),
|
|
7337
7337
|
items: e.array(n)
|
|
@@ -7357,18 +7357,18 @@ const ml = _n.merge(
|
|
|
7357
7357
|
})
|
|
7358
7358
|
), _d = na.merge(
|
|
7359
7359
|
e.object({
|
|
7360
|
-
locator:
|
|
7360
|
+
locator: w,
|
|
7361
7361
|
tenants: e.array(e.string()).optional(),
|
|
7362
7362
|
permissions: e.array(e.string()).optional()
|
|
7363
7363
|
})
|
|
7364
|
-
),
|
|
7365
|
-
locator:
|
|
7364
|
+
), H = e.object({
|
|
7365
|
+
locator: w,
|
|
7366
7366
|
userName: e.string(),
|
|
7367
7367
|
firstName: e.string().optional(),
|
|
7368
7368
|
lastName: e.string().optional()
|
|
7369
7369
|
}), wd = e.object({
|
|
7370
7370
|
listCompleted: e.boolean(),
|
|
7371
|
-
items: e.array(
|
|
7371
|
+
items: e.array(H)
|
|
7372
7372
|
}), kd = e.object({
|
|
7373
7373
|
firstName: e.string(),
|
|
7374
7374
|
lastName: e.string(),
|
|
@@ -7382,7 +7382,7 @@ const ml = _n.merge(
|
|
|
7382
7382
|
...Xa.shape,
|
|
7383
7383
|
deadlineTime: y,
|
|
7384
7384
|
references: e.array(yt),
|
|
7385
|
-
assignedTo:
|
|
7385
|
+
assignedTo: H.optional()
|
|
7386
7386
|
}), xd = e.object({
|
|
7387
7387
|
...en.shape,
|
|
7388
7388
|
deadlineTime: y.optional(),
|
|
@@ -7395,12 +7395,12 @@ const ml = _n.merge(
|
|
|
7395
7395
|
references: e.array(yt).optional(),
|
|
7396
7396
|
underwritingFlagLocators: e.array(e.string()).optional(),
|
|
7397
7397
|
deadlineTime: y.optional(),
|
|
7398
|
-
assignedTo:
|
|
7399
|
-
createdBy:
|
|
7398
|
+
assignedTo: H.optional(),
|
|
7399
|
+
createdBy: H,
|
|
7400
7400
|
createdAt: y,
|
|
7401
|
-
updatedBy:
|
|
7401
|
+
updatedBy: H.optional(),
|
|
7402
7402
|
updatedAt: y.optional()
|
|
7403
|
-
}), Ld =
|
|
7403
|
+
}), Ld = K(qn), gl = e.object({
|
|
7404
7404
|
...Ua.shape
|
|
7405
7405
|
}), Pn = e.object({
|
|
7406
7406
|
locator: e.string(),
|
|
@@ -7409,11 +7409,11 @@ const ml = _n.merge(
|
|
|
7409
7409
|
activityState: Ya,
|
|
7410
7410
|
underwritingFlagLocators: e.array(e.string()),
|
|
7411
7411
|
deadlineTime: e.string(),
|
|
7412
|
-
assignedTo:
|
|
7413
|
-
createdBy:
|
|
7412
|
+
assignedTo: w.optional(),
|
|
7413
|
+
createdBy: w,
|
|
7414
7414
|
createdAt: e.string()
|
|
7415
7415
|
}), yl = Pn.extend({
|
|
7416
|
-
updatedBy:
|
|
7416
|
+
updatedBy: w.optional(),
|
|
7417
7417
|
updatedAt: e.string()
|
|
7418
7418
|
}), Rd = e.object({
|
|
7419
7419
|
listCompleted: e.boolean(),
|
|
@@ -7425,21 +7425,21 @@ const ml = _n.merge(
|
|
|
7425
7425
|
)
|
|
7426
7426
|
}), fl = an.merge(
|
|
7427
7427
|
e.object({
|
|
7428
|
-
userLocator:
|
|
7428
|
+
userLocator: w,
|
|
7429
7429
|
referenceType: ea
|
|
7430
7430
|
})
|
|
7431
7431
|
), hl = tn.merge(
|
|
7432
7432
|
e.object({
|
|
7433
7433
|
locator: Cn,
|
|
7434
|
-
userLocator:
|
|
7434
|
+
userLocator: w,
|
|
7435
7435
|
referenceType: ea,
|
|
7436
7436
|
assignmentState: Ri,
|
|
7437
|
-
createdBy:
|
|
7437
|
+
createdBy: w,
|
|
7438
7438
|
createdAt: y,
|
|
7439
|
-
updatedBy:
|
|
7439
|
+
updatedBy: w.optional(),
|
|
7440
7440
|
updatedAt: y.optional()
|
|
7441
7441
|
})
|
|
7442
|
-
), Ed =
|
|
7442
|
+
), Ed = K(hl), bl = za.merge(e.object({
|
|
7443
7443
|
appliesTo: e.array(
|
|
7444
7444
|
ea
|
|
7445
7445
|
),
|
|
@@ -7835,7 +7835,7 @@ const ml = _n.merge(
|
|
|
7835
7835
|
originalEffectiveTime: y.optional(),
|
|
7836
7836
|
category: hi.optional(),
|
|
7837
7837
|
data: _.optional(),
|
|
7838
|
-
coverageTerms:
|
|
7838
|
+
coverageTerms: z.optional()
|
|
7839
7839
|
// elements: recursive so we add it via .extend() and .lazy()
|
|
7840
7840
|
}), In = is.extend({
|
|
7841
7841
|
elements: e.lazy(() => In.array().optional())
|
|
@@ -7844,7 +7844,7 @@ const ml = _n.merge(
|
|
|
7844
7844
|
staticLocator: v.optional(),
|
|
7845
7845
|
parentLocator: te,
|
|
7846
7846
|
data: _,
|
|
7847
|
-
coverageTerms:
|
|
7847
|
+
coverageTerms: z
|
|
7848
7848
|
}), pa = ls.extend({
|
|
7849
7849
|
elements: e.lazy(() => pa.array().optional())
|
|
7850
7850
|
}), ss = jt.merge(
|
|
@@ -7852,7 +7852,7 @@ const ml = _n.merge(
|
|
|
7852
7852
|
locator: te,
|
|
7853
7853
|
setData: _,
|
|
7854
7854
|
removeData: _,
|
|
7855
|
-
setCoverageTerms:
|
|
7855
|
+
setCoverageTerms: z,
|
|
7856
7856
|
removeCoverageTerms: _
|
|
7857
7857
|
})
|
|
7858
7858
|
), cs = je.merge(
|
|
@@ -7872,7 +7872,7 @@ const ml = _n.merge(
|
|
|
7872
7872
|
issuedTransactionLocator: v,
|
|
7873
7873
|
durationBasis: Je,
|
|
7874
7874
|
createdAt: y,
|
|
7875
|
-
createdBy:
|
|
7875
|
+
createdBy: w,
|
|
7876
7876
|
startTime: y,
|
|
7877
7877
|
endTime: y,
|
|
7878
7878
|
billingTrigger: He,
|
|
@@ -7880,7 +7880,7 @@ const ml = _n.merge(
|
|
|
7880
7880
|
latestSegmentLocator: v,
|
|
7881
7881
|
static: _
|
|
7882
7882
|
})
|
|
7883
|
-
), zd =
|
|
7883
|
+
), zd = K(Mn), Fd = oa.merge(
|
|
7884
7884
|
e.object({
|
|
7885
7885
|
setData: _,
|
|
7886
7886
|
removeData: _
|
|
@@ -8520,9 +8520,9 @@ const ml = _n.merge(
|
|
|
8520
8520
|
e.object({
|
|
8521
8521
|
locator: v,
|
|
8522
8522
|
createdAt: y,
|
|
8523
|
-
createdBy:
|
|
8523
|
+
createdBy: w
|
|
8524
8524
|
})
|
|
8525
|
-
), Bu = dn.merge(e.object({})), Nu =
|
|
8525
|
+
), Bu = dn.merge(e.object({})), Nu = K(zs), Iu = mn.merge(
|
|
8526
8526
|
e.object({})
|
|
8527
8527
|
), Mu = pn.merge(e.object({})), Fs = e.enum([
|
|
8528
8528
|
"test",
|
|
@@ -8535,7 +8535,7 @@ const ml = _n.merge(
|
|
|
8535
8535
|
type: Fs,
|
|
8536
8536
|
createdAt: y,
|
|
8537
8537
|
updatedAt: y,
|
|
8538
|
-
createdBy:
|
|
8538
|
+
createdBy: w,
|
|
8539
8539
|
description: e.string().optional()
|
|
8540
8540
|
})
|
|
8541
8541
|
), Ou = e.object({
|
|
@@ -8548,7 +8548,7 @@ const ml = _n.merge(
|
|
|
8548
8548
|
version1: v,
|
|
8549
8549
|
version2: v,
|
|
8550
8550
|
latestVersion: v,
|
|
8551
|
-
plugins: e.record(e.string(),
|
|
8551
|
+
plugins: e.record(e.string(), z)
|
|
8552
8552
|
})
|
|
8553
8553
|
), Ks = Wt.merge(
|
|
8554
8554
|
e.object({ metadata: Ws })
|
|
@@ -8810,7 +8810,7 @@ const $n = Qs.merge(
|
|
|
8810
8810
|
referenceLocator: lt,
|
|
8811
8811
|
referenceType: Kt,
|
|
8812
8812
|
referenceDocumentLocator: lt.optional(),
|
|
8813
|
-
transactionLocator:
|
|
8813
|
+
transactionLocator: $.optional(),
|
|
8814
8814
|
segmentLocator: ca.optional(),
|
|
8815
8815
|
termLocator: Rn.optional(),
|
|
8816
8816
|
policyLocator: Ae.optional(),
|
|
@@ -8818,11 +8818,11 @@ const $n = Qs.merge(
|
|
|
8818
8818
|
documentFormat: Jt.optional(),
|
|
8819
8819
|
metadata: _.optional(),
|
|
8820
8820
|
createdAt: y,
|
|
8821
|
-
createdBy:
|
|
8821
|
+
createdBy: w,
|
|
8822
8822
|
readyAt: y.optional(),
|
|
8823
8823
|
renderingData: _.optional()
|
|
8824
8824
|
})
|
|
8825
|
-
), Gu =
|
|
8825
|
+
), Gu = K($n), Vu = e.object({
|
|
8826
8826
|
tenantLocator: Te
|
|
8827
8827
|
}), Js = e.object({
|
|
8828
8828
|
category: e.string().optional(),
|
|
@@ -8833,7 +8833,7 @@ const $n = Qs.merge(
|
|
|
8833
8833
|
referenceType: Kt,
|
|
8834
8834
|
segmentLocator: ca.optional(),
|
|
8835
8835
|
staticName: e.string().optional(),
|
|
8836
|
-
transactionLocator:
|
|
8836
|
+
transactionLocator: $.optional()
|
|
8837
8837
|
}), Ys = e.object({
|
|
8838
8838
|
name: e.string(),
|
|
8839
8839
|
filename: e.string(),
|
|
@@ -8841,14 +8841,14 @@ const $n = Qs.merge(
|
|
|
8841
8841
|
buffer: e.instanceof(Buffer)
|
|
8842
8842
|
}), Xs = e.object({
|
|
8843
8843
|
mimetype: e.enum([
|
|
8844
|
-
|
|
8845
|
-
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8844
|
+
G.text,
|
|
8845
|
+
G.textHtml,
|
|
8846
|
+
G.textCsv,
|
|
8847
|
+
G.imageJpg,
|
|
8848
|
+
G.applicationPdf,
|
|
8849
|
+
G.applicationZip,
|
|
8850
|
+
G.applicationZipWindows,
|
|
8851
|
+
G.applicationOctetStream
|
|
8852
8852
|
])
|
|
8853
8853
|
}).merge(Ys), $u = e.object({
|
|
8854
8854
|
document: Xs
|
|
@@ -8997,7 +8997,7 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
8997
8997
|
staticLocator: v,
|
|
8998
8998
|
setData: _,
|
|
8999
8999
|
removeData: _,
|
|
9000
|
-
setCoverageTerms:
|
|
9000
|
+
setCoverageTerms: z,
|
|
9001
9001
|
removeCoverageTerms: _
|
|
9002
9002
|
})
|
|
9003
9003
|
), Hn = wt.merge(
|
|
@@ -9016,7 +9016,7 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9016
9016
|
Hn,
|
|
9017
9017
|
dc
|
|
9018
9018
|
]), ka = e.object({
|
|
9019
|
-
locator:
|
|
9019
|
+
locator: $,
|
|
9020
9020
|
policyLocator: Ae,
|
|
9021
9021
|
termLocator: Rn,
|
|
9022
9022
|
effectiveTime: y,
|
|
@@ -9024,9 +9024,9 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9024
9024
|
transactionCategory: Qt,
|
|
9025
9025
|
transactionType: e.string(),
|
|
9026
9026
|
createdAt: y,
|
|
9027
|
-
createdBy:
|
|
9028
|
-
aggregateTransactionLocator:
|
|
9029
|
-
baseTransactionLocator:
|
|
9027
|
+
createdBy: w,
|
|
9028
|
+
aggregateTransactionLocator: $.optional(),
|
|
9029
|
+
baseTransactionLocator: $.optional(),
|
|
9030
9030
|
issuedTime: y.optional(),
|
|
9031
9031
|
acceptedTime: y.optional(),
|
|
9032
9032
|
preferences: _e.optional(),
|
|
@@ -9038,7 +9038,7 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9038
9038
|
e.object({
|
|
9039
9039
|
aggregatedTransactions: e.array(ka)
|
|
9040
9040
|
})
|
|
9041
|
-
), Xu =
|
|
9041
|
+
), Xu = K(uc), em = e.array(
|
|
9042
9042
|
kt
|
|
9043
9043
|
), tm = e.array(
|
|
9044
9044
|
kt
|
|
@@ -9048,9 +9048,9 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9048
9048
|
mc
|
|
9049
9049
|
), rm = vn.merge(
|
|
9050
9050
|
e.object({
|
|
9051
|
-
toTransaction:
|
|
9052
|
-
reverseTransactions: e.array(
|
|
9053
|
-
baseLocator:
|
|
9051
|
+
toTransaction: $,
|
|
9052
|
+
reverseTransactions: e.array($),
|
|
9053
|
+
baseLocator: $
|
|
9054
9054
|
})
|
|
9055
9055
|
), pc = e.object({
|
|
9056
9056
|
locator: v,
|
|
@@ -9068,9 +9068,9 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9068
9068
|
referenceLocator: v,
|
|
9069
9069
|
referenceType: Si,
|
|
9070
9070
|
level: Ja,
|
|
9071
|
-
createdBy:
|
|
9071
|
+
createdBy: w,
|
|
9072
9072
|
createdTime: y,
|
|
9073
|
-
clearedBy:
|
|
9073
|
+
clearedBy: w,
|
|
9074
9074
|
clearedTime: y,
|
|
9075
9075
|
elementLocator: te.optional()
|
|
9076
9076
|
})
|
|
@@ -9099,7 +9099,7 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9099
9099
|
})
|
|
9100
9100
|
), im = el.merge(
|
|
9101
9101
|
e.object({
|
|
9102
|
-
transactionLocator:
|
|
9102
|
+
transactionLocator: $,
|
|
9103
9103
|
clearedFlags: e.array(be),
|
|
9104
9104
|
flags: e.array(be)
|
|
9105
9105
|
})
|
|
@@ -9122,7 +9122,7 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9122
9122
|
acceptedTime: y.optional(),
|
|
9123
9123
|
expirationTime: y.optional()
|
|
9124
9124
|
})
|
|
9125
|
-
), lm =
|
|
9125
|
+
), lm = K(bc), sm = Sn.merge(
|
|
9126
9126
|
e.object({
|
|
9127
9127
|
accountLocator: nt,
|
|
9128
9128
|
data: _,
|
|
@@ -9133,7 +9133,7 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9133
9133
|
billingLevel: Se.optional(),
|
|
9134
9134
|
preferences: _e.optional(),
|
|
9135
9135
|
static: _.optional(),
|
|
9136
|
-
coverageTerms:
|
|
9136
|
+
coverageTerms: z.optional(),
|
|
9137
9137
|
// deprecated
|
|
9138
9138
|
billingTrigger: He.optional(),
|
|
9139
9139
|
elements: e.array(pa)
|
|
@@ -9150,7 +9150,7 @@ const rc = e.string().uuid(), Qu = e.object({
|
|
|
9150
9150
|
removeCoverageTerms: _,
|
|
9151
9151
|
removeData: _,
|
|
9152
9152
|
// NOTE: this looks sus, every other property is map<string,object> not <string,string>
|
|
9153
|
-
setCoverageTerms:
|
|
9153
|
+
setCoverageTerms: z,
|
|
9154
9154
|
setData: _,
|
|
9155
9155
|
elements: e.array(ss)
|
|
9156
9156
|
})
|
|
@@ -10736,12 +10736,12 @@ const Lt = R.merge(
|
|
|
10736
10736
|
disbursementState: Ai,
|
|
10737
10737
|
data: _,
|
|
10738
10738
|
createdAt: y,
|
|
10739
|
-
createdBy:
|
|
10739
|
+
createdBy: w,
|
|
10740
10740
|
sources: e.array(Lt),
|
|
10741
10741
|
accountLocator: nt.optional(),
|
|
10742
10742
|
validationResult: da.optional()
|
|
10743
10743
|
})
|
|
10744
|
-
), ym =
|
|
10744
|
+
), ym = K(od), fm = xt.merge(
|
|
10745
10745
|
e.object({
|
|
10746
10746
|
data: _,
|
|
10747
10747
|
sources: e.array(Lt),
|
|
@@ -10906,10 +10906,13 @@ const ir = e.object({
|
|
|
10906
10906
|
referenceType: Ei,
|
|
10907
10907
|
diaryState: Ci,
|
|
10908
10908
|
createdAt: y,
|
|
10909
|
-
createdBy:
|
|
10909
|
+
createdBy: w,
|
|
10910
10910
|
updatedAt: y,
|
|
10911
|
-
updatedBy:
|
|
10912
|
-
}), Sm = e.
|
|
10911
|
+
updatedBy: w.optional()
|
|
10912
|
+
}), Sm = e.object({
|
|
10913
|
+
listComplete: e.boolean(),
|
|
10914
|
+
items: e.array(dd)
|
|
10915
|
+
}), jm = e.object({
|
|
10913
10916
|
...pl.shape,
|
|
10914
10917
|
diaryNote: ir.optional(),
|
|
10915
10918
|
userAssignment: fl.omit({
|
|
@@ -10917,69 +10920,69 @@ const ir = e.object({
|
|
|
10917
10920
|
referenceLocator: !0
|
|
10918
10921
|
}).optional()
|
|
10919
10922
|
}), Nt = e.object({
|
|
10920
|
-
locator:
|
|
10923
|
+
locator: w,
|
|
10921
10924
|
isDeleted: e.boolean()
|
|
10922
10925
|
}), ud = e.object({
|
|
10923
10926
|
...qn.shape,
|
|
10924
|
-
assignedTo: e.union([
|
|
10925
|
-
createdBy: e.union([
|
|
10926
|
-
updatedBy: e.union([
|
|
10927
|
-
}), Tm =
|
|
10927
|
+
assignedTo: e.union([H, Nt]).optional(),
|
|
10928
|
+
createdBy: e.union([H, Nt]).optional(),
|
|
10929
|
+
updatedBy: e.union([H, Nt]).optional()
|
|
10930
|
+
}), Tm = K(ud), Q = e.object({
|
|
10928
10931
|
tenantLocator: Te
|
|
10929
|
-
}), Am =
|
|
10932
|
+
}), Am = Q.merge(
|
|
10930
10933
|
e.object({
|
|
10931
|
-
userLocator:
|
|
10934
|
+
userLocator: w
|
|
10932
10935
|
})
|
|
10933
|
-
), md =
|
|
10936
|
+
), md = Q.merge(
|
|
10934
10937
|
e.object({
|
|
10935
10938
|
assignmentLocator: Cn
|
|
10936
10939
|
})
|
|
10937
10940
|
), _m = md.merge(
|
|
10938
10941
|
e.object({
|
|
10939
|
-
userLocator:
|
|
10942
|
+
userLocator: w
|
|
10940
10943
|
})
|
|
10941
|
-
), wm =
|
|
10944
|
+
), wm = Q.merge(
|
|
10942
10945
|
e.object({
|
|
10943
|
-
userLocator:
|
|
10946
|
+
userLocator: w
|
|
10944
10947
|
})
|
|
10945
|
-
), km =
|
|
10948
|
+
), km = Q.merge(
|
|
10946
10949
|
e.object({
|
|
10947
10950
|
referenceType: e.string(),
|
|
10948
10951
|
referenceLocator: v
|
|
10949
10952
|
})
|
|
10950
|
-
), pd =
|
|
10953
|
+
), pd = Q.merge(
|
|
10951
10954
|
e.object({
|
|
10952
10955
|
activityLocator: En
|
|
10953
10956
|
})
|
|
10954
10957
|
), xm = pd.merge(
|
|
10955
10958
|
e.object({
|
|
10956
|
-
userLocator:
|
|
10959
|
+
userLocator: w
|
|
10957
10960
|
})
|
|
10958
|
-
), Lm =
|
|
10961
|
+
), Lm = Q.merge(
|
|
10959
10962
|
e.object({
|
|
10960
|
-
userLocator:
|
|
10963
|
+
userLocator: w
|
|
10961
10964
|
})
|
|
10962
|
-
), Rm =
|
|
10965
|
+
), Rm = Q.merge(
|
|
10963
10966
|
e.object({
|
|
10964
10967
|
referenceType: e.string(),
|
|
10965
10968
|
referenceLocator: v
|
|
10966
10969
|
})
|
|
10967
|
-
), Em =
|
|
10970
|
+
), Em = Q.merge(
|
|
10968
10971
|
e.object({
|
|
10969
10972
|
referenceType: e.string(),
|
|
10970
10973
|
referenceLocator: v
|
|
10971
10974
|
})
|
|
10972
|
-
), Cm =
|
|
10975
|
+
), Cm = Q.merge(
|
|
10973
10976
|
e.object({
|
|
10974
10977
|
diaryLocator: Dn
|
|
10975
10978
|
})
|
|
10976
10979
|
), Dm = e.record(
|
|
10977
10980
|
e.string(),
|
|
10978
10981
|
e.array(e.string())
|
|
10979
|
-
), qm =
|
|
10982
|
+
), qm = z, Pm = rn.merge(
|
|
10980
10983
|
e.object({
|
|
10981
|
-
addQualifications:
|
|
10982
|
-
removeQualifications:
|
|
10984
|
+
addQualifications: z,
|
|
10985
|
+
removeQualifications: z
|
|
10983
10986
|
})
|
|
10984
10987
|
);
|
|
10985
10988
|
export {
|
|
@@ -11023,7 +11026,7 @@ export {
|
|
|
11023
11026
|
Fu as AuthTokenResponseSchema,
|
|
11024
11027
|
Td as BaseListPaginationSchema,
|
|
11025
11028
|
ka as BasePolicyTransactionResponseSchema,
|
|
11026
|
-
|
|
11029
|
+
H as BasicUserResponseSchema,
|
|
11027
11030
|
Se as BillingLevelEnumSchema,
|
|
11028
11031
|
Zn as BillingPreferencesSchema,
|
|
11029
11032
|
He as BillingTriggerEnumSchema,
|
|
@@ -11100,9 +11103,9 @@ export {
|
|
|
11100
11103
|
Nu as ListRoleResponseSchema,
|
|
11101
11104
|
Ou as ListTenantResponseSchema,
|
|
11102
11105
|
_ as MapStringAnyZ,
|
|
11103
|
-
|
|
11106
|
+
z as MapStringStringZ,
|
|
11104
11107
|
bi as MatchEnum,
|
|
11105
|
-
|
|
11108
|
+
G as MimeType,
|
|
11106
11109
|
hd as MimeTypeEnumSchema,
|
|
11107
11110
|
cc as ModifyChangeInstructionResponseSchema,
|
|
11108
11111
|
mc as ParamsChangeInstructionCreateRequestSchema,
|
|
@@ -11115,7 +11118,7 @@ export {
|
|
|
11115
11118
|
Wd as PolicyResponseArraySchema,
|
|
11116
11119
|
Mn as PolicyResponseSchema,
|
|
11117
11120
|
Gd as PolicySnapshotResponseSchema,
|
|
11118
|
-
|
|
11121
|
+
$ as PolicyTransactionIdSchema,
|
|
11119
11122
|
Xu as PolicyTransactionListResponseSchema,
|
|
11120
11123
|
uc as PolicyTransactionResponseSchema,
|
|
11121
11124
|
rm as PolicyTransactionReversalRequestSchema,
|
|
@@ -11154,7 +11157,7 @@ export {
|
|
|
11154
11157
|
Zu as TenantDeploymentResultSchema,
|
|
11155
11158
|
Te as TenantIdSchema,
|
|
11156
11159
|
rc as TenantLocatorSchema,
|
|
11157
|
-
|
|
11160
|
+
Q as TenantQualificationsParamsSchema,
|
|
11158
11161
|
Dm as TenantQualificationsResponseSchema,
|
|
11159
11162
|
Gs as TenantResponseSchema,
|
|
11160
11163
|
Uu as TenantUpdateRequestSchema,
|
|
@@ -11176,7 +11179,7 @@ export {
|
|
|
11176
11179
|
Vd as UpdateBillingLevelRequestSchema,
|
|
11177
11180
|
Lm as UserActivitiesParamsSchema,
|
|
11178
11181
|
Ad as UserCreateRequestSchema,
|
|
11179
|
-
|
|
11182
|
+
w as UserIdSchema,
|
|
11180
11183
|
Am as UserQualificationsParamsSchema,
|
|
11181
11184
|
qm as UserQualificationsResponseSchema,
|
|
11182
11185
|
Pm as UserQualificationsUpdateRequestSchema,
|
|
@@ -11255,7 +11258,7 @@ export {
|
|
|
11255
11258
|
fd as fieldConfigRecordSchema,
|
|
11256
11259
|
le as fieldConfigSchema,
|
|
11257
11260
|
ul as genericArray,
|
|
11258
|
-
|
|
11261
|
+
K as genericListResponseSchema,
|
|
11259
11262
|
ws as invoiceItemResponseSchema,
|
|
11260
11263
|
vu as invoiceResponseSchema,
|
|
11261
11264
|
_s as invoiceStateEnumSchema,
|