@socotra/ec-react-utils 2.18.1 → 2.19.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -0
- package/dist/index.es.js +786 -770
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { z as
|
|
1
|
+
import { z as ne } from "zod";
|
|
2
2
|
function Ga(r, t) {
|
|
3
3
|
return r - t * Math.floor(r / t);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const Ko = 1721426;
|
|
6
6
|
function Mr(r, t, a, n) {
|
|
7
7
|
t = bn(r, t);
|
|
8
8
|
let i = t - 1, o = -2;
|
|
9
|
-
return a <= 2 ? o = 0 : Kr(t) && (o = -1),
|
|
9
|
+
return a <= 2 ? o = 0 : Kr(t) && (o = -1), Ko - 1 + 365 * i + Math.floor(i / 4) - Math.floor(i / 100) + Math.floor(i / 400) + Math.floor((367 * a - 362) / 12 + o + n);
|
|
10
10
|
}
|
|
11
11
|
function Kr(r) {
|
|
12
12
|
return r % 4 === 0 && (r % 100 !== 0 || r % 400 === 0);
|
|
@@ -53,7 +53,7 @@ const zc = {
|
|
|
53
53
|
};
|
|
54
54
|
class $t {
|
|
55
55
|
fromJulianDay(t) {
|
|
56
|
-
let a = t, n = a -
|
|
56
|
+
let a = t, n = a - Ko, i = Math.floor(n / 146097), o = Ga(n, 146097), l = Math.floor(o / 36524), s = Ga(o, 36524), c = Math.floor(s / 1461), u = Ga(s, 1461), d = Math.floor(u / 365), g = i * 400 + l * 100 + c * 4 + d + (l !== 4 && d !== 4 ? 1 : 0), [f, h] = Gc(g), y = a - Mr(f, h, 1, 1), b = 2;
|
|
57
57
|
a < Mr(f, h, 3, 1) ? b = 0 : Kr(h) && (b = 1);
|
|
58
58
|
let C = Math.floor(((y + b) * 12 + 373) / 367), _ = a - Mr(f, h, C, 1) + 1;
|
|
59
59
|
return new Ct(f, h, C, _);
|
|
@@ -91,13 +91,13 @@ class $t {
|
|
|
91
91
|
this.identifier = "gregory";
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Vo(r, t) {
|
|
95
95
|
return r.calendar.toJulianDay(r) - t.calendar.toJulianDay(t);
|
|
96
96
|
}
|
|
97
97
|
function Kc(r, t) {
|
|
98
|
-
return
|
|
98
|
+
return Pi(r) - Pi(t);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Pi(r) {
|
|
101
101
|
return r.hour * 36e5 + r.minute * 6e4 + r.second * 1e3 + r.millisecond;
|
|
102
102
|
}
|
|
103
103
|
let za = null;
|
|
@@ -105,23 +105,23 @@ function vn() {
|
|
|
105
105
|
return za == null && (za = new Intl.DateTimeFormat().resolvedOptions().timeZone), za;
|
|
106
106
|
}
|
|
107
107
|
function Lt(r) {
|
|
108
|
-
r =
|
|
108
|
+
r = Ae(r, new $t());
|
|
109
109
|
let t = bn(r.era, r.year);
|
|
110
|
-
return
|
|
110
|
+
return Ho(t, r.month, r.day, r.hour, r.minute, r.second, r.millisecond);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Ho(r, t, a, n, i, o, l) {
|
|
113
113
|
let s = /* @__PURE__ */ new Date();
|
|
114
114
|
return s.setUTCHours(n, i, o, l), s.setUTCFullYear(r, t - 1, a), s.getTime();
|
|
115
115
|
}
|
|
116
116
|
function rn(r, t) {
|
|
117
117
|
if (t === "UTC") return 0;
|
|
118
118
|
if (r > 0 && t === vn()) return new Date(r).getTimezoneOffset() * -6e4;
|
|
119
|
-
let { year: a, month: n, day: i, hour: o, minute: l, second: s } =
|
|
120
|
-
return
|
|
119
|
+
let { year: a, month: n, day: i, hour: o, minute: l, second: s } = Wo(r, t);
|
|
120
|
+
return Ho(a, n, i, o, l, s, 0) - Math.floor(r / 1e3) * 1e3;
|
|
121
121
|
}
|
|
122
|
-
const
|
|
123
|
-
function
|
|
124
|
-
let a =
|
|
122
|
+
const Di = /* @__PURE__ */ new Map();
|
|
123
|
+
function Wo(r, t) {
|
|
124
|
+
let a = Di.get(t);
|
|
125
125
|
a || (a = new Intl.DateTimeFormat("en-US", {
|
|
126
126
|
timeZone: t,
|
|
127
127
|
hour12: !1,
|
|
@@ -132,7 +132,7 @@ function Yo(r, t) {
|
|
|
132
132
|
hour: "numeric",
|
|
133
133
|
minute: "numeric",
|
|
134
134
|
second: "numeric"
|
|
135
|
-
}),
|
|
135
|
+
}), Di.set(t, a));
|
|
136
136
|
let n = a.formatToParts(new Date(r)), i = {};
|
|
137
137
|
for (let o of n) o.type !== "literal" && (i[o.type] = o.value);
|
|
138
138
|
return {
|
|
@@ -145,7 +145,7 @@ function Yo(r, t) {
|
|
|
145
145
|
second: +i.second
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
const
|
|
148
|
+
const Oi = 864e5;
|
|
149
149
|
function Vc(r, t, a, n) {
|
|
150
150
|
return (a === n ? [
|
|
151
151
|
a
|
|
@@ -155,18 +155,18 @@ function Vc(r, t, a, n) {
|
|
|
155
155
|
]).filter((o) => Hc(r, t, o));
|
|
156
156
|
}
|
|
157
157
|
function Hc(r, t, a) {
|
|
158
|
-
let n =
|
|
158
|
+
let n = Wo(a, t);
|
|
159
159
|
return r.year === n.year && r.month === n.month && r.day === n.day && r.hour === n.hour && r.minute === n.minute && r.second === n.second;
|
|
160
160
|
}
|
|
161
161
|
function ke(r, t, a = "compatible") {
|
|
162
162
|
let n = St(r);
|
|
163
163
|
if (t === "UTC") return Lt(n);
|
|
164
164
|
if (t === vn() && a === "compatible") {
|
|
165
|
-
n =
|
|
165
|
+
n = Ae(n, new $t());
|
|
166
166
|
let c = /* @__PURE__ */ new Date(), u = bn(n.era, n.year);
|
|
167
167
|
return c.setFullYear(u, n.month - 1, n.day), c.setHours(n.hour, n.minute, n.second, n.millisecond), c.getTime();
|
|
168
168
|
}
|
|
169
|
-
let i = Lt(n), o = rn(i -
|
|
169
|
+
let i = Lt(n), o = rn(i - Oi, t), l = rn(i + Oi, t), s = Vc(n, t, i - o, i - l);
|
|
170
170
|
if (s.length === 1) return s[0];
|
|
171
171
|
if (s.length > 1) switch (a) {
|
|
172
172
|
case "compatible":
|
|
@@ -187,14 +187,14 @@ function ke(r, t, a = "compatible") {
|
|
|
187
187
|
throw new RangeError("No such absolute time found");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Yo(r, t, a = "compatible") {
|
|
191
191
|
return new Date(ke(r, t, a));
|
|
192
192
|
}
|
|
193
193
|
function Ue(r, t) {
|
|
194
194
|
let a = rn(r, t), n = new Date(r + a), i = n.getUTCFullYear(), o = n.getUTCMonth() + 1, l = n.getUTCDate(), s = n.getUTCHours(), c = n.getUTCMinutes(), u = n.getUTCSeconds(), d = n.getUTCMilliseconds();
|
|
195
195
|
return new kt(i < 1 ? "BC" : "AD", i < 1 ? -i + 1 : i, o, l, t, a, s, c, u, d);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Ni(r) {
|
|
198
198
|
return new Ct(r.calendar, r.era, r.year, r.month, r.day);
|
|
199
199
|
}
|
|
200
200
|
function St(r, t) {
|
|
@@ -203,14 +203,14 @@ function St(r, t) {
|
|
|
203
203
|
else if ("hour" in r && !t) return r;
|
|
204
204
|
return t && ({ hour: a, minute: n, second: i, millisecond: o } = t), new Yr(r.calendar, r.era, r.year, r.month, r.day, a, n, i, o);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Ae(r, t) {
|
|
207
207
|
if (r.calendar.identifier === t.identifier) return r;
|
|
208
208
|
let a = t.fromJulianDay(r.calendar.toJulianDay(r)), n = r.copy();
|
|
209
209
|
return n.calendar = t, n.era = a.era, n.year = a.year, n.month = a.month, n.day = a.day, ct(n), n;
|
|
210
210
|
}
|
|
211
211
|
function Wc(r, t, a) {
|
|
212
212
|
if (r instanceof kt)
|
|
213
|
-
return r.timeZone === t ? r :
|
|
213
|
+
return r.timeZone === t ? r : Qo(r, t);
|
|
214
214
|
let n = ke(r, t, a);
|
|
215
215
|
return Ue(n, t);
|
|
216
216
|
}
|
|
@@ -218,14 +218,14 @@ function Yc(r) {
|
|
|
218
218
|
let t = Lt(r) - r.offset;
|
|
219
219
|
return new Date(t);
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Qo(r, t) {
|
|
222
222
|
let a = Lt(r) - r.offset;
|
|
223
|
-
return
|
|
223
|
+
return Ae(Ue(a, t), r.calendar);
|
|
224
224
|
}
|
|
225
225
|
const Xt = 36e5;
|
|
226
226
|
function pa(r, t) {
|
|
227
227
|
let a = r.copy(), n = "hour" in a ? eu(a, t) : 0;
|
|
228
|
-
an(a, t.years || 0), a.calendar.balanceYearMonth && a.calendar.balanceYearMonth(a, r), a.month += t.months || 0, nn(a),
|
|
228
|
+
an(a, t.years || 0), a.calendar.balanceYearMonth && a.calendar.balanceYearMonth(a, r), a.month += t.months || 0, nn(a), Xo(a), a.day += (t.weeks || 0) * 7, a.day += t.days || 0, a.day += n, Qc(a), a.calendar.balanceDate && a.calendar.balanceDate(a), a.year < 1 && (a.year = 1, a.month = 1, a.day = 1);
|
|
229
229
|
let i = a.calendar.getYearsInEra(a);
|
|
230
230
|
if (a.year > i) {
|
|
231
231
|
var o, l;
|
|
@@ -253,19 +253,19 @@ function Qc(r) {
|
|
|
253
253
|
for (; r.day > r.calendar.getDaysInMonth(r); )
|
|
254
254
|
r.day -= r.calendar.getDaysInMonth(r), r.month++, nn(r);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function Xo(r) {
|
|
257
257
|
r.month = Math.max(1, Math.min(r.calendar.getMonthsInYear(r), r.month)), r.day = Math.max(1, Math.min(r.calendar.getDaysInMonth(r), r.day));
|
|
258
258
|
}
|
|
259
259
|
function ct(r) {
|
|
260
|
-
r.calendar.constrainDate && r.calendar.constrainDate(r), r.year = Math.max(1, Math.min(r.calendar.getYearsInEra(r), r.year)),
|
|
260
|
+
r.calendar.constrainDate && r.calendar.constrainDate(r), r.year = Math.max(1, Math.min(r.calendar.getYearsInEra(r), r.year)), Xo(r);
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function Jo(r) {
|
|
263
263
|
let t = {};
|
|
264
264
|
for (let a in r) typeof r[a] == "number" && (t[a] = -r[a]);
|
|
265
265
|
return t;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return pa(r,
|
|
267
|
+
function el(r, t) {
|
|
268
|
+
return pa(r, Jo(t));
|
|
269
269
|
}
|
|
270
270
|
function Tn(r, t) {
|
|
271
271
|
let a = r.copy();
|
|
@@ -314,7 +314,7 @@ function jn(r, t, a, n) {
|
|
|
314
314
|
}
|
|
315
315
|
return r.calendar.balanceDate && r.calendar.balanceDate(i), ct(i), i;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function tl(r, t, a, n) {
|
|
318
318
|
let i = r.copy();
|
|
319
319
|
switch (t) {
|
|
320
320
|
case "hour": {
|
|
@@ -349,7 +349,7 @@ function Pe(r, t, a, n, i = !1) {
|
|
|
349
349
|
r += t, r < a ? r = n - (a - r - 1) : r > n && (r = a + (r - n - 1));
|
|
350
350
|
return r;
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function rl(r, t) {
|
|
353
353
|
let a;
|
|
354
354
|
if (t.years != null && t.years !== 0 || t.months != null && t.months !== 0 || t.weeks != null && t.weeks !== 0 || t.days != null && t.days !== 0) {
|
|
355
355
|
let i = pa(St(r), {
|
|
@@ -363,10 +363,10 @@ function al(r, t) {
|
|
|
363
363
|
a = Lt(r) - r.offset;
|
|
364
364
|
a += t.milliseconds || 0, a += (t.seconds || 0) * 1e3, a += (t.minutes || 0) * 6e4, a += (t.hours || 0) * 36e5;
|
|
365
365
|
let n = Ue(a, r.timeZone);
|
|
366
|
-
return
|
|
366
|
+
return Ae(n, r.calendar);
|
|
367
367
|
}
|
|
368
368
|
function tu(r, t) {
|
|
369
|
-
return
|
|
369
|
+
return rl(r, Jo(t));
|
|
370
370
|
}
|
|
371
371
|
function ru(r, t, a, n) {
|
|
372
372
|
switch (t) {
|
|
@@ -376,29 +376,29 @@ function ru(r, t, a, n) {
|
|
|
376
376
|
let y = r.hour >= 12;
|
|
377
377
|
i = y ? 12 : 0, o = y ? 23 : 11;
|
|
378
378
|
}
|
|
379
|
-
let l = St(r), s =
|
|
379
|
+
let l = St(r), s = Ae(Wr(l, {
|
|
380
380
|
hour: i
|
|
381
381
|
}), new $t()), c = [
|
|
382
382
|
ke(s, r.timeZone, "earlier"),
|
|
383
383
|
ke(s, r.timeZone, "later")
|
|
384
|
-
].filter((y) => Ue(y, r.timeZone).day === s.day)[0], u =
|
|
384
|
+
].filter((y) => Ue(y, r.timeZone).day === s.day)[0], u = Ae(Wr(l, {
|
|
385
385
|
hour: o
|
|
386
386
|
}), new $t()), d = [
|
|
387
387
|
ke(u, r.timeZone, "earlier"),
|
|
388
388
|
ke(u, r.timeZone, "later")
|
|
389
389
|
].filter((y) => Ue(y, r.timeZone).day === u.day).pop(), g = Lt(r) - r.offset, f = Math.floor(g / Xt), h = g % Xt;
|
|
390
|
-
return g = Pe(f, a, Math.floor(c / Xt), Math.floor(d / Xt), n == null ? void 0 : n.round) * Xt + h,
|
|
390
|
+
return g = Pe(f, a, Math.floor(c / Xt), Math.floor(d / Xt), n == null ? void 0 : n.round) * Xt + h, Ae(Ue(g, r.timeZone), r.calendar);
|
|
391
391
|
}
|
|
392
392
|
case "minute":
|
|
393
393
|
case "second":
|
|
394
394
|
case "millisecond":
|
|
395
|
-
return
|
|
395
|
+
return tl(r, t, a, n);
|
|
396
396
|
case "era":
|
|
397
397
|
case "year":
|
|
398
398
|
case "month":
|
|
399
399
|
case "day": {
|
|
400
400
|
let i = jn(St(r), t, a, n), o = ke(i, r.timeZone);
|
|
401
|
-
return
|
|
401
|
+
return Ae(Ue(o, r.timeZone), r.calendar);
|
|
402
402
|
}
|
|
403
403
|
default:
|
|
404
404
|
throw new Error("Unsupported field " + t);
|
|
@@ -408,24 +408,24 @@ function au(r, t, a) {
|
|
|
408
408
|
let n = St(r), i = Wr(Tn(n, t), t);
|
|
409
409
|
if (i.compare(n) === 0) return r;
|
|
410
410
|
let o = ke(i, r.timeZone, a);
|
|
411
|
-
return
|
|
411
|
+
return Ae(Ue(o, r.timeZone), r.calendar);
|
|
412
412
|
}
|
|
413
413
|
const nu = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/, iu = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;
|
|
414
414
|
function on(r) {
|
|
415
415
|
let t = r.match(nu);
|
|
416
416
|
if (!t) throw new Error("Invalid ISO 8601 date string: " + r);
|
|
417
|
-
let a = new Ct(
|
|
418
|
-
return a.day =
|
|
417
|
+
let a = new Ct(le(t[1], 0, 9999), le(t[2], 1, 12), 1);
|
|
418
|
+
return a.day = le(t[3], 0, a.calendar.getDaysInMonth(a)), a;
|
|
419
419
|
}
|
|
420
420
|
function Ge(r, t) {
|
|
421
421
|
let a = r.match(iu);
|
|
422
422
|
if (!a) throw new Error("Invalid ISO 8601 date time string: " + r);
|
|
423
|
-
let n =
|
|
424
|
-
o.day =
|
|
423
|
+
let n = le(a[1], -9999, 9999), i = n < 1 ? "BC" : "AD", o = new kt(i, n < 1 ? -n + 1 : n, le(a[2], 1, 12), 1, t, 0, a[4] ? le(a[4], 0, 23) : 0, a[5] ? le(a[5], 0, 59) : 0, a[6] ? le(a[6], 0, 59) : 0, a[7] ? le(a[7], 0, 1 / 0) * 1e3 : 0);
|
|
424
|
+
o.day = le(a[3], 0, o.calendar.getDaysInMonth(o));
|
|
425
425
|
var l;
|
|
426
|
-
return a[8] && (o.offset =
|
|
426
|
+
return a[8] && (o.offset = le(a[8], -23, 23) * 36e5 + le((l = a[9]) !== null && l !== void 0 ? l : "0", 0, 59) * 6e4), Qo(o, t);
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function le(r, t, a) {
|
|
429
429
|
let n = Number(r);
|
|
430
430
|
if (n < t || n > a) throw new RangeError(`Value out of range: ${t} <= ${n} <= ${a}`);
|
|
431
431
|
return n;
|
|
@@ -433,12 +433,12 @@ function oe(r, t, a) {
|
|
|
433
433
|
function ou(r) {
|
|
434
434
|
return `${String(r.hour).padStart(2, "0")}:${String(r.minute).padStart(2, "0")}:${String(r.second).padStart(2, "0")}${r.millisecond ? String(r.millisecond / 1e3).slice(1) : ""}`;
|
|
435
435
|
}
|
|
436
|
-
function
|
|
437
|
-
let t =
|
|
436
|
+
function al(r) {
|
|
437
|
+
let t = Ae(r, new $t()), a;
|
|
438
438
|
return t.era === "BC" ? a = t.year === 1 ? "0000" : "-" + String(Math.abs(1 - t.year)).padStart(6, "00") : a = String(t.year).padStart(4, "0"), `${a}-${String(t.month).padStart(2, "0")}-${String(t.day).padStart(2, "0")}`;
|
|
439
439
|
}
|
|
440
|
-
function
|
|
441
|
-
return `${
|
|
440
|
+
function nl(r) {
|
|
441
|
+
return `${al(r)}T${ou(r)}`;
|
|
442
442
|
}
|
|
443
443
|
function lu(r) {
|
|
444
444
|
let t = Math.sign(r) < 0 ? "-" : "+";
|
|
@@ -447,7 +447,7 @@ function lu(r) {
|
|
|
447
447
|
return `${t}${String(a).padStart(2, "0")}:${String(n).padStart(2, "0")}`;
|
|
448
448
|
}
|
|
449
449
|
function su(r) {
|
|
450
|
-
return `${
|
|
450
|
+
return `${nl(r)}${lu(r.offset)}[${r.timeZone}]`;
|
|
451
451
|
}
|
|
452
452
|
function cu(r, t) {
|
|
453
453
|
if (t.has(r))
|
|
@@ -484,7 +484,7 @@ class Ct {
|
|
|
484
484
|
}
|
|
485
485
|
/** Returns a new `CalendarDate` with the given duration subtracted from it. */
|
|
486
486
|
subtract(t) {
|
|
487
|
-
return
|
|
487
|
+
return el(this, t);
|
|
488
488
|
}
|
|
489
489
|
/** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */
|
|
490
490
|
set(t) {
|
|
@@ -499,15 +499,15 @@ class Ct {
|
|
|
499
499
|
}
|
|
500
500
|
/** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */
|
|
501
501
|
toDate(t) {
|
|
502
|
-
return
|
|
502
|
+
return Yo(this, t);
|
|
503
503
|
}
|
|
504
504
|
/** Converts the date to an ISO 8601 formatted string. */
|
|
505
505
|
toString() {
|
|
506
|
-
return
|
|
506
|
+
return al(this);
|
|
507
507
|
}
|
|
508
508
|
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
|
|
509
509
|
compare(t) {
|
|
510
|
-
return
|
|
510
|
+
return Vo(this, t);
|
|
511
511
|
}
|
|
512
512
|
constructor(...t) {
|
|
513
513
|
An(this, uu, {
|
|
@@ -530,7 +530,7 @@ class Yr {
|
|
|
530
530
|
}
|
|
531
531
|
/** Returns a new `CalendarDateTime` with the given duration subtracted from it. */
|
|
532
532
|
subtract(t) {
|
|
533
|
-
return
|
|
533
|
+
return el(this, t);
|
|
534
534
|
}
|
|
535
535
|
/** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
|
|
536
536
|
set(t) {
|
|
@@ -548,20 +548,20 @@ class Yr {
|
|
|
548
548
|
case "day":
|
|
549
549
|
return jn(this, t, a, n);
|
|
550
550
|
default:
|
|
551
|
-
return
|
|
551
|
+
return tl(this, t, a, n);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
/** Converts the date to a native JavaScript Date object in the given time zone. */
|
|
555
555
|
toDate(t, a) {
|
|
556
|
-
return
|
|
556
|
+
return Yo(this, t, a);
|
|
557
557
|
}
|
|
558
558
|
/** Converts the date to an ISO 8601 formatted string. */
|
|
559
559
|
toString() {
|
|
560
|
-
return
|
|
560
|
+
return nl(this);
|
|
561
561
|
}
|
|
562
562
|
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
|
|
563
563
|
compare(t) {
|
|
564
|
-
let a =
|
|
564
|
+
let a = Vo(this, t);
|
|
565
565
|
return a === 0 ? Kc(this, St(t)) : a;
|
|
566
566
|
}
|
|
567
567
|
constructor(...t) {
|
|
@@ -581,7 +581,7 @@ class kt {
|
|
|
581
581
|
}
|
|
582
582
|
/** Returns a new `ZonedDateTime` with the given duration added to it. */
|
|
583
583
|
add(t) {
|
|
584
|
-
return
|
|
584
|
+
return rl(this, t);
|
|
585
585
|
}
|
|
586
586
|
/** Returns a new `ZonedDateTime` with the given duration subtracted from it. */
|
|
587
587
|
subtract(t) {
|
|
@@ -624,12 +624,12 @@ class kt {
|
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
var Fr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
627
|
-
function
|
|
627
|
+
function pe(r) {
|
|
628
628
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
629
629
|
}
|
|
630
|
-
var gu = Array.isArray,
|
|
631
|
-
const Ka = /* @__PURE__ */
|
|
632
|
-
var mu = typeof Fr == "object" && Fr && Fr.Object === Object && Fr,
|
|
630
|
+
var gu = Array.isArray, ee = gu;
|
|
631
|
+
const Ka = /* @__PURE__ */ pe(ee);
|
|
632
|
+
var mu = typeof Fr == "object" && Fr && Fr.Object === Object && Fr, il = mu, fu = il, yu = typeof self == "object" && self && self.Object === Object && self, hu = fu || yu || Function("return this")(), $e = hu, bu = $e, vu = bu.Symbol, It = vu, Bi = It, ol = Object.prototype, Tu = ol.hasOwnProperty, ju = ol.toString, Jt = Bi ? Bi.toStringTag : void 0;
|
|
633
633
|
function Au(r) {
|
|
634
634
|
var t = Tu.call(r, Jt), a = r[Jt];
|
|
635
635
|
try {
|
|
@@ -644,9 +644,9 @@ var _u = Au, wu = Object.prototype, xu = wu.toString;
|
|
|
644
644
|
function Eu(r) {
|
|
645
645
|
return xu.call(r);
|
|
646
646
|
}
|
|
647
|
-
var $u = Eu,
|
|
647
|
+
var $u = Eu, Ii = It, Lu = _u, Su = $u, Cu = "[object Null]", ku = "[object Undefined]", Ri = Ii ? Ii.toStringTag : void 0;
|
|
648
648
|
function Pu(r) {
|
|
649
|
-
return r == null ? r === void 0 ? ku : Cu :
|
|
649
|
+
return r == null ? r === void 0 ? ku : Cu : Ri && Ri in Object(r) ? Lu(r) : Su(r);
|
|
650
650
|
}
|
|
651
651
|
var Rt = Pu;
|
|
652
652
|
function Du(r) {
|
|
@@ -656,7 +656,7 @@ var Be = Du, Ou = Rt, Nu = Be, Bu = "[object Symbol]";
|
|
|
656
656
|
function Iu(r) {
|
|
657
657
|
return typeof r == "symbol" || Nu(r) && Ou(r) == Bu;
|
|
658
658
|
}
|
|
659
|
-
var wn = Iu, Ru =
|
|
659
|
+
var wn = Iu, Ru = ee, Mu = wn, qu = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Fu = /^\w*$/;
|
|
660
660
|
function Zu(r, t) {
|
|
661
661
|
if (Ru(r))
|
|
662
662
|
return !1;
|
|
@@ -668,21 +668,21 @@ function Uu(r) {
|
|
|
668
668
|
var t = typeof r;
|
|
669
669
|
return r != null && (t == "object" || t == "function");
|
|
670
670
|
}
|
|
671
|
-
var
|
|
672
|
-
const ln = /* @__PURE__ */
|
|
673
|
-
var Gu = Rt, zu =
|
|
671
|
+
var ge = Uu;
|
|
672
|
+
const ln = /* @__PURE__ */ pe(ge);
|
|
673
|
+
var Gu = Rt, zu = ge, Ku = "[object AsyncFunction]", Vu = "[object Function]", Hu = "[object GeneratorFunction]", Wu = "[object Proxy]";
|
|
674
674
|
function Yu(r) {
|
|
675
675
|
if (!zu(r))
|
|
676
676
|
return !1;
|
|
677
677
|
var t = Gu(r);
|
|
678
678
|
return t == Vu || t == Hu || t == Ku || t == Wu;
|
|
679
679
|
}
|
|
680
|
-
var ga = Yu, Qu =
|
|
680
|
+
var ga = Yu, Qu = $e, Xu = Qu["__core-js_shared__"], Ju = Xu, Va = Ju, Mi = function() {
|
|
681
681
|
var r = /[^.]+$/.exec(Va && Va.keys && Va.keys.IE_PROTO || "");
|
|
682
682
|
return r ? "Symbol(src)_1." + r : "";
|
|
683
683
|
}();
|
|
684
684
|
function ed(r) {
|
|
685
|
-
return !!
|
|
685
|
+
return !!Mi && Mi in r;
|
|
686
686
|
}
|
|
687
687
|
var td = ed, rd = Function.prototype, ad = rd.toString;
|
|
688
688
|
function nd(r) {
|
|
@@ -698,7 +698,7 @@ function nd(r) {
|
|
|
698
698
|
}
|
|
699
699
|
return "";
|
|
700
700
|
}
|
|
701
|
-
var
|
|
701
|
+
var ll = nd, id = ga, od = td, ld = ge, sd = ll, cd = /[\\^$.*+?()[\]{}|]/g, ud = /^\[object .+?Constructor\]$/, dd = Function.prototype, pd = Object.prototype, gd = dd.toString, md = pd.hasOwnProperty, fd = RegExp(
|
|
702
702
|
"^" + gd.call(md).replace(cd, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
703
703
|
);
|
|
704
704
|
function yd(r) {
|
|
@@ -716,9 +716,9 @@ function Ad(r, t) {
|
|
|
716
716
|
var a = jd(r, t);
|
|
717
717
|
return Td(a) ? a : void 0;
|
|
718
718
|
}
|
|
719
|
-
var yt = Ad, _d = yt, wd = _d(Object, "create"), ma = wd,
|
|
719
|
+
var yt = Ad, _d = yt, wd = _d(Object, "create"), ma = wd, qi = ma;
|
|
720
720
|
function xd() {
|
|
721
|
-
this.__data__ =
|
|
721
|
+
this.__data__ = qi ? qi(null) : {}, this.size = 0;
|
|
722
722
|
}
|
|
723
723
|
var Ed = xd;
|
|
724
724
|
function $d(r) {
|
|
@@ -807,12 +807,12 @@ qt.prototype.delete = yp;
|
|
|
807
807
|
qt.prototype.get = hp;
|
|
808
808
|
qt.prototype.has = bp;
|
|
809
809
|
qt.prototype.set = vp;
|
|
810
|
-
var ya = qt, Tp = yt, jp =
|
|
810
|
+
var ya = qt, Tp = yt, jp = $e, Ap = Tp(jp, "Map"), En = Ap, Fi = Wd, _p = ya, wp = En;
|
|
811
811
|
function xp() {
|
|
812
812
|
this.size = 0, this.__data__ = {
|
|
813
|
-
hash: new
|
|
813
|
+
hash: new Fi(),
|
|
814
814
|
map: new (wp || _p)(),
|
|
815
|
-
string: new
|
|
815
|
+
string: new Fi()
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
818
|
var Ep = xp;
|
|
@@ -856,7 +856,7 @@ Ft.prototype.delete = Gp;
|
|
|
856
856
|
Ft.prototype.get = zp;
|
|
857
857
|
Ft.prototype.has = Kp;
|
|
858
858
|
Ft.prototype.set = Vp;
|
|
859
|
-
var $n = Ft,
|
|
859
|
+
var $n = Ft, sl = $n, Hp = "Expected a function";
|
|
860
860
|
function Ln(r, t) {
|
|
861
861
|
if (typeof r != "function" || t != null && typeof t != "function")
|
|
862
862
|
throw new TypeError(Hp);
|
|
@@ -867,9 +867,9 @@ function Ln(r, t) {
|
|
|
867
867
|
var l = r.apply(this, n);
|
|
868
868
|
return a.cache = o.set(i, l) || o, l;
|
|
869
869
|
};
|
|
870
|
-
return a.cache = new (Ln.Cache ||
|
|
870
|
+
return a.cache = new (Ln.Cache || sl)(), a;
|
|
871
871
|
}
|
|
872
|
-
Ln.Cache =
|
|
872
|
+
Ln.Cache = sl;
|
|
873
873
|
var Wp = Ln, Yp = Wp, Qp = 500;
|
|
874
874
|
function Xp(r) {
|
|
875
875
|
var t = Yp(r, function(n) {
|
|
@@ -888,22 +888,22 @@ function ig(r, t) {
|
|
|
888
888
|
i[a] = t(r[a], a, r);
|
|
889
889
|
return i;
|
|
890
890
|
}
|
|
891
|
-
var
|
|
892
|
-
function
|
|
891
|
+
var cl = ig, Zi = It, og = cl, lg = ee, sg = wn, Ui = Zi ? Zi.prototype : void 0, Gi = Ui ? Ui.toString : void 0;
|
|
892
|
+
function ul(r) {
|
|
893
893
|
if (typeof r == "string")
|
|
894
894
|
return r;
|
|
895
895
|
if (lg(r))
|
|
896
|
-
return og(r,
|
|
896
|
+
return og(r, ul) + "";
|
|
897
897
|
if (sg(r))
|
|
898
|
-
return
|
|
898
|
+
return Gi ? Gi.call(r) : "";
|
|
899
899
|
var t = r + "";
|
|
900
900
|
return t == "0" && 1 / r == -1 / 0 ? "-0" : t;
|
|
901
901
|
}
|
|
902
|
-
var cg =
|
|
902
|
+
var cg = ul, ug = cg;
|
|
903
903
|
function dg(r) {
|
|
904
904
|
return r == null ? "" : ug(r);
|
|
905
905
|
}
|
|
906
|
-
var pg = dg, gg =
|
|
906
|
+
var pg = dg, gg = ee, mg = xn, fg = ng, yg = pg;
|
|
907
907
|
function hg(r, t) {
|
|
908
908
|
return gg(r) ? r : mg(r, t) ? [r] : fg(yg(r));
|
|
909
909
|
}
|
|
@@ -926,8 +926,8 @@ function wg(r, t, a) {
|
|
|
926
926
|
var n = r == null ? void 0 : _g(r, t);
|
|
927
927
|
return n === void 0 ? a : n;
|
|
928
928
|
}
|
|
929
|
-
var
|
|
930
|
-
const K = /* @__PURE__ */
|
|
929
|
+
var dl = wg;
|
|
930
|
+
const K = /* @__PURE__ */ pe(dl), xg = (r) => {
|
|
931
931
|
try {
|
|
932
932
|
const t = JSON.parse(r);
|
|
933
933
|
return typeof t == "object" && t !== null ? r : t;
|
|
@@ -957,70 +957,70 @@ const $g = (r) => {
|
|
|
957
957
|
let _ = {};
|
|
958
958
|
const Z = {
|
|
959
959
|
properties: {}
|
|
960
|
-
},
|
|
960
|
+
}, te = {
|
|
961
961
|
required: []
|
|
962
962
|
}, ht = {
|
|
963
963
|
properties: {}
|
|
964
964
|
}, bt = Object.fromEntries(
|
|
965
|
-
Object.entries(t ?? {}).filter(([B,
|
|
965
|
+
Object.entries(t ?? {}).filter(([B, O]) => {
|
|
966
966
|
var at;
|
|
967
|
-
const
|
|
968
|
-
if (
|
|
967
|
+
const Te = (at = O.scope) == null ? void 0 : at.split(",").map((fe) => fe.trim()), oe = O.tag;
|
|
968
|
+
if (oe != null && oe.includes("hidden"))
|
|
969
969
|
return b.length > 0 ? b.includes(B) : !1;
|
|
970
|
-
const Me =
|
|
971
|
-
(
|
|
970
|
+
const Me = oe == null ? void 0 : oe.find(
|
|
971
|
+
(fe) => fe.startsWith("rootHidden|")
|
|
972
972
|
);
|
|
973
973
|
if (Me) {
|
|
974
|
-
const
|
|
974
|
+
const fe = Me.match(
|
|
975
975
|
/^rootHidden\|([^!=]+)(==|!=)(.+)$/
|
|
976
976
|
);
|
|
977
|
-
if (!
|
|
977
|
+
if (!fe)
|
|
978
978
|
return console.error(
|
|
979
979
|
`Invalid hidden tag value. Must match format "rootHidden|fieldName==value" or "rootHidden|fieldName!=value", received: ${Me}`
|
|
980
980
|
), !1;
|
|
981
|
-
const [, Fa, nt, vt] =
|
|
981
|
+
const [, Fa, nt, vt] = fe, it = K(u, `element.data.${Fa}`), ot = xg(vt);
|
|
982
982
|
if (nt === "==" && it === ot || nt === "!=" && it !== ot) return !1;
|
|
983
983
|
}
|
|
984
|
-
return !!(!
|
|
985
|
-
}).map(([B,
|
|
986
|
-
var mi, fi, yi, hi, bi, vi, Ti, ji, Ai, _i, wi, xi, Ei, $i, Li, Si, Ci, ki
|
|
987
|
-
let
|
|
988
|
-
const
|
|
989
|
-
let
|
|
984
|
+
return !!(!Te || a.some((fe) => Te.includes(fe)));
|
|
985
|
+
}).map(([B, O]) => {
|
|
986
|
+
var gi, mi, fi, yi, hi, bi, vi, Ti, ji, Ai, _i, wi, xi, Ei, $i, Li, Si, Ci, ki;
|
|
987
|
+
let Te = !1, oe = !1, Me = !1, at = !1;
|
|
988
|
+
const fe = O.displayName ?? B, Fa = (gi = O.type) == null ? void 0 : gi.slice(-1), nt = O.maxLength, vt = O.minLength, it = O.max, ot = O.min, Za = O.constraint, di = O.regex, pi = O.precision, qe = O.tag ?? [];
|
|
989
|
+
let N = O.type ?? "", Tt, jt = !1;
|
|
990
990
|
switch (Fa) {
|
|
991
991
|
case "*":
|
|
992
|
-
|
|
992
|
+
oe = !0, Te = !0, N = N == null ? void 0 : N.split("*")[0];
|
|
993
993
|
break;
|
|
994
994
|
case "?":
|
|
995
|
-
|
|
995
|
+
N = N == null ? void 0 : N.split("?")[0], Te = !0;
|
|
996
996
|
break;
|
|
997
997
|
case "+":
|
|
998
|
-
|
|
998
|
+
oe = !0, N = N == null ? void 0 : N.split("+")[0];
|
|
999
999
|
break;
|
|
1000
1000
|
case "!":
|
|
1001
|
-
|
|
1001
|
+
N = N == null ? void 0 : N.split("!")[0];
|
|
1002
1002
|
break;
|
|
1003
1003
|
}
|
|
1004
|
-
switch (
|
|
1004
|
+
switch (N) {
|
|
1005
1005
|
case "string":
|
|
1006
|
-
|
|
1006
|
+
N = "string";
|
|
1007
1007
|
break;
|
|
1008
1008
|
case "int":
|
|
1009
1009
|
case "long":
|
|
1010
|
-
|
|
1010
|
+
N = "integer";
|
|
1011
1011
|
break;
|
|
1012
1012
|
case "decimal":
|
|
1013
|
-
|
|
1013
|
+
N = "number";
|
|
1014
1014
|
break;
|
|
1015
1015
|
case "datetime":
|
|
1016
|
-
|
|
1016
|
+
N = "string", Tt = "date-time", at = !0, Te && (jt = !0);
|
|
1017
1017
|
break;
|
|
1018
1018
|
case "date":
|
|
1019
|
-
|
|
1019
|
+
N = "string", Tt = "date", at = !0, Te && (jt = !0);
|
|
1020
1020
|
break;
|
|
1021
1021
|
case "boolean":
|
|
1022
1022
|
case "bool":
|
|
1023
|
-
|
|
1023
|
+
N = "boolean";
|
|
1024
1024
|
break;
|
|
1025
1025
|
default:
|
|
1026
1026
|
Me = !0;
|
|
@@ -1030,7 +1030,7 @@ const $g = (r) => {
|
|
|
1030
1030
|
const V = f ? K(c, [
|
|
1031
1031
|
(g == null ? void 0 : g.locator) ?? "",
|
|
1032
1032
|
`${f}.${B}`
|
|
1033
|
-
]) : K(c, `${g == null ? void 0 : g.locator}.${B}`),
|
|
1033
|
+
]) : K(c, `${g == null ? void 0 : g.locator}.${B}`), je = f ? K(c, [
|
|
1034
1034
|
(u == null ? void 0 : u.locator) ?? "",
|
|
1035
1035
|
`${f}.${B}`
|
|
1036
1036
|
]) : K(c, `${u == null ? void 0 : u.locator}.${B}`), _t = f ? K(c, [
|
|
@@ -1040,19 +1040,19 @@ const $g = (r) => {
|
|
|
1040
1040
|
c,
|
|
1041
1041
|
`${d == null ? void 0 : d.staticLocator}.${B}`
|
|
1042
1042
|
);
|
|
1043
|
-
g && V && (
|
|
1043
|
+
g && V && (O.options = V), u && je && (O.options = je), d && _t && (O.options = _t);
|
|
1044
1044
|
}
|
|
1045
|
-
if (!
|
|
1046
|
-
const V = i == null ? void 0 : i[
|
|
1045
|
+
if (!Te && !Me && C.push(B), Me) {
|
|
1046
|
+
const V = i == null ? void 0 : i[N];
|
|
1047
1047
|
if (V) {
|
|
1048
|
-
let
|
|
1048
|
+
let je = oe ? [] : {};
|
|
1049
1049
|
const _t = $g({
|
|
1050
1050
|
data: V.data ?? {},
|
|
1051
1051
|
scope: a,
|
|
1052
1052
|
dataTypes: i,
|
|
1053
1053
|
ignoreConstraints: l,
|
|
1054
1054
|
evaluatedConstraints: c,
|
|
1055
|
-
rootDisplayName:
|
|
1055
|
+
rootDisplayName: O.displayName ?? V.displayName ?? B,
|
|
1056
1056
|
customDataTypeKey: B,
|
|
1057
1057
|
quote: u,
|
|
1058
1058
|
account: s,
|
|
@@ -1061,7 +1061,7 @@ const $g = (r) => {
|
|
|
1061
1061
|
truthyLabel: h,
|
|
1062
1062
|
falsyLabel: y
|
|
1063
1063
|
});
|
|
1064
|
-
return u && (
|
|
1064
|
+
return u && (fi = (mi = u.element) == null ? void 0 : mi.data) != null && fi[B] && (je = (hi = (yi = u.element) == null ? void 0 : yi.data) == null ? void 0 : hi[B]), g && (bi = g == null ? void 0 : g.data) != null && bi[B] && (je = (vi = g == null ? void 0 : g.data) == null ? void 0 : vi[B]), s && (Ti = s == null ? void 0 : s.data) != null && Ti[B] && (je = (ji = s == null ? void 0 : s.data) == null ? void 0 : ji[B]), Object.entries(_t.definitions ?? {}).forEach(
|
|
1065
1065
|
([Zc, Uc]) => {
|
|
1066
1066
|
_ = {
|
|
1067
1067
|
..._,
|
|
@@ -1070,25 +1070,25 @@ const $g = (r) => {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
), _t.definitions = {}, _ = {
|
|
1072
1072
|
..._,
|
|
1073
|
-
[`${
|
|
1074
|
-
},
|
|
1073
|
+
[`${N}`]: _t
|
|
1074
|
+
}, oe ? [
|
|
1075
1075
|
B,
|
|
1076
1076
|
{
|
|
1077
|
-
title:
|
|
1077
|
+
title: O.displayName ?? V.displayName ?? B,
|
|
1078
1078
|
type: "array",
|
|
1079
|
-
default:
|
|
1079
|
+
default: je,
|
|
1080
1080
|
items: {
|
|
1081
|
-
$ref: `#/definitions/${
|
|
1081
|
+
$ref: `#/definitions/${N}`
|
|
1082
1082
|
},
|
|
1083
1083
|
...qe && { tag: qe },
|
|
1084
|
-
...!
|
|
1084
|
+
...!Te && { minItems: 1 }
|
|
1085
1085
|
}
|
|
1086
1086
|
] : [
|
|
1087
1087
|
B,
|
|
1088
1088
|
{
|
|
1089
1089
|
title: V.displayName ?? B,
|
|
1090
|
-
default:
|
|
1091
|
-
$ref: `#/definitions/${
|
|
1090
|
+
default: je,
|
|
1091
|
+
$ref: `#/definitions/${N}`,
|
|
1092
1092
|
...qe && { tag: qe }
|
|
1093
1093
|
}
|
|
1094
1094
|
];
|
|
@@ -1097,59 +1097,59 @@ const $g = (r) => {
|
|
|
1097
1097
|
let At = "";
|
|
1098
1098
|
if (s) {
|
|
1099
1099
|
const V = (s == null ? void 0 : s.accountState) === "validated" ? B.charAt(0).toLowerCase() + B.slice(1) : B;
|
|
1100
|
-
At = (
|
|
1100
|
+
At = (Ai = s == null ? void 0 : s.data) != null && Ai[V] ? (_i = s == null ? void 0 : s.data) == null ? void 0 : _i[V] : N === "boolean" ? !!O.defaultValue : O.defaultValue;
|
|
1101
1101
|
}
|
|
1102
|
-
if (u && (At = (
|
|
1102
|
+
if (u && (At = (xi = (wi = u.element) == null ? void 0 : wi.data) != null && xi[B] ? ($i = (Ei = u.element) == null ? void 0 : Ei.data) == null ? void 0 : $i[B] : N === "boolean" ? !!O.defaultValue : O.defaultValue), g && (At = (Li = g == null ? void 0 : g.data) != null && Li[B] ? (Si = g == null ? void 0 : g.data) == null ? void 0 : Si[B] : N === "boolean" ? !!O.defaultValue : O.defaultValue), oe)
|
|
1103
1103
|
return [
|
|
1104
1104
|
B,
|
|
1105
1105
|
{
|
|
1106
|
-
title:
|
|
1106
|
+
title: fe,
|
|
1107
1107
|
type: "array",
|
|
1108
1108
|
default: At,
|
|
1109
|
-
...
|
|
1109
|
+
...O.tag ? O.tag.includes(
|
|
1110
1110
|
"multiselect"
|
|
1111
1111
|
/* MultiSelect */
|
|
1112
1112
|
) && !Me && {
|
|
1113
1113
|
uniqueItems: !0
|
|
1114
1114
|
} : {},
|
|
1115
1115
|
items: {
|
|
1116
|
-
type:
|
|
1116
|
+
type: N,
|
|
1117
1117
|
...nt && { maxLength: nt },
|
|
1118
1118
|
...vt && { minLength: vt },
|
|
1119
1119
|
...ot && { min: ot },
|
|
1120
1120
|
...it && { max: it },
|
|
1121
1121
|
...Tt && { format: Tt },
|
|
1122
|
-
...
|
|
1123
|
-
...
|
|
1122
|
+
...di && { pattern: O.regex },
|
|
1123
|
+
...O.options && { enum: O.options },
|
|
1124
1124
|
...at && { timezone: n },
|
|
1125
1125
|
...jt && { nullable: jt }
|
|
1126
1126
|
},
|
|
1127
|
-
...!
|
|
1127
|
+
...!Te && { minItems: 1 }
|
|
1128
1128
|
}
|
|
1129
1129
|
];
|
|
1130
1130
|
let Ua = null;
|
|
1131
1131
|
if (qe.some((V) => V.split(".").includes("currency"))) {
|
|
1132
|
-
const V = (
|
|
1132
|
+
const V = (ki = (Ci = qe.find((je) => je.split(".").includes("currency"))) == null ? void 0 : Ci.split(".")) == null ? void 0 : ki[1];
|
|
1133
1133
|
V && (Ua = V);
|
|
1134
1134
|
}
|
|
1135
1135
|
return [
|
|
1136
1136
|
B,
|
|
1137
1137
|
{
|
|
1138
|
-
title:
|
|
1139
|
-
type:
|
|
1138
|
+
title: fe,
|
|
1139
|
+
type: N,
|
|
1140
1140
|
...At && { default: At },
|
|
1141
1141
|
...vt && { minLength: vt },
|
|
1142
1142
|
...nt && { maxLength: nt },
|
|
1143
1143
|
...ot && { minimum: parseFloat(ot) },
|
|
1144
1144
|
...it && { maximum: parseFloat(it) },
|
|
1145
|
-
...
|
|
1145
|
+
...pi && { multipleOf: 1 / Math.pow(10, pi) },
|
|
1146
1146
|
...Tt && { format: Tt },
|
|
1147
|
-
...
|
|
1148
|
-
...
|
|
1147
|
+
...O.options && { enum: O.options },
|
|
1148
|
+
...di && { pattern: O.regex },
|
|
1149
1149
|
...qe && { tag: qe },
|
|
1150
1150
|
...Ua && { currency: Ua },
|
|
1151
1151
|
...at && { timezone: n },
|
|
1152
|
-
...
|
|
1152
|
+
...N === "boolean" && {
|
|
1153
1153
|
boolean: [
|
|
1154
1154
|
{ value: "true", label: h },
|
|
1155
1155
|
{ value: "false", label: y }
|
|
@@ -1168,7 +1168,7 @@ const $g = (r) => {
|
|
|
1168
1168
|
required: C,
|
|
1169
1169
|
properties: bt,
|
|
1170
1170
|
if: Z,
|
|
1171
|
-
then:
|
|
1171
|
+
then: te,
|
|
1172
1172
|
else: ht
|
|
1173
1173
|
};
|
|
1174
1174
|
};
|
|
@@ -1922,16 +1922,16 @@ var Dg = {
|
|
|
1922
1922
|
}
|
|
1923
1923
|
};
|
|
1924
1924
|
De.plugins.register(Dg);
|
|
1925
|
-
const
|
|
1925
|
+
const zi = 47, Og = 92;
|
|
1926
1926
|
var Ng = {
|
|
1927
1927
|
name: "regex",
|
|
1928
1928
|
init(r) {
|
|
1929
1929
|
r.hooks.add("gobble-token", function(a) {
|
|
1930
|
-
if (this.code ===
|
|
1930
|
+
if (this.code === zi) {
|
|
1931
1931
|
const n = ++this.index;
|
|
1932
1932
|
let i = !1;
|
|
1933
1933
|
for (; this.index < this.expr.length; ) {
|
|
1934
|
-
if (this.code ===
|
|
1934
|
+
if (this.code === zi && !i) {
|
|
1935
1935
|
const o = this.expr.slice(n, this.index);
|
|
1936
1936
|
let l = "";
|
|
1937
1937
|
for (; ++this.index < this.expr.length; ) {
|
|
@@ -2148,10 +2148,10 @@ class Mg extends Error {
|
|
|
2148
2148
|
super('JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'), this.avoidNew = !0, this.value = t, this.name = "NewError";
|
|
2149
2149
|
}
|
|
2150
2150
|
}
|
|
2151
|
-
function
|
|
2152
|
-
if (!(this instanceof
|
|
2151
|
+
function P(r, t, a, n, i) {
|
|
2152
|
+
if (!(this instanceof P))
|
|
2153
2153
|
try {
|
|
2154
|
-
return new
|
|
2154
|
+
return new P(r, t, a, n, i);
|
|
2155
2155
|
} catch (l) {
|
|
2156
2156
|
if (!l.avoidNew)
|
|
2157
2157
|
throw l;
|
|
@@ -2172,7 +2172,7 @@ function N(r, t, a, n, i) {
|
|
|
2172
2172
|
return s;
|
|
2173
2173
|
}
|
|
2174
2174
|
}
|
|
2175
|
-
|
|
2175
|
+
P.prototype.evaluate = function(r, t, a, n) {
|
|
2176
2176
|
let i = this.parent, o = this.parentProperty, {
|
|
2177
2177
|
flatten: l,
|
|
2178
2178
|
wrap: s
|
|
@@ -2186,9 +2186,9 @@ N.prototype.evaluate = function(r, t, a, n) {
|
|
|
2186
2186
|
json: t
|
|
2187
2187
|
} = r), l = Object.hasOwn(r, "flatten") ? r.flatten : l, this.currResultType = Object.hasOwn(r, "resultType") ? r.resultType : this.currResultType, this.currSandbox = Object.hasOwn(r, "sandbox") ? r.sandbox : this.currSandbox, s = Object.hasOwn(r, "wrap") ? r.wrap : s, this.currEval = Object.hasOwn(r, "eval") ? r.eval : this.currEval, a = Object.hasOwn(r, "callback") ? r.callback : a, this.currOtherTypeCallback = Object.hasOwn(r, "otherTypeCallback") ? r.otherTypeCallback : this.currOtherTypeCallback, i = Object.hasOwn(r, "parent") ? r.parent : i, o = Object.hasOwn(r, "parentProperty") ? r.parentProperty : o, r = r.path;
|
|
2188
2188
|
}
|
|
2189
|
-
if (i = i || null, o = o || null, Array.isArray(r) && (r =
|
|
2189
|
+
if (i = i || null, o = o || null, Array.isArray(r) && (r = P.toPathString(r)), !r && r !== "" || !t)
|
|
2190
2190
|
return;
|
|
2191
|
-
const c =
|
|
2191
|
+
const c = P.toPathArray(r);
|
|
2192
2192
|
c[0] === "$" && c.length > 1 && c.shift(), this._hasParentSelector = null;
|
|
2193
2193
|
const u = this._trace(c, t, ["$"], i, o, a).filter(function(d) {
|
|
2194
2194
|
return d && !d.isParentSelector;
|
|
@@ -2198,32 +2198,32 @@ N.prototype.evaluate = function(r, t, a, n) {
|
|
|
2198
2198
|
return l && Array.isArray(f) ? d = d.concat(f) : d.push(f), d;
|
|
2199
2199
|
}, []) : s ? [] : void 0;
|
|
2200
2200
|
};
|
|
2201
|
-
|
|
2201
|
+
P.prototype._getPreferredOutput = function(r) {
|
|
2202
2202
|
const t = this.currResultType;
|
|
2203
2203
|
switch (t) {
|
|
2204
2204
|
case "all": {
|
|
2205
|
-
const a = Array.isArray(r.path) ? r.path :
|
|
2206
|
-
return r.pointer =
|
|
2205
|
+
const a = Array.isArray(r.path) ? r.path : P.toPathArray(r.path);
|
|
2206
|
+
return r.pointer = P.toPointer(a), r.path = typeof r.path == "string" ? r.path : P.toPathString(r.path), r;
|
|
2207
2207
|
}
|
|
2208
2208
|
case "value":
|
|
2209
2209
|
case "parent":
|
|
2210
2210
|
case "parentProperty":
|
|
2211
2211
|
return r[t];
|
|
2212
2212
|
case "path":
|
|
2213
|
-
return
|
|
2213
|
+
return P.toPathString(r[t]);
|
|
2214
2214
|
case "pointer":
|
|
2215
|
-
return
|
|
2215
|
+
return P.toPointer(r.path);
|
|
2216
2216
|
default:
|
|
2217
2217
|
throw new TypeError("Unknown result type");
|
|
2218
2218
|
}
|
|
2219
2219
|
};
|
|
2220
|
-
|
|
2220
|
+
P.prototype._handleCallback = function(r, t, a) {
|
|
2221
2221
|
if (t) {
|
|
2222
2222
|
const n = this._getPreferredOutput(r);
|
|
2223
|
-
r.path = typeof r.path == "string" ? r.path :
|
|
2223
|
+
r.path = typeof r.path == "string" ? r.path : P.toPathString(r.path), t(n, a, r);
|
|
2224
2224
|
}
|
|
2225
2225
|
};
|
|
2226
|
-
|
|
2226
|
+
P.prototype._trace = function(r, t, a, n, i, o, l, s) {
|
|
2227
2227
|
let c;
|
|
2228
2228
|
if (!r.length)
|
|
2229
2229
|
return c = {
|
|
@@ -2350,7 +2350,7 @@ N.prototype._trace = function(r, t, a, n, i, o, l, s) {
|
|
|
2350
2350
|
}
|
|
2351
2351
|
return g;
|
|
2352
2352
|
};
|
|
2353
|
-
|
|
2353
|
+
P.prototype._walk = function(r, t) {
|
|
2354
2354
|
if (Array.isArray(r)) {
|
|
2355
2355
|
const a = r.length;
|
|
2356
2356
|
for (let n = 0; n < a; n++)
|
|
@@ -2359,7 +2359,7 @@ N.prototype._walk = function(r, t) {
|
|
|
2359
2359
|
t(a);
|
|
2360
2360
|
});
|
|
2361
2361
|
};
|
|
2362
|
-
|
|
2362
|
+
P.prototype._slice = function(r, t, a, n, i, o, l) {
|
|
2363
2363
|
if (!Array.isArray(a))
|
|
2364
2364
|
return;
|
|
2365
2365
|
const s = a.length, c = r.split(":"), u = c[2] && Number.parseInt(c[2]) || 1;
|
|
@@ -2372,54 +2372,54 @@ N.prototype._slice = function(r, t, a, n, i, o, l) {
|
|
|
2372
2372
|
});
|
|
2373
2373
|
return f;
|
|
2374
2374
|
};
|
|
2375
|
-
|
|
2375
|
+
P.prototype._eval = function(r, t, a, n, i, o) {
|
|
2376
2376
|
this.currSandbox._$_parentProperty = o, this.currSandbox._$_parent = i, this.currSandbox._$_property = a, this.currSandbox._$_root = this.json, this.currSandbox._$_v = t;
|
|
2377
2377
|
const l = r.includes("@path");
|
|
2378
|
-
l && (this.currSandbox._$_path =
|
|
2378
|
+
l && (this.currSandbox._$_path = P.toPathString(n.concat([a])));
|
|
2379
2379
|
const s = this.currEval + "Script:" + r;
|
|
2380
|
-
if (!
|
|
2380
|
+
if (!P.cache[s]) {
|
|
2381
2381
|
let c = r.replaceAll("@parentProperty", "_$_parentProperty").replaceAll("@parent", "_$_parent").replaceAll("@property", "_$_property").replaceAll("@root", "_$_root").replaceAll(/@([.\s)[])/gu, "_$_v$1");
|
|
2382
2382
|
if (l && (c = c.replaceAll("@path", "_$_path")), this.currEval === "safe" || this.currEval === !0 || this.currEval === void 0)
|
|
2383
|
-
|
|
2383
|
+
P.cache[s] = new this.safeVm.Script(c);
|
|
2384
2384
|
else if (this.currEval === "native")
|
|
2385
|
-
|
|
2385
|
+
P.cache[s] = new this.vm.Script(c);
|
|
2386
2386
|
else if (typeof this.currEval == "function" && this.currEval.prototype && Object.hasOwn(this.currEval.prototype, "runInNewContext")) {
|
|
2387
2387
|
const u = this.currEval;
|
|
2388
|
-
|
|
2388
|
+
P.cache[s] = new u(c);
|
|
2389
2389
|
} else if (typeof this.currEval == "function")
|
|
2390
|
-
|
|
2390
|
+
P.cache[s] = {
|
|
2391
2391
|
runInNewContext: (u) => this.currEval(c, u)
|
|
2392
2392
|
};
|
|
2393
2393
|
else
|
|
2394
2394
|
throw new TypeError(`Unknown "eval" property "${this.currEval}"`);
|
|
2395
2395
|
}
|
|
2396
2396
|
try {
|
|
2397
|
-
return
|
|
2397
|
+
return P.cache[s].runInNewContext(this.currSandbox);
|
|
2398
2398
|
} catch (c) {
|
|
2399
2399
|
if (this.ignoreEvalErrors)
|
|
2400
2400
|
return !1;
|
|
2401
2401
|
throw new Error("jsonPath: " + c.message + ": " + r);
|
|
2402
2402
|
}
|
|
2403
2403
|
};
|
|
2404
|
-
|
|
2405
|
-
|
|
2404
|
+
P.cache = {};
|
|
2405
|
+
P.toPathString = function(r) {
|
|
2406
2406
|
const t = r, a = t.length;
|
|
2407
2407
|
let n = "$";
|
|
2408
2408
|
for (let i = 1; i < a; i++)
|
|
2409
2409
|
/^(~|\^|@.*?\(\))$/u.test(t[i]) || (n += /^[0-9*]+$/u.test(t[i]) ? "[" + t[i] + "]" : "['" + t[i] + "']");
|
|
2410
2410
|
return n;
|
|
2411
2411
|
};
|
|
2412
|
-
|
|
2412
|
+
P.toPointer = function(r) {
|
|
2413
2413
|
const t = r, a = t.length;
|
|
2414
2414
|
let n = "";
|
|
2415
2415
|
for (let i = 1; i < a; i++)
|
|
2416
2416
|
/^(~|\^|@.*?\(\))$/u.test(t[i]) || (n += "/" + t[i].toString().replaceAll("~", "~0").replaceAll("/", "~1"));
|
|
2417
2417
|
return n;
|
|
2418
2418
|
};
|
|
2419
|
-
|
|
2419
|
+
P.toPathArray = function(r) {
|
|
2420
2420
|
const {
|
|
2421
2421
|
cache: t
|
|
2422
|
-
} =
|
|
2422
|
+
} = P;
|
|
2423
2423
|
if (t[r])
|
|
2424
2424
|
return t[r].concat();
|
|
2425
2425
|
const a = [], i = r.replaceAll(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/gu, ";$&;").replaceAll(/[['](\??\(.*?\))[\]'](?!.\])/gu, function(o, l) {
|
|
@@ -2434,7 +2434,7 @@ N.toPathArray = function(r) {
|
|
|
2434
2434
|
});
|
|
2435
2435
|
return t[r] = i, t[r].concat();
|
|
2436
2436
|
};
|
|
2437
|
-
|
|
2437
|
+
P.prototype.safeVm = {
|
|
2438
2438
|
Script: Rg
|
|
2439
2439
|
};
|
|
2440
2440
|
const qg = function(r, t, a) {
|
|
@@ -2469,11 +2469,11 @@ class Fg {
|
|
|
2469
2469
|
return new Function(...n, c)(...o);
|
|
2470
2470
|
}
|
|
2471
2471
|
}
|
|
2472
|
-
|
|
2472
|
+
P.prototype.vm = {
|
|
2473
2473
|
Script: Fg
|
|
2474
2474
|
};
|
|
2475
|
-
const
|
|
2476
|
-
const a =
|
|
2475
|
+
const pl = (r, t) => {
|
|
2476
|
+
const a = P({
|
|
2477
2477
|
json: r,
|
|
2478
2478
|
path: ["$", `[?(@.locator=="${t}")]`]
|
|
2479
2479
|
});
|
|
@@ -2489,8 +2489,8 @@ const gl = (r, t) => {
|
|
|
2489
2489
|
else
|
|
2490
2490
|
return r;
|
|
2491
2491
|
return r.slice(0, -t.length);
|
|
2492
|
-
},
|
|
2493
|
-
const n = Zg(t), i =
|
|
2492
|
+
}, gl = ({ dataModel: r, elementType: t, resultType: a = "value" }) => {
|
|
2493
|
+
const n = Zg(t), i = P({
|
|
2494
2494
|
path: [
|
|
2495
2495
|
"$",
|
|
2496
2496
|
"?(@property === 'exposures' || @property === 'coverages' || @property === 'policyLines'|| @property === 'exposureGroups')",
|
|
@@ -2505,8 +2505,8 @@ const gl = (r, t) => {
|
|
|
2505
2505
|
quote: t,
|
|
2506
2506
|
elementLocator: a
|
|
2507
2507
|
}) => {
|
|
2508
|
-
const n =
|
|
2509
|
-
return n ?
|
|
2508
|
+
const n = pl(t, a);
|
|
2509
|
+
return n ? gl({
|
|
2510
2510
|
dataModel: r,
|
|
2511
2511
|
elementType: n.type
|
|
2512
2512
|
}) : {};
|
|
@@ -2515,8 +2515,8 @@ const gl = (r, t) => {
|
|
|
2515
2515
|
segment: t,
|
|
2516
2516
|
elementLocator: a
|
|
2517
2517
|
}) => {
|
|
2518
|
-
const n =
|
|
2519
|
-
return n ?
|
|
2518
|
+
const n = pl(t, a);
|
|
2519
|
+
return n ? gl({
|
|
2520
2520
|
dataModel: r,
|
|
2521
2521
|
elementType: n.type
|
|
2522
2522
|
}) : {};
|
|
@@ -2544,27 +2544,27 @@ const gl = (r, t) => {
|
|
|
2544
2544
|
var h, y, b, C;
|
|
2545
2545
|
const a = r.exposures ?? {}, n = r.coverages ?? {}, i = r.policyLines ?? {}, o = r.exposureGroups ?? {}, s = (t ?? []).map(
|
|
2546
2546
|
(_) => {
|
|
2547
|
-
const { name: Z, quantifier:
|
|
2548
|
-
return { name: Z, quantifier:
|
|
2547
|
+
const { name: Z, quantifier: te } = Ug(_);
|
|
2548
|
+
return { name: Z, quantifier: te };
|
|
2549
2549
|
}
|
|
2550
2550
|
), c = Object.keys(a).filter(
|
|
2551
2551
|
(_) => {
|
|
2552
2552
|
if (s.find(
|
|
2553
|
-
(
|
|
2553
|
+
(te) => te.name === _
|
|
2554
2554
|
))
|
|
2555
2555
|
return !0;
|
|
2556
2556
|
}
|
|
2557
2557
|
), u = Object.keys(n).filter(
|
|
2558
2558
|
(_) => {
|
|
2559
2559
|
if (s.find(
|
|
2560
|
-
(
|
|
2560
|
+
(te) => te.name === _
|
|
2561
2561
|
))
|
|
2562
2562
|
return !0;
|
|
2563
2563
|
}
|
|
2564
2564
|
), d = Object.keys(i).filter(
|
|
2565
2565
|
(_) => {
|
|
2566
2566
|
if (s.find(
|
|
2567
|
-
(
|
|
2567
|
+
(te) => te.name === _
|
|
2568
2568
|
))
|
|
2569
2569
|
return !0;
|
|
2570
2570
|
}
|
|
@@ -2572,7 +2572,7 @@ const gl = (r, t) => {
|
|
|
2572
2572
|
o
|
|
2573
2573
|
).filter((_) => {
|
|
2574
2574
|
if (s.find(
|
|
2575
|
-
(
|
|
2575
|
+
(te) => te.name === _
|
|
2576
2576
|
))
|
|
2577
2577
|
return !0;
|
|
2578
2578
|
}), f = {
|
|
@@ -2643,9 +2643,9 @@ const gl = (r, t) => {
|
|
|
2643
2643
|
...l
|
|
2644
2644
|
},
|
|
2645
2645
|
default: {
|
|
2646
|
-
effectiveTime:
|
|
2646
|
+
effectiveTime: Ni(s).toString(),
|
|
2647
2647
|
...c && {
|
|
2648
|
-
newPolicyEndDate:
|
|
2648
|
+
newPolicyEndDate: Ni(c).toString()
|
|
2649
2649
|
}
|
|
2650
2650
|
},
|
|
2651
2651
|
coverageTerms: ut({
|
|
@@ -2693,7 +2693,7 @@ const gl = (r, t) => {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
};
|
|
2695
2695
|
};
|
|
2696
|
-
var
|
|
2696
|
+
var D;
|
|
2697
2697
|
(function(r) {
|
|
2698
2698
|
r.assertEqual = (i) => i;
|
|
2699
2699
|
function t(i) {
|
|
@@ -2728,7 +2728,7 @@ var P;
|
|
|
2728
2728
|
return i.map((l) => typeof l == "string" ? `'${l}'` : l).join(o);
|
|
2729
2729
|
}
|
|
2730
2730
|
r.joinValues = n, r.jsonStringifyReplacer = (i, o) => typeof o == "bigint" ? o.toString() : o;
|
|
2731
|
-
})(
|
|
2731
|
+
})(D || (D = {}));
|
|
2732
2732
|
var cn;
|
|
2733
2733
|
(function(r) {
|
|
2734
2734
|
r.mergeShapes = (t, a) => ({
|
|
@@ -2737,7 +2737,7 @@ var cn;
|
|
|
2737
2737
|
// second overwrites first
|
|
2738
2738
|
});
|
|
2739
2739
|
})(cn || (cn = {}));
|
|
2740
|
-
const j =
|
|
2740
|
+
const j = D.arrayToEnum([
|
|
2741
2741
|
"string",
|
|
2742
2742
|
"nan",
|
|
2743
2743
|
"number",
|
|
@@ -2779,7 +2779,7 @@ const j = P.arrayToEnum([
|
|
|
2779
2779
|
default:
|
|
2780
2780
|
return j.unknown;
|
|
2781
2781
|
}
|
|
2782
|
-
}, m =
|
|
2782
|
+
}, m = D.arrayToEnum([
|
|
2783
2783
|
"invalid_type",
|
|
2784
2784
|
"invalid_literal",
|
|
2785
2785
|
"custom",
|
|
@@ -2797,7 +2797,7 @@ const j = P.arrayToEnum([
|
|
|
2797
2797
|
"not_multiple_of",
|
|
2798
2798
|
"not_finite"
|
|
2799
2799
|
]), Gg = (r) => JSON.stringify(r, null, 2).replace(/"([^"]+)":/g, "$1:");
|
|
2800
|
-
class
|
|
2800
|
+
class ie extends Error {
|
|
2801
2801
|
get errors() {
|
|
2802
2802
|
return this.issues;
|
|
2803
2803
|
}
|
|
@@ -2834,14 +2834,14 @@ class ne extends Error {
|
|
|
2834
2834
|
return i(this), n;
|
|
2835
2835
|
}
|
|
2836
2836
|
static assert(t) {
|
|
2837
|
-
if (!(t instanceof
|
|
2837
|
+
if (!(t instanceof ie))
|
|
2838
2838
|
throw new Error(`Not a ZodError: ${t}`);
|
|
2839
2839
|
}
|
|
2840
2840
|
toString() {
|
|
2841
2841
|
return this.message;
|
|
2842
2842
|
}
|
|
2843
2843
|
get message() {
|
|
2844
|
-
return JSON.stringify(this.issues,
|
|
2844
|
+
return JSON.stringify(this.issues, D.jsonStringifyReplacer, 2);
|
|
2845
2845
|
}
|
|
2846
2846
|
get isEmpty() {
|
|
2847
2847
|
return this.issues.length === 0;
|
|
@@ -2856,7 +2856,7 @@ class ne extends Error {
|
|
|
2856
2856
|
return this.flatten();
|
|
2857
2857
|
}
|
|
2858
2858
|
}
|
|
2859
|
-
|
|
2859
|
+
ie.create = (r) => new ie(r);
|
|
2860
2860
|
const Pt = (r, t) => {
|
|
2861
2861
|
let a;
|
|
2862
2862
|
switch (r.code) {
|
|
@@ -2864,19 +2864,19 @@ const Pt = (r, t) => {
|
|
|
2864
2864
|
r.received === j.undefined ? a = "Required" : a = `Expected ${r.expected}, received ${r.received}`;
|
|
2865
2865
|
break;
|
|
2866
2866
|
case m.invalid_literal:
|
|
2867
|
-
a = `Invalid literal value, expected ${JSON.stringify(r.expected,
|
|
2867
|
+
a = `Invalid literal value, expected ${JSON.stringify(r.expected, D.jsonStringifyReplacer)}`;
|
|
2868
2868
|
break;
|
|
2869
2869
|
case m.unrecognized_keys:
|
|
2870
|
-
a = `Unrecognized key(s) in object: ${
|
|
2870
|
+
a = `Unrecognized key(s) in object: ${D.joinValues(r.keys, ", ")}`;
|
|
2871
2871
|
break;
|
|
2872
2872
|
case m.invalid_union:
|
|
2873
2873
|
a = "Invalid input";
|
|
2874
2874
|
break;
|
|
2875
2875
|
case m.invalid_union_discriminator:
|
|
2876
|
-
a = `Invalid discriminator value. Expected ${
|
|
2876
|
+
a = `Invalid discriminator value. Expected ${D.joinValues(r.options)}`;
|
|
2877
2877
|
break;
|
|
2878
2878
|
case m.invalid_enum_value:
|
|
2879
|
-
a = `Invalid enum value. Expected ${
|
|
2879
|
+
a = `Invalid enum value. Expected ${D.joinValues(r.options)}, received '${r.received}'`;
|
|
2880
2880
|
break;
|
|
2881
2881
|
case m.invalid_arguments:
|
|
2882
2882
|
a = "Invalid function arguments";
|
|
@@ -2888,7 +2888,7 @@ const Pt = (r, t) => {
|
|
|
2888
2888
|
a = "Invalid date";
|
|
2889
2889
|
break;
|
|
2890
2890
|
case m.invalid_string:
|
|
2891
|
-
typeof r.validation == "object" ? "includes" in r.validation ? (a = `Invalid input: must include "${r.validation.includes}"`, typeof r.validation.position == "number" && (a = `${a} at one or more positions greater than or equal to ${r.validation.position}`)) : "startsWith" in r.validation ? a = `Invalid input: must start with "${r.validation.startsWith}"` : "endsWith" in r.validation ? a = `Invalid input: must end with "${r.validation.endsWith}"` :
|
|
2891
|
+
typeof r.validation == "object" ? "includes" in r.validation ? (a = `Invalid input: must include "${r.validation.includes}"`, typeof r.validation.position == "number" && (a = `${a} at one or more positions greater than or equal to ${r.validation.position}`)) : "startsWith" in r.validation ? a = `Invalid input: must start with "${r.validation.startsWith}"` : "endsWith" in r.validation ? a = `Invalid input: must end with "${r.validation.endsWith}"` : D.assertNever(r.validation) : r.validation !== "regex" ? a = `Invalid ${r.validation}` : a = "Invalid";
|
|
2892
2892
|
break;
|
|
2893
2893
|
case m.too_small:
|
|
2894
2894
|
r.type === "array" ? a = `Array must contain ${r.exact ? "exactly" : r.inclusive ? "at least" : "more than"} ${r.minimum} element(s)` : r.type === "string" ? a = `String must contain ${r.exact ? "exactly" : r.inclusive ? "at least" : "over"} ${r.minimum} character(s)` : r.type === "number" ? a = `Number must be ${r.exact ? "exactly equal to " : r.inclusive ? "greater than or equal to " : "greater than "}${r.minimum}` : r.type === "date" ? a = `Date must be ${r.exact ? "exactly equal to " : r.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(r.minimum))}` : a = "Invalid input";
|
|
@@ -2909,16 +2909,16 @@ const Pt = (r, t) => {
|
|
|
2909
2909
|
a = "Number must be finite";
|
|
2910
2910
|
break;
|
|
2911
2911
|
default:
|
|
2912
|
-
a = t.defaultError,
|
|
2912
|
+
a = t.defaultError, D.assertNever(r);
|
|
2913
2913
|
}
|
|
2914
2914
|
return { message: a };
|
|
2915
2915
|
};
|
|
2916
|
-
let
|
|
2916
|
+
let ml = Pt;
|
|
2917
2917
|
function zg(r) {
|
|
2918
|
-
|
|
2918
|
+
ml = r;
|
|
2919
2919
|
}
|
|
2920
2920
|
function Qr() {
|
|
2921
|
-
return
|
|
2921
|
+
return ml;
|
|
2922
2922
|
}
|
|
2923
2923
|
const Xr = (r) => {
|
|
2924
2924
|
const { data: t, path: a, errorMaps: n, issueData: i } = r, o = [...a, ...i.path || []], l = {
|
|
@@ -3002,12 +3002,12 @@ class H {
|
|
|
3002
3002
|
}
|
|
3003
3003
|
const x = Object.freeze({
|
|
3004
3004
|
status: "aborted"
|
|
3005
|
-
}), Jr = (r) => ({ status: "dirty", value: r }),
|
|
3005
|
+
}), Jr = (r) => ({ status: "dirty", value: r }), Y = (r) => ({ status: "valid", value: r }), un = (r) => r.status === "aborted", dn = (r) => r.status === "dirty", dt = (r) => r.status === "valid", sr = (r) => typeof Promise < "u" && r instanceof Promise;
|
|
3006
3006
|
function ea(r, t, a, n) {
|
|
3007
3007
|
if (typeof t == "function" ? r !== t || !0 : !t.has(r)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
3008
3008
|
return t.get(r);
|
|
3009
3009
|
}
|
|
3010
|
-
function
|
|
3010
|
+
function fl(r, t, a, n, i) {
|
|
3011
3011
|
if (typeof t == "function" ? r !== t || !0 : !t.has(r)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
3012
3012
|
return t.set(r, a), a;
|
|
3013
3013
|
}
|
|
@@ -3016,7 +3016,7 @@ var A;
|
|
|
3016
3016
|
r.errToObj = (t) => typeof t == "string" ? { message: t } : t || {}, r.toString = (t) => typeof t == "string" ? t : t == null ? void 0 : t.message;
|
|
3017
3017
|
})(A || (A = {}));
|
|
3018
3018
|
var or, lr;
|
|
3019
|
-
class
|
|
3019
|
+
class xe {
|
|
3020
3020
|
constructor(t, a, n, i) {
|
|
3021
3021
|
this._cachedPath = [], this.parent = t, this.data = a, this._path = n, this._key = i;
|
|
3022
3022
|
}
|
|
@@ -3024,7 +3024,7 @@ class we {
|
|
|
3024
3024
|
return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
|
|
3025
3025
|
}
|
|
3026
3026
|
}
|
|
3027
|
-
const
|
|
3027
|
+
const Ki = (r, t) => {
|
|
3028
3028
|
if (dt(t))
|
|
3029
3029
|
return { success: !0, data: t.value };
|
|
3030
3030
|
if (!r.common.issues.length)
|
|
@@ -3034,7 +3034,7 @@ const Vi = (r, t) => {
|
|
|
3034
3034
|
get error() {
|
|
3035
3035
|
if (this._error)
|
|
3036
3036
|
return this._error;
|
|
3037
|
-
const a = new
|
|
3037
|
+
const a = new ie(r.common.issues);
|
|
3038
3038
|
return this._error = a, this._error;
|
|
3039
3039
|
}
|
|
3040
3040
|
};
|
|
@@ -3111,7 +3111,7 @@ class S {
|
|
|
3111
3111
|
data: t,
|
|
3112
3112
|
parsedType: Ce(t)
|
|
3113
3113
|
}, o = this._parseSync({ data: t, path: i.path, parent: i });
|
|
3114
|
-
return
|
|
3114
|
+
return Ki(i, o);
|
|
3115
3115
|
}
|
|
3116
3116
|
"~validate"(t) {
|
|
3117
3117
|
var a, n;
|
|
@@ -3165,7 +3165,7 @@ class S {
|
|
|
3165
3165
|
data: t,
|
|
3166
3166
|
parsedType: Ce(t)
|
|
3167
3167
|
}, i = this._parse({ data: t, path: n.path, parent: n }), o = await (sr(i) ? i : Promise.resolve(i));
|
|
3168
|
-
return
|
|
3168
|
+
return Ki(n, o);
|
|
3169
3169
|
}
|
|
3170
3170
|
refine(t, a) {
|
|
3171
3171
|
const n = (i) => typeof a == "string" || typeof a > "u" ? { message: a } : typeof a == "function" ? a(i) : a;
|
|
@@ -3181,7 +3181,7 @@ class S {
|
|
|
3181
3181
|
return this._refinement((n, i) => t(n) ? !0 : (i.addIssue(typeof a == "function" ? a(n, i) : a), !1));
|
|
3182
3182
|
}
|
|
3183
3183
|
_refinement(t) {
|
|
3184
|
-
return new
|
|
3184
|
+
return new be({
|
|
3185
3185
|
schema: this,
|
|
3186
3186
|
typeName: w.ZodEffects,
|
|
3187
3187
|
effect: { type: "refinement", refinement: t }
|
|
@@ -3198,7 +3198,7 @@ class S {
|
|
|
3198
3198
|
};
|
|
3199
3199
|
}
|
|
3200
3200
|
optional() {
|
|
3201
|
-
return
|
|
3201
|
+
return _e.create(this, this._def);
|
|
3202
3202
|
}
|
|
3203
3203
|
nullable() {
|
|
3204
3204
|
return He.create(this, this._def);
|
|
@@ -3207,7 +3207,7 @@ class S {
|
|
|
3207
3207
|
return this.nullable().optional();
|
|
3208
3208
|
}
|
|
3209
3209
|
array() {
|
|
3210
|
-
return
|
|
3210
|
+
return he.create(this);
|
|
3211
3211
|
}
|
|
3212
3212
|
promise() {
|
|
3213
3213
|
return Ot.create(this, this._def);
|
|
@@ -3219,7 +3219,7 @@ class S {
|
|
|
3219
3219
|
return gr.create(this, t, this._def);
|
|
3220
3220
|
}
|
|
3221
3221
|
transform(t) {
|
|
3222
|
-
return new
|
|
3222
|
+
return new be({
|
|
3223
3223
|
...L(this._def),
|
|
3224
3224
|
schema: this,
|
|
3225
3225
|
typeName: w.ZodEffects,
|
|
@@ -3273,16 +3273,16 @@ class S {
|
|
|
3273
3273
|
}
|
|
3274
3274
|
const Vg = /^c[^\s-]{8,}$/i, Hg = /^[0-9a-z]+$/, Wg = /^[0-9A-HJKMNP-TV-Z]{26}$/i, Yg = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, Qg = /^[a-z0-9_-]{21}$/i, Xg = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, Jg = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, em = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, tm = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
3275
3275
|
let Wa;
|
|
3276
|
-
const rm = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, am = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, nm = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, im = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, om = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, lm = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,
|
|
3277
|
-
function
|
|
3276
|
+
const rm = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, am = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, nm = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, im = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, om = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, lm = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, yl = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", sm = new RegExp(`^${yl}$`);
|
|
3277
|
+
function hl(r) {
|
|
3278
3278
|
let t = "([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";
|
|
3279
3279
|
return r.precision ? t = `${t}\\.\\d{${r.precision}}` : r.precision == null && (t = `${t}(\\.\\d+)?`), t;
|
|
3280
3280
|
}
|
|
3281
3281
|
function cm(r) {
|
|
3282
|
-
return new RegExp(`^${
|
|
3282
|
+
return new RegExp(`^${hl(r)}$`);
|
|
3283
3283
|
}
|
|
3284
|
-
function
|
|
3285
|
-
let t = `${
|
|
3284
|
+
function bl(r) {
|
|
3285
|
+
let t = `${yl}T${hl(r)}`;
|
|
3286
3286
|
const a = [];
|
|
3287
3287
|
return a.push(r.local ? "Z?" : "Z"), r.offset && a.push("([+-]\\d{2}:?\\d{2})"), t = `${t}(${a.join("|")})`, new RegExp(`^${t}$`);
|
|
3288
3288
|
}
|
|
@@ -3302,7 +3302,7 @@ function dm(r, t) {
|
|
|
3302
3302
|
function pm(r, t) {
|
|
3303
3303
|
return !!((t === "v4" || !t) && am.test(r) || (t === "v6" || !t) && im.test(r));
|
|
3304
3304
|
}
|
|
3305
|
-
class
|
|
3305
|
+
class ye extends S {
|
|
3306
3306
|
_parse(t) {
|
|
3307
3307
|
if (this._def.coerce && (t.data = String(t.data)), this._getType(t) !== j.string) {
|
|
3308
3308
|
const i = this._getOrReturnCtx(t);
|
|
@@ -3418,7 +3418,7 @@ class fe extends S {
|
|
|
3418
3418
|
code: m.invalid_string,
|
|
3419
3419
|
validation: { endsWith: i.value },
|
|
3420
3420
|
message: i.message
|
|
3421
|
-
}), a.dirty()) : i.kind === "datetime" ?
|
|
3421
|
+
}), a.dirty()) : i.kind === "datetime" ? bl(i).test(t.data) || (n = this._getOrReturnCtx(t, n), v(n, {
|
|
3422
3422
|
code: m.invalid_string,
|
|
3423
3423
|
validation: "datetime",
|
|
3424
3424
|
message: i.message
|
|
@@ -3454,7 +3454,7 @@ class fe extends S {
|
|
|
3454
3454
|
validation: "base64url",
|
|
3455
3455
|
code: m.invalid_string,
|
|
3456
3456
|
message: i.message
|
|
3457
|
-
}), a.dirty()) :
|
|
3457
|
+
}), a.dirty()) : D.assertNever(i);
|
|
3458
3458
|
return { status: a.value, value: t.data };
|
|
3459
3459
|
}
|
|
3460
3460
|
_regex(t, a, n) {
|
|
@@ -3465,7 +3465,7 @@ class fe extends S {
|
|
|
3465
3465
|
});
|
|
3466
3466
|
}
|
|
3467
3467
|
_addCheck(t) {
|
|
3468
|
-
return new
|
|
3468
|
+
return new ye({
|
|
3469
3469
|
...this._def,
|
|
3470
3470
|
checks: [...this._def.checks, t]
|
|
3471
3471
|
});
|
|
@@ -3602,19 +3602,19 @@ class fe extends S {
|
|
|
3602
3602
|
return this.min(1, A.errToObj(t));
|
|
3603
3603
|
}
|
|
3604
3604
|
trim() {
|
|
3605
|
-
return new
|
|
3605
|
+
return new ye({
|
|
3606
3606
|
...this._def,
|
|
3607
3607
|
checks: [...this._def.checks, { kind: "trim" }]
|
|
3608
3608
|
});
|
|
3609
3609
|
}
|
|
3610
3610
|
toLowerCase() {
|
|
3611
|
-
return new
|
|
3611
|
+
return new ye({
|
|
3612
3612
|
...this._def,
|
|
3613
3613
|
checks: [...this._def.checks, { kind: "toLowerCase" }]
|
|
3614
3614
|
});
|
|
3615
3615
|
}
|
|
3616
3616
|
toUpperCase() {
|
|
3617
|
-
return new
|
|
3617
|
+
return new ye({
|
|
3618
3618
|
...this._def,
|
|
3619
3619
|
checks: [...this._def.checks, { kind: "toUpperCase" }]
|
|
3620
3620
|
});
|
|
@@ -3680,9 +3680,9 @@ class fe extends S {
|
|
|
3680
3680
|
return t;
|
|
3681
3681
|
}
|
|
3682
3682
|
}
|
|
3683
|
-
|
|
3683
|
+
ye.create = (r) => {
|
|
3684
3684
|
var t;
|
|
3685
|
-
return new
|
|
3685
|
+
return new ye({
|
|
3686
3686
|
checks: [],
|
|
3687
3687
|
typeName: w.ZodString,
|
|
3688
3688
|
coerce: (t = r == null ? void 0 : r.coerce) !== null && t !== void 0 ? t : !1,
|
|
@@ -3709,7 +3709,7 @@ class ze extends S {
|
|
|
3709
3709
|
let a;
|
|
3710
3710
|
const n = new H();
|
|
3711
3711
|
for (const i of this._def.checks)
|
|
3712
|
-
i.kind === "int" ?
|
|
3712
|
+
i.kind === "int" ? D.isInteger(t.data) || (a = this._getOrReturnCtx(t, a), v(a, {
|
|
3713
3713
|
code: m.invalid_type,
|
|
3714
3714
|
expected: "integer",
|
|
3715
3715
|
received: "float",
|
|
@@ -3735,7 +3735,7 @@ class ze extends S {
|
|
|
3735
3735
|
}), n.dirty()) : i.kind === "finite" ? Number.isFinite(t.data) || (a = this._getOrReturnCtx(t, a), v(a, {
|
|
3736
3736
|
code: m.not_finite,
|
|
3737
3737
|
message: i.message
|
|
3738
|
-
}), n.dirty()) :
|
|
3738
|
+
}), n.dirty()) : D.assertNever(i);
|
|
3739
3739
|
return { status: n.value, value: t.data };
|
|
3740
3740
|
}
|
|
3741
3741
|
gte(t, a) {
|
|
@@ -3847,7 +3847,7 @@ class ze extends S {
|
|
|
3847
3847
|
return t;
|
|
3848
3848
|
}
|
|
3849
3849
|
get isInt() {
|
|
3850
|
-
return !!this._def.checks.find((t) => t.kind === "int" || t.kind === "multipleOf" &&
|
|
3850
|
+
return !!this._def.checks.find((t) => t.kind === "int" || t.kind === "multipleOf" && D.isInteger(t.value));
|
|
3851
3851
|
}
|
|
3852
3852
|
get isFinite() {
|
|
3853
3853
|
let t = null, a = null;
|
|
@@ -3897,7 +3897,7 @@ class Ke extends S {
|
|
|
3897
3897
|
code: m.not_multiple_of,
|
|
3898
3898
|
multipleOf: i.value,
|
|
3899
3899
|
message: i.message
|
|
3900
|
-
}), n.dirty()) :
|
|
3900
|
+
}), n.dirty()) : D.assertNever(i);
|
|
3901
3901
|
return { status: n.value, value: t.data };
|
|
3902
3902
|
}
|
|
3903
3903
|
_getInvalidInput(t) {
|
|
@@ -4011,7 +4011,7 @@ class cr extends S {
|
|
|
4011
4011
|
received: a.parsedType
|
|
4012
4012
|
}), x;
|
|
4013
4013
|
}
|
|
4014
|
-
return
|
|
4014
|
+
return Y(t.data);
|
|
4015
4015
|
}
|
|
4016
4016
|
}
|
|
4017
4017
|
cr.create = (r) => new cr({
|
|
@@ -4052,7 +4052,7 @@ class pt extends S {
|
|
|
4052
4052
|
exact: !1,
|
|
4053
4053
|
maximum: i.value,
|
|
4054
4054
|
type: "date"
|
|
4055
|
-
}), a.dirty()) :
|
|
4055
|
+
}), a.dirty()) : D.assertNever(i);
|
|
4056
4056
|
return {
|
|
4057
4057
|
status: a.value,
|
|
4058
4058
|
value: new Date(t.data.getTime())
|
|
@@ -4107,7 +4107,7 @@ class ta extends S {
|
|
|
4107
4107
|
received: a.parsedType
|
|
4108
4108
|
}), x;
|
|
4109
4109
|
}
|
|
4110
|
-
return
|
|
4110
|
+
return Y(t.data);
|
|
4111
4111
|
}
|
|
4112
4112
|
}
|
|
4113
4113
|
ta.create = (r) => new ta({
|
|
@@ -4124,7 +4124,7 @@ class ur extends S {
|
|
|
4124
4124
|
received: a.parsedType
|
|
4125
4125
|
}), x;
|
|
4126
4126
|
}
|
|
4127
|
-
return
|
|
4127
|
+
return Y(t.data);
|
|
4128
4128
|
}
|
|
4129
4129
|
}
|
|
4130
4130
|
ur.create = (r) => new ur({
|
|
@@ -4141,7 +4141,7 @@ class dr extends S {
|
|
|
4141
4141
|
received: a.parsedType
|
|
4142
4142
|
}), x;
|
|
4143
4143
|
}
|
|
4144
|
-
return
|
|
4144
|
+
return Y(t.data);
|
|
4145
4145
|
}
|
|
4146
4146
|
}
|
|
4147
4147
|
dr.create = (r) => new dr({
|
|
@@ -4153,7 +4153,7 @@ class Dt extends S {
|
|
|
4153
4153
|
super(...arguments), this._any = !0;
|
|
4154
4154
|
}
|
|
4155
4155
|
_parse(t) {
|
|
4156
|
-
return
|
|
4156
|
+
return Y(t.data);
|
|
4157
4157
|
}
|
|
4158
4158
|
}
|
|
4159
4159
|
Dt.create = (r) => new Dt({
|
|
@@ -4165,7 +4165,7 @@ class st extends S {
|
|
|
4165
4165
|
super(...arguments), this._unknown = !0;
|
|
4166
4166
|
}
|
|
4167
4167
|
_parse(t) {
|
|
4168
|
-
return
|
|
4168
|
+
return Y(t.data);
|
|
4169
4169
|
}
|
|
4170
4170
|
}
|
|
4171
4171
|
st.create = (r) => new st({
|
|
@@ -4196,14 +4196,14 @@ class ra extends S {
|
|
|
4196
4196
|
received: a.parsedType
|
|
4197
4197
|
}), x;
|
|
4198
4198
|
}
|
|
4199
|
-
return
|
|
4199
|
+
return Y(t.data);
|
|
4200
4200
|
}
|
|
4201
4201
|
}
|
|
4202
4202
|
ra.create = (r) => new ra({
|
|
4203
4203
|
typeName: w.ZodVoid,
|
|
4204
4204
|
...L(r)
|
|
4205
4205
|
});
|
|
4206
|
-
class
|
|
4206
|
+
class he extends S {
|
|
4207
4207
|
_parse(t) {
|
|
4208
4208
|
const { ctx: a, status: n } = this._processInputParams(t), i = this._def;
|
|
4209
4209
|
if (a.parsedType !== j.array)
|
|
@@ -4239,27 +4239,27 @@ class ye extends S {
|
|
|
4239
4239
|
exact: !1,
|
|
4240
4240
|
message: i.maxLength.message
|
|
4241
4241
|
}), n.dirty()), a.common.async)
|
|
4242
|
-
return Promise.all([...a.data].map((l, s) => i.type._parseAsync(new
|
|
4243
|
-
const o = [...a.data].map((l, s) => i.type._parseSync(new
|
|
4242
|
+
return Promise.all([...a.data].map((l, s) => i.type._parseAsync(new xe(a, l, a.path, s)))).then((l) => H.mergeArray(n, l));
|
|
4243
|
+
const o = [...a.data].map((l, s) => i.type._parseSync(new xe(a, l, a.path, s)));
|
|
4244
4244
|
return H.mergeArray(n, o);
|
|
4245
4245
|
}
|
|
4246
4246
|
get element() {
|
|
4247
4247
|
return this._def.type;
|
|
4248
4248
|
}
|
|
4249
4249
|
min(t, a) {
|
|
4250
|
-
return new
|
|
4250
|
+
return new he({
|
|
4251
4251
|
...this._def,
|
|
4252
4252
|
minLength: { value: t, message: A.toString(a) }
|
|
4253
4253
|
});
|
|
4254
4254
|
}
|
|
4255
4255
|
max(t, a) {
|
|
4256
|
-
return new
|
|
4256
|
+
return new he({
|
|
4257
4257
|
...this._def,
|
|
4258
4258
|
maxLength: { value: t, message: A.toString(a) }
|
|
4259
4259
|
});
|
|
4260
4260
|
}
|
|
4261
4261
|
length(t, a) {
|
|
4262
|
-
return new
|
|
4262
|
+
return new he({
|
|
4263
4263
|
...this._def,
|
|
4264
4264
|
exactLength: { value: t, message: A.toString(a) }
|
|
4265
4265
|
});
|
|
@@ -4268,7 +4268,7 @@ class ye extends S {
|
|
|
4268
4268
|
return this.min(1, t);
|
|
4269
4269
|
}
|
|
4270
4270
|
}
|
|
4271
|
-
|
|
4271
|
+
he.create = (r, t) => new he({
|
|
4272
4272
|
type: r,
|
|
4273
4273
|
minLength: null,
|
|
4274
4274
|
maxLength: null,
|
|
@@ -4281,16 +4281,16 @@ function xt(r) {
|
|
|
4281
4281
|
const t = {};
|
|
4282
4282
|
for (const a in r.shape) {
|
|
4283
4283
|
const n = r.shape[a];
|
|
4284
|
-
t[a] =
|
|
4284
|
+
t[a] = _e.create(xt(n));
|
|
4285
4285
|
}
|
|
4286
4286
|
return new U({
|
|
4287
4287
|
...r._def,
|
|
4288
4288
|
shape: () => t
|
|
4289
4289
|
});
|
|
4290
|
-
} else return r instanceof
|
|
4290
|
+
} else return r instanceof he ? new he({
|
|
4291
4291
|
...r._def,
|
|
4292
4292
|
type: xt(r.element)
|
|
4293
|
-
}) : r instanceof
|
|
4293
|
+
}) : r instanceof _e ? _e.create(xt(r.unwrap())) : r instanceof He ? He.create(xt(r.unwrap())) : r instanceof Ee ? Ee.create(r.items.map((t) => xt(t))) : r;
|
|
4294
4294
|
}
|
|
4295
4295
|
class U extends S {
|
|
4296
4296
|
constructor() {
|
|
@@ -4299,7 +4299,7 @@ class U extends S {
|
|
|
4299
4299
|
_getCached() {
|
|
4300
4300
|
if (this._cached !== null)
|
|
4301
4301
|
return this._cached;
|
|
4302
|
-
const t = this._def.shape(), a =
|
|
4302
|
+
const t = this._def.shape(), a = D.objectKeys(t);
|
|
4303
4303
|
return this._cached = { shape: t, keys: a };
|
|
4304
4304
|
}
|
|
4305
4305
|
_parse(t) {
|
|
@@ -4320,7 +4320,7 @@ class U extends S {
|
|
|
4320
4320
|
const u = i[c], d = n.data[c];
|
|
4321
4321
|
s.push({
|
|
4322
4322
|
key: { status: "valid", value: c },
|
|
4323
|
-
value: u._parse(new
|
|
4323
|
+
value: u._parse(new xe(n, d, n.path, c)),
|
|
4324
4324
|
alwaysSet: c in n.data
|
|
4325
4325
|
});
|
|
4326
4326
|
}
|
|
@@ -4345,7 +4345,7 @@ class U extends S {
|
|
|
4345
4345
|
s.push({
|
|
4346
4346
|
key: { status: "valid", value: u },
|
|
4347
4347
|
value: c._parse(
|
|
4348
|
-
new
|
|
4348
|
+
new xe(n, d, n.path, u)
|
|
4349
4349
|
//, ctx.child(key), value, getParsedType(value)
|
|
4350
4350
|
),
|
|
4351
4351
|
alwaysSet: u in n.data
|
|
@@ -4506,7 +4506,7 @@ class U extends S {
|
|
|
4506
4506
|
}
|
|
4507
4507
|
pick(t) {
|
|
4508
4508
|
const a = {};
|
|
4509
|
-
return
|
|
4509
|
+
return D.objectKeys(t).forEach((n) => {
|
|
4510
4510
|
t[n] && this.shape[n] && (a[n] = this.shape[n]);
|
|
4511
4511
|
}), new U({
|
|
4512
4512
|
...this._def,
|
|
@@ -4515,7 +4515,7 @@ class U extends S {
|
|
|
4515
4515
|
}
|
|
4516
4516
|
omit(t) {
|
|
4517
4517
|
const a = {};
|
|
4518
|
-
return
|
|
4518
|
+
return D.objectKeys(this.shape).forEach((n) => {
|
|
4519
4519
|
t[n] || (a[n] = this.shape[n]);
|
|
4520
4520
|
}), new U({
|
|
4521
4521
|
...this._def,
|
|
@@ -4530,7 +4530,7 @@ class U extends S {
|
|
|
4530
4530
|
}
|
|
4531
4531
|
partial(t) {
|
|
4532
4532
|
const a = {};
|
|
4533
|
-
return
|
|
4533
|
+
return D.objectKeys(this.shape).forEach((n) => {
|
|
4534
4534
|
const i = this.shape[n];
|
|
4535
4535
|
t && !t[n] ? a[n] = i : a[n] = i.optional();
|
|
4536
4536
|
}), new U({
|
|
@@ -4540,12 +4540,12 @@ class U extends S {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
required(t) {
|
|
4542
4542
|
const a = {};
|
|
4543
|
-
return
|
|
4543
|
+
return D.objectKeys(this.shape).forEach((n) => {
|
|
4544
4544
|
if (t && !t[n])
|
|
4545
4545
|
a[n] = this.shape[n];
|
|
4546
4546
|
else {
|
|
4547
4547
|
let i = this.shape[n];
|
|
4548
|
-
for (; i instanceof
|
|
4548
|
+
for (; i instanceof _e; )
|
|
4549
4549
|
i = i._def.innerType;
|
|
4550
4550
|
a[n] = i;
|
|
4551
4551
|
}
|
|
@@ -4555,7 +4555,7 @@ class U extends S {
|
|
|
4555
4555
|
});
|
|
4556
4556
|
}
|
|
4557
4557
|
keyof() {
|
|
4558
|
-
return
|
|
4558
|
+
return vl(D.objectKeys(this.shape));
|
|
4559
4559
|
}
|
|
4560
4560
|
}
|
|
4561
4561
|
U.create = (r, t) => new U({
|
|
@@ -4589,7 +4589,7 @@ class pr extends S {
|
|
|
4589
4589
|
for (const s of o)
|
|
4590
4590
|
if (s.result.status === "dirty")
|
|
4591
4591
|
return a.common.issues.push(...s.ctx.common.issues), s.result;
|
|
4592
|
-
const l = o.map((s) => new
|
|
4592
|
+
const l = o.map((s) => new ie(s.ctx.common.issues));
|
|
4593
4593
|
return v(a, {
|
|
4594
4594
|
code: m.invalid_union,
|
|
4595
4595
|
unionErrors: l
|
|
@@ -4636,7 +4636,7 @@ class pr extends S {
|
|
|
4636
4636
|
}
|
|
4637
4637
|
if (o)
|
|
4638
4638
|
return a.common.issues.push(...o.ctx.common.issues), o.result;
|
|
4639
|
-
const s = l.map((c) => new
|
|
4639
|
+
const s = l.map((c) => new ie(c));
|
|
4640
4640
|
return v(a, {
|
|
4641
4641
|
code: m.invalid_union,
|
|
4642
4642
|
unionErrors: s
|
|
@@ -4652,7 +4652,7 @@ pr.create = (r, t) => new pr({
|
|
|
4652
4652
|
typeName: w.ZodUnion,
|
|
4653
4653
|
...L(t)
|
|
4654
4654
|
});
|
|
4655
|
-
const Ze = (r) => r instanceof fr ? Ze(r.schema) : r instanceof
|
|
4655
|
+
const Ze = (r) => r instanceof fr ? Ze(r.schema) : r instanceof be ? Ze(r.innerType()) : r instanceof yr ? [r.value] : r instanceof Ve ? r.options : r instanceof hr ? D.objectValues(r.enum) : r instanceof br ? Ze(r._def.innerType) : r instanceof ur ? [void 0] : r instanceof dr ? [null] : r instanceof _e ? [void 0, ...Ze(r.unwrap())] : r instanceof He ? [null, ...Ze(r.unwrap())] : r instanceof Sn || r instanceof Tr ? Ze(r.unwrap()) : r instanceof vr ? Ze(r._def.innerType) : [];
|
|
4656
4656
|
class va extends S {
|
|
4657
4657
|
_parse(t) {
|
|
4658
4658
|
const { ctx: a } = this._processInputParams(t);
|
|
@@ -4720,7 +4720,7 @@ function pn(r, t) {
|
|
|
4720
4720
|
if (r === t)
|
|
4721
4721
|
return { valid: !0, data: r };
|
|
4722
4722
|
if (a === j.object && n === j.object) {
|
|
4723
|
-
const i =
|
|
4723
|
+
const i = D.objectKeys(t), o = D.objectKeys(r).filter((s) => i.indexOf(s) !== -1), l = { ...r, ...t };
|
|
4724
4724
|
for (const s of o) {
|
|
4725
4725
|
const c = pn(r[s], t[s]);
|
|
4726
4726
|
if (!c.valid)
|
|
@@ -4779,7 +4779,7 @@ gr.create = (r, t, a) => new gr({
|
|
|
4779
4779
|
typeName: w.ZodIntersection,
|
|
4780
4780
|
...L(a)
|
|
4781
4781
|
});
|
|
4782
|
-
class
|
|
4782
|
+
class Ee extends S {
|
|
4783
4783
|
_parse(t) {
|
|
4784
4784
|
const { status: a, ctx: n } = this._processInputParams(t);
|
|
4785
4785
|
if (n.parsedType !== j.array)
|
|
@@ -4805,7 +4805,7 @@ class xe extends S {
|
|
|
4805
4805
|
}), a.dirty());
|
|
4806
4806
|
const i = [...n.data].map((o, l) => {
|
|
4807
4807
|
const s = this._def.items[l] || this._def.rest;
|
|
4808
|
-
return s ? s._parse(new
|
|
4808
|
+
return s ? s._parse(new xe(n, o, n.path, l)) : null;
|
|
4809
4809
|
}).filter((o) => !!o);
|
|
4810
4810
|
return n.common.async ? Promise.all(i).then((o) => H.mergeArray(a, o)) : H.mergeArray(a, i);
|
|
4811
4811
|
}
|
|
@@ -4813,16 +4813,16 @@ class xe extends S {
|
|
|
4813
4813
|
return this._def.items;
|
|
4814
4814
|
}
|
|
4815
4815
|
rest(t) {
|
|
4816
|
-
return new
|
|
4816
|
+
return new Ee({
|
|
4817
4817
|
...this._def,
|
|
4818
4818
|
rest: t
|
|
4819
4819
|
});
|
|
4820
4820
|
}
|
|
4821
4821
|
}
|
|
4822
|
-
|
|
4822
|
+
Ee.create = (r, t) => {
|
|
4823
4823
|
if (!Array.isArray(r))
|
|
4824
4824
|
throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
|
|
4825
|
-
return new
|
|
4825
|
+
return new Ee({
|
|
4826
4826
|
items: r,
|
|
4827
4827
|
typeName: w.ZodTuple,
|
|
4828
4828
|
rest: null,
|
|
@@ -4847,8 +4847,8 @@ class mr extends S {
|
|
|
4847
4847
|
const i = [], o = this._def.keyType, l = this._def.valueType;
|
|
4848
4848
|
for (const s in n.data)
|
|
4849
4849
|
i.push({
|
|
4850
|
-
key: o._parse(new
|
|
4851
|
-
value: l._parse(new
|
|
4850
|
+
key: o._parse(new xe(n, s, n.path, s)),
|
|
4851
|
+
value: l._parse(new xe(n, n.data[s], n.path, s)),
|
|
4852
4852
|
alwaysSet: s in n.data
|
|
4853
4853
|
});
|
|
4854
4854
|
return n.common.async ? H.mergeObjectAsync(a, i) : H.mergeObjectSync(a, i);
|
|
@@ -4863,7 +4863,7 @@ class mr extends S {
|
|
|
4863
4863
|
typeName: w.ZodRecord,
|
|
4864
4864
|
...L(n)
|
|
4865
4865
|
}) : new mr({
|
|
4866
|
-
keyType:
|
|
4866
|
+
keyType: ye.create(),
|
|
4867
4867
|
valueType: t,
|
|
4868
4868
|
typeName: w.ZodRecord,
|
|
4869
4869
|
...L(a)
|
|
@@ -4886,8 +4886,8 @@ class aa extends S {
|
|
|
4886
4886
|
received: n.parsedType
|
|
4887
4887
|
}), x;
|
|
4888
4888
|
const i = this._def.keyType, o = this._def.valueType, l = [...n.data.entries()].map(([s, c], u) => ({
|
|
4889
|
-
key: i._parse(new
|
|
4890
|
-
value: o._parse(new
|
|
4889
|
+
key: i._parse(new xe(n, s, n.path, [u, "key"])),
|
|
4890
|
+
value: o._parse(new xe(n, c, n.path, [u, "value"]))
|
|
4891
4891
|
}));
|
|
4892
4892
|
if (n.common.async) {
|
|
4893
4893
|
const s = /* @__PURE__ */ new Map();
|
|
@@ -4953,7 +4953,7 @@ class gt extends S {
|
|
|
4953
4953
|
}
|
|
4954
4954
|
return { status: a.value, value: u };
|
|
4955
4955
|
}
|
|
4956
|
-
const s = [...n.data.values()].map((c, u) => o._parse(new
|
|
4956
|
+
const s = [...n.data.values()].map((c, u) => o._parse(new xe(n, c, n.path, u)));
|
|
4957
4957
|
return n.common.async ? Promise.all(s).then((c) => l(c)) : l(s);
|
|
4958
4958
|
}
|
|
4959
4959
|
min(t, a) {
|
|
@@ -5029,8 +5029,8 @@ class Et extends S {
|
|
|
5029
5029
|
const o = { errorMap: a.common.contextualErrorMap }, l = a.data;
|
|
5030
5030
|
if (this._def.returns instanceof Ot) {
|
|
5031
5031
|
const s = this;
|
|
5032
|
-
return
|
|
5033
|
-
const u = new
|
|
5032
|
+
return Y(async function(...c) {
|
|
5033
|
+
const u = new ie([]), d = await s._def.args.parseAsync(c, o).catch((f) => {
|
|
5034
5034
|
throw u.addIssue(n(c, f)), u;
|
|
5035
5035
|
}), g = await Reflect.apply(l, this, d);
|
|
5036
5036
|
return await s._def.returns._def.type.parseAsync(g, o).catch((f) => {
|
|
@@ -5039,13 +5039,13 @@ class Et extends S {
|
|
|
5039
5039
|
});
|
|
5040
5040
|
} else {
|
|
5041
5041
|
const s = this;
|
|
5042
|
-
return
|
|
5042
|
+
return Y(function(...c) {
|
|
5043
5043
|
const u = s._def.args.safeParse(c, o);
|
|
5044
5044
|
if (!u.success)
|
|
5045
|
-
throw new
|
|
5045
|
+
throw new ie([n(c, u.error)]);
|
|
5046
5046
|
const d = Reflect.apply(l, this, u.data), g = s._def.returns.safeParse(d, o);
|
|
5047
5047
|
if (!g.success)
|
|
5048
|
-
throw new
|
|
5048
|
+
throw new ie([i(d, g.error)]);
|
|
5049
5049
|
return g.data;
|
|
5050
5050
|
});
|
|
5051
5051
|
}
|
|
@@ -5059,7 +5059,7 @@ class Et extends S {
|
|
|
5059
5059
|
args(...t) {
|
|
5060
5060
|
return new Et({
|
|
5061
5061
|
...this._def,
|
|
5062
|
-
args:
|
|
5062
|
+
args: Ee.create(t).rest(st.create())
|
|
5063
5063
|
});
|
|
5064
5064
|
}
|
|
5065
5065
|
returns(t) {
|
|
@@ -5076,7 +5076,7 @@ class Et extends S {
|
|
|
5076
5076
|
}
|
|
5077
5077
|
static create(t, a, n) {
|
|
5078
5078
|
return new Et({
|
|
5079
|
-
args: t ||
|
|
5079
|
+
args: t || Ee.create([]).rest(st.create()),
|
|
5080
5080
|
returns: a || st.create(),
|
|
5081
5081
|
typeName: w.ZodFunction,
|
|
5082
5082
|
...L(n)
|
|
@@ -5118,7 +5118,7 @@ yr.create = (r, t) => new yr({
|
|
|
5118
5118
|
typeName: w.ZodLiteral,
|
|
5119
5119
|
...L(t)
|
|
5120
5120
|
});
|
|
5121
|
-
function
|
|
5121
|
+
function vl(r, t) {
|
|
5122
5122
|
return new Ve({
|
|
5123
5123
|
values: r,
|
|
5124
5124
|
typeName: w.ZodEnum,
|
|
@@ -5133,12 +5133,12 @@ class Ve extends S {
|
|
|
5133
5133
|
if (typeof t.data != "string") {
|
|
5134
5134
|
const a = this._getOrReturnCtx(t), n = this._def.values;
|
|
5135
5135
|
return v(a, {
|
|
5136
|
-
expected:
|
|
5136
|
+
expected: D.joinValues(n),
|
|
5137
5137
|
received: a.parsedType,
|
|
5138
5138
|
code: m.invalid_type
|
|
5139
5139
|
}), x;
|
|
5140
5140
|
}
|
|
5141
|
-
if (ea(this, or) ||
|
|
5141
|
+
if (ea(this, or) || fl(this, or, new Set(this._def.values)), !ea(this, or).has(t.data)) {
|
|
5142
5142
|
const a = this._getOrReturnCtx(t), n = this._def.values;
|
|
5143
5143
|
return v(a, {
|
|
5144
5144
|
received: a.data,
|
|
@@ -5146,7 +5146,7 @@ class Ve extends S {
|
|
|
5146
5146
|
options: n
|
|
5147
5147
|
}), x;
|
|
5148
5148
|
}
|
|
5149
|
-
return
|
|
5149
|
+
return Y(t.data);
|
|
5150
5150
|
}
|
|
5151
5151
|
get options() {
|
|
5152
5152
|
return this._def.values;
|
|
@@ -5183,30 +5183,30 @@ class Ve extends S {
|
|
|
5183
5183
|
}
|
|
5184
5184
|
}
|
|
5185
5185
|
or = /* @__PURE__ */ new WeakMap();
|
|
5186
|
-
Ve.create =
|
|
5186
|
+
Ve.create = vl;
|
|
5187
5187
|
class hr extends S {
|
|
5188
5188
|
constructor() {
|
|
5189
5189
|
super(...arguments), lr.set(this, void 0);
|
|
5190
5190
|
}
|
|
5191
5191
|
_parse(t) {
|
|
5192
|
-
const a =
|
|
5192
|
+
const a = D.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(t);
|
|
5193
5193
|
if (n.parsedType !== j.string && n.parsedType !== j.number) {
|
|
5194
|
-
const i =
|
|
5194
|
+
const i = D.objectValues(a);
|
|
5195
5195
|
return v(n, {
|
|
5196
|
-
expected:
|
|
5196
|
+
expected: D.joinValues(i),
|
|
5197
5197
|
received: n.parsedType,
|
|
5198
5198
|
code: m.invalid_type
|
|
5199
5199
|
}), x;
|
|
5200
5200
|
}
|
|
5201
|
-
if (ea(this, lr) ||
|
|
5202
|
-
const i =
|
|
5201
|
+
if (ea(this, lr) || fl(this, lr, new Set(D.getValidEnumValues(this._def.values))), !ea(this, lr).has(t.data)) {
|
|
5202
|
+
const i = D.objectValues(a);
|
|
5203
5203
|
return v(n, {
|
|
5204
5204
|
received: n.data,
|
|
5205
5205
|
code: m.invalid_enum_value,
|
|
5206
5206
|
options: i
|
|
5207
5207
|
}), x;
|
|
5208
5208
|
}
|
|
5209
|
-
return
|
|
5209
|
+
return Y(t.data);
|
|
5210
5210
|
}
|
|
5211
5211
|
get enum() {
|
|
5212
5212
|
return this._def.values;
|
|
@@ -5231,7 +5231,7 @@ class Ot extends S {
|
|
|
5231
5231
|
received: a.parsedType
|
|
5232
5232
|
}), x;
|
|
5233
5233
|
const n = a.parsedType === j.promise ? a.data : Promise.resolve(a.data);
|
|
5234
|
-
return
|
|
5234
|
+
return Y(n.then((i) => this._def.type.parseAsync(i, {
|
|
5235
5235
|
path: a.path,
|
|
5236
5236
|
errorMap: a.common.contextualErrorMap
|
|
5237
5237
|
})));
|
|
@@ -5242,7 +5242,7 @@ Ot.create = (r, t) => new Ot({
|
|
|
5242
5242
|
typeName: w.ZodPromise,
|
|
5243
5243
|
...L(t)
|
|
5244
5244
|
});
|
|
5245
|
-
class
|
|
5245
|
+
class be extends S {
|
|
5246
5246
|
innerType() {
|
|
5247
5247
|
return this._def.schema;
|
|
5248
5248
|
}
|
|
@@ -5316,37 +5316,37 @@ class he extends S {
|
|
|
5316
5316
|
return { status: a.value, value: s };
|
|
5317
5317
|
} else
|
|
5318
5318
|
return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((l) => dt(l) ? Promise.resolve(i.transform(l.value, o)).then((s) => ({ status: a.value, value: s })) : l);
|
|
5319
|
-
|
|
5319
|
+
D.assertNever(i);
|
|
5320
5320
|
}
|
|
5321
5321
|
}
|
|
5322
|
-
|
|
5322
|
+
be.create = (r, t, a) => new be({
|
|
5323
5323
|
schema: r,
|
|
5324
5324
|
typeName: w.ZodEffects,
|
|
5325
5325
|
effect: t,
|
|
5326
5326
|
...L(a)
|
|
5327
5327
|
});
|
|
5328
|
-
|
|
5328
|
+
be.createWithPreprocess = (r, t, a) => new be({
|
|
5329
5329
|
schema: t,
|
|
5330
5330
|
effect: { type: "preprocess", transform: r },
|
|
5331
5331
|
typeName: w.ZodEffects,
|
|
5332
5332
|
...L(a)
|
|
5333
5333
|
});
|
|
5334
|
-
class
|
|
5334
|
+
class _e extends S {
|
|
5335
5335
|
_parse(t) {
|
|
5336
|
-
return this._getType(t) === j.undefined ?
|
|
5336
|
+
return this._getType(t) === j.undefined ? Y(void 0) : this._def.innerType._parse(t);
|
|
5337
5337
|
}
|
|
5338
5338
|
unwrap() {
|
|
5339
5339
|
return this._def.innerType;
|
|
5340
5340
|
}
|
|
5341
5341
|
}
|
|
5342
|
-
|
|
5342
|
+
_e.create = (r, t) => new _e({
|
|
5343
5343
|
innerType: r,
|
|
5344
5344
|
typeName: w.ZodOptional,
|
|
5345
5345
|
...L(t)
|
|
5346
5346
|
});
|
|
5347
5347
|
class He extends S {
|
|
5348
5348
|
_parse(t) {
|
|
5349
|
-
return this._getType(t) === j.null ?
|
|
5349
|
+
return this._getType(t) === j.null ? Y(null) : this._def.innerType._parse(t);
|
|
5350
5350
|
}
|
|
5351
5351
|
unwrap() {
|
|
5352
5352
|
return this._def.innerType;
|
|
@@ -5396,7 +5396,7 @@ class vr extends S {
|
|
|
5396
5396
|
status: "valid",
|
|
5397
5397
|
value: o.status === "valid" ? o.value : this._def.catchValue({
|
|
5398
5398
|
get error() {
|
|
5399
|
-
return new
|
|
5399
|
+
return new ie(n.common.issues);
|
|
5400
5400
|
},
|
|
5401
5401
|
input: n.data
|
|
5402
5402
|
})
|
|
@@ -5404,7 +5404,7 @@ class vr extends S {
|
|
|
5404
5404
|
status: "valid",
|
|
5405
5405
|
value: i.status === "valid" ? i.value : this._def.catchValue({
|
|
5406
5406
|
get error() {
|
|
5407
|
-
return new
|
|
5407
|
+
return new ie(n.common.issues);
|
|
5408
5408
|
},
|
|
5409
5409
|
input: n.data
|
|
5410
5410
|
})
|
|
@@ -5505,11 +5505,11 @@ Tr.create = (r, t) => new Tr({
|
|
|
5505
5505
|
typeName: w.ZodReadonly,
|
|
5506
5506
|
...L(t)
|
|
5507
5507
|
});
|
|
5508
|
-
function
|
|
5508
|
+
function Vi(r, t) {
|
|
5509
5509
|
const a = typeof r == "function" ? r(t) : typeof r == "string" ? { message: r } : r;
|
|
5510
5510
|
return typeof a == "string" ? { message: a } : a;
|
|
5511
5511
|
}
|
|
5512
|
-
function
|
|
5512
|
+
function Tl(r, t = {}, a) {
|
|
5513
5513
|
return r ? Dt.create().superRefine((n, i) => {
|
|
5514
5514
|
var o, l;
|
|
5515
5515
|
const s = r(n);
|
|
@@ -5517,12 +5517,12 @@ function jl(r, t = {}, a) {
|
|
|
5517
5517
|
return s.then((c) => {
|
|
5518
5518
|
var u, d;
|
|
5519
5519
|
if (!c) {
|
|
5520
|
-
const g =
|
|
5520
|
+
const g = Vi(t, n), f = (d = (u = g.fatal) !== null && u !== void 0 ? u : a) !== null && d !== void 0 ? d : !0;
|
|
5521
5521
|
i.addIssue({ code: "custom", ...g, fatal: f });
|
|
5522
5522
|
}
|
|
5523
5523
|
});
|
|
5524
5524
|
if (!s) {
|
|
5525
|
-
const c =
|
|
5525
|
+
const c = Vi(t, n), u = (l = (o = c.fatal) !== null && o !== void 0 ? o : a) !== null && l !== void 0 ? l : !0;
|
|
5526
5526
|
i.addIssue({ code: "custom", ...c, fatal: u });
|
|
5527
5527
|
}
|
|
5528
5528
|
}) : Dt.create();
|
|
@@ -5536,8 +5536,8 @@ var w;
|
|
|
5536
5536
|
})(w || (w = {}));
|
|
5537
5537
|
const ym = (r, t = {
|
|
5538
5538
|
message: `Input not instance of ${r.name}`
|
|
5539
|
-
}) =>
|
|
5540
|
-
string: (r) =>
|
|
5539
|
+
}) => Tl((a) => a instanceof r, t), jl = ye.create, Al = ze.create, hm = na.create, bm = Ke.create, _l = cr.create, vm = pt.create, Tm = ta.create, jm = ur.create, Am = dr.create, _m = Dt.create, wm = st.create, xm = Oe.create, Em = ra.create, $m = he.create, Lm = U.create, Sm = U.strictCreate, Cm = pr.create, km = va.create, Pm = gr.create, Dm = Ee.create, Om = mr.create, Nm = aa.create, Bm = gt.create, Im = Et.create, Rm = fr.create, Mm = yr.create, qm = Ve.create, Fm = hr.create, Zm = Ot.create, Hi = be.create, Um = _e.create, Gm = He.create, zm = be.createWithPreprocess, Km = xr.create, Vm = () => jl().optional(), Hm = () => Al().optional(), Wm = () => _l().optional(), Ym = {
|
|
5540
|
+
string: (r) => ye.create({ ...r, coerce: !0 }),
|
|
5541
5541
|
number: (r) => ze.create({ ...r, coerce: !0 }),
|
|
5542
5542
|
boolean: (r) => cr.create({
|
|
5543
5543
|
...r,
|
|
@@ -5557,13 +5557,13 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5557
5557
|
ParseStatus: H,
|
|
5558
5558
|
INVALID: x,
|
|
5559
5559
|
DIRTY: Jr,
|
|
5560
|
-
OK:
|
|
5560
|
+
OK: Y,
|
|
5561
5561
|
isAborted: un,
|
|
5562
5562
|
isDirty: dn,
|
|
5563
5563
|
isValid: dt,
|
|
5564
5564
|
isAsync: sr,
|
|
5565
5565
|
get util() {
|
|
5566
|
-
return
|
|
5566
|
+
return D;
|
|
5567
5567
|
},
|
|
5568
5568
|
get objectUtil() {
|
|
5569
5569
|
return cn;
|
|
@@ -5571,8 +5571,8 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5571
5571
|
ZodParsedType: j,
|
|
5572
5572
|
getParsedType: Ce,
|
|
5573
5573
|
ZodType: S,
|
|
5574
|
-
datetimeRegex:
|
|
5575
|
-
ZodString:
|
|
5574
|
+
datetimeRegex: bl,
|
|
5575
|
+
ZodString: ye,
|
|
5576
5576
|
ZodNumber: ze,
|
|
5577
5577
|
ZodBigInt: Ke,
|
|
5578
5578
|
ZodBoolean: cr,
|
|
@@ -5584,12 +5584,12 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5584
5584
|
ZodUnknown: st,
|
|
5585
5585
|
ZodNever: Oe,
|
|
5586
5586
|
ZodVoid: ra,
|
|
5587
|
-
ZodArray:
|
|
5587
|
+
ZodArray: he,
|
|
5588
5588
|
ZodObject: U,
|
|
5589
5589
|
ZodUnion: pr,
|
|
5590
5590
|
ZodDiscriminatedUnion: va,
|
|
5591
5591
|
ZodIntersection: gr,
|
|
5592
|
-
ZodTuple:
|
|
5592
|
+
ZodTuple: Ee,
|
|
5593
5593
|
ZodRecord: mr,
|
|
5594
5594
|
ZodMap: aa,
|
|
5595
5595
|
ZodSet: gt,
|
|
@@ -5599,9 +5599,9 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5599
5599
|
ZodEnum: Ve,
|
|
5600
5600
|
ZodNativeEnum: hr,
|
|
5601
5601
|
ZodPromise: Ot,
|
|
5602
|
-
ZodEffects:
|
|
5603
|
-
ZodTransformer:
|
|
5604
|
-
ZodOptional:
|
|
5602
|
+
ZodEffects: be,
|
|
5603
|
+
ZodTransformer: be,
|
|
5604
|
+
ZodOptional: _e,
|
|
5605
5605
|
ZodNullable: He,
|
|
5606
5606
|
ZodDefault: br,
|
|
5607
5607
|
ZodCatch: vr,
|
|
@@ -5610,7 +5610,7 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5610
5610
|
ZodBranded: Sn,
|
|
5611
5611
|
ZodPipeline: xr,
|
|
5612
5612
|
ZodReadonly: Tr,
|
|
5613
|
-
custom:
|
|
5613
|
+
custom: Tl,
|
|
5614
5614
|
Schema: S,
|
|
5615
5615
|
ZodSchema: S,
|
|
5616
5616
|
late: fm,
|
|
@@ -5621,10 +5621,10 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5621
5621
|
any: _m,
|
|
5622
5622
|
array: $m,
|
|
5623
5623
|
bigint: bm,
|
|
5624
|
-
boolean:
|
|
5624
|
+
boolean: _l,
|
|
5625
5625
|
date: vm,
|
|
5626
5626
|
discriminatedUnion: km,
|
|
5627
|
-
effect:
|
|
5627
|
+
effect: Hi,
|
|
5628
5628
|
enum: qm,
|
|
5629
5629
|
function: Im,
|
|
5630
5630
|
instanceof: ym,
|
|
@@ -5637,7 +5637,7 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5637
5637
|
never: xm,
|
|
5638
5638
|
null: Am,
|
|
5639
5639
|
nullable: Gm,
|
|
5640
|
-
number:
|
|
5640
|
+
number: Al,
|
|
5641
5641
|
object: Lm,
|
|
5642
5642
|
oboolean: Wm,
|
|
5643
5643
|
onumber: Hm,
|
|
@@ -5649,9 +5649,9 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5649
5649
|
record: Om,
|
|
5650
5650
|
set: Bm,
|
|
5651
5651
|
strictObject: Sm,
|
|
5652
|
-
string:
|
|
5652
|
+
string: jl,
|
|
5653
5653
|
symbol: Tm,
|
|
5654
|
-
transformer:
|
|
5654
|
+
transformer: Hi,
|
|
5655
5655
|
tuple: Dm,
|
|
5656
5656
|
undefined: jm,
|
|
5657
5657
|
union: Cm,
|
|
@@ -5660,13 +5660,13 @@ var e = /* @__PURE__ */ Object.freeze({
|
|
|
5660
5660
|
NEVER: Qm,
|
|
5661
5661
|
ZodIssueCode: m,
|
|
5662
5662
|
quotelessJson: Gg,
|
|
5663
|
-
ZodError:
|
|
5663
|
+
ZodError: ie
|
|
5664
5664
|
});
|
|
5665
5665
|
const Xm = e.string(), Jm = e.object({
|
|
5666
5666
|
elementType: e.string().optional(),
|
|
5667
5667
|
locator: Xm.optional(),
|
|
5668
5668
|
errors: e.array(e.string()).optional()
|
|
5669
|
-
}),
|
|
5669
|
+
}), wl = e.object({
|
|
5670
5670
|
validationItems: e.array(Jm).optional(),
|
|
5671
5671
|
success: e.boolean().optional()
|
|
5672
5672
|
}), Ta = e.enum([
|
|
@@ -6503,14 +6503,14 @@ const ef = e.enum([
|
|
|
6503
6503
|
maxInstallmentsPerTerm: e.number().optional(),
|
|
6504
6504
|
weekOfMonth: of.optional()
|
|
6505
6505
|
}).optional()
|
|
6506
|
-
}),
|
|
6506
|
+
}), Cn = e.enum([
|
|
6507
6507
|
"quote",
|
|
6508
6508
|
"policy",
|
|
6509
6509
|
"invoice",
|
|
6510
6510
|
"transaction",
|
|
6511
6511
|
"segment",
|
|
6512
6512
|
"term"
|
|
6513
|
-
]),
|
|
6513
|
+
]), kn = e.enum([
|
|
6514
6514
|
"draft",
|
|
6515
6515
|
"dataReady",
|
|
6516
6516
|
"ready",
|
|
@@ -6618,7 +6618,7 @@ const cf = e.object({
|
|
|
6618
6618
|
"flatCededPremium",
|
|
6619
6619
|
"nonFinancial",
|
|
6620
6620
|
"surcharge"
|
|
6621
|
-
]),
|
|
6621
|
+
]), Q = e.enum([
|
|
6622
6622
|
"none",
|
|
6623
6623
|
"years",
|
|
6624
6624
|
"months",
|
|
@@ -6680,7 +6680,7 @@ const Sl = e.enum([
|
|
|
6680
6680
|
"contact",
|
|
6681
6681
|
"diary",
|
|
6682
6682
|
"payment"
|
|
6683
|
-
]), vf = e.enum(["coverage", "gap"]),
|
|
6683
|
+
]), vf = e.enum(["coverage", "gap"]), Pn = e.enum([
|
|
6684
6684
|
"issuance",
|
|
6685
6685
|
"change",
|
|
6686
6686
|
"renewal",
|
|
@@ -6688,7 +6688,7 @@ const Sl = e.enum([
|
|
|
6688
6688
|
"reinstatement",
|
|
6689
6689
|
"reversal",
|
|
6690
6690
|
"aggregate"
|
|
6691
|
-
]),
|
|
6691
|
+
]), Dn = e.enum([
|
|
6692
6692
|
"draft",
|
|
6693
6693
|
"initialized",
|
|
6694
6694
|
"validated",
|
|
@@ -6730,7 +6730,7 @@ e.enum([
|
|
|
6730
6730
|
"renderError",
|
|
6731
6731
|
"conversionError"
|
|
6732
6732
|
]);
|
|
6733
|
-
const
|
|
6733
|
+
const On = e.enum([
|
|
6734
6734
|
"text",
|
|
6735
6735
|
"html",
|
|
6736
6736
|
"pdf",
|
|
@@ -6770,7 +6770,7 @@ const Nn = e.enum([
|
|
|
6770
6770
|
"reversed",
|
|
6771
6771
|
"rejected",
|
|
6772
6772
|
"discarded"
|
|
6773
|
-
]), wf = e.enum(["invoice", "account"]),
|
|
6773
|
+
]), wf = e.enum(["invoice", "account"]), Nn = e.enum([
|
|
6774
6774
|
"ach",
|
|
6775
6775
|
"cash",
|
|
6776
6776
|
"eft",
|
|
@@ -6808,7 +6808,7 @@ const Nn = e.enum([
|
|
|
6808
6808
|
"pastDeadline",
|
|
6809
6809
|
"completed",
|
|
6810
6810
|
"cancelled"
|
|
6811
|
-
]),
|
|
6811
|
+
]), Bn = e.enum([
|
|
6812
6812
|
"account",
|
|
6813
6813
|
"quickQuote",
|
|
6814
6814
|
"quote",
|
|
@@ -6826,7 +6826,7 @@ const Nn = e.enum([
|
|
|
6826
6826
|
"transaction",
|
|
6827
6827
|
"activity",
|
|
6828
6828
|
"fnol"
|
|
6829
|
-
]), Cf = e.enum(["active", "discarded", "locked"]), kf = e.enum(["open", "settled"]),
|
|
6829
|
+
]), Cf = e.enum(["active", "discarded", "locked"]), kf = e.enum(["open", "settled"]), Wi = e.enum([
|
|
6830
6830
|
"draft",
|
|
6831
6831
|
"validated",
|
|
6832
6832
|
"discarded"
|
|
@@ -6966,7 +6966,7 @@ const Rf = e.object({
|
|
|
6966
6966
|
}), qf = e.object({
|
|
6967
6967
|
key: e.string(),
|
|
6968
6968
|
values: e.array(e.string())
|
|
6969
|
-
}),
|
|
6969
|
+
}), In = e.object({
|
|
6970
6970
|
version1: e.string(),
|
|
6971
6971
|
version2: e.string(),
|
|
6972
6972
|
plugins: e.record(e.record(e.string())),
|
|
@@ -7121,13 +7121,13 @@ e.union([
|
|
|
7121
7121
|
e.literal("deductible"),
|
|
7122
7122
|
e.literal("limit")
|
|
7123
7123
|
]);
|
|
7124
|
-
const
|
|
7124
|
+
const Yi = e.object({
|
|
7125
7125
|
fields: e.array(e.string())
|
|
7126
7126
|
}), Jf = e.object({
|
|
7127
7127
|
enabled: e.boolean(),
|
|
7128
7128
|
dataMasking: e.boolean(),
|
|
7129
|
-
account:
|
|
7130
|
-
policy:
|
|
7129
|
+
account: Yi,
|
|
7130
|
+
policy: Yi,
|
|
7131
7131
|
productIndex: e.record(e.number()),
|
|
7132
7132
|
regionIndex: e.record(e.number())
|
|
7133
7133
|
}), ey = e.object({
|
|
@@ -7171,13 +7171,13 @@ e.union([
|
|
|
7171
7171
|
e.literal("issued")
|
|
7172
7172
|
]);
|
|
7173
7173
|
e.object({
|
|
7174
|
-
metadata:
|
|
7174
|
+
metadata: In,
|
|
7175
7175
|
pluginVersionStatus: e.record(e.record(e.string()))
|
|
7176
7176
|
});
|
|
7177
|
-
const
|
|
7177
|
+
const Rn = e.object({
|
|
7178
7178
|
isSuccess: e.boolean(),
|
|
7179
7179
|
errors: e.array(e.string()),
|
|
7180
|
-
metadata:
|
|
7180
|
+
metadata: In
|
|
7181
7181
|
});
|
|
7182
7182
|
e.union([
|
|
7183
7183
|
e.literal("queued"),
|
|
@@ -7310,7 +7310,7 @@ e.record(e.unknown());
|
|
|
7310
7310
|
const uy = e.object({
|
|
7311
7311
|
locator: e.string(),
|
|
7312
7312
|
name: e.string(),
|
|
7313
|
-
deploymentResult:
|
|
7313
|
+
deploymentResult: Rn,
|
|
7314
7314
|
bootstrapResult: Bl
|
|
7315
7315
|
});
|
|
7316
7316
|
e.union([
|
|
@@ -7328,7 +7328,7 @@ e.object({
|
|
|
7328
7328
|
});
|
|
7329
7329
|
e.object({
|
|
7330
7330
|
locator: e.string(),
|
|
7331
|
-
deploymentResult:
|
|
7331
|
+
deploymentResult: Rn,
|
|
7332
7332
|
resourceCloneStatus: e.union([e.literal("queued"), e.literal("failed")])
|
|
7333
7333
|
});
|
|
7334
7334
|
e.object({
|
|
@@ -7415,7 +7415,7 @@ const dy = e.object({
|
|
|
7415
7415
|
e.literal("level2")
|
|
7416
7416
|
]),
|
|
7417
7417
|
value: sy
|
|
7418
|
-
}),
|
|
7418
|
+
}), X = e.object({
|
|
7419
7419
|
displayName: e.string(),
|
|
7420
7420
|
type: e.string(),
|
|
7421
7421
|
scope: e.string(),
|
|
@@ -7445,14 +7445,14 @@ const dy = e.object({
|
|
|
7445
7445
|
displayName: e.string(),
|
|
7446
7446
|
abstract: e.boolean(),
|
|
7447
7447
|
extend: e.string(),
|
|
7448
|
-
data: e.record(
|
|
7448
|
+
data: e.record(X),
|
|
7449
7449
|
defaultSearchable: e.boolean()
|
|
7450
7450
|
}), my = e.object({
|
|
7451
7451
|
displayName: e.string(),
|
|
7452
7452
|
abstract: e.boolean(),
|
|
7453
7453
|
extend: e.string(),
|
|
7454
7454
|
defaultSearchable: e.boolean(),
|
|
7455
|
-
data: e.record(
|
|
7455
|
+
data: e.record(X),
|
|
7456
7456
|
defaultInvoiceDocument: e.string(),
|
|
7457
7457
|
numberingPlan: e.string(),
|
|
7458
7458
|
invoiceNumberingPlan: e.string(),
|
|
@@ -7467,7 +7467,7 @@ const dy = e.object({
|
|
|
7467
7467
|
contents: e.array(e.string()),
|
|
7468
7468
|
charges: e.array(e.string()),
|
|
7469
7469
|
defaultSearchable: e.boolean(),
|
|
7470
|
-
data: e.record(
|
|
7470
|
+
data: e.record(X),
|
|
7471
7471
|
availability: Ye.optional()
|
|
7472
7472
|
}), fy = e.object({
|
|
7473
7473
|
extend: e.string(),
|
|
@@ -7493,8 +7493,8 @@ const dy = e.object({
|
|
|
7493
7493
|
contents: e.array(e.string()),
|
|
7494
7494
|
documents: e.array(e.string()),
|
|
7495
7495
|
charges: e.array(e.string()),
|
|
7496
|
-
data: e.record(
|
|
7497
|
-
staticData: e.record(
|
|
7496
|
+
data: e.record(X),
|
|
7497
|
+
staticData: e.record(X),
|
|
7498
7498
|
defaultSearchable: e.boolean(),
|
|
7499
7499
|
pluralType: e.string(),
|
|
7500
7500
|
defaultBillingTrigger: e.union([e.literal("accept"), e.literal("issue")]),
|
|
@@ -7512,32 +7512,32 @@ const dy = e.object({
|
|
|
7512
7512
|
]),
|
|
7513
7513
|
displayName: e.string(),
|
|
7514
7514
|
options: e.record(Xf),
|
|
7515
|
-
value:
|
|
7515
|
+
value: X,
|
|
7516
7516
|
availability: Ye.optional()
|
|
7517
7517
|
}), hy = e.object({
|
|
7518
7518
|
displayName: e.string(),
|
|
7519
7519
|
abstract: e.boolean(),
|
|
7520
7520
|
extend: e.string(),
|
|
7521
7521
|
defaultSearchable: e.boolean(),
|
|
7522
|
-
data: e.record(
|
|
7522
|
+
data: e.record(X)
|
|
7523
7523
|
}), Zl = e.object({
|
|
7524
7524
|
displayName: e.string(),
|
|
7525
7525
|
abstract: e.boolean(),
|
|
7526
7526
|
extend: e.string(),
|
|
7527
|
-
data: e.record(
|
|
7527
|
+
data: e.record(X),
|
|
7528
7528
|
numberingPlan: e.string()
|
|
7529
7529
|
}), Ul = e.object({
|
|
7530
7530
|
extend: e.string(),
|
|
7531
7531
|
abstract: e.boolean(),
|
|
7532
7532
|
lossTypes: e.array(e.string()),
|
|
7533
7533
|
defaultSearchable: e.boolean(),
|
|
7534
|
-
data: e.record(
|
|
7534
|
+
data: e.record(X),
|
|
7535
7535
|
numberingPlan: e.string(),
|
|
7536
7536
|
contacts: e.record(e.array(e.string()))
|
|
7537
7537
|
}), Gl = e.object({
|
|
7538
7538
|
extend: e.string(),
|
|
7539
7539
|
abstract: e.boolean(),
|
|
7540
|
-
data: e.record(
|
|
7540
|
+
data: e.record(X),
|
|
7541
7541
|
category: e.string(),
|
|
7542
7542
|
coverageTypes: e.array(e.string())
|
|
7543
7543
|
}), zl = e.object({
|
|
@@ -7545,7 +7545,7 @@ const dy = e.object({
|
|
|
7545
7545
|
abstract: e.boolean(),
|
|
7546
7546
|
extend: e.string(),
|
|
7547
7547
|
defaultSearchable: e.boolean(),
|
|
7548
|
-
data: e.record(
|
|
7548
|
+
data: e.record(X)
|
|
7549
7549
|
}), Qe = e.object({
|
|
7550
7550
|
defaultTimeZone: e.string(),
|
|
7551
7551
|
defaultCurrency: e.string(),
|
|
@@ -7681,12 +7681,12 @@ e.union([
|
|
|
7681
7681
|
]);
|
|
7682
7682
|
const Cr = e.object({
|
|
7683
7683
|
action: e.string()
|
|
7684
|
-
}),
|
|
7684
|
+
}), ue = e.lazy(
|
|
7685
7685
|
() => e.object({
|
|
7686
7686
|
type: e.string(),
|
|
7687
7687
|
locator: e.string(),
|
|
7688
7688
|
parentLocator: e.string(),
|
|
7689
|
-
elements: e.array(
|
|
7689
|
+
elements: e.array(ue),
|
|
7690
7690
|
coverageTerms: e.record(e.record(e.unknown())),
|
|
7691
7691
|
data: e.record(e.record(e.unknown())),
|
|
7692
7692
|
staticLocator: e.string(),
|
|
@@ -7997,7 +7997,7 @@ e.union([
|
|
|
7997
7997
|
e.literal("fourth"),
|
|
7998
7998
|
e.literal("fifth")
|
|
7999
7999
|
]);
|
|
8000
|
-
const
|
|
8000
|
+
const Qi = e.object({
|
|
8001
8001
|
listCompleted: e.boolean(),
|
|
8002
8002
|
items: e.array(
|
|
8003
8003
|
e.union([
|
|
@@ -8046,7 +8046,7 @@ const Xi = e.object({
|
|
|
8046
8046
|
setCoverageTerms: e.record(e.record(e.unknown())),
|
|
8047
8047
|
removeCoverageTerms: e.record(e.record(e.unknown()))
|
|
8048
8048
|
})
|
|
8049
|
-
),
|
|
8049
|
+
), ve = e.object({
|
|
8050
8050
|
installmentPreferences: Hl.optional(),
|
|
8051
8051
|
billingPreferences: Vl.optional()
|
|
8052
8052
|
}), _y = e.object({
|
|
@@ -8085,7 +8085,7 @@ const Xi = e.object({
|
|
|
8085
8085
|
endTime: e.string(),
|
|
8086
8086
|
expirationTime: e.string(),
|
|
8087
8087
|
elements: e.array(xa),
|
|
8088
|
-
preferences:
|
|
8088
|
+
preferences: ve,
|
|
8089
8089
|
billingTrigger: e.union([e.literal("accept"), e.literal("issue")]),
|
|
8090
8090
|
delinquencyPlanName: e.string(),
|
|
8091
8091
|
autoRenewalPlanName: e.string(),
|
|
@@ -8102,7 +8102,7 @@ e.union([
|
|
|
8102
8102
|
e.literal("accept"),
|
|
8103
8103
|
e.literal("issue")
|
|
8104
8104
|
]);
|
|
8105
|
-
const
|
|
8105
|
+
const Mn = e.object({
|
|
8106
8106
|
setData: e.record(e.record(e.unknown())),
|
|
8107
8107
|
removeData: e.record(e.record(e.unknown()))
|
|
8108
8108
|
});
|
|
@@ -8121,8 +8121,8 @@ const Yl = e.object({
|
|
|
8121
8121
|
baseLocator: e.string()
|
|
8122
8122
|
}), xy = e.object({
|
|
8123
8123
|
policyLocator: e.string(),
|
|
8124
|
-
newStatuses:
|
|
8125
|
-
removedStatuses:
|
|
8124
|
+
newStatuses: Qi,
|
|
8125
|
+
removedStatuses: Qi
|
|
8126
8126
|
}), Ey = e.object({
|
|
8127
8127
|
"policy.status.update": xy.optional()
|
|
8128
8128
|
});
|
|
@@ -8142,7 +8142,7 @@ const Ea = e.object({
|
|
|
8142
8142
|
timezone: e.string(),
|
|
8143
8143
|
coverageTerms: e.record(e.record(e.unknown())),
|
|
8144
8144
|
data: e.record(e.record(e.unknown())),
|
|
8145
|
-
elements: e.array(
|
|
8145
|
+
elements: e.array(ue),
|
|
8146
8146
|
durationBasis: e.union([
|
|
8147
8147
|
e.literal("none"),
|
|
8148
8148
|
e.literal("years"),
|
|
@@ -8185,7 +8185,7 @@ const $a = e.object({
|
|
|
8185
8185
|
timezone: e.string(),
|
|
8186
8186
|
coverageTerms: e.record(e.record(e.unknown())),
|
|
8187
8187
|
data: e.record(e.record(e.unknown())),
|
|
8188
|
-
elements: e.array(
|
|
8188
|
+
elements: e.array(ue),
|
|
8189
8189
|
durationBasis: e.union([
|
|
8190
8190
|
e.literal("none"),
|
|
8191
8191
|
e.literal("years"),
|
|
@@ -8195,7 +8195,7 @@ const $a = e.object({
|
|
|
8195
8195
|
e.literal("days"),
|
|
8196
8196
|
e.literal("hours")
|
|
8197
8197
|
]),
|
|
8198
|
-
preferences:
|
|
8198
|
+
preferences: ve,
|
|
8199
8199
|
delinquencyPlanName: e.string(),
|
|
8200
8200
|
autoRenewalPlanName: e.string(),
|
|
8201
8201
|
billingTrigger: e.union([e.literal("accept"), e.literal("issue")]),
|
|
@@ -8208,7 +8208,7 @@ const $a = e.object({
|
|
|
8208
8208
|
contacts: e.array(G),
|
|
8209
8209
|
invoiceFeeAmount: e.number(),
|
|
8210
8210
|
static: e.record(e.record(e.unknown()))
|
|
8211
|
-
}),
|
|
8211
|
+
}), re = e.object({
|
|
8212
8212
|
quoteLocator: e.string()
|
|
8213
8213
|
}), $y = e.object({
|
|
8214
8214
|
quoteLocator: e.string(),
|
|
@@ -8252,7 +8252,7 @@ const ft = e.object({
|
|
|
8252
8252
|
createdTime: e.string(),
|
|
8253
8253
|
clearedBy: e.string(),
|
|
8254
8254
|
clearedTime: e.string()
|
|
8255
|
-
}),
|
|
8255
|
+
}), qn = e.object({
|
|
8256
8256
|
resetAllUnderwritingFlags: e.boolean(),
|
|
8257
8257
|
resetFlags: e.array(e.string()),
|
|
8258
8258
|
resetFlagsAction: e.union([e.literal("clear"), e.literal("delete")]),
|
|
@@ -8269,7 +8269,7 @@ const Gt = e.object({
|
|
|
8269
8269
|
segmentType: e.union([e.literal("coverage"), e.literal("gap")]),
|
|
8270
8270
|
startTime: e.string(),
|
|
8271
8271
|
endTime: e.string(),
|
|
8272
|
-
element:
|
|
8272
|
+
element: ue,
|
|
8273
8273
|
duration: e.number(),
|
|
8274
8274
|
basedOn: e.string().optional()
|
|
8275
8275
|
});
|
|
@@ -8383,7 +8383,7 @@ const E = e.object({
|
|
|
8383
8383
|
transactionType: e.string(),
|
|
8384
8384
|
effectiveTime: e.string(),
|
|
8385
8385
|
issuedTime: e.string(),
|
|
8386
|
-
preferences:
|
|
8386
|
+
preferences: ve,
|
|
8387
8387
|
segment: Gt
|
|
8388
8388
|
}), ky = e.object({
|
|
8389
8389
|
transactionLocator: e.string(),
|
|
@@ -8414,7 +8414,7 @@ e.union([
|
|
|
8414
8414
|
e.literal("quote"),
|
|
8415
8415
|
e.literal("transaction")
|
|
8416
8416
|
]);
|
|
8417
|
-
const
|
|
8417
|
+
const Fn = e.object({
|
|
8418
8418
|
addFlags: e.array(Xl),
|
|
8419
8419
|
clearFlags: e.array(e.string())
|
|
8420
8420
|
}), Jl = e.object({
|
|
@@ -8434,7 +8434,7 @@ const Zn = e.object({
|
|
|
8434
8434
|
])
|
|
8435
8435
|
}), Dy = e.object({
|
|
8436
8436
|
billingTrigger: e.union([e.literal("accept"), e.literal("issue")])
|
|
8437
|
-
}),
|
|
8437
|
+
}), Zn = e.object({
|
|
8438
8438
|
delinquencyPlanName: e.string()
|
|
8439
8439
|
}), es = e.object({
|
|
8440
8440
|
invoiceFeeAmount: e.number()
|
|
@@ -8442,13 +8442,13 @@ const Zn = e.object({
|
|
|
8442
8442
|
elementType: e.string(),
|
|
8443
8443
|
locator: e.string().optional(),
|
|
8444
8444
|
errors: e.array(e.string())
|
|
8445
|
-
}),
|
|
8445
|
+
}), ae = e.object({
|
|
8446
8446
|
validationItems: e.array(ts),
|
|
8447
8447
|
success: e.boolean()
|
|
8448
8448
|
});
|
|
8449
8449
|
e.object({
|
|
8450
8450
|
locator: e.string(),
|
|
8451
|
-
requestBody: e.array(
|
|
8451
|
+
requestBody: e.array(ue)
|
|
8452
8452
|
});
|
|
8453
8453
|
e.array(Gt);
|
|
8454
8454
|
e.object({
|
|
@@ -8470,7 +8470,7 @@ const et = Cr.and(
|
|
|
8470
8470
|
e.literal("add"),
|
|
8471
8471
|
e.literal("delete")
|
|
8472
8472
|
]).optional(),
|
|
8473
|
-
elements: e.array(
|
|
8473
|
+
elements: e.array(ue).optional()
|
|
8474
8474
|
})
|
|
8475
8475
|
).and(
|
|
8476
8476
|
e.object({
|
|
@@ -8481,9 +8481,9 @@ const et = Cr.and(
|
|
|
8481
8481
|
e.literal("add"),
|
|
8482
8482
|
e.literal("delete")
|
|
8483
8483
|
]),
|
|
8484
|
-
elements: e.array(
|
|
8484
|
+
elements: e.array(ue)
|
|
8485
8485
|
})
|
|
8486
|
-
),
|
|
8486
|
+
), Le = Cr.and(
|
|
8487
8487
|
e.object({
|
|
8488
8488
|
locator: e.string().optional(),
|
|
8489
8489
|
action: e.union([
|
|
@@ -8494,7 +8494,7 @@ const et = Cr.and(
|
|
|
8494
8494
|
]).optional(),
|
|
8495
8495
|
effectiveTime: e.string().optional(),
|
|
8496
8496
|
newPolicyEndTime: e.string().optional(),
|
|
8497
|
-
preferences:
|
|
8497
|
+
preferences: ve.optional(),
|
|
8498
8498
|
billingModeChange: e.boolean().optional(),
|
|
8499
8499
|
triggerBillingChange: e.boolean().optional(),
|
|
8500
8500
|
inheritSettings: e.boolean().optional()
|
|
@@ -8545,12 +8545,12 @@ const et = Cr.and(
|
|
|
8545
8545
|
aggregateTransactionLocator: e.string().optional(),
|
|
8546
8546
|
createdAt: e.string(),
|
|
8547
8547
|
createdBy: e.string(),
|
|
8548
|
-
validationResult:
|
|
8548
|
+
validationResult: ae.optional(),
|
|
8549
8549
|
changeInstructions: e.array(e.record(e.unknown())),
|
|
8550
8550
|
effectiveTime: e.string(),
|
|
8551
8551
|
aggregatedTransactions: e.array(Oy),
|
|
8552
8552
|
termLocator: e.string(),
|
|
8553
|
-
preferences:
|
|
8553
|
+
preferences: ve.optional(),
|
|
8554
8554
|
transactionType: e.string(),
|
|
8555
8555
|
issuedTime: e.string().optional(),
|
|
8556
8556
|
billingTrigger: e.union([e.literal("accept"), e.literal("issue")]).optional(),
|
|
@@ -8592,8 +8592,8 @@ const rs = e.object({
|
|
|
8592
8592
|
currency: e.string().optional(),
|
|
8593
8593
|
underwritingStatus: e.string().optional(),
|
|
8594
8594
|
expirationTime: e.string().optional(),
|
|
8595
|
-
element:
|
|
8596
|
-
preferences:
|
|
8595
|
+
element: ue,
|
|
8596
|
+
preferences: ve.optional(),
|
|
8597
8597
|
policyLocator: e.string().optional(),
|
|
8598
8598
|
delinquencyPlanName: e.string().optional(),
|
|
8599
8599
|
durationBasis: e.union([
|
|
@@ -8618,7 +8618,7 @@ const rs = e.object({
|
|
|
8618
8618
|
duration: e.number().optional(),
|
|
8619
8619
|
acceptedTime: e.string().optional(),
|
|
8620
8620
|
issuedTime: e.string().optional(),
|
|
8621
|
-
validationResult:
|
|
8621
|
+
validationResult: ae.optional(),
|
|
8622
8622
|
quickQuoteLocator: e.string().optional(),
|
|
8623
8623
|
contacts: e.array(G),
|
|
8624
8624
|
anonymizedAt: e.string().optional(),
|
|
@@ -8632,11 +8632,11 @@ e.object({
|
|
|
8632
8632
|
});
|
|
8633
8633
|
e.object({
|
|
8634
8634
|
locator: e.string(),
|
|
8635
|
-
requestBody:
|
|
8635
|
+
requestBody: Mn
|
|
8636
8636
|
});
|
|
8637
8637
|
e.object({
|
|
8638
8638
|
locator: e.string(),
|
|
8639
|
-
requestBody: e.array(
|
|
8639
|
+
requestBody: e.array(ue)
|
|
8640
8640
|
});
|
|
8641
8641
|
e.object({
|
|
8642
8642
|
locator: e.string(),
|
|
@@ -8644,7 +8644,7 @@ e.object({
|
|
|
8644
8644
|
});
|
|
8645
8645
|
e.object({
|
|
8646
8646
|
locator: e.string(),
|
|
8647
|
-
requestBody: e.array(
|
|
8647
|
+
requestBody: e.array(ue)
|
|
8648
8648
|
});
|
|
8649
8649
|
const Ny = e.object({
|
|
8650
8650
|
locator: e.string(),
|
|
@@ -8673,8 +8673,8 @@ const Ny = e.object({
|
|
|
8673
8673
|
e.literal("hours")
|
|
8674
8674
|
]).optional(),
|
|
8675
8675
|
groupLocator: e.string(),
|
|
8676
|
-
element:
|
|
8677
|
-
validationResult:
|
|
8676
|
+
element: ue,
|
|
8677
|
+
validationResult: ae.optional(),
|
|
8678
8678
|
contacts: e.array(G)
|
|
8679
8679
|
});
|
|
8680
8680
|
e.object({
|
|
@@ -8737,7 +8737,7 @@ const as = e.object({
|
|
|
8737
8737
|
),
|
|
8738
8738
|
invoiceFeeAmount: e.number().optional(),
|
|
8739
8739
|
anonymizedAt: e.string().optional(),
|
|
8740
|
-
validationResult:
|
|
8740
|
+
validationResult: ae.optional(),
|
|
8741
8741
|
static: e.record(e.record(e.unknown()))
|
|
8742
8742
|
});
|
|
8743
8743
|
e.object({
|
|
@@ -8746,7 +8746,7 @@ e.object({
|
|
|
8746
8746
|
});
|
|
8747
8747
|
e.object({
|
|
8748
8748
|
locator: e.string(),
|
|
8749
|
-
requestBody:
|
|
8749
|
+
requestBody: Mn
|
|
8750
8750
|
});
|
|
8751
8751
|
e.object({
|
|
8752
8752
|
locator: e.string()
|
|
@@ -8773,7 +8773,7 @@ e.object({
|
|
|
8773
8773
|
renewalTransactionIssueTime: e.string().optional(),
|
|
8774
8774
|
renewalTransactionIssuedTime: e.string().optional(),
|
|
8775
8775
|
newTermDuration: e.number().optional(),
|
|
8776
|
-
validationResult:
|
|
8776
|
+
validationResult: ae.optional()
|
|
8777
8777
|
});
|
|
8778
8778
|
e.object({
|
|
8779
8779
|
locator: e.string(),
|
|
@@ -8799,8 +8799,8 @@ const ns = e.object({
|
|
|
8799
8799
|
shortfallTolerancePlanName: e.string().optional(),
|
|
8800
8800
|
autoRenewalPlanName: e.string().optional(),
|
|
8801
8801
|
excessCreditPlanName: e.string().optional(),
|
|
8802
|
-
preferences:
|
|
8803
|
-
validationResult:
|
|
8802
|
+
preferences: ve.optional(),
|
|
8803
|
+
validationResult: ae.optional(),
|
|
8804
8804
|
billingLevel: e.union([
|
|
8805
8805
|
e.literal("account"),
|
|
8806
8806
|
e.literal("inherit"),
|
|
@@ -8825,7 +8825,7 @@ const ns = e.object({
|
|
|
8825
8825
|
shortfallTolerancePlanName: e.string().optional(),
|
|
8826
8826
|
autoRenewalPlanName: e.string().optional(),
|
|
8827
8827
|
excessCreditPlanName: e.string().optional(),
|
|
8828
|
-
preferences:
|
|
8828
|
+
preferences: ve.optional(),
|
|
8829
8829
|
billingLevel: e.union([e.literal("account"), e.literal("inherit"), e.literal("policy")]).optional(),
|
|
8830
8830
|
region: e.string().optional(),
|
|
8831
8831
|
invoiceDocument: e.string().optional(),
|
|
@@ -8840,7 +8840,7 @@ const ns = e.object({
|
|
|
8840
8840
|
excessCreditPlanName: e.string(),
|
|
8841
8841
|
setData: e.record(e.record(e.unknown())),
|
|
8842
8842
|
removeData: e.record(e.record(e.unknown())),
|
|
8843
|
-
preferences:
|
|
8843
|
+
preferences: ve,
|
|
8844
8844
|
billingLevel: e.union([
|
|
8845
8845
|
e.literal("account"),
|
|
8846
8846
|
e.literal("inherit"),
|
|
@@ -8929,7 +8929,7 @@ const Iy = e.object({
|
|
|
8929
8929
|
]),
|
|
8930
8930
|
items: e.array(Aa),
|
|
8931
8931
|
quoteNumber: e.string(),
|
|
8932
|
-
validationResult:
|
|
8932
|
+
validationResult: ae.optional()
|
|
8933
8933
|
});
|
|
8934
8934
|
e.object({
|
|
8935
8935
|
requestBody: Ea
|
|
@@ -8989,7 +8989,7 @@ const Ry = e.object({
|
|
|
8989
8989
|
e.literal("hours")
|
|
8990
8990
|
]),
|
|
8991
8991
|
items: e.array(Aa),
|
|
8992
|
-
validationResult:
|
|
8992
|
+
validationResult: ae.optional(),
|
|
8993
8993
|
state: e.union([
|
|
8994
8994
|
e.literal("draft"),
|
|
8995
8995
|
e.literal("validated"),
|
|
@@ -9050,7 +9050,7 @@ e.object({
|
|
|
9050
9050
|
});
|
|
9051
9051
|
e.object({
|
|
9052
9052
|
locator: e.string(),
|
|
9053
|
-
requestBody:
|
|
9053
|
+
requestBody: Fn
|
|
9054
9054
|
});
|
|
9055
9055
|
e.object({
|
|
9056
9056
|
locator: e.string(),
|
|
@@ -9090,12 +9090,12 @@ const My = e.lazy(
|
|
|
9090
9090
|
underwritingStatus: e.string(),
|
|
9091
9091
|
underwritingFlags: e.array(ft),
|
|
9092
9092
|
aggregatedTransactions: e.array(My),
|
|
9093
|
-
validationResult:
|
|
9093
|
+
validationResult: ae.optional()
|
|
9094
9094
|
})
|
|
9095
9095
|
);
|
|
9096
9096
|
e.object({
|
|
9097
9097
|
locator: e.string(),
|
|
9098
|
-
requestBody:
|
|
9098
|
+
requestBody: qn.optional(),
|
|
9099
9099
|
resetToDraft: e.boolean().optional()
|
|
9100
9100
|
});
|
|
9101
9101
|
e.object({
|
|
@@ -9137,7 +9137,7 @@ const qy = e.lazy(
|
|
|
9137
9137
|
effectiveTime: e.string(),
|
|
9138
9138
|
charges: e.array(Aa),
|
|
9139
9139
|
aggregatedTransactions: e.array(qy),
|
|
9140
|
-
validationResult:
|
|
9140
|
+
validationResult: ae.optional()
|
|
9141
9141
|
})
|
|
9142
9142
|
);
|
|
9143
9143
|
e.object({
|
|
@@ -9168,7 +9168,7 @@ e.object({
|
|
|
9168
9168
|
et,
|
|
9169
9169
|
Xe,
|
|
9170
9170
|
Je,
|
|
9171
|
-
|
|
9171
|
+
Le
|
|
9172
9172
|
])
|
|
9173
9173
|
});
|
|
9174
9174
|
e.object({
|
|
@@ -9204,7 +9204,7 @@ const Fy = e.object({
|
|
|
9204
9204
|
});
|
|
9205
9205
|
e.object({
|
|
9206
9206
|
locator: e.string(),
|
|
9207
|
-
requestBody:
|
|
9207
|
+
requestBody: Fn
|
|
9208
9208
|
});
|
|
9209
9209
|
e.object({
|
|
9210
9210
|
locator: e.string(),
|
|
@@ -9243,11 +9243,11 @@ const Zy = e.object({
|
|
|
9243
9243
|
]),
|
|
9244
9244
|
underwritingStatus: e.string(),
|
|
9245
9245
|
underwritingFlags: e.array(ft),
|
|
9246
|
-
validationResult:
|
|
9246
|
+
validationResult: ae.optional()
|
|
9247
9247
|
});
|
|
9248
9248
|
e.object({
|
|
9249
9249
|
locator: e.string(),
|
|
9250
|
-
requestBody:
|
|
9250
|
+
requestBody: qn.optional()
|
|
9251
9251
|
});
|
|
9252
9252
|
e.object({
|
|
9253
9253
|
locator: e.string()
|
|
@@ -9274,7 +9274,7 @@ e.object({
|
|
|
9274
9274
|
});
|
|
9275
9275
|
e.object({
|
|
9276
9276
|
locator: e.string(),
|
|
9277
|
-
requestBody:
|
|
9277
|
+
requestBody: Zn
|
|
9278
9278
|
});
|
|
9279
9279
|
e.object({
|
|
9280
9280
|
locator: e.string(),
|
|
@@ -9343,7 +9343,7 @@ e.object({
|
|
|
9343
9343
|
et,
|
|
9344
9344
|
Xe,
|
|
9345
9345
|
Je,
|
|
9346
|
-
|
|
9346
|
+
Le
|
|
9347
9347
|
])
|
|
9348
9348
|
),
|
|
9349
9349
|
transactionType: e.string()
|
|
@@ -9356,7 +9356,7 @@ e.object({
|
|
|
9356
9356
|
et,
|
|
9357
9357
|
Xe,
|
|
9358
9358
|
Je,
|
|
9359
|
-
|
|
9359
|
+
Le
|
|
9360
9360
|
])
|
|
9361
9361
|
),
|
|
9362
9362
|
transactionType: e.string()
|
|
@@ -9369,7 +9369,7 @@ e.object({
|
|
|
9369
9369
|
et,
|
|
9370
9370
|
Xe,
|
|
9371
9371
|
Je,
|
|
9372
|
-
|
|
9372
|
+
Le
|
|
9373
9373
|
])
|
|
9374
9374
|
),
|
|
9375
9375
|
transactionType: e.string()
|
|
@@ -9382,7 +9382,7 @@ e.object({
|
|
|
9382
9382
|
et,
|
|
9383
9383
|
Xe,
|
|
9384
9384
|
Je,
|
|
9385
|
-
|
|
9385
|
+
Le
|
|
9386
9386
|
])
|
|
9387
9387
|
),
|
|
9388
9388
|
transactionType: e.string()
|
|
@@ -9399,14 +9399,14 @@ e.object({
|
|
|
9399
9399
|
et,
|
|
9400
9400
|
Xe,
|
|
9401
9401
|
Je,
|
|
9402
|
-
|
|
9402
|
+
Le
|
|
9403
9403
|
])
|
|
9404
9404
|
)
|
|
9405
9405
|
});
|
|
9406
9406
|
e.object({
|
|
9407
9407
|
baseLocator: e.string().optional(),
|
|
9408
9408
|
locator: e.string(),
|
|
9409
|
-
requestBody:
|
|
9409
|
+
requestBody: Le.optional()
|
|
9410
9410
|
});
|
|
9411
9411
|
e.object({
|
|
9412
9412
|
locator: e.string(),
|
|
@@ -9414,7 +9414,7 @@ e.object({
|
|
|
9414
9414
|
});
|
|
9415
9415
|
e.object({
|
|
9416
9416
|
locator: e.string(),
|
|
9417
|
-
requestBody:
|
|
9417
|
+
requestBody: Zn
|
|
9418
9418
|
});
|
|
9419
9419
|
e.object({
|
|
9420
9420
|
baseLocator: e.string().optional(),
|
|
@@ -9424,14 +9424,14 @@ e.object({
|
|
|
9424
9424
|
et,
|
|
9425
9425
|
Xe,
|
|
9426
9426
|
Je,
|
|
9427
|
-
|
|
9427
|
+
Le
|
|
9428
9428
|
])
|
|
9429
9429
|
)
|
|
9430
9430
|
});
|
|
9431
9431
|
e.object({
|
|
9432
9432
|
baseLocator: e.string().optional(),
|
|
9433
9433
|
locator: e.string(),
|
|
9434
|
-
requestBody:
|
|
9434
|
+
requestBody: Le
|
|
9435
9435
|
});
|
|
9436
9436
|
e.object({
|
|
9437
9437
|
locator: e.string(),
|
|
@@ -9638,22 +9638,22 @@ const Uy = e.object({
|
|
|
9638
9638
|
"policy.account.discard": er.optional(),
|
|
9639
9639
|
"policy.account.create": er.optional()
|
|
9640
9640
|
}), Gy = e.object({
|
|
9641
|
-
"policy.quote.issue":
|
|
9642
|
-
"policy.quote.staticdata.replace":
|
|
9643
|
-
"policy.quote.create":
|
|
9644
|
-
"policy.quote.reset":
|
|
9645
|
-
"policy.quote.staticdata.anonymize":
|
|
9646
|
-
"policy.quote.staticdata.update":
|
|
9647
|
-
"policy.quote.refuse":
|
|
9648
|
-
"policy.quote.staticdata.add":
|
|
9649
|
-
"policy.quote.anonymize":
|
|
9641
|
+
"policy.quote.issue": re.optional(),
|
|
9642
|
+
"policy.quote.staticdata.replace": re.optional(),
|
|
9643
|
+
"policy.quote.create": re.optional(),
|
|
9644
|
+
"policy.quote.reset": re.optional(),
|
|
9645
|
+
"policy.quote.staticdata.anonymize": re.optional(),
|
|
9646
|
+
"policy.quote.staticdata.update": re.optional(),
|
|
9647
|
+
"policy.quote.refuse": re.optional(),
|
|
9648
|
+
"policy.quote.staticdata.add": re.optional(),
|
|
9649
|
+
"policy.quote.anonymize": re.optional(),
|
|
9650
9650
|
"policy.quote.underwrite": $y.optional(),
|
|
9651
9651
|
"policy.quote.manualunderwrite": Ly.optional(),
|
|
9652
|
-
"policy.quote.update":
|
|
9653
|
-
"policy.quote.price":
|
|
9654
|
-
"policy.quote.validate":
|
|
9655
|
-
"policy.quote.discard":
|
|
9656
|
-
"policy.quote.accept":
|
|
9652
|
+
"policy.quote.update": re.optional(),
|
|
9653
|
+
"policy.quote.price": re.optional(),
|
|
9654
|
+
"policy.quote.validate": re.optional(),
|
|
9655
|
+
"policy.quote.discard": re.optional(),
|
|
9656
|
+
"policy.quote.accept": re.optional()
|
|
9657
9657
|
}), zy = e.object({
|
|
9658
9658
|
"policy.renewal.accept": E.optional(),
|
|
9659
9659
|
"policy.cancellation.reset": E.optional(),
|
|
@@ -9776,8 +9776,8 @@ const Ky = e.object({
|
|
|
9776
9776
|
currency: e.string().optional(),
|
|
9777
9777
|
underwritingStatus: e.string().optional(),
|
|
9778
9778
|
expirationTime: e.string().optional(),
|
|
9779
|
-
element:
|
|
9780
|
-
preferences:
|
|
9779
|
+
element: ue,
|
|
9780
|
+
preferences: ve.optional(),
|
|
9781
9781
|
policyLocator: e.string().optional(),
|
|
9782
9782
|
delinquencyPlanName: e.string().optional(),
|
|
9783
9783
|
durationBasis: e.union([
|
|
@@ -9802,7 +9802,7 @@ const Ky = e.object({
|
|
|
9802
9802
|
duration: e.number().optional(),
|
|
9803
9803
|
acceptedTime: e.string().optional(),
|
|
9804
9804
|
issuedTime: e.string().optional(),
|
|
9805
|
-
validationResult:
|
|
9805
|
+
validationResult: ae.optional(),
|
|
9806
9806
|
quickQuoteLocator: e.string().optional(),
|
|
9807
9807
|
contacts: e.array(G),
|
|
9808
9808
|
anonymizedAt: e.string().optional(),
|
|
@@ -9814,7 +9814,7 @@ e.object({
|
|
|
9814
9814
|
et,
|
|
9815
9815
|
Xe,
|
|
9816
9816
|
Je,
|
|
9817
|
-
|
|
9817
|
+
Le
|
|
9818
9818
|
])
|
|
9819
9819
|
});
|
|
9820
9820
|
e.object({
|
|
@@ -9850,7 +9850,7 @@ const Vy = e.object({
|
|
|
9850
9850
|
e.literal("hours")
|
|
9851
9851
|
]),
|
|
9852
9852
|
quote: Ky.optional(),
|
|
9853
|
-
validationResult:
|
|
9853
|
+
validationResult: ae.optional()
|
|
9854
9854
|
});
|
|
9855
9855
|
e.object({
|
|
9856
9856
|
accountEvents: Uy.optional(),
|
|
@@ -9860,7 +9860,7 @@ e.object({
|
|
|
9860
9860
|
});
|
|
9861
9861
|
const Sa = e.string().uuid(), $ = e.string().ulid(), T = e.string().datetime();
|
|
9862
9862
|
e.string().datetime({ offset: !0 });
|
|
9863
|
-
const
|
|
9863
|
+
const de = e.record(e.string(), e.string()), M = e.record(e.string(), e.any()), tt = Sa, I = Sa, me = $, We = $, rt = $, we = $, Vr = $, Ca = $, Un = $, Ne = $, Hy = $, Gn = $, ls = $, ss = $;
|
|
9864
9864
|
function z(r) {
|
|
9865
9865
|
return e.object({
|
|
9866
9866
|
listCompleted: e.boolean(),
|
|
@@ -9870,10 +9870,13 @@ function z(r) {
|
|
|
9870
9870
|
function Wy(r) {
|
|
9871
9871
|
return e.array(r);
|
|
9872
9872
|
}
|
|
9873
|
-
const Yy =
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9873
|
+
const Yy = e.object({
|
|
9874
|
+
...ts.shape,
|
|
9875
|
+
locator: We.optional(),
|
|
9876
|
+
elementType: e.string().optional(),
|
|
9877
|
+
errors: e.array(e.string()).optional()
|
|
9878
|
+
}), W = e.object({
|
|
9879
|
+
...ae.shape,
|
|
9877
9880
|
validationItems: e.array(Yy).optional()
|
|
9878
9881
|
});
|
|
9879
9882
|
e.object({
|
|
@@ -10167,7 +10170,7 @@ e.object({
|
|
|
10167
10170
|
});
|
|
10168
10171
|
const fs = e.object({
|
|
10169
10172
|
...gs.shape,
|
|
10170
|
-
locator:
|
|
10173
|
+
locator: Gn,
|
|
10171
10174
|
activityState: ja,
|
|
10172
10175
|
references: e.array(_r).optional(),
|
|
10173
10176
|
underwritingFlagLocators: e.array(e.string()).optional(),
|
|
@@ -10208,22 +10211,22 @@ e.object({
|
|
|
10208
10211
|
const th = e.object({
|
|
10209
10212
|
...ps.shape,
|
|
10210
10213
|
userLocator: I,
|
|
10211
|
-
referenceType:
|
|
10212
|
-
}),
|
|
10214
|
+
referenceType: Bn
|
|
10215
|
+
}), zn = e.object({
|
|
10213
10216
|
...ds.shape,
|
|
10214
10217
|
locator: ls,
|
|
10215
10218
|
userLocator: I,
|
|
10216
|
-
referenceType:
|
|
10219
|
+
referenceType: Bn,
|
|
10217
10220
|
assignmentState: Lf,
|
|
10218
10221
|
createdBy: I,
|
|
10219
10222
|
createdAt: T,
|
|
10220
10223
|
updatedBy: I.optional(),
|
|
10221
10224
|
updatedAt: T.optional()
|
|
10222
10225
|
});
|
|
10223
|
-
z(
|
|
10226
|
+
z(zn);
|
|
10224
10227
|
const rh = e.object({
|
|
10225
10228
|
...Nl.shape,
|
|
10226
|
-
appliesTo: e.array(
|
|
10229
|
+
appliesTo: e.array(Bn),
|
|
10227
10230
|
qualification: e.record(e.string()).optional(),
|
|
10228
10231
|
exclusive: e.boolean().optional()
|
|
10229
10232
|
}), ah = Zl.merge(
|
|
@@ -10242,7 +10245,7 @@ const ih = e.object({
|
|
|
10242
10245
|
...Fl.shape,
|
|
10243
10246
|
displayName: e.string().optional(),
|
|
10244
10247
|
scope: xf,
|
|
10245
|
-
format:
|
|
10248
|
+
format: On.optional(),
|
|
10246
10249
|
selectionTimeBasis: Pl.optional(),
|
|
10247
10250
|
trigger: Ef.optional(),
|
|
10248
10251
|
templateSnippets: e.array(e.string()).optional()
|
|
@@ -10265,7 +10268,7 @@ const ih = e.object({
|
|
|
10265
10268
|
...Ml.shape,
|
|
10266
10269
|
data: e.record(
|
|
10267
10270
|
e.object({
|
|
10268
|
-
...
|
|
10271
|
+
...X.shape,
|
|
10269
10272
|
constraint: Lr.partial(),
|
|
10270
10273
|
availability: Ye.partial(),
|
|
10271
10274
|
restrictedData: Sr.partial()
|
|
@@ -10275,7 +10278,7 @@ const ih = e.object({
|
|
|
10275
10278
|
...Ul.shape,
|
|
10276
10279
|
data: e.record(
|
|
10277
10280
|
e.object({
|
|
10278
|
-
...
|
|
10281
|
+
...X.shape,
|
|
10279
10282
|
constraint: Lr.partial(),
|
|
10280
10283
|
availability: Ye.partial(),
|
|
10281
10284
|
restrictedData: Sr.partial()
|
|
@@ -10285,7 +10288,7 @@ const ih = e.object({
|
|
|
10285
10288
|
...Gl.shape,
|
|
10286
10289
|
data: e.record(
|
|
10287
10290
|
e.object({
|
|
10288
|
-
...
|
|
10291
|
+
...X.shape,
|
|
10289
10292
|
constraint: Lr.partial(),
|
|
10290
10293
|
availability: Ye.partial(),
|
|
10291
10294
|
restrictedData: Sr.partial()
|
|
@@ -10295,7 +10298,7 @@ const ih = e.object({
|
|
|
10295
10298
|
...zl.shape,
|
|
10296
10299
|
data: e.record(
|
|
10297
10300
|
e.object({
|
|
10298
|
-
...
|
|
10301
|
+
...X.shape,
|
|
10299
10302
|
constraint: Lr.partial(),
|
|
10300
10303
|
availability: Ye.partial(),
|
|
10301
10304
|
restrictedData: Sr.partial()
|
|
@@ -10462,7 +10465,7 @@ e.object({
|
|
|
10462
10465
|
defaultExcessCreditPlan: e.string().optional(),
|
|
10463
10466
|
defaultBillingPlan: e.string().optional(),
|
|
10464
10467
|
// to be deprecated
|
|
10465
|
-
defaultDurationBasis:
|
|
10468
|
+
defaultDurationBasis: Q.optional(),
|
|
10466
10469
|
defaultDelinquencyPlan: e.string().optional(),
|
|
10467
10470
|
defaultAuxDataSettings: e.string().optional(),
|
|
10468
10471
|
defaultBillingLevel: e.string().optional(),
|
|
@@ -10512,17 +10515,17 @@ e.record(
|
|
|
10512
10515
|
e.string().ulid(),
|
|
10513
10516
|
e.record(e.array(e.string()))
|
|
10514
10517
|
);
|
|
10515
|
-
const
|
|
10518
|
+
const Xi = e.object({
|
|
10516
10519
|
type: e.string(),
|
|
10517
10520
|
staticLocator: e.string().optional(),
|
|
10518
10521
|
parentLocator: e.string().optional(),
|
|
10519
10522
|
coverageTerms: e.record(e.any()).optional(),
|
|
10520
10523
|
data: e.record(e.any()).optional()
|
|
10521
10524
|
});
|
|
10522
|
-
|
|
10523
|
-
elements: e.array(
|
|
10525
|
+
Xi.extend({
|
|
10526
|
+
elements: e.array(Xi).optional()
|
|
10524
10527
|
});
|
|
10525
|
-
const
|
|
10528
|
+
const Kn = e.object({
|
|
10526
10529
|
locator: e.string().ulid(),
|
|
10527
10530
|
removeCoverageTerms: e.record(e.unknown()).optional(),
|
|
10528
10531
|
removeData: e.record(e.unknown()).optional(),
|
|
@@ -10538,7 +10541,7 @@ e.object({
|
|
|
10538
10541
|
expirationTime: e.string().optional(),
|
|
10539
10542
|
setData: e.record(e.any()).optional(),
|
|
10540
10543
|
removeData: e.record(e.any()).optional(),
|
|
10541
|
-
elements: e.array(
|
|
10544
|
+
elements: e.array(Kn).optional(),
|
|
10542
10545
|
timezone: e.string().optional(),
|
|
10543
10546
|
billingPlan: e.string().optional(),
|
|
10544
10547
|
defaultTermDuration: e.string().optional(),
|
|
@@ -10632,13 +10635,15 @@ e.object({
|
|
|
10632
10635
|
startTime: e.string(),
|
|
10633
10636
|
endTime: e.string(),
|
|
10634
10637
|
duration: e.number().optional(),
|
|
10635
|
-
durationBasis:
|
|
10636
|
-
items: e.array(Yh).optional()
|
|
10638
|
+
durationBasis: Q.optional(),
|
|
10639
|
+
items: e.array(Yh).optional(),
|
|
10640
|
+
validationResult: W.optional()
|
|
10637
10641
|
});
|
|
10638
10642
|
e.object({
|
|
10639
10643
|
quoteLocator: e.string(),
|
|
10640
10644
|
clearedFlags: jr.array().optional(),
|
|
10641
|
-
flags: jr.array().optional()
|
|
10645
|
+
flags: jr.array().optional(),
|
|
10646
|
+
validationResult: W.optional()
|
|
10642
10647
|
});
|
|
10643
10648
|
const Qh = e.enum(["clear", "delete"]);
|
|
10644
10649
|
e.object({
|
|
@@ -10668,7 +10673,7 @@ const nr = e.string().ulid(), Xh = e.object({
|
|
|
10668
10673
|
originalEffectiveTime: T.optional(),
|
|
10669
10674
|
category: hf.optional(),
|
|
10670
10675
|
data: M.optional(),
|
|
10671
|
-
coverageTerms:
|
|
10676
|
+
coverageTerms: de.optional()
|
|
10672
10677
|
// elements: recursive so we add it via .extend() and .lazy()
|
|
10673
10678
|
}), Pr = Jh.extend({
|
|
10674
10679
|
elements: e.lazy(() => Pr.array().optional())
|
|
@@ -10677,15 +10682,15 @@ const nr = e.string().ulid(), Xh = e.object({
|
|
|
10677
10682
|
staticLocator: $.optional(),
|
|
10678
10683
|
parentLocator: We,
|
|
10679
10684
|
data: M,
|
|
10680
|
-
coverageTerms:
|
|
10681
|
-
}),
|
|
10682
|
-
elements: e.lazy(() =>
|
|
10685
|
+
coverageTerms: de
|
|
10686
|
+
}), Vn = eb.extend({
|
|
10687
|
+
elements: e.lazy(() => Vn.array().optional())
|
|
10683
10688
|
}), tb = xa.merge(
|
|
10684
10689
|
e.object({
|
|
10685
10690
|
locator: We,
|
|
10686
10691
|
setData: M,
|
|
10687
10692
|
removeData: M,
|
|
10688
|
-
setCoverageTerms:
|
|
10693
|
+
setCoverageTerms: de,
|
|
10689
10694
|
removeCoverageTerms: M
|
|
10690
10695
|
})
|
|
10691
10696
|
), rb = Gt.merge(
|
|
@@ -10703,7 +10708,7 @@ const nr = e.string().ulid(), Xh = e.object({
|
|
|
10703
10708
|
accountLocator: $,
|
|
10704
10709
|
branchHeadTransactionLocators: e.array($).optional(),
|
|
10705
10710
|
issuedTransactionLocator: $,
|
|
10706
|
-
durationBasis:
|
|
10711
|
+
durationBasis: Q,
|
|
10707
10712
|
createdAt: T.optional(),
|
|
10708
10713
|
createdBy: I.optional(),
|
|
10709
10714
|
startTime: T,
|
|
@@ -10715,12 +10720,12 @@ const nr = e.string().ulid(), Xh = e.object({
|
|
|
10715
10720
|
latestTermLocator: e.string(),
|
|
10716
10721
|
productName: e.string(),
|
|
10717
10722
|
timezone: e.string().optional(),
|
|
10718
|
-
validationResult:
|
|
10723
|
+
validationResult: W.optional(),
|
|
10719
10724
|
contacts: e.array(G).optional(),
|
|
10720
10725
|
statuses: e.array(Df).optional()
|
|
10721
10726
|
});
|
|
10722
10727
|
z(bs);
|
|
10723
|
-
|
|
10728
|
+
Mn.merge(
|
|
10724
10729
|
e.object({
|
|
10725
10730
|
setData: M,
|
|
10726
10731
|
removeData: M
|
|
@@ -10737,7 +10742,7 @@ const vs = Hl.merge(
|
|
|
10737
10742
|
})
|
|
10738
10743
|
), Ts = Vl.merge(
|
|
10739
10744
|
e.object({ billingLevel: Ie })
|
|
10740
|
-
), zt =
|
|
10745
|
+
), zt = ve.merge(
|
|
10741
10746
|
e.object({
|
|
10742
10747
|
installmentPreferences: vs.optional(),
|
|
10743
10748
|
billingPreferences: Ts.optional()
|
|
@@ -10745,7 +10750,7 @@ const vs = Hl.merge(
|
|
|
10745
10750
|
), ab = Ql.merge(
|
|
10746
10751
|
e.object({
|
|
10747
10752
|
locator: $,
|
|
10748
|
-
transactionCategory:
|
|
10753
|
+
transactionCategory: Pn,
|
|
10749
10754
|
preferences: zt,
|
|
10750
10755
|
segment: rb
|
|
10751
10756
|
})
|
|
@@ -10761,7 +10766,7 @@ os.merge(
|
|
|
10761
10766
|
La.merge(
|
|
10762
10767
|
e.object({ billing: Ie })
|
|
10763
10768
|
);
|
|
10764
|
-
|
|
10769
|
+
Zn.merge(e.object({}));
|
|
10765
10770
|
Wy(bs);
|
|
10766
10771
|
const js = e.object({
|
|
10767
10772
|
installmentPreferences: vs.optional(),
|
|
@@ -10797,7 +10802,7 @@ As.extend({
|
|
|
10797
10802
|
e.enum(["", "?", "+", "*", "!"]);
|
|
10798
10803
|
e.enum(["?", "*"]);
|
|
10799
10804
|
e.enum(["accept", "issue"]);
|
|
10800
|
-
const
|
|
10805
|
+
const Hn = e.enum([
|
|
10801
10806
|
"draft",
|
|
10802
10807
|
"initialized",
|
|
10803
10808
|
"validated",
|
|
@@ -10841,8 +10846,8 @@ const Wn = e.enum([
|
|
|
10841
10846
|
locator: e.string(),
|
|
10842
10847
|
staticName: e.string().optional(),
|
|
10843
10848
|
name: e.string().optional(),
|
|
10844
|
-
documentInstanceState:
|
|
10845
|
-
referenceType:
|
|
10849
|
+
documentInstanceState: kn,
|
|
10850
|
+
referenceType: Cn
|
|
10846
10851
|
}), ob = e.object({
|
|
10847
10852
|
locator: e.string(),
|
|
10848
10853
|
staticLocator: e.string(),
|
|
@@ -10866,7 +10871,7 @@ e.object({
|
|
|
10866
10871
|
startTime: e.string(),
|
|
10867
10872
|
endTime: e.string(),
|
|
10868
10873
|
duration: e.number(),
|
|
10869
|
-
durationBasis:
|
|
10874
|
+
durationBasis: Q,
|
|
10870
10875
|
termNumber: e.number().int(),
|
|
10871
10876
|
subsegments: lb.array().optional(),
|
|
10872
10877
|
documentSummary: _s.array().optional()
|
|
@@ -10875,8 +10880,8 @@ const sb = e.object({
|
|
|
10875
10880
|
locator: e.string(),
|
|
10876
10881
|
staticLocator: e.string(),
|
|
10877
10882
|
name: e.string(),
|
|
10878
|
-
state:
|
|
10879
|
-
referenceType:
|
|
10883
|
+
state: kn,
|
|
10884
|
+
referenceType: Cn
|
|
10880
10885
|
}), cb = e.object({
|
|
10881
10886
|
locator: e.string(),
|
|
10882
10887
|
staticLocator: e.string(),
|
|
@@ -10907,7 +10912,7 @@ ws.extend({
|
|
|
10907
10912
|
});
|
|
10908
10913
|
ws.extend({
|
|
10909
10914
|
duration: e.number(),
|
|
10910
|
-
durationBasis:
|
|
10915
|
+
durationBasis: Q,
|
|
10911
10916
|
termNumber: e.number().int(),
|
|
10912
10917
|
subsegments: ub.array()
|
|
10913
10918
|
});
|
|
@@ -10924,9 +10929,9 @@ e.object({
|
|
|
10924
10929
|
e.object({
|
|
10925
10930
|
locator: e.string(),
|
|
10926
10931
|
referenceLocator: e.string(),
|
|
10927
|
-
documentInstanceState:
|
|
10932
|
+
documentInstanceState: kn,
|
|
10928
10933
|
createdAt: e.string(),
|
|
10929
|
-
referenceType:
|
|
10934
|
+
referenceType: Cn.optional(),
|
|
10930
10935
|
metadata: e.record(e.any()).optional(),
|
|
10931
10936
|
renderingData: e.record(e.any()).optional(),
|
|
10932
10937
|
policyLocator: e.string().optional(),
|
|
@@ -10941,11 +10946,11 @@ e.object({
|
|
|
10941
10946
|
processingErrors: e.string().optional(),
|
|
10942
10947
|
readyAt: e.string().optional()
|
|
10943
10948
|
});
|
|
10944
|
-
const
|
|
10949
|
+
const Ji = e.object({
|
|
10945
10950
|
locator: e.string(),
|
|
10946
10951
|
policyLocator: e.string(),
|
|
10947
10952
|
termLocator: e.string(),
|
|
10948
|
-
transactionState:
|
|
10953
|
+
transactionState: Hn,
|
|
10949
10954
|
createdAt: e.string().datetime(),
|
|
10950
10955
|
createdBy: e.string().uuid(),
|
|
10951
10956
|
effectiveTime: e.string().datetime(),
|
|
@@ -10961,21 +10966,21 @@ const eo = e.object({
|
|
|
10961
10966
|
billingTrigger: e.enum(["accept", "issue"]).optional(),
|
|
10962
10967
|
preferences: xl.optional(),
|
|
10963
10968
|
underwritingStatus: Dl.optional(),
|
|
10964
|
-
validationResult:
|
|
10969
|
+
validationResult: W.optional()
|
|
10965
10970
|
});
|
|
10966
|
-
|
|
10971
|
+
Ji.extend({
|
|
10967
10972
|
aggregatedTransactions: e.lazy(
|
|
10968
|
-
() =>
|
|
10973
|
+
() => Ji.array().optional()
|
|
10969
10974
|
)
|
|
10970
10975
|
});
|
|
10971
10976
|
e.object({
|
|
10972
10977
|
action: e.literal("add"),
|
|
10973
|
-
elements: e.array(
|
|
10978
|
+
elements: e.array(Kn).optional()
|
|
10974
10979
|
});
|
|
10975
10980
|
e.object({
|
|
10976
10981
|
locator: e.string(),
|
|
10977
10982
|
action: e.literal("add"),
|
|
10978
|
-
elements: e.array(
|
|
10983
|
+
elements: e.array(Kn).optional()
|
|
10979
10984
|
});
|
|
10980
10985
|
e.object({
|
|
10981
10986
|
action: e.literal("delete"),
|
|
@@ -11051,31 +11056,33 @@ const db = e.enum([
|
|
|
11051
11056
|
reversalOfLocator: e.string().optional(),
|
|
11052
11057
|
rateDifference: e.number().optional(),
|
|
11053
11058
|
tag: e.string().optional()
|
|
11054
|
-
}),
|
|
11059
|
+
}), eo = e.object({
|
|
11055
11060
|
locator: e.string(),
|
|
11056
11061
|
policyLocator: e.string(),
|
|
11057
11062
|
transactionCategory: ka,
|
|
11058
|
-
transactionState:
|
|
11063
|
+
transactionState: Hn,
|
|
11059
11064
|
effectiveTime: e.string(),
|
|
11060
11065
|
termLocator: e.string().optional(),
|
|
11061
11066
|
createdAt: e.string().optional(),
|
|
11062
11067
|
createdBy: e.string().uuid().optional(),
|
|
11063
|
-
charges: e.array(gb).optional()
|
|
11068
|
+
charges: e.array(gb).optional(),
|
|
11069
|
+
validationResult: W.optional()
|
|
11064
11070
|
});
|
|
11065
|
-
|
|
11066
|
-
aggregatedTransactions: e.array(
|
|
11071
|
+
eo.extend({
|
|
11072
|
+
aggregatedTransactions: e.array(eo).optional()
|
|
11067
11073
|
});
|
|
11068
|
-
const
|
|
11074
|
+
const to = e.object({
|
|
11069
11075
|
locator: e.string(),
|
|
11070
11076
|
policyLocator: e.string(),
|
|
11071
|
-
transactionState:
|
|
11077
|
+
transactionState: Hn,
|
|
11072
11078
|
effectiveTime: e.string(),
|
|
11073
11079
|
transactionCategory: ka,
|
|
11074
11080
|
underwritingStatus: e.string().optional(),
|
|
11075
|
-
underwritingFlags: jr.array().optional()
|
|
11081
|
+
underwritingFlags: jr.array().optional(),
|
|
11082
|
+
validationResult: W.optional()
|
|
11076
11083
|
});
|
|
11077
|
-
|
|
11078
|
-
aggregatedTransactions: e.array(
|
|
11084
|
+
to.extend({
|
|
11085
|
+
aggregatedTransactions: e.array(to).optional()
|
|
11079
11086
|
});
|
|
11080
11087
|
e.object({
|
|
11081
11088
|
deleteAllAutomaticDocuments: e.boolean().optional(),
|
|
@@ -11087,7 +11094,8 @@ e.object({
|
|
|
11087
11094
|
e.object({
|
|
11088
11095
|
transactionLocator: e.string(),
|
|
11089
11096
|
clearedFlags: jr.array().optional(),
|
|
11090
|
-
flags: jr.array().optional()
|
|
11097
|
+
flags: jr.array().optional(),
|
|
11098
|
+
validationResult: W.optional()
|
|
11091
11099
|
});
|
|
11092
11100
|
const mb = e.enum(["open", "settled"]), fb = e.object({
|
|
11093
11101
|
locator: e.string(),
|
|
@@ -11213,7 +11221,7 @@ e.object({
|
|
|
11213
11221
|
remainingAmount: e.number().optional(),
|
|
11214
11222
|
reversalReason: e.string().optional(),
|
|
11215
11223
|
reversedAt: e.string().optional(),
|
|
11216
|
-
validationResult:
|
|
11224
|
+
validationResult: wl.optional()
|
|
11217
11225
|
});
|
|
11218
11226
|
e.object({
|
|
11219
11227
|
amount: e.number(),
|
|
@@ -11243,7 +11251,7 @@ e.object({
|
|
|
11243
11251
|
executedAt: e.string().optional(),
|
|
11244
11252
|
reversalReason: e.string().optional(),
|
|
11245
11253
|
reversedAt: e.string().optional(),
|
|
11246
|
-
validationResult:
|
|
11254
|
+
validationResult: wl.optional()
|
|
11247
11255
|
});
|
|
11248
11256
|
e.object({
|
|
11249
11257
|
reversalType: e.string()
|
|
@@ -11281,7 +11289,7 @@ const xs = e.object({
|
|
|
11281
11289
|
tenants: e.array(e.string()),
|
|
11282
11290
|
permissions: e.array(e.string()),
|
|
11283
11291
|
expiresAt: e.string()
|
|
11284
|
-
}),
|
|
11292
|
+
}), Wn = e.object({
|
|
11285
11293
|
name: e.string(),
|
|
11286
11294
|
tenants: e.array(e.string()),
|
|
11287
11295
|
permissions: e.array(e.string()),
|
|
@@ -11297,7 +11305,7 @@ const xs = e.object({
|
|
|
11297
11305
|
name: e.string(),
|
|
11298
11306
|
permissions: e.array(e.string()),
|
|
11299
11307
|
description: e.string()
|
|
11300
|
-
}),
|
|
11308
|
+
}), Yn = e.object({
|
|
11301
11309
|
id: e.string(),
|
|
11302
11310
|
displayName: e.string(),
|
|
11303
11311
|
singleSignOnServiceUrl: e.string()
|
|
@@ -11363,7 +11371,7 @@ e.union([
|
|
|
11363
11371
|
e.literal("retired"),
|
|
11364
11372
|
e.literal("deleted")
|
|
11365
11373
|
]);
|
|
11366
|
-
const
|
|
11374
|
+
const Qn = e.object({
|
|
11367
11375
|
locator: e.string(),
|
|
11368
11376
|
userName: e.string(),
|
|
11369
11377
|
firstName: e.string(),
|
|
@@ -11417,7 +11425,7 @@ e.unknown();
|
|
|
11417
11425
|
e.object({
|
|
11418
11426
|
requestBody: $s
|
|
11419
11427
|
});
|
|
11420
|
-
e.array(
|
|
11428
|
+
e.array(Wn);
|
|
11421
11429
|
e.object({
|
|
11422
11430
|
requestBody: xs
|
|
11423
11431
|
});
|
|
@@ -11426,10 +11434,10 @@ e.object({
|
|
|
11426
11434
|
requestBody: Es
|
|
11427
11435
|
});
|
|
11428
11436
|
e.object({
|
|
11429
|
-
requestBody:
|
|
11437
|
+
requestBody: Yn
|
|
11430
11438
|
});
|
|
11431
11439
|
e.object({
|
|
11432
|
-
requestBody:
|
|
11440
|
+
requestBody: Yn
|
|
11433
11441
|
});
|
|
11434
11442
|
e.object({
|
|
11435
11443
|
requestBody: $b
|
|
@@ -11443,7 +11451,7 @@ e.object({
|
|
|
11443
11451
|
e.unknown();
|
|
11444
11452
|
e.object({
|
|
11445
11453
|
locator: e.string(),
|
|
11446
|
-
requestBody:
|
|
11454
|
+
requestBody: Qn
|
|
11447
11455
|
});
|
|
11448
11456
|
e.object({
|
|
11449
11457
|
locator: e.string(),
|
|
@@ -11533,11 +11541,11 @@ e.object({
|
|
|
11533
11541
|
e.object({
|
|
11534
11542
|
username: e.string()
|
|
11535
11543
|
});
|
|
11536
|
-
e.array(
|
|
11544
|
+
e.array(Qn);
|
|
11537
11545
|
e.object({
|
|
11538
11546
|
locator: e.string()
|
|
11539
11547
|
});
|
|
11540
|
-
e.array(
|
|
11548
|
+
e.array(Wn);
|
|
11541
11549
|
e.object({
|
|
11542
11550
|
count: e.number().optional(),
|
|
11543
11551
|
extended: e.boolean().optional(),
|
|
@@ -11588,7 +11596,7 @@ e.object({
|
|
|
11588
11596
|
});
|
|
11589
11597
|
e.unknown();
|
|
11590
11598
|
e.object({
|
|
11591
|
-
...
|
|
11599
|
+
...Yn.shape
|
|
11592
11600
|
});
|
|
11593
11601
|
e.object({
|
|
11594
11602
|
...Ls.shape
|
|
@@ -11634,13 +11642,13 @@ const Ib = e.enum(["queued", "failed"]), Rb = e.object({
|
|
|
11634
11642
|
...Bl.shape,
|
|
11635
11643
|
status: Ib
|
|
11636
11644
|
}), Mb = e.object({
|
|
11637
|
-
...
|
|
11645
|
+
...In.shape,
|
|
11638
11646
|
version1: $,
|
|
11639
11647
|
version2: $,
|
|
11640
11648
|
latestVersion: $,
|
|
11641
|
-
plugins: e.record(e.string(),
|
|
11649
|
+
plugins: e.record(e.string(), de)
|
|
11642
11650
|
}), qb = e.object({
|
|
11643
|
-
...
|
|
11651
|
+
...Rn.shape,
|
|
11644
11652
|
metadata: Mb
|
|
11645
11653
|
});
|
|
11646
11654
|
e.object({
|
|
@@ -11657,7 +11665,7 @@ e.object({
|
|
|
11657
11665
|
expiresAt: T
|
|
11658
11666
|
});
|
|
11659
11667
|
e.object({
|
|
11660
|
-
...
|
|
11668
|
+
...Wn.shape,
|
|
11661
11669
|
createdAt: T
|
|
11662
11670
|
});
|
|
11663
11671
|
e.object({
|
|
@@ -11667,7 +11675,7 @@ e.object({
|
|
|
11667
11675
|
tenants: e.array(e.string()).optional()
|
|
11668
11676
|
});
|
|
11669
11677
|
const Fb = e.object({
|
|
11670
|
-
...
|
|
11678
|
+
...Qn.shape,
|
|
11671
11679
|
locator: I,
|
|
11672
11680
|
firstName: e.string().optional(),
|
|
11673
11681
|
lastName: e.string().optional(),
|
|
@@ -11959,12 +11967,12 @@ const Gb = Zb.merge(
|
|
|
11959
11967
|
referenceLocator: Vr,
|
|
11960
11968
|
referenceType: Sl,
|
|
11961
11969
|
referenceDocumentLocator: Vr.optional(),
|
|
11962
|
-
transactionLocator:
|
|
11970
|
+
transactionLocator: we.optional(),
|
|
11963
11971
|
segmentLocator: Ca.optional(),
|
|
11964
|
-
termLocator:
|
|
11972
|
+
termLocator: Un.optional(),
|
|
11965
11973
|
policyLocator: rt.optional(),
|
|
11966
11974
|
documentInstanceState: yf,
|
|
11967
|
-
documentFormat:
|
|
11975
|
+
documentFormat: On.optional(),
|
|
11968
11976
|
metadata: M.optional(),
|
|
11969
11977
|
createdAt: T,
|
|
11970
11978
|
createdBy: I,
|
|
@@ -11980,14 +11988,14 @@ e.object({
|
|
|
11980
11988
|
});
|
|
11981
11989
|
const zb = e.object({
|
|
11982
11990
|
category: e.string().optional(),
|
|
11983
|
-
documentFormat:
|
|
11991
|
+
documentFormat: On,
|
|
11984
11992
|
metadata: e.string().optional(),
|
|
11985
11993
|
name: e.string(),
|
|
11986
11994
|
referenceLocator: Vr,
|
|
11987
11995
|
referenceType: Sl,
|
|
11988
11996
|
segmentLocator: Ca.optional(),
|
|
11989
11997
|
staticName: e.string().optional(),
|
|
11990
|
-
transactionLocator:
|
|
11998
|
+
transactionLocator: we.optional()
|
|
11991
11999
|
}), Kb = e.object({
|
|
11992
12000
|
name: e.string(),
|
|
11993
12001
|
filename: e.string(),
|
|
@@ -12164,8 +12172,8 @@ e.object({
|
|
|
12164
12172
|
});
|
|
12165
12173
|
e.object({
|
|
12166
12174
|
...ns.shape,
|
|
12167
|
-
locator:
|
|
12168
|
-
accountState:
|
|
12175
|
+
locator: me,
|
|
12176
|
+
accountState: Wi,
|
|
12169
12177
|
data: e.record(e.any()).optional(),
|
|
12170
12178
|
autoRenewalPlanName: e.string().optional(),
|
|
12171
12179
|
delinquencyPlanName: e.string().optional(),
|
|
@@ -12173,7 +12181,7 @@ e.object({
|
|
|
12173
12181
|
shortfallTolerancePlanName: e.string().optional(),
|
|
12174
12182
|
billingLevel: Ie.optional(),
|
|
12175
12183
|
invoiceDocument: e.string().optional(),
|
|
12176
|
-
validationResult:
|
|
12184
|
+
validationResult: W.optional(),
|
|
12177
12185
|
preferences: js.optional(),
|
|
12178
12186
|
region: e.string().optional(),
|
|
12179
12187
|
invoiceFeeHandling: Pf.optional(),
|
|
@@ -12182,7 +12190,7 @@ e.object({
|
|
|
12182
12190
|
accountNumber: e.string().optional(),
|
|
12183
12191
|
contacts: e.array(G).optional(),
|
|
12184
12192
|
// deprecated
|
|
12185
|
-
state:
|
|
12193
|
+
state: Wi.optional()
|
|
12186
12194
|
});
|
|
12187
12195
|
const Ms = Aa.merge(
|
|
12188
12196
|
e.object({
|
|
@@ -12195,13 +12203,13 @@ const Ms = Aa.merge(
|
|
|
12195
12203
|
), Da = Cr.merge(
|
|
12196
12204
|
e.object({ locator: $, action: gf })
|
|
12197
12205
|
), Jb = Da.merge(
|
|
12198
|
-
e.object({ elements: e.array(
|
|
12206
|
+
e.object({ elements: e.array(Vn) })
|
|
12199
12207
|
), ev = Da.merge(
|
|
12200
12208
|
e.object({
|
|
12201
12209
|
staticLocator: $,
|
|
12202
12210
|
setData: M,
|
|
12203
12211
|
removeData: M,
|
|
12204
|
-
setCoverageTerms:
|
|
12212
|
+
setCoverageTerms: de,
|
|
12205
12213
|
removeCoverageTerms: M
|
|
12206
12214
|
})
|
|
12207
12215
|
), qs = Da.merge(
|
|
@@ -12219,28 +12227,28 @@ const Ms = Aa.merge(
|
|
|
12219
12227
|
ev,
|
|
12220
12228
|
qs,
|
|
12221
12229
|
tv
|
|
12222
|
-
]),
|
|
12223
|
-
locator:
|
|
12230
|
+
]), ro = e.object({
|
|
12231
|
+
locator: we,
|
|
12224
12232
|
policyLocator: rt,
|
|
12225
|
-
termLocator:
|
|
12233
|
+
termLocator: Un,
|
|
12226
12234
|
effectiveTime: T,
|
|
12227
|
-
transactionState:
|
|
12228
|
-
transactionCategory:
|
|
12235
|
+
transactionState: Dn,
|
|
12236
|
+
transactionCategory: Pn,
|
|
12229
12237
|
transactionType: e.string(),
|
|
12230
12238
|
createdAt: T,
|
|
12231
12239
|
createdBy: I,
|
|
12232
|
-
aggregateTransactionLocator:
|
|
12233
|
-
baseTransactionLocator:
|
|
12240
|
+
aggregateTransactionLocator: we.optional(),
|
|
12241
|
+
baseTransactionLocator: we.optional(),
|
|
12234
12242
|
issuedTime: T.optional(),
|
|
12235
12243
|
acceptedTime: T.optional(),
|
|
12236
12244
|
preferences: zt.optional(),
|
|
12237
12245
|
underwritingStatus: e.string().optional(),
|
|
12238
|
-
validationResult:
|
|
12246
|
+
validationResult: W.optional(),
|
|
12239
12247
|
changeInstructions: e.array(Oa).optional(),
|
|
12240
12248
|
billingTrigger: Er
|
|
12241
|
-
}), rv =
|
|
12249
|
+
}), rv = ro.merge(
|
|
12242
12250
|
e.object({
|
|
12243
|
-
aggregatedTransactions: e.array(
|
|
12251
|
+
aggregatedTransactions: e.array(ro)
|
|
12244
12252
|
})
|
|
12245
12253
|
);
|
|
12246
12254
|
z(rv);
|
|
@@ -12259,16 +12267,16 @@ e.array(
|
|
|
12259
12267
|
);
|
|
12260
12268
|
Yl.merge(
|
|
12261
12269
|
e.object({
|
|
12262
|
-
toTransaction:
|
|
12263
|
-
reverseTransactions: e.array(
|
|
12264
|
-
baseLocator:
|
|
12270
|
+
toTransaction: we,
|
|
12271
|
+
reverseTransactions: e.array(we),
|
|
12272
|
+
baseLocator: we
|
|
12265
12273
|
})
|
|
12266
12274
|
);
|
|
12267
12275
|
const nv = e.object({
|
|
12268
12276
|
locator: $,
|
|
12269
12277
|
policyLocator: rt,
|
|
12270
12278
|
effectiveTime: T,
|
|
12271
|
-
transactionState:
|
|
12279
|
+
transactionState: Dn,
|
|
12272
12280
|
charges: e.array(Ms)
|
|
12273
12281
|
}), iv = nv.extend({
|
|
12274
12282
|
aggregatedTransactions: e.lazy(
|
|
@@ -12289,8 +12297,8 @@ const nv = e.object({
|
|
|
12289
12297
|
), ov = e.object({
|
|
12290
12298
|
locator: $,
|
|
12291
12299
|
policyLocator: rt,
|
|
12292
|
-
transactionCategory:
|
|
12293
|
-
transactionState:
|
|
12300
|
+
transactionCategory: Pn,
|
|
12301
|
+
transactionState: Dn,
|
|
12294
12302
|
effectiveTime: T,
|
|
12295
12303
|
underwritingStatus: e.string(),
|
|
12296
12304
|
underwritingFlags: e.array(Bt)
|
|
@@ -12305,7 +12313,7 @@ const nv = e.object({
|
|
|
12305
12313
|
level: kl
|
|
12306
12314
|
})
|
|
12307
12315
|
);
|
|
12308
|
-
|
|
12316
|
+
Fn.merge(
|
|
12309
12317
|
e.object({
|
|
12310
12318
|
addFlags: e.array(sv),
|
|
12311
12319
|
clearFlags: e.array($)
|
|
@@ -12313,7 +12321,7 @@ Zn.merge(
|
|
|
12313
12321
|
);
|
|
12314
12322
|
ky.merge(
|
|
12315
12323
|
e.object({
|
|
12316
|
-
transactionLocator:
|
|
12324
|
+
transactionLocator: we,
|
|
12317
12325
|
clearedFlags: e.array(Bt),
|
|
12318
12326
|
flags: e.array(Bt)
|
|
12319
12327
|
})
|
|
@@ -12327,7 +12335,7 @@ const cv = e.object({
|
|
|
12327
12335
|
accountLocator: e.string().optional(),
|
|
12328
12336
|
entityNumber: e.string().optional(),
|
|
12329
12337
|
accountNumber: e.string().optional(),
|
|
12330
|
-
additionalData:
|
|
12338
|
+
additionalData: de.optional()
|
|
12331
12339
|
}), uv = e.object({
|
|
12332
12340
|
...cv.shape,
|
|
12333
12341
|
locator: rt,
|
|
@@ -12352,15 +12360,15 @@ const pv = e.object({
|
|
|
12352
12360
|
groupLocator: e.string().optional(),
|
|
12353
12361
|
contacts: e.array(G).optional(),
|
|
12354
12362
|
policyNumber: e.string().optional(),
|
|
12355
|
-
accountLocator:
|
|
12363
|
+
accountLocator: me,
|
|
12356
12364
|
underwritingStatus: Dl.optional(),
|
|
12357
12365
|
// deprecated
|
|
12358
12366
|
boundTime: e.string().optional(),
|
|
12359
12367
|
billingTrigger: Er.optional(),
|
|
12360
|
-
durationBasis:
|
|
12368
|
+
durationBasis: Q.optional(),
|
|
12361
12369
|
policyLocator: rt.optional(),
|
|
12362
12370
|
preferences: zt.optional(),
|
|
12363
|
-
validationResult:
|
|
12371
|
+
validationResult: W.optional(),
|
|
12364
12372
|
static: M.optional(),
|
|
12365
12373
|
issuedTime: T.optional(),
|
|
12366
12374
|
startTime: T.optional(),
|
|
@@ -12371,19 +12379,19 @@ const pv = e.object({
|
|
|
12371
12379
|
z(pv);
|
|
12372
12380
|
e.object({
|
|
12373
12381
|
...$a.shape,
|
|
12374
|
-
accountLocator:
|
|
12382
|
+
accountLocator: me,
|
|
12375
12383
|
data: M,
|
|
12376
12384
|
startTime: T.optional(),
|
|
12377
12385
|
endTime: T.optional(),
|
|
12378
12386
|
expirationTime: T.optional(),
|
|
12379
|
-
durationBasis:
|
|
12387
|
+
durationBasis: Q.optional(),
|
|
12380
12388
|
billingLevel: Ie.optional(),
|
|
12381
12389
|
preferences: zt.optional(),
|
|
12382
12390
|
static: M.optional(),
|
|
12383
|
-
coverageTerms:
|
|
12391
|
+
coverageTerms: de.optional(),
|
|
12384
12392
|
// deprecated
|
|
12385
12393
|
billingTrigger: Er.optional(),
|
|
12386
|
-
elements: e.array(
|
|
12394
|
+
elements: e.array(Vn)
|
|
12387
12395
|
});
|
|
12388
12396
|
Wl.merge(
|
|
12389
12397
|
e.object({
|
|
@@ -12397,7 +12405,7 @@ Wl.merge(
|
|
|
12397
12405
|
removeCoverageTerms: M,
|
|
12398
12406
|
removeData: M,
|
|
12399
12407
|
// NOTE: this looks sus, every other property is map<string,object> not <string,string>
|
|
12400
|
-
setCoverageTerms:
|
|
12408
|
+
setCoverageTerms: de,
|
|
12401
12409
|
setData: M,
|
|
12402
12410
|
elements: e.array(tb)
|
|
12403
12411
|
})
|
|
@@ -12405,28 +12413,28 @@ Wl.merge(
|
|
|
12405
12413
|
e.object({
|
|
12406
12414
|
...Iy.shape,
|
|
12407
12415
|
tenantLocator: tt,
|
|
12408
|
-
accountLocator:
|
|
12416
|
+
accountLocator: me,
|
|
12409
12417
|
quoteLocator: Ne,
|
|
12410
12418
|
quoteState: $r,
|
|
12411
12419
|
startTime: T,
|
|
12412
12420
|
endTime: T,
|
|
12413
12421
|
expirationTime: T,
|
|
12414
|
-
durationBasis:
|
|
12422
|
+
durationBasis: Q,
|
|
12415
12423
|
items: e.array(Ms),
|
|
12416
|
-
validationResult:
|
|
12424
|
+
validationResult: W.optional()
|
|
12417
12425
|
});
|
|
12418
12426
|
e.object({
|
|
12419
12427
|
...Zy.shape,
|
|
12420
12428
|
tenantLocator: tt,
|
|
12421
|
-
accountLocator:
|
|
12429
|
+
accountLocator: me,
|
|
12422
12430
|
quoteLocator: Ne,
|
|
12423
12431
|
quoteState: $r,
|
|
12424
12432
|
startTime: T,
|
|
12425
12433
|
endTime: T,
|
|
12426
12434
|
expirationTime: T,
|
|
12427
|
-
durationBasis:
|
|
12435
|
+
durationBasis: Q,
|
|
12428
12436
|
underwritingFlags: e.array(Bt),
|
|
12429
|
-
validationResult:
|
|
12437
|
+
validationResult: W.optional()
|
|
12430
12438
|
});
|
|
12431
12439
|
Fy.merge(
|
|
12432
12440
|
e.object({
|
|
@@ -12440,7 +12448,7 @@ kr.merge(
|
|
|
12440
12448
|
groupLocator: $
|
|
12441
12449
|
})
|
|
12442
12450
|
);
|
|
12443
|
-
|
|
12451
|
+
qn.merge(
|
|
12444
12452
|
e.object({
|
|
12445
12453
|
resetFlagsAction: Af,
|
|
12446
12454
|
resetFlags: e.array($),
|
|
@@ -12452,10 +12460,10 @@ const gv = e.object({
|
|
|
12452
12460
|
productName: e.string().optional(),
|
|
12453
12461
|
accountName: e.string().optional(),
|
|
12454
12462
|
accountType: e.string().optional(),
|
|
12455
|
-
accountLocator:
|
|
12463
|
+
accountLocator: me.optional(),
|
|
12456
12464
|
startTime: T.optional(),
|
|
12457
12465
|
entityNumber: e.string().optional(),
|
|
12458
|
-
additionalData:
|
|
12466
|
+
additionalData: de.optional()
|
|
12459
12467
|
}), mv = e.object({
|
|
12460
12468
|
...gv.shape,
|
|
12461
12469
|
locator: Ne,
|
|
@@ -12471,12 +12479,12 @@ const yv = e.object({
|
|
|
12471
12479
|
locator: Ne,
|
|
12472
12480
|
quickQuoteState: ia,
|
|
12473
12481
|
element: Pr,
|
|
12474
|
-
accountLocator:
|
|
12482
|
+
accountLocator: me,
|
|
12475
12483
|
startTime: T.optional(),
|
|
12476
12484
|
endTime: T.optional(),
|
|
12477
12485
|
expirationTime: T.optional(),
|
|
12478
|
-
durationBasis:
|
|
12479
|
-
validationResult:
|
|
12486
|
+
durationBasis: Q.optional(),
|
|
12487
|
+
validationResult: W.optional()
|
|
12480
12488
|
});
|
|
12481
12489
|
z(yv);
|
|
12482
12490
|
e.object({
|
|
@@ -12484,33 +12492,33 @@ e.object({
|
|
|
12484
12492
|
startTime: T.optional(),
|
|
12485
12493
|
endTime: T.optional(),
|
|
12486
12494
|
expirationTime: T.optional(),
|
|
12487
|
-
durationBasis:
|
|
12495
|
+
durationBasis: Q,
|
|
12488
12496
|
data: M,
|
|
12489
|
-
coverageTerms:
|
|
12497
|
+
coverageTerms: de,
|
|
12490
12498
|
elements: e.array(Pr)
|
|
12491
12499
|
});
|
|
12492
12500
|
e.object({
|
|
12493
12501
|
...Ry.shape,
|
|
12494
12502
|
tenantLocator: tt,
|
|
12495
12503
|
quickQuoteLocator: Ne,
|
|
12496
|
-
accountLocator:
|
|
12504
|
+
accountLocator: me.optional(),
|
|
12497
12505
|
quickQuoteState: ia,
|
|
12498
12506
|
startTime: T,
|
|
12499
12507
|
endTime: T,
|
|
12500
|
-
durationBasis:
|
|
12508
|
+
durationBasis: Q,
|
|
12501
12509
|
state: ia,
|
|
12502
|
-
validationResult:
|
|
12510
|
+
validationResult: W.optional()
|
|
12503
12511
|
});
|
|
12504
12512
|
e.object({
|
|
12505
12513
|
...Vy.shape,
|
|
12506
12514
|
tenantLocator: tt,
|
|
12507
12515
|
quickQuoteLocator: Ne,
|
|
12508
|
-
accountLocator:
|
|
12516
|
+
accountLocator: me.optional(),
|
|
12509
12517
|
quickQuoteState: ia,
|
|
12510
12518
|
startTime: T,
|
|
12511
12519
|
endTime: T,
|
|
12512
|
-
durationBasis:
|
|
12513
|
-
validationResult:
|
|
12520
|
+
durationBasis: Q,
|
|
12521
|
+
validationResult: W.optional()
|
|
12514
12522
|
});
|
|
12515
12523
|
const hv = e.object({
|
|
12516
12524
|
amount: e.number(),
|
|
@@ -12568,7 +12576,7 @@ const vv = e.object({
|
|
|
12568
12576
|
elementLocator: e.string().optional(),
|
|
12569
12577
|
elementStaticLocator: e.string().optional(),
|
|
12570
12578
|
tag: e.string().optional()
|
|
12571
|
-
}),
|
|
12579
|
+
}), Xn = e.object({
|
|
12572
12580
|
locator: e.string(),
|
|
12573
12581
|
amount: e.number(),
|
|
12574
12582
|
currency: e.string(),
|
|
@@ -12657,7 +12665,7 @@ e.union([
|
|
|
12657
12665
|
e.literal("gracePeriodStart"),
|
|
12658
12666
|
e.literal("gracePeriodEnd")
|
|
12659
12667
|
]);
|
|
12660
|
-
const
|
|
12668
|
+
const J = e.object({
|
|
12661
12669
|
containerLocator: e.string(),
|
|
12662
12670
|
containerType: e.union([
|
|
12663
12671
|
e.literal("invoice"),
|
|
@@ -12815,7 +12823,7 @@ const Na = e.object({
|
|
|
12815
12823
|
type: e.string(),
|
|
12816
12824
|
amount: e.number(),
|
|
12817
12825
|
data: e.record(e.record(e.unknown())),
|
|
12818
|
-
sources: e.array(
|
|
12826
|
+
sources: e.array(J),
|
|
12819
12827
|
useDefaultFinancialInstrument: e.boolean(),
|
|
12820
12828
|
financialInstrumentLocator: e.string().optional(),
|
|
12821
12829
|
transactionMethod: e.union([
|
|
@@ -13124,7 +13132,7 @@ const qv = e.object({
|
|
|
13124
13132
|
accountLocator: e.string(),
|
|
13125
13133
|
policyLocators: Kt,
|
|
13126
13134
|
generateTime: e.string()
|
|
13127
|
-
}),
|
|
13135
|
+
}), ao = e.object({
|
|
13128
13136
|
invoiceLocator: e.string(),
|
|
13129
13137
|
accountLocator: e.string(),
|
|
13130
13138
|
policyLocators: Kt
|
|
@@ -13181,7 +13189,7 @@ const qv = e.object({
|
|
|
13181
13189
|
});
|
|
13182
13190
|
e.object({
|
|
13183
13191
|
listCompleted: e.boolean(),
|
|
13184
|
-
items: e.array(
|
|
13192
|
+
items: e.array(Xn)
|
|
13185
13193
|
});
|
|
13186
13194
|
e.object({
|
|
13187
13195
|
listCompleted: e.boolean(),
|
|
@@ -13224,20 +13232,20 @@ const zv = e.object({
|
|
|
13224
13232
|
createdAt: e.string(),
|
|
13225
13233
|
createdBy: e.string(),
|
|
13226
13234
|
accountLocator: e.string(),
|
|
13227
|
-
targets: e.array(
|
|
13235
|
+
targets: e.array(J),
|
|
13228
13236
|
parentCreditLocator: e.string(),
|
|
13229
13237
|
reversalReason: e.string().optional()
|
|
13230
|
-
}),
|
|
13238
|
+
}), no = e.object({
|
|
13231
13239
|
entityLocator: e.string()
|
|
13232
13240
|
}), Vv = e.object({
|
|
13233
|
-
"disbursement.numberAssignmentFailed":
|
|
13234
|
-
"invoice.numberAssignmentFailed":
|
|
13241
|
+
"disbursement.numberAssignmentFailed": no.optional(),
|
|
13242
|
+
"invoice.numberAssignmentFailed": no.optional()
|
|
13235
13243
|
}), Hv = e.object({
|
|
13236
13244
|
accountLocator: e.string().optional(),
|
|
13237
13245
|
amount: e.number().optional(),
|
|
13238
|
-
addSources: e.array(
|
|
13246
|
+
addSources: e.array(J),
|
|
13239
13247
|
removeSources: e.array(e.string()),
|
|
13240
|
-
addTargets: e.array(
|
|
13248
|
+
addTargets: e.array(J),
|
|
13241
13249
|
removeTargets: e.array(e.string()),
|
|
13242
13250
|
currency: e.string().optional()
|
|
13243
13251
|
}), Wv = e.object({
|
|
@@ -13255,7 +13263,7 @@ const zv = e.object({
|
|
|
13255
13263
|
amount: e.number().optional(),
|
|
13256
13264
|
setData: e.record(e.record(e.unknown())),
|
|
13257
13265
|
removeData: e.record(e.record(e.unknown())),
|
|
13258
|
-
addSources: e.array(
|
|
13266
|
+
addSources: e.array(J),
|
|
13259
13267
|
removeSources: e.array(e.string()),
|
|
13260
13268
|
useDefaultFinancialInstrument: e.boolean().optional(),
|
|
13261
13269
|
financialInstrumentLocator: e.string().optional(),
|
|
@@ -13274,7 +13282,7 @@ const zv = e.object({
|
|
|
13274
13282
|
amount: e.number().optional(),
|
|
13275
13283
|
setData: e.record(e.record(e.unknown())),
|
|
13276
13284
|
removeData: e.record(e.record(e.unknown())),
|
|
13277
|
-
addTargets: e.array(
|
|
13285
|
+
addTargets: e.array(J),
|
|
13278
13286
|
removeTargets: e.array(e.string()),
|
|
13279
13287
|
useDefaultFinancialInstrument: e.boolean().optional(),
|
|
13280
13288
|
financialInstrumentLocator: e.string().optional(),
|
|
@@ -13299,7 +13307,7 @@ const Vs = e.object({
|
|
|
13299
13307
|
amount: e.number(),
|
|
13300
13308
|
currency: e.string().optional(),
|
|
13301
13309
|
data: e.record(e.record(e.unknown())),
|
|
13302
|
-
targets: e.array(
|
|
13310
|
+
targets: e.array(J),
|
|
13303
13311
|
useDefaultFinancialInstrument: e.boolean(),
|
|
13304
13312
|
financialInstrumentLocator: e.string().optional(),
|
|
13305
13313
|
transactionMethod: e.union([
|
|
@@ -13400,7 +13408,7 @@ e.object({
|
|
|
13400
13408
|
createdAt: e.string(),
|
|
13401
13409
|
createdBy: e.string(),
|
|
13402
13410
|
accountLocator: e.string(),
|
|
13403
|
-
targets: e.array(
|
|
13411
|
+
targets: e.array(J),
|
|
13404
13412
|
reversalReason: e.string().optional()
|
|
13405
13413
|
});
|
|
13406
13414
|
e.union([
|
|
@@ -13428,7 +13436,7 @@ const aT = e.object({
|
|
|
13428
13436
|
createdAt: e.string(),
|
|
13429
13437
|
createdBy: e.string(),
|
|
13430
13438
|
accountLocator: e.string().optional(),
|
|
13431
|
-
targets: e.array(
|
|
13439
|
+
targets: e.array(J),
|
|
13432
13440
|
externalCashTransactionLocator: e.string().optional(),
|
|
13433
13441
|
validationResult: Dr.optional(),
|
|
13434
13442
|
postedAt: e.string().optional(),
|
|
@@ -13469,7 +13477,7 @@ const Ws = e.object({
|
|
|
13469
13477
|
createdAt: e.string(),
|
|
13470
13478
|
createdBy: e.string(),
|
|
13471
13479
|
accountLocator: e.string().optional(),
|
|
13472
|
-
sources: e.array(
|
|
13480
|
+
sources: e.array(J),
|
|
13473
13481
|
externalCashTransactionLocator: e.string().optional(),
|
|
13474
13482
|
validationResult: Dr.optional(),
|
|
13475
13483
|
disbursementNumber: e.string().optional()
|
|
@@ -13499,8 +13507,8 @@ e.object({
|
|
|
13499
13507
|
createdAt: e.string(),
|
|
13500
13508
|
createdBy: e.string(),
|
|
13501
13509
|
accountLocator: e.string().optional(),
|
|
13502
|
-
sources: e.array(
|
|
13503
|
-
targets: e.array(
|
|
13510
|
+
sources: e.array(J),
|
|
13511
|
+
targets: e.array(J),
|
|
13504
13512
|
validationResult: Dr.optional(),
|
|
13505
13513
|
executedAt: e.string().optional(),
|
|
13506
13514
|
reversalReason: e.string().optional(),
|
|
@@ -13511,8 +13519,8 @@ const Ys = e.object({
|
|
|
13511
13519
|
accountLocator: e.string().optional(),
|
|
13512
13520
|
amount: e.number(),
|
|
13513
13521
|
currency: e.string().optional(),
|
|
13514
|
-
sources: e.array(
|
|
13515
|
-
targets: e.array(
|
|
13522
|
+
sources: e.array(J),
|
|
13523
|
+
targets: e.array(J)
|
|
13516
13524
|
});
|
|
13517
13525
|
e.object({
|
|
13518
13526
|
locator: e.string(),
|
|
@@ -13589,12 +13597,12 @@ e.object({
|
|
|
13589
13597
|
accountLocator: e.string(),
|
|
13590
13598
|
requestBody: Tv
|
|
13591
13599
|
});
|
|
13592
|
-
e.array(
|
|
13600
|
+
e.array(Xn);
|
|
13593
13601
|
e.object({
|
|
13594
13602
|
accountLocator: e.string(),
|
|
13595
13603
|
requestBody: jv
|
|
13596
13604
|
});
|
|
13597
|
-
e.array(
|
|
13605
|
+
e.array(Xn);
|
|
13598
13606
|
e.object({
|
|
13599
13607
|
locator: e.string()
|
|
13600
13608
|
});
|
|
@@ -14015,8 +14023,8 @@ const nT = e.object({
|
|
|
14015
14023
|
"billing.installmentlattice.create": Bv.optional()
|
|
14016
14024
|
}), oT = e.object({
|
|
14017
14025
|
"billing.invoice.generate": qv.optional(),
|
|
14018
|
-
"billing.invoice.settle":
|
|
14019
|
-
"billing.invoice.unsettle":
|
|
14026
|
+
"billing.invoice.settle": ao.optional(),
|
|
14027
|
+
"billing.invoice.unsettle": ao.optional()
|
|
14020
14028
|
}), lT = e.object({
|
|
14021
14029
|
"billing.shortfallcredit.reverse": Xa.optional(),
|
|
14022
14030
|
"billing.shortfallcredit.distribute": Xa.optional(),
|
|
@@ -14200,7 +14208,7 @@ e.object({
|
|
|
14200
14208
|
shortfallCreditEvents: lT.optional(),
|
|
14201
14209
|
writeOffEvents: rT.optional()
|
|
14202
14210
|
});
|
|
14203
|
-
const Ba =
|
|
14211
|
+
const Ba = J.merge(
|
|
14204
14212
|
e.object({
|
|
14205
14213
|
containerType: wf
|
|
14206
14214
|
})
|
|
@@ -14212,8 +14220,8 @@ const Ba = X.merge(
|
|
|
14212
14220
|
createdAt: T,
|
|
14213
14221
|
createdBy: I,
|
|
14214
14222
|
sources: e.array(Ba),
|
|
14215
|
-
accountLocator:
|
|
14216
|
-
validationResult:
|
|
14223
|
+
accountLocator: me.optional(),
|
|
14224
|
+
validationResult: W.optional()
|
|
14217
14225
|
})
|
|
14218
14226
|
);
|
|
14219
14227
|
z(cT);
|
|
@@ -14222,7 +14230,7 @@ Na.merge(
|
|
|
14222
14230
|
data: M,
|
|
14223
14231
|
sources: e.array(Ba),
|
|
14224
14232
|
accountLocator: $.optional(),
|
|
14225
|
-
transactionMethod:
|
|
14233
|
+
transactionMethod: Nn.optional()
|
|
14226
14234
|
})
|
|
14227
14235
|
);
|
|
14228
14236
|
Ks.merge(
|
|
@@ -14231,15 +14239,15 @@ Ks.merge(
|
|
|
14231
14239
|
removeData: M,
|
|
14232
14240
|
addSources: e.array(Ba),
|
|
14233
14241
|
removeSources: e.array(e.string()),
|
|
14234
|
-
accountLocator:
|
|
14235
|
-
transactionMethod:
|
|
14242
|
+
accountLocator: me.optional(),
|
|
14243
|
+
transactionMethod: Nn
|
|
14236
14244
|
})
|
|
14237
14245
|
);
|
|
14238
14246
|
Na.merge(
|
|
14239
14247
|
e.object({
|
|
14240
14248
|
data: M,
|
|
14241
14249
|
sources: e.array(Ba),
|
|
14242
|
-
transactionMethod:
|
|
14250
|
+
transactionMethod: Nn
|
|
14243
14251
|
})
|
|
14244
14252
|
);
|
|
14245
14253
|
const uT = e.object({
|
|
@@ -14247,7 +14255,7 @@ const uT = e.object({
|
|
|
14247
14255
|
});
|
|
14248
14256
|
e.object({
|
|
14249
14257
|
...Qs.shape,
|
|
14250
|
-
accountLocator:
|
|
14258
|
+
accountLocator: me,
|
|
14251
14259
|
invoiceState: kf,
|
|
14252
14260
|
invoiceItems: e.array(uT),
|
|
14253
14261
|
generatedTime: T,
|
|
@@ -14259,7 +14267,7 @@ e.object({
|
|
|
14259
14267
|
const dT = e.object({
|
|
14260
14268
|
locator: I,
|
|
14261
14269
|
isDeleted: e.boolean()
|
|
14262
|
-
}),
|
|
14270
|
+
}), ce = e.union([
|
|
14263
14271
|
Os,
|
|
14264
14272
|
dT
|
|
14265
14273
|
]), Re = e.object({
|
|
@@ -14293,7 +14301,7 @@ Re.merge(
|
|
|
14293
14301
|
);
|
|
14294
14302
|
const gT = Re.merge(
|
|
14295
14303
|
e.object({
|
|
14296
|
-
activityLocator:
|
|
14304
|
+
activityLocator: Gn
|
|
14297
14305
|
})
|
|
14298
14306
|
);
|
|
14299
14307
|
gT.merge(
|
|
@@ -14370,7 +14378,7 @@ const fT = e.object({
|
|
|
14370
14378
|
e.object({
|
|
14371
14379
|
dataSizeKb: e.number()
|
|
14372
14380
|
});
|
|
14373
|
-
const
|
|
14381
|
+
const Jn = e.object({
|
|
14374
14382
|
locator: e.string(),
|
|
14375
14383
|
referenceLocator: e.string(),
|
|
14376
14384
|
referenceType: e.union([
|
|
@@ -14465,7 +14473,7 @@ e.object({
|
|
|
14465
14473
|
referenceLocator: e.string(),
|
|
14466
14474
|
referenceType: e.string()
|
|
14467
14475
|
});
|
|
14468
|
-
e.array(
|
|
14476
|
+
e.array(Jn);
|
|
14469
14477
|
e.object({
|
|
14470
14478
|
referenceLocator: e.string(),
|
|
14471
14479
|
referenceType: e.string(),
|
|
@@ -14483,7 +14491,7 @@ e.object({
|
|
|
14483
14491
|
locator: e.string(),
|
|
14484
14492
|
offset: e.number().optional()
|
|
14485
14493
|
});
|
|
14486
|
-
e.array(
|
|
14494
|
+
e.array(Jn);
|
|
14487
14495
|
e.object({
|
|
14488
14496
|
locator: e.string(),
|
|
14489
14497
|
requestBody: hT
|
|
@@ -14541,8 +14549,8 @@ e.object({
|
|
|
14541
14549
|
e.unknown();
|
|
14542
14550
|
const vT = e.object({
|
|
14543
14551
|
...Xs.shape
|
|
14544
|
-
}),
|
|
14545
|
-
...
|
|
14552
|
+
}), ei = e.object({
|
|
14553
|
+
...Jn.shape,
|
|
14546
14554
|
locator: ss,
|
|
14547
14555
|
referenceType: Sf,
|
|
14548
14556
|
diaryState: Cf,
|
|
@@ -14551,8 +14559,8 @@ const vT = e.object({
|
|
|
14551
14559
|
updatedAt: T,
|
|
14552
14560
|
updatedBy: I.optional()
|
|
14553
14561
|
});
|
|
14554
|
-
z(
|
|
14555
|
-
z(
|
|
14562
|
+
z(ei);
|
|
14563
|
+
z(ei);
|
|
14556
14564
|
e.object({
|
|
14557
14565
|
...Xy.shape,
|
|
14558
14566
|
diaryNote: vT.optional(),
|
|
@@ -14565,15 +14573,15 @@ const TT = e.object({
|
|
|
14565
14573
|
..._r.shape,
|
|
14566
14574
|
entityNumber: e.string().optional(),
|
|
14567
14575
|
policyLocator: rt.optional(),
|
|
14568
|
-
termLocator:
|
|
14569
|
-
transactionLocator:
|
|
14576
|
+
termLocator: Un.optional(),
|
|
14577
|
+
transactionLocator: we.optional(),
|
|
14570
14578
|
segmentLocator: Ca.optional()
|
|
14571
14579
|
}), jT = e.object({
|
|
14572
14580
|
...fs.shape,
|
|
14573
14581
|
references: e.array(TT).optional(),
|
|
14574
|
-
assignedTo:
|
|
14575
|
-
createdBy:
|
|
14576
|
-
updatedBy:
|
|
14582
|
+
assignedTo: ce.optional(),
|
|
14583
|
+
createdBy: ce.optional(),
|
|
14584
|
+
updatedBy: ce.optional()
|
|
14577
14585
|
});
|
|
14578
14586
|
z(jT);
|
|
14579
14587
|
e.object({
|
|
@@ -14583,16 +14591,16 @@ e.object({
|
|
|
14583
14591
|
assignedTo: I.optional()
|
|
14584
14592
|
});
|
|
14585
14593
|
const AT = e.object({
|
|
14586
|
-
locator:
|
|
14594
|
+
locator: Gn,
|
|
14587
14595
|
category: e.string(),
|
|
14588
14596
|
type: e.string(),
|
|
14589
14597
|
activityState: ja,
|
|
14590
14598
|
underwritingFlagLocators: e.array(e.string()).optional(),
|
|
14591
14599
|
deadlineTime: T.optional(),
|
|
14592
|
-
assignedTo:
|
|
14593
|
-
createdBy:
|
|
14600
|
+
assignedTo: ce.optional(),
|
|
14601
|
+
createdBy: ce,
|
|
14594
14602
|
createdAt: T,
|
|
14595
|
-
updatedBy:
|
|
14603
|
+
updatedBy: ce.optional(),
|
|
14596
14604
|
updatedAt: T.optional()
|
|
14597
14605
|
});
|
|
14598
14606
|
z(AT);
|
|
@@ -14603,22 +14611,22 @@ const Js = e.object({
|
|
|
14603
14611
|
transactionLocator: e.string().optional(),
|
|
14604
14612
|
segmentLocator: e.string().optional()
|
|
14605
14613
|
}), _T = e.object({
|
|
14606
|
-
...
|
|
14614
|
+
...zn.shape,
|
|
14607
14615
|
referenceDetails: Js.optional(),
|
|
14608
|
-
assignedTo:
|
|
14609
|
-
createdBy:
|
|
14610
|
-
updatedBy:
|
|
14616
|
+
assignedTo: ce.optional(),
|
|
14617
|
+
createdBy: ce.optional(),
|
|
14618
|
+
updatedBy: ce.optional()
|
|
14611
14619
|
});
|
|
14612
14620
|
z(_T);
|
|
14613
14621
|
const wT = e.object({
|
|
14614
|
-
...
|
|
14622
|
+
...zn.shape,
|
|
14615
14623
|
referenceDetails: Js.optional()
|
|
14616
14624
|
});
|
|
14617
14625
|
z(wT);
|
|
14618
14626
|
const xT = e.object({
|
|
14619
|
-
...
|
|
14620
|
-
createdBy:
|
|
14621
|
-
updatedBy:
|
|
14627
|
+
...ei.shape,
|
|
14628
|
+
createdBy: ce,
|
|
14629
|
+
updatedBy: ce.optional()
|
|
14622
14630
|
});
|
|
14623
14631
|
z(xT);
|
|
14624
14632
|
e.record(
|
|
@@ -14627,8 +14635,8 @@ e.record(
|
|
|
14627
14635
|
);
|
|
14628
14636
|
e.object({
|
|
14629
14637
|
...ms.shape,
|
|
14630
|
-
addQualifications:
|
|
14631
|
-
removeQualifications:
|
|
14638
|
+
addQualifications: de,
|
|
14639
|
+
removeQualifications: de
|
|
14632
14640
|
});
|
|
14633
14641
|
const ec = e.object({
|
|
14634
14642
|
userLocator: I,
|
|
@@ -14638,7 +14646,7 @@ const ec = e.object({
|
|
|
14638
14646
|
z(ec);
|
|
14639
14647
|
const ET = e.object({
|
|
14640
14648
|
...ec.shape,
|
|
14641
|
-
user:
|
|
14649
|
+
user: ce
|
|
14642
14650
|
});
|
|
14643
14651
|
z(ET);
|
|
14644
14652
|
const $T = ({
|
|
@@ -14675,9 +14683,9 @@ const $T = ({
|
|
|
14675
14683
|
}, PC = (r, t, a) => {
|
|
14676
14684
|
var o, l, s, c, u;
|
|
14677
14685
|
let n;
|
|
14678
|
-
r.durationBasis ? n = r.durationBasis : t.defaultDurationBasis ? n =
|
|
14686
|
+
r.durationBasis ? n = r.durationBasis : t.defaultDurationBasis ? n = Q.options.includes(
|
|
14679
14687
|
t.defaultDurationBasis
|
|
14680
|
-
) ? t.defaultDurationBasis : void 0 : a.defaultDurationBasis ? n =
|
|
14688
|
+
) ? t.defaultDurationBasis : void 0 : a.defaultDurationBasis ? n = Q.options.includes(
|
|
14681
14689
|
a.defaultDurationBasis
|
|
14682
14690
|
) ? a.defaultDurationBasis : void 0 : n = void 0;
|
|
14683
14691
|
const i = $T({
|
|
@@ -14756,28 +14764,28 @@ var ST = yt, CT = function() {
|
|
|
14756
14764
|
return r({}, "", {}), r;
|
|
14757
14765
|
} catch {
|
|
14758
14766
|
}
|
|
14759
|
-
}(), tc = CT,
|
|
14767
|
+
}(), tc = CT, io = tc;
|
|
14760
14768
|
function kT(r, t, a) {
|
|
14761
|
-
t == "__proto__" &&
|
|
14769
|
+
t == "__proto__" && io ? io(r, t, {
|
|
14762
14770
|
configurable: !0,
|
|
14763
14771
|
enumerable: !0,
|
|
14764
14772
|
value: a,
|
|
14765
14773
|
writable: !0
|
|
14766
14774
|
}) : r[t] = a;
|
|
14767
14775
|
}
|
|
14768
|
-
var
|
|
14776
|
+
var ti = kT, PT = ti, DT = wr, OT = Object.prototype, NT = OT.hasOwnProperty;
|
|
14769
14777
|
function BT(r, t, a) {
|
|
14770
14778
|
var n = r[t];
|
|
14771
14779
|
(!(NT.call(r, t) && DT(n, a)) || a === void 0 && !(t in r)) && PT(r, t, a);
|
|
14772
14780
|
}
|
|
14773
|
-
var
|
|
14781
|
+
var ri = BT, IT = 9007199254740991, RT = /^(?:0|[1-9]\d*)$/;
|
|
14774
14782
|
function MT(r, t) {
|
|
14775
14783
|
var a = typeof r;
|
|
14776
14784
|
return t = t ?? IT, !!t && (a == "number" || a != "symbol" && RT.test(r)) && r > -1 && r % 1 == 0 && r < t;
|
|
14777
14785
|
}
|
|
14778
|
-
var Ia = MT, qT =
|
|
14786
|
+
var Ia = MT, qT = ri, FT = Zt, ZT = Ia, oo = ge, UT = Ut;
|
|
14779
14787
|
function GT(r, t, a, n) {
|
|
14780
|
-
if (!
|
|
14788
|
+
if (!oo(r))
|
|
14781
14789
|
return r;
|
|
14782
14790
|
t = FT(t, r);
|
|
14783
14791
|
for (var i = -1, o = t.length, l = o - 1, s = r; s != null && ++i < o; ) {
|
|
@@ -14786,7 +14794,7 @@ function GT(r, t, a, n) {
|
|
|
14786
14794
|
return r;
|
|
14787
14795
|
if (i != l) {
|
|
14788
14796
|
var d = s[c];
|
|
14789
|
-
u = n ? n(d, c, s) : void 0, u === void 0 && (u =
|
|
14797
|
+
u = n ? n(d, c, s) : void 0, u === void 0 && (u = oo(d) ? d : ZT(t[i + 1]) ? [] : {});
|
|
14790
14798
|
}
|
|
14791
14799
|
qT(s, c, u), s = s[c];
|
|
14792
14800
|
}
|
|
@@ -14808,15 +14816,15 @@ var QT = YT, XT = Rt, JT = Be, ej = "[object Arguments]";
|
|
|
14808
14816
|
function tj(r) {
|
|
14809
14817
|
return JT(r) && XT(r) == ej;
|
|
14810
14818
|
}
|
|
14811
|
-
var rj = tj,
|
|
14819
|
+
var rj = tj, lo = rj, aj = Be, ac = Object.prototype, nj = ac.hasOwnProperty, ij = ac.propertyIsEnumerable, oj = lo(/* @__PURE__ */ function() {
|
|
14812
14820
|
return arguments;
|
|
14813
|
-
}()) ?
|
|
14821
|
+
}()) ? lo : function(r) {
|
|
14814
14822
|
return aj(r) && nj.call(r, "callee") && !ij.call(r, "callee");
|
|
14815
14823
|
}, Or = oj, lj = 9007199254740991;
|
|
14816
14824
|
function sj(r) {
|
|
14817
14825
|
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= lj;
|
|
14818
14826
|
}
|
|
14819
|
-
var
|
|
14827
|
+
var ai = sj, cj = Zt, uj = Or, dj = ee, pj = Ia, gj = ai, mj = Ut;
|
|
14820
14828
|
function fj(r, t, a) {
|
|
14821
14829
|
t = cj(t, r);
|
|
14822
14830
|
for (var n = -1, i = t.length, o = !1; ++n < i; ) {
|
|
@@ -14843,11 +14851,11 @@ function _j(r, t) {
|
|
|
14843
14851
|
r[i + a] = t[a];
|
|
14844
14852
|
return r;
|
|
14845
14853
|
}
|
|
14846
|
-
var
|
|
14854
|
+
var ni = _j, so = It, wj = Or, xj = ee, co = so ? so.isConcatSpreadable : void 0;
|
|
14847
14855
|
function Ej(r) {
|
|
14848
|
-
return xj(r) || wj(r) || !!(
|
|
14856
|
+
return xj(r) || wj(r) || !!(co && r && r[co]);
|
|
14849
14857
|
}
|
|
14850
|
-
var $j = Ej, Lj =
|
|
14858
|
+
var $j = Ej, Lj = ni, Sj = $j;
|
|
14851
14859
|
function oc(r, t, a, n, i) {
|
|
14852
14860
|
var o = -1, l = r.length;
|
|
14853
14861
|
for (a || (a = Sj), i || (i = []); ++o < l; ) {
|
|
@@ -14875,10 +14883,10 @@ function Oj(r, t, a) {
|
|
|
14875
14883
|
}
|
|
14876
14884
|
return r.apply(t, a);
|
|
14877
14885
|
}
|
|
14878
|
-
var Nj = Oj, Bj = Nj,
|
|
14886
|
+
var Nj = Oj, Bj = Nj, uo = Math.max;
|
|
14879
14887
|
function Ij(r, t, a) {
|
|
14880
|
-
return t =
|
|
14881
|
-
for (var n = arguments, i = -1, o =
|
|
14888
|
+
return t = uo(t === void 0 ? r.length - 1 : t, 0), function() {
|
|
14889
|
+
for (var n = arguments, i = -1, o = uo(n.length - t, 0), l = Array(o); ++i < o; )
|
|
14882
14890
|
l[i] = n[t + i];
|
|
14883
14891
|
i = -1;
|
|
14884
14892
|
for (var s = Array(t + 1); ++i < t; )
|
|
@@ -14896,8 +14904,8 @@ var Mj = Rj;
|
|
|
14896
14904
|
function qj(r) {
|
|
14897
14905
|
return r;
|
|
14898
14906
|
}
|
|
14899
|
-
var
|
|
14900
|
-
return
|
|
14907
|
+
var ii = qj, Fj = Mj, po = tc, Zj = ii, Uj = po ? function(r, t) {
|
|
14908
|
+
return po(r, "toString", {
|
|
14901
14909
|
configurable: !0,
|
|
14902
14910
|
enumerable: !1,
|
|
14903
14911
|
value: Fj(t),
|
|
@@ -14923,14 +14931,14 @@ function rA(r) {
|
|
|
14923
14931
|
var cc = rA, aA = Aj, nA = cc, iA = nA(function(r, t) {
|
|
14924
14932
|
return r == null ? {} : aA(r, t);
|
|
14925
14933
|
}), oA = iA;
|
|
14926
|
-
const oa = /* @__PURE__ */
|
|
14934
|
+
const oa = /* @__PURE__ */ pe(oA);
|
|
14927
14935
|
var lA = rc;
|
|
14928
14936
|
function sA(r, t, a) {
|
|
14929
14937
|
return r == null ? r : lA(r, t, a);
|
|
14930
14938
|
}
|
|
14931
14939
|
var cA = sA;
|
|
14932
|
-
const k = /* @__PURE__ */
|
|
14933
|
-
function
|
|
14940
|
+
const k = /* @__PURE__ */ pe(cA), uA = { Date: !0, RegExp: !0, String: !0, Number: !0 };
|
|
14941
|
+
function se(r, t, a = { cyclesFix: !0 }, n = []) {
|
|
14934
14942
|
var s, c;
|
|
14935
14943
|
let i = [];
|
|
14936
14944
|
const o = Array.isArray(r);
|
|
@@ -14945,7 +14953,7 @@ function le(r, t, a = { cyclesFix: !0 }, n = []) {
|
|
|
14945
14953
|
continue;
|
|
14946
14954
|
}
|
|
14947
14955
|
const f = t[u], h = typeof d == "object" && typeof f == "object" && Array.isArray(d) === Array.isArray(f);
|
|
14948
|
-
d && f && h && !uA[(c = (s = Object.getPrototypeOf(d)) == null ? void 0 : s.constructor) == null ? void 0 : c.name] && (!a.cyclesFix || !n.includes(d)) ? i.push.apply(i,
|
|
14956
|
+
d && f && h && !uA[(c = (s = Object.getPrototypeOf(d)) == null ? void 0 : s.constructor) == null ? void 0 : c.name] && (!a.cyclesFix || !n.includes(d)) ? i.push.apply(i, se(d, f, a, a.cyclesFix ? n.concat([d]) : []).map((y) => (y.path.unshift(g), y))) : d !== f && // treat NaN values as equivalent
|
|
14949
14957
|
!(Number.isNaN(d) && Number.isNaN(f)) && !(h && (isNaN(d) ? d + "" == f + "" : +d == +f)) && i.push({
|
|
14950
14958
|
path: [g],
|
|
14951
14959
|
type: "CHANGE",
|
|
@@ -14977,7 +14985,7 @@ const OC = (r) => {
|
|
|
14977
14985
|
setCoverageTerms: {},
|
|
14978
14986
|
removeCoverageTerms: {}
|
|
14979
14987
|
};
|
|
14980
|
-
|
|
14988
|
+
se((o == null ? void 0 : o.data) ?? {}, t).forEach((y) => {
|
|
14981
14989
|
switch (y.type) {
|
|
14982
14990
|
case "CHANGE":
|
|
14983
14991
|
case "CREATE":
|
|
@@ -14995,7 +15003,7 @@ const OC = (r) => {
|
|
|
14995
15003
|
k(s.removeData ?? {}, y.path, !0);
|
|
14996
15004
|
break;
|
|
14997
15005
|
}
|
|
14998
|
-
}),
|
|
15006
|
+
}), se(
|
|
14999
15007
|
o.coverageTerms ?? {},
|
|
15000
15008
|
i ?? {}
|
|
15001
15009
|
).forEach((y) => {
|
|
@@ -15021,7 +15029,7 @@ const OC = (r) => {
|
|
|
15021
15029
|
"installmentPlan",
|
|
15022
15030
|
"durationBasis",
|
|
15023
15031
|
"delinquencyPlanName"
|
|
15024
|
-
]), f =
|
|
15032
|
+
]), f = se(d ?? {}, a ?? {}), h = se(g ?? {}, n ?? {});
|
|
15025
15033
|
return f.forEach((y) => {
|
|
15026
15034
|
switch (y.type) {
|
|
15027
15035
|
case "CHANGE":
|
|
@@ -15092,7 +15100,7 @@ function PA(r, t) {
|
|
|
15092
15100
|
;
|
|
15093
15101
|
return r;
|
|
15094
15102
|
}
|
|
15095
|
-
var uc = PA, DA =
|
|
15103
|
+
var uc = PA, DA = ri, OA = ti;
|
|
15096
15104
|
function NA(r, t, a, n) {
|
|
15097
15105
|
var i = !a;
|
|
15098
15106
|
a || (a = {});
|
|
@@ -15115,10 +15123,10 @@ function RA() {
|
|
|
15115
15123
|
var MA = RA;
|
|
15116
15124
|
la.exports;
|
|
15117
15125
|
(function(r, t) {
|
|
15118
|
-
var a =
|
|
15126
|
+
var a = $e, n = MA, i = t && !t.nodeType && t, o = i && !0 && r && !r.nodeType && r, l = o && o.exports === i, s = l ? a.Buffer : void 0, c = s ? s.isBuffer : void 0, u = c || n;
|
|
15119
15127
|
r.exports = u;
|
|
15120
15128
|
})(la, la.exports);
|
|
15121
|
-
var Wt = la.exports, qA = Rt, FA =
|
|
15129
|
+
var Wt = la.exports, qA = Rt, FA = ai, ZA = Be, UA = "[object Arguments]", GA = "[object Array]", zA = "[object Boolean]", KA = "[object Date]", VA = "[object Error]", HA = "[object Function]", WA = "[object Map]", YA = "[object Number]", QA = "[object Object]", XA = "[object RegExp]", JA = "[object Set]", e_ = "[object String]", t_ = "[object WeakMap]", r_ = "[object ArrayBuffer]", a_ = "[object DataView]", n_ = "[object Float32Array]", i_ = "[object Float64Array]", o_ = "[object Int8Array]", l_ = "[object Int16Array]", s_ = "[object Int32Array]", c_ = "[object Uint8Array]", u_ = "[object Uint8ClampedArray]", d_ = "[object Uint16Array]", p_ = "[object Uint32Array]", F = {};
|
|
15122
15130
|
F[n_] = F[i_] = F[o_] = F[l_] = F[s_] = F[c_] = F[u_] = F[d_] = F[p_] = !0;
|
|
15123
15131
|
F[UA] = F[GA] = F[r_] = F[zA] = F[a_] = F[KA] = F[VA] = F[HA] = F[WA] = F[YA] = F[QA] = F[XA] = F[JA] = F[e_] = F[t_] = !1;
|
|
15124
15132
|
function g_(r) {
|
|
@@ -15130,10 +15138,10 @@ function f_(r) {
|
|
|
15130
15138
|
return r(t);
|
|
15131
15139
|
};
|
|
15132
15140
|
}
|
|
15133
|
-
var
|
|
15141
|
+
var oi = f_, sa = { exports: {} };
|
|
15134
15142
|
sa.exports;
|
|
15135
15143
|
(function(r, t) {
|
|
15136
|
-
var a =
|
|
15144
|
+
var a = il, n = t && !t.nodeType && t, i = n && !0 && r && !r.nodeType && r, o = i && i.exports === n, l = o && a.process, s = function() {
|
|
15137
15145
|
try {
|
|
15138
15146
|
var c = i && i.require && i.require("util").types;
|
|
15139
15147
|
return c || l && l.binding && l.binding("util");
|
|
@@ -15142,7 +15150,7 @@ sa.exports;
|
|
|
15142
15150
|
}();
|
|
15143
15151
|
r.exports = s;
|
|
15144
15152
|
})(sa, sa.exports);
|
|
15145
|
-
var
|
|
15153
|
+
var li = sa.exports, y_ = m_, h_ = oi, go = li, mo = go && go.isTypedArray, b_ = mo ? h_(mo) : y_, Nr = b_, v_ = IA, T_ = Or, j_ = ee, A_ = Wt, __ = Ia, w_ = Nr, x_ = Object.prototype, E_ = x_.hasOwnProperty;
|
|
15146
15154
|
function $_(r, t) {
|
|
15147
15155
|
var a = j_(r), n = !a && T_(r), i = !a && !n && A_(r), o = !a && !n && !i && w_(r), l = a || n || i || o, s = l ? v_(r.length, String) : [], c = s.length;
|
|
15148
15156
|
for (var u in r)
|
|
@@ -15173,7 +15181,7 @@ function R_(r) {
|
|
|
15173
15181
|
I_.call(r, a) && a != "constructor" && t.push(a);
|
|
15174
15182
|
return t;
|
|
15175
15183
|
}
|
|
15176
|
-
var gc = R_, M_ = ga, q_ =
|
|
15184
|
+
var gc = R_, M_ = ga, q_ = ai;
|
|
15177
15185
|
function F_(r) {
|
|
15178
15186
|
return r != null && q_(r.length) && !M_(r);
|
|
15179
15187
|
}
|
|
@@ -15193,7 +15201,7 @@ function Y_(r) {
|
|
|
15193
15201
|
t.push(a);
|
|
15194
15202
|
return t;
|
|
15195
15203
|
}
|
|
15196
|
-
var Q_ = Y_, X_ =
|
|
15204
|
+
var Q_ = Y_, X_ = ge, J_ = Ma, ew = Q_, tw = Object.prototype, rw = tw.hasOwnProperty;
|
|
15197
15205
|
function aw(r) {
|
|
15198
15206
|
if (!X_(r))
|
|
15199
15207
|
return ew(r);
|
|
@@ -15213,7 +15221,7 @@ function dw(r, t) {
|
|
|
15213
15221
|
var pw = dw, ca = { exports: {} };
|
|
15214
15222
|
ca.exports;
|
|
15215
15223
|
(function(r, t) {
|
|
15216
|
-
var a =
|
|
15224
|
+
var a = $e, n = t && !t.nodeType && t, i = n && !0 && r && !r.nodeType && r, o = i && i.exports === n, l = o ? a.Buffer : void 0, s = l ? l.allocUnsafe : void 0;
|
|
15217
15225
|
function c(u, d) {
|
|
15218
15226
|
if (d)
|
|
15219
15227
|
return u.slice();
|
|
@@ -15241,15 +15249,15 @@ var fw = mw;
|
|
|
15241
15249
|
function yw() {
|
|
15242
15250
|
return [];
|
|
15243
15251
|
}
|
|
15244
|
-
var yc = yw, hw = fw, bw = yc, vw = Object.prototype, Tw = vw.propertyIsEnumerable,
|
|
15245
|
-
return r == null ? [] : (r = Object(r), hw(
|
|
15252
|
+
var yc = yw, hw = fw, bw = yc, vw = Object.prototype, Tw = vw.propertyIsEnumerable, fo = Object.getOwnPropertySymbols, jw = fo ? function(r) {
|
|
15253
|
+
return r == null ? [] : (r = Object(r), hw(fo(r), function(t) {
|
|
15246
15254
|
return Tw.call(r, t);
|
|
15247
15255
|
}));
|
|
15248
|
-
} : bw,
|
|
15256
|
+
} : bw, si = jw, Aw = Ht, _w = si;
|
|
15249
15257
|
function ww(r, t) {
|
|
15250
15258
|
return Aw(r, _w(r), t);
|
|
15251
15259
|
}
|
|
15252
|
-
var xw = ww, Ew = pc, $w = Ew(Object.getPrototypeOf, Object), qa = $w, Lw =
|
|
15260
|
+
var xw = ww, Ew = pc, $w = Ew(Object.getPrototypeOf, Object), qa = $w, Lw = ni, Sw = qa, Cw = si, kw = yc, Pw = Object.getOwnPropertySymbols, Dw = Pw ? function(r) {
|
|
15253
15261
|
for (var t = []; r; )
|
|
15254
15262
|
Lw(t, Cw(r)), r = Sw(r);
|
|
15255
15263
|
return t;
|
|
@@ -15257,12 +15265,12 @@ var xw = ww, Ew = pc, $w = Ew(Object.getPrototypeOf, Object), qa = $w, Lw = ii,
|
|
|
15257
15265
|
function Bw(r, t) {
|
|
15258
15266
|
return Ow(r, Nw(r), t);
|
|
15259
15267
|
}
|
|
15260
|
-
var Iw = Bw, Rw =
|
|
15268
|
+
var Iw = Bw, Rw = ni, Mw = ee;
|
|
15261
15269
|
function qw(r, t, a) {
|
|
15262
15270
|
var n = t(r);
|
|
15263
15271
|
return Mw(r) ? n : Rw(n, a(r));
|
|
15264
15272
|
}
|
|
15265
|
-
var bc = qw, Fw = bc, Zw =
|
|
15273
|
+
var bc = qw, Fw = bc, Zw = si, Uw = Br;
|
|
15266
15274
|
function Gw(r) {
|
|
15267
15275
|
return Fw(r, Uw, Zw);
|
|
15268
15276
|
}
|
|
@@ -15270,21 +15278,21 @@ var vc = Gw, zw = bc, Kw = hc, Vw = Ir;
|
|
|
15270
15278
|
function Hw(r) {
|
|
15271
15279
|
return zw(r, Vw, Kw);
|
|
15272
15280
|
}
|
|
15273
|
-
var Tc = Hw, Ww = yt, Yw =
|
|
15274
|
-
(gn && lt(new gn(new ArrayBuffer(1))) !=
|
|
15281
|
+
var Tc = Hw, Ww = yt, Yw = $e, Qw = Ww(Yw, "DataView"), Xw = Qw, Jw = yt, ex = $e, tx = Jw(ex, "Promise"), rx = tx, ax = yt, nx = $e, ix = ax(nx, "Set"), ox = ix, lx = yt, sx = $e, cx = lx(sx, "WeakMap"), ux = cx, gn = Xw, mn = En, fn = rx, yn = ox, hn = ux, jc = Rt, Qt = ll, yo = "[object Map]", dx = "[object Object]", ho = "[object Promise]", bo = "[object Set]", vo = "[object WeakMap]", To = "[object DataView]", px = Qt(gn), gx = Qt(mn), mx = Qt(fn), fx = Qt(yn), yx = Qt(hn), lt = jc;
|
|
15282
|
+
(gn && lt(new gn(new ArrayBuffer(1))) != To || mn && lt(new mn()) != yo || fn && lt(fn.resolve()) != ho || yn && lt(new yn()) != bo || hn && lt(new hn()) != vo) && (lt = function(r) {
|
|
15275
15283
|
var t = jc(r), a = t == dx ? r.constructor : void 0, n = a ? Qt(a) : "";
|
|
15276
15284
|
if (n)
|
|
15277
15285
|
switch (n) {
|
|
15278
15286
|
case px:
|
|
15279
|
-
return
|
|
15287
|
+
return To;
|
|
15280
15288
|
case gx:
|
|
15281
|
-
return
|
|
15289
|
+
return yo;
|
|
15282
15290
|
case mx:
|
|
15283
|
-
return
|
|
15291
|
+
return ho;
|
|
15284
15292
|
case fx:
|
|
15285
|
-
return
|
|
15293
|
+
return bo;
|
|
15286
15294
|
case yx:
|
|
15287
|
-
return
|
|
15295
|
+
return vo;
|
|
15288
15296
|
}
|
|
15289
15297
|
return t;
|
|
15290
15298
|
});
|
|
@@ -15293,12 +15301,12 @@ function vx(r) {
|
|
|
15293
15301
|
var t = r.length, a = new r.constructor(t);
|
|
15294
15302
|
return t && typeof r[0] == "string" && bx.call(r, "index") && (a.index = r.index, a.input = r.input), a;
|
|
15295
15303
|
}
|
|
15296
|
-
var Tx = vx, jx =
|
|
15304
|
+
var Tx = vx, jx = $e, Ax = jx.Uint8Array, Ac = Ax, jo = Ac;
|
|
15297
15305
|
function _x(r) {
|
|
15298
15306
|
var t = new r.constructor(r.byteLength);
|
|
15299
|
-
return new
|
|
15307
|
+
return new jo(t).set(new jo(r)), t;
|
|
15300
15308
|
}
|
|
15301
|
-
var
|
|
15309
|
+
var ci = _x, wx = ci;
|
|
15302
15310
|
function xx(r, t) {
|
|
15303
15311
|
var a = t ? wx(r.buffer) : r.buffer;
|
|
15304
15312
|
return new r.constructor(a, r.byteOffset, r.byteLength);
|
|
@@ -15308,16 +15316,16 @@ function Lx(r) {
|
|
|
15308
15316
|
var t = new r.constructor(r.source, $x.exec(r));
|
|
15309
15317
|
return t.lastIndex = r.lastIndex, t;
|
|
15310
15318
|
}
|
|
15311
|
-
var Sx = Lx,
|
|
15319
|
+
var Sx = Lx, Ao = It, _o = Ao ? Ao.prototype : void 0, wo = _o ? _o.valueOf : void 0;
|
|
15312
15320
|
function Cx(r) {
|
|
15313
|
-
return
|
|
15321
|
+
return wo ? Object(wo.call(r)) : {};
|
|
15314
15322
|
}
|
|
15315
|
-
var kx = Cx, Px =
|
|
15323
|
+
var kx = Cx, Px = ci;
|
|
15316
15324
|
function Dx(r, t) {
|
|
15317
15325
|
var a = t ? Px(r.buffer) : r.buffer;
|
|
15318
15326
|
return new r.constructor(a, r.byteOffset, r.length);
|
|
15319
15327
|
}
|
|
15320
|
-
var _c = Dx, Ox =
|
|
15328
|
+
var _c = Dx, Ox = ci, Nx = Ex, Bx = Sx, Ix = kx, Rx = _c, Mx = "[object Boolean]", qx = "[object Date]", Fx = "[object Map]", Zx = "[object Number]", Ux = "[object RegExp]", Gx = "[object Set]", zx = "[object String]", Kx = "[object Symbol]", Vx = "[object ArrayBuffer]", Hx = "[object DataView]", Wx = "[object Float32Array]", Yx = "[object Float64Array]", Qx = "[object Int8Array]", Xx = "[object Int16Array]", Jx = "[object Int32Array]", eE = "[object Uint8Array]", tE = "[object Uint8ClampedArray]", rE = "[object Uint16Array]", aE = "[object Uint32Array]";
|
|
15321
15329
|
function nE(r, t, a) {
|
|
15322
15330
|
var n = r.constructor;
|
|
15323
15331
|
switch (t) {
|
|
@@ -15351,14 +15359,14 @@ function nE(r, t, a) {
|
|
|
15351
15359
|
return Ix(r);
|
|
15352
15360
|
}
|
|
15353
15361
|
}
|
|
15354
|
-
var iE = nE, oE =
|
|
15362
|
+
var iE = nE, oE = ge, xo = Object.create, lE = /* @__PURE__ */ function() {
|
|
15355
15363
|
function r() {
|
|
15356
15364
|
}
|
|
15357
15365
|
return function(t) {
|
|
15358
15366
|
if (!oE(t))
|
|
15359
15367
|
return {};
|
|
15360
|
-
if (
|
|
15361
|
-
return
|
|
15368
|
+
if (xo)
|
|
15369
|
+
return xo(t);
|
|
15362
15370
|
r.prototype = t;
|
|
15363
15371
|
var a = new r();
|
|
15364
15372
|
return r.prototype = void 0, a;
|
|
@@ -15371,11 +15379,11 @@ var xc = dE, pE = Rr, gE = Be, mE = "[object Map]";
|
|
|
15371
15379
|
function fE(r) {
|
|
15372
15380
|
return gE(r) && pE(r) == mE;
|
|
15373
15381
|
}
|
|
15374
|
-
var yE = fE, hE = yE, bE =
|
|
15382
|
+
var yE = fE, hE = yE, bE = oi, Eo = li, $o = Eo && Eo.isMap, vE = $o ? bE($o) : hE, TE = vE, jE = Rr, AE = Be, _E = "[object Set]";
|
|
15375
15383
|
function wE(r) {
|
|
15376
15384
|
return AE(r) && jE(r) == _E;
|
|
15377
15385
|
}
|
|
15378
|
-
var xE = wE, EE = xE, $E =
|
|
15386
|
+
var xE = wE, EE = xE, $E = oi, Lo = li, So = Lo && Lo.isSet, LE = So ? $E(So) : EE, SE = LE, CE = Ra, kE = uc, PE = ri, DE = W_, OE = pw, NE = mc, BE = fc, IE = xw, RE = Iw, ME = vc, qE = Tc, FE = Rr, ZE = Tx, UE = iE, GE = xc, zE = ee, KE = Wt, VE = TE, HE = ge, WE = SE, YE = Br, QE = Ir, XE = 1, JE = 2, e$ = 4, Ec = "[object Arguments]", t$ = "[object Array]", r$ = "[object Boolean]", a$ = "[object Date]", n$ = "[object Error]", $c = "[object Function]", i$ = "[object GeneratorFunction]", o$ = "[object Map]", l$ = "[object Number]", Lc = "[object Object]", s$ = "[object RegExp]", c$ = "[object Set]", u$ = "[object String]", d$ = "[object Symbol]", p$ = "[object WeakMap]", g$ = "[object ArrayBuffer]", m$ = "[object DataView]", f$ = "[object Float32Array]", y$ = "[object Float64Array]", h$ = "[object Int8Array]", b$ = "[object Int16Array]", v$ = "[object Int32Array]", T$ = "[object Uint8Array]", j$ = "[object Uint8ClampedArray]", A$ = "[object Uint16Array]", _$ = "[object Uint32Array]", q = {};
|
|
15379
15387
|
q[Ec] = q[t$] = q[g$] = q[m$] = q[r$] = q[a$] = q[f$] = q[y$] = q[h$] = q[b$] = q[v$] = q[o$] = q[l$] = q[Lc] = q[s$] = q[c$] = q[u$] = q[d$] = q[T$] = q[j$] = q[A$] = q[_$] = !0;
|
|
15380
15388
|
q[n$] = q[$c] = q[p$] = !1;
|
|
15381
15389
|
function Hr(r, t, a, n, i, o) {
|
|
@@ -15450,7 +15458,7 @@ var Cc = V$, H$ = Cc;
|
|
|
15450
15458
|
function W$(r) {
|
|
15451
15459
|
return H$(r) ? void 0 : r;
|
|
15452
15460
|
}
|
|
15453
|
-
var Y$ = W$, Q$ =
|
|
15461
|
+
var Y$ = W$, Q$ = cl, X$ = w$, J$ = R$, eL = Zt, tL = Ht, rL = Y$, aL = cc, nL = Tc, iL = 1, oL = 2, lL = 4, sL = aL(function(r, t) {
|
|
15454
15462
|
var a = {};
|
|
15455
15463
|
if (r == null)
|
|
15456
15464
|
return a;
|
|
@@ -15462,7 +15470,7 @@ var Y$ = W$, Q$ = ul, X$ = w$, J$ = R$, eL = Zt, tL = Ht, rL = Y$, aL = cc, nL =
|
|
|
15462
15470
|
J$(a, t[i]);
|
|
15463
15471
|
return a;
|
|
15464
15472
|
}), cL = sL;
|
|
15465
|
-
const uL = /* @__PURE__ */
|
|
15473
|
+
const uL = /* @__PURE__ */ pe(cL);
|
|
15466
15474
|
function dL(r, t) {
|
|
15467
15475
|
for (var a = -1, n = r == null ? 0 : r.length; ++a < n; )
|
|
15468
15476
|
if (!t(r[a], a, r))
|
|
@@ -15578,7 +15586,7 @@ function QL(r) {
|
|
|
15578
15586
|
a[++t] = n;
|
|
15579
15587
|
}), a;
|
|
15580
15588
|
}
|
|
15581
|
-
var XL = QL,
|
|
15589
|
+
var XL = QL, Co = It, ko = Ac, JL = wr, e1 = Dc, t1 = YL, r1 = XL, a1 = 1, n1 = 2, i1 = "[object Boolean]", o1 = "[object Date]", l1 = "[object Error]", s1 = "[object Map]", c1 = "[object Number]", u1 = "[object RegExp]", d1 = "[object Set]", p1 = "[object String]", g1 = "[object Symbol]", m1 = "[object ArrayBuffer]", f1 = "[object DataView]", Po = Co ? Co.prototype : void 0, en = Po ? Po.valueOf : void 0;
|
|
15582
15590
|
function y1(r, t, a, n, i, o, l) {
|
|
15583
15591
|
switch (a) {
|
|
15584
15592
|
case f1:
|
|
@@ -15586,7 +15594,7 @@ function y1(r, t, a, n, i, o, l) {
|
|
|
15586
15594
|
return !1;
|
|
15587
15595
|
r = r.buffer, t = t.buffer;
|
|
15588
15596
|
case m1:
|
|
15589
|
-
return !(r.byteLength != t.byteLength || !o(new
|
|
15597
|
+
return !(r.byteLength != t.byteLength || !o(new ko(r), new ko(t)));
|
|
15590
15598
|
case i1:
|
|
15591
15599
|
case o1:
|
|
15592
15600
|
case c1:
|
|
@@ -15614,9 +15622,9 @@ function y1(r, t, a, n, i, o, l) {
|
|
|
15614
15622
|
}
|
|
15615
15623
|
return !1;
|
|
15616
15624
|
}
|
|
15617
|
-
var h1 = y1,
|
|
15625
|
+
var h1 = y1, Do = vc, b1 = 1, v1 = Object.prototype, T1 = v1.hasOwnProperty;
|
|
15618
15626
|
function j1(r, t, a, n, i, o) {
|
|
15619
|
-
var l = a & b1, s =
|
|
15627
|
+
var l = a & b1, s = Do(r), c = s.length, u = Do(t), d = u.length;
|
|
15620
15628
|
if (c != d && !l)
|
|
15621
15629
|
return !1;
|
|
15622
15630
|
for (var g = c; g--; ) {
|
|
@@ -15633,8 +15641,8 @@ function j1(r, t, a, n, i, o) {
|
|
|
15633
15641
|
f = s[g];
|
|
15634
15642
|
var _ = r[f], Z = t[f];
|
|
15635
15643
|
if (n)
|
|
15636
|
-
var
|
|
15637
|
-
if (!(
|
|
15644
|
+
var te = l ? n(Z, _, f, t, r, o) : n(_, Z, f, r, t, o);
|
|
15645
|
+
if (!(te === void 0 ? _ === Z || i(_, Z, a, n, o) : te)) {
|
|
15638
15646
|
b = !1;
|
|
15639
15647
|
break;
|
|
15640
15648
|
}
|
|
@@ -15646,20 +15654,20 @@ function j1(r, t, a, n, i, o) {
|
|
|
15646
15654
|
}
|
|
15647
15655
|
return o.delete(r), o.delete(t), b;
|
|
15648
15656
|
}
|
|
15649
|
-
var A1 = j1, tn = Ra, _1 = Dc, w1 = h1, x1 = A1,
|
|
15657
|
+
var A1 = j1, tn = Ra, _1 = Dc, w1 = h1, x1 = A1, Oo = Rr, No = ee, Bo = Wt, E1 = Nr, $1 = 1, Io = "[object Arguments]", Ro = "[object Array]", zr = "[object Object]", L1 = Object.prototype, Mo = L1.hasOwnProperty;
|
|
15650
15658
|
function S1(r, t, a, n, i, o) {
|
|
15651
|
-
var l =
|
|
15652
|
-
c = c ==
|
|
15659
|
+
var l = No(r), s = No(t), c = l ? Ro : Oo(r), u = s ? Ro : Oo(t);
|
|
15660
|
+
c = c == Io ? zr : c, u = u == Io ? zr : u;
|
|
15653
15661
|
var d = c == zr, g = u == zr, f = c == u;
|
|
15654
|
-
if (f &&
|
|
15655
|
-
if (!
|
|
15662
|
+
if (f && Bo(r)) {
|
|
15663
|
+
if (!Bo(t))
|
|
15656
15664
|
return !1;
|
|
15657
15665
|
l = !0, d = !1;
|
|
15658
15666
|
}
|
|
15659
15667
|
if (f && !d)
|
|
15660
15668
|
return o || (o = new tn()), l || E1(r) ? _1(r, t, a, n, i, o) : w1(r, t, c, a, n, i, o);
|
|
15661
15669
|
if (!(a & $1)) {
|
|
15662
|
-
var h = d &&
|
|
15670
|
+
var h = d && Mo.call(r, "__wrapped__"), y = g && Mo.call(t, "__wrapped__");
|
|
15663
15671
|
if (h || y) {
|
|
15664
15672
|
var b = h ? r.value() : r, C = y ? t.value() : t;
|
|
15665
15673
|
return o || (o = new tn()), i(b, C, a, n, o);
|
|
@@ -15667,11 +15675,11 @@ function S1(r, t, a, n, i, o) {
|
|
|
15667
15675
|
}
|
|
15668
15676
|
return f ? (o || (o = new tn()), x1(r, t, a, n, i, o)) : !1;
|
|
15669
15677
|
}
|
|
15670
|
-
var C1 = S1, k1 = C1,
|
|
15678
|
+
var C1 = S1, k1 = C1, qo = Be;
|
|
15671
15679
|
function Oc(r, t, a, n, i) {
|
|
15672
|
-
return r === t ? !0 : r == null || t == null || !
|
|
15680
|
+
return r === t ? !0 : r == null || t == null || !qo(r) && !qo(t) ? r !== r && t !== t : k1(r, t, a, n, Oc, i);
|
|
15673
15681
|
}
|
|
15674
|
-
var
|
|
15682
|
+
var ui = Oc, P1 = Ra, D1 = ui, O1 = 1, N1 = 2;
|
|
15675
15683
|
function B1(r, t, a, n) {
|
|
15676
15684
|
var i = a.length, o = i, l = !n;
|
|
15677
15685
|
if (r == null)
|
|
@@ -15697,7 +15705,7 @@ function B1(r, t, a, n) {
|
|
|
15697
15705
|
}
|
|
15698
15706
|
return !0;
|
|
15699
15707
|
}
|
|
15700
|
-
var I1 = B1, R1 =
|
|
15708
|
+
var I1 = B1, R1 = ge;
|
|
15701
15709
|
function M1(r) {
|
|
15702
15710
|
return r === r && !R1(r);
|
|
15703
15711
|
}
|
|
@@ -15722,7 +15730,7 @@ function H1(r) {
|
|
|
15722
15730
|
return a === r || z1(a, r, t);
|
|
15723
15731
|
};
|
|
15724
15732
|
}
|
|
15725
|
-
var W1 = H1, Y1 =
|
|
15733
|
+
var W1 = H1, Y1 = ui, Q1 = dl, X1 = ic, J1 = xn, e0 = Nc, t0 = Bc, r0 = Ut, a0 = 1, n0 = 2;
|
|
15726
15734
|
function i0(r, t) {
|
|
15727
15735
|
return J1(r) && e0(t) ? t0(r0(r), t) : function(a) {
|
|
15728
15736
|
var n = Q1(a, r);
|
|
@@ -15745,24 +15753,24 @@ var d0 = u0, p0 = s0, g0 = d0, m0 = xn, f0 = Ut;
|
|
|
15745
15753
|
function y0(r) {
|
|
15746
15754
|
return m0(r) ? p0(f0(r)) : g0(r);
|
|
15747
15755
|
}
|
|
15748
|
-
var h0 = y0, b0 = W1, v0 = o0, T0 =
|
|
15756
|
+
var h0 = y0, b0 = W1, v0 = o0, T0 = ii, j0 = ee, A0 = h0;
|
|
15749
15757
|
function _0(r) {
|
|
15750
15758
|
return typeof r == "function" ? r : r == null ? T0 : typeof r == "object" ? j0(r) ? v0(r[0], r[1]) : b0(r) : A0(r);
|
|
15751
15759
|
}
|
|
15752
|
-
var Ic = _0, w0 = wr, x0 = Yt, E0 = Ia, $0 =
|
|
15760
|
+
var Ic = _0, w0 = wr, x0 = Yt, E0 = Ia, $0 = ge;
|
|
15753
15761
|
function L0(r, t, a) {
|
|
15754
15762
|
if (!$0(a))
|
|
15755
15763
|
return !1;
|
|
15756
15764
|
var n = typeof t;
|
|
15757
15765
|
return (n == "number" ? x0(a) && E0(t, a.length) : n == "string" && t in a) ? w0(a[t], r) : !1;
|
|
15758
15766
|
}
|
|
15759
|
-
var Rc = L0, S0 = pL, C0 = SL, k0 = Ic, P0 =
|
|
15767
|
+
var Rc = L0, S0 = pL, C0 = SL, k0 = Ic, P0 = ee, D0 = Rc;
|
|
15760
15768
|
function O0(r, t, a) {
|
|
15761
15769
|
var n = P0(r) ? S0 : C0;
|
|
15762
15770
|
return a && D0(r, t, a) && (t = void 0), n(r, k0(t));
|
|
15763
15771
|
}
|
|
15764
15772
|
var N0 = O0;
|
|
15765
|
-
const B0 = /* @__PURE__ */
|
|
15773
|
+
const B0 = /* @__PURE__ */ pe(N0);
|
|
15766
15774
|
var I0 = Object.prototype, R0 = I0.hasOwnProperty;
|
|
15767
15775
|
function M0(r, t) {
|
|
15768
15776
|
return r != null && R0.call(r, t);
|
|
@@ -15772,8 +15780,8 @@ function U0(r, t) {
|
|
|
15772
15780
|
return r != null && Z0(r, t, F0);
|
|
15773
15781
|
}
|
|
15774
15782
|
var G0 = U0;
|
|
15775
|
-
const z0 = /* @__PURE__ */
|
|
15776
|
-
var K0 = gc, V0 = Rr, H0 = Or, W0 =
|
|
15783
|
+
const z0 = /* @__PURE__ */ pe(G0);
|
|
15784
|
+
var K0 = gc, V0 = Rr, H0 = Or, W0 = ee, Y0 = Yt, Q0 = Wt, X0 = Ma, J0 = Nr, eS = "[object Map]", tS = "[object Set]", rS = Object.prototype, aS = rS.hasOwnProperty;
|
|
15777
15785
|
function nS(r) {
|
|
15778
15786
|
if (r == null)
|
|
15779
15787
|
return !0;
|
|
@@ -15790,8 +15798,8 @@ function nS(r) {
|
|
|
15790
15798
|
return !0;
|
|
15791
15799
|
}
|
|
15792
15800
|
var iS = nS;
|
|
15793
|
-
const
|
|
15794
|
-
var oS = uc, lS = wc, sS = Pc, cS = Ic, uS = qa, dS =
|
|
15801
|
+
const Fo = /* @__PURE__ */ pe(iS);
|
|
15802
|
+
var oS = uc, lS = wc, sS = Pc, cS = Ic, uS = qa, dS = ee, pS = Wt, gS = ga, mS = ge, fS = Nr;
|
|
15795
15803
|
function yS(r, t, a) {
|
|
15796
15804
|
var n = dS(r), i = n || pS(r) || fS(r);
|
|
15797
15805
|
if (t = cS(t), a == null) {
|
|
@@ -15803,19 +15811,19 @@ function yS(r, t, a) {
|
|
|
15803
15811
|
}), a;
|
|
15804
15812
|
}
|
|
15805
15813
|
var hS = yS;
|
|
15806
|
-
const bS = /* @__PURE__ */
|
|
15814
|
+
const bS = /* @__PURE__ */ pe(hS);
|
|
15807
15815
|
function da(r, t) {
|
|
15808
15816
|
return bS(r, (a, n, i) => {
|
|
15809
15817
|
if (!z0(t, i))
|
|
15810
15818
|
a[i] = n;
|
|
15811
15819
|
else if (ln(n) && !Ka(n)) {
|
|
15812
15820
|
const o = da(n, t[i]);
|
|
15813
|
-
|
|
15821
|
+
Fo(o) || (a[i] = o);
|
|
15814
15822
|
} else if (Ka(n) && Ka(t[i])) {
|
|
15815
15823
|
const o = n.map(
|
|
15816
15824
|
(l, s) => da(l, t[i][s])
|
|
15817
15825
|
);
|
|
15818
|
-
B0(o,
|
|
15826
|
+
B0(o, Fo) || (a[i] = o);
|
|
15819
15827
|
}
|
|
15820
15828
|
});
|
|
15821
15829
|
}
|
|
@@ -15845,7 +15853,7 @@ const NC = ({
|
|
|
15845
15853
|
return r.default.newPolicyEndDate && (a.newPolicyEndTime = on(
|
|
15846
15854
|
r.default.newPolicyEndDate
|
|
15847
15855
|
).toDate(t).toISOString()), a;
|
|
15848
|
-
}, vS =
|
|
15856
|
+
}, vS = ne.enum([
|
|
15849
15857
|
"startTime",
|
|
15850
15858
|
"endTime",
|
|
15851
15859
|
"expirationTime",
|
|
@@ -15853,15 +15861,15 @@ const NC = ({
|
|
|
15853
15861
|
"timezone",
|
|
15854
15862
|
"currency"
|
|
15855
15863
|
]);
|
|
15856
|
-
|
|
15857
|
-
const TS =
|
|
15864
|
+
ne.record(vS, ne.string().optional());
|
|
15865
|
+
const TS = ne.enum([
|
|
15858
15866
|
"billingLevel",
|
|
15859
15867
|
"billingTrigger",
|
|
15860
15868
|
"durationBasis",
|
|
15861
15869
|
"delinquencyPlanName",
|
|
15862
15870
|
"autoRenewalPlanName"
|
|
15863
15871
|
]);
|
|
15864
|
-
|
|
15872
|
+
ne.record(TS, ne.string().optional());
|
|
15865
15873
|
const IC = (r) => {
|
|
15866
15874
|
var h, y;
|
|
15867
15875
|
const {
|
|
@@ -15876,7 +15884,7 @@ const IC = (r) => {
|
|
|
15876
15884
|
setCoverageTerms: {},
|
|
15877
15885
|
removeCoverageTerms: {}
|
|
15878
15886
|
};
|
|
15879
|
-
|
|
15887
|
+
se(((h = o.element) == null ? void 0 : h.data) ?? {}, t).forEach((b) => {
|
|
15880
15888
|
switch (b.type) {
|
|
15881
15889
|
case "CHANGE":
|
|
15882
15890
|
case "CREATE":
|
|
@@ -15894,7 +15902,7 @@ const IC = (r) => {
|
|
|
15894
15902
|
k(l.removeData ?? {}, b.path, !0);
|
|
15895
15903
|
break;
|
|
15896
15904
|
}
|
|
15897
|
-
}),
|
|
15905
|
+
}), se(
|
|
15898
15906
|
((y = o.element) == null ? void 0 : y.coverageTerms) ?? {},
|
|
15899
15907
|
i ?? {}
|
|
15900
15908
|
).forEach((b) => {
|
|
@@ -15922,7 +15930,7 @@ const IC = (r) => {
|
|
|
15922
15930
|
"durationBasis",
|
|
15923
15931
|
"delinquencyPlanName",
|
|
15924
15932
|
"autoRenewalPlanName"
|
|
15925
|
-
]), g =
|
|
15933
|
+
]), g = se(u ?? {}, a ?? {}), f = se(d ?? {}, n ?? {});
|
|
15926
15934
|
return g.forEach((b) => {
|
|
15927
15935
|
switch (b.type) {
|
|
15928
15936
|
case "CHANGE":
|
|
@@ -15957,7 +15965,7 @@ const IC = (r) => {
|
|
|
15957
15965
|
setCoverageTerms: {},
|
|
15958
15966
|
removeCoverageTerms: {}
|
|
15959
15967
|
};
|
|
15960
|
-
return
|
|
15968
|
+
return se(((i = r.element) == null ? void 0 : i.data) ?? {}, r.data).forEach((l) => {
|
|
15961
15969
|
switch (l.type) {
|
|
15962
15970
|
case "CHANGE":
|
|
15963
15971
|
case "CREATE":
|
|
@@ -15975,7 +15983,7 @@ const IC = (r) => {
|
|
|
15975
15983
|
k(t.removeData ?? {}, l.path, !0);
|
|
15976
15984
|
break;
|
|
15977
15985
|
}
|
|
15978
|
-
}),
|
|
15986
|
+
}), se(
|
|
15979
15987
|
((o = r.element) == null ? void 0 : o.coverageTerms) ?? {},
|
|
15980
15988
|
r.coverageTerms ?? {}
|
|
15981
15989
|
).forEach((l) => {
|
|
@@ -16014,7 +16022,7 @@ const qC = ({
|
|
|
16014
16022
|
};
|
|
16015
16023
|
}), n;
|
|
16016
16024
|
};
|
|
16017
|
-
var jS =
|
|
16025
|
+
var jS = ti, AS = wr;
|
|
16018
16026
|
function _S(r, t, a) {
|
|
16019
16027
|
(a !== void 0 && !AS(r[t], a) || a === void 0 && !(t in r)) && jS(r, t, a);
|
|
16020
16028
|
}
|
|
@@ -16031,21 +16039,21 @@ var qc = LS, SS = Ht, CS = Ir;
|
|
|
16031
16039
|
function kS(r) {
|
|
16032
16040
|
return SS(r, CS(r));
|
|
16033
16041
|
}
|
|
16034
|
-
var PS = kS,
|
|
16042
|
+
var PS = kS, Zo = Mc, DS = mc, OS = _c, NS = fc, BS = xc, Uo = Or, Go = ee, IS = $S, RS = Wt, MS = ga, qS = ge, FS = Cc, ZS = Nr, zo = qc, US = PS;
|
|
16035
16043
|
function GS(r, t, a, n, i, o, l) {
|
|
16036
|
-
var s =
|
|
16044
|
+
var s = zo(r, a), c = zo(t, a), u = l.get(c);
|
|
16037
16045
|
if (u) {
|
|
16038
|
-
|
|
16046
|
+
Zo(r, a, u);
|
|
16039
16047
|
return;
|
|
16040
16048
|
}
|
|
16041
16049
|
var d = o ? o(s, c, a + "", r, t, l) : void 0, g = d === void 0;
|
|
16042
16050
|
if (g) {
|
|
16043
|
-
var f =
|
|
16044
|
-
d = c, f || h || y ?
|
|
16051
|
+
var f = Go(c), h = !f && RS(c), y = !f && !h && ZS(c);
|
|
16052
|
+
d = c, f || h || y ? Go(s) ? d = s : IS(s) ? d = NS(s) : h ? (g = !1, d = DS(c, !0)) : y ? (g = !1, d = OS(c, !0)) : d = [] : FS(c) || Uo(c) ? (d = s, Uo(s) ? d = US(s) : (!qS(s) || MS(s)) && (d = BS(c))) : g = !1;
|
|
16045
16053
|
}
|
|
16046
|
-
g && (l.set(c, d), i(d, c, n, o, l), l.delete(c)),
|
|
16054
|
+
g && (l.set(c, d), i(d, c, n, o, l), l.delete(c)), Zo(r, a, d);
|
|
16047
16055
|
}
|
|
16048
|
-
var zS = GS, KS = Ra, VS = Mc, HS = kc, WS = zS, YS =
|
|
16056
|
+
var zS = GS, KS = Ra, VS = Mc, HS = kc, WS = zS, YS = ge, QS = Ir, XS = qc;
|
|
16049
16057
|
function Fc(r, t, a, n, i) {
|
|
16050
16058
|
r !== t && HS(t, function(o, l) {
|
|
16051
16059
|
if (i || (i = new KS()), YS(o))
|
|
@@ -16056,7 +16064,7 @@ function Fc(r, t, a, n, i) {
|
|
|
16056
16064
|
}
|
|
16057
16065
|
}, QS);
|
|
16058
16066
|
}
|
|
16059
|
-
var JS = Fc, eC =
|
|
16067
|
+
var JS = Fc, eC = ii, tC = lc, rC = sc;
|
|
16060
16068
|
function aC(r, t) {
|
|
16061
16069
|
return rC(tC(r, t, eC), r + "");
|
|
16062
16070
|
}
|
|
@@ -16074,7 +16082,7 @@ function lC(r) {
|
|
|
16074
16082
|
var sC = lC, cC = JS, uC = sC, dC = uC(function(r, t, a) {
|
|
16075
16083
|
cC(r, t, a);
|
|
16076
16084
|
}), pC = dC;
|
|
16077
|
-
const gC = /* @__PURE__ */
|
|
16085
|
+
const gC = /* @__PURE__ */ pe(pC), FC = ({
|
|
16078
16086
|
defaultValues: r,
|
|
16079
16087
|
accountType: t,
|
|
16080
16088
|
account: a
|
|
@@ -16099,12 +16107,12 @@ const gC = /* @__PURE__ */ de(pC), FC = ({
|
|
|
16099
16107
|
saveAsDraft: !((r == null ? void 0 : r.autoValidate) ?? !0)
|
|
16100
16108
|
};
|
|
16101
16109
|
};
|
|
16102
|
-
var mC =
|
|
16110
|
+
var mC = ui;
|
|
16103
16111
|
function fC(r, t) {
|
|
16104
16112
|
return mC(r, t);
|
|
16105
16113
|
}
|
|
16106
16114
|
var yC = fC;
|
|
16107
|
-
const hC = /* @__PURE__ */
|
|
16115
|
+
const hC = /* @__PURE__ */ pe(yC), bC = (r, t, a) => {
|
|
16108
16116
|
const n = [];
|
|
16109
16117
|
if (Object.keys(r).length === 0 && Object.keys(t).length === 0)
|
|
16110
16118
|
return n;
|
|
@@ -16162,14 +16170,14 @@ const hC = /* @__PURE__ */ de(yC), bC = (r, t, a) => {
|
|
|
16162
16170
|
s && (typeof s == "string" && l.includes(s) || (i[o] = ""));
|
|
16163
16171
|
}), i;
|
|
16164
16172
|
};
|
|
16165
|
-
|
|
16166
|
-
autoRenewalPlanName:
|
|
16167
|
-
delinquencyPlanName:
|
|
16168
|
-
excessCreditPlanName:
|
|
16169
|
-
shortfallTolerancePlanName:
|
|
16173
|
+
ne.object({
|
|
16174
|
+
autoRenewalPlanName: ne.string().optional(),
|
|
16175
|
+
delinquencyPlanName: ne.string().optional(),
|
|
16176
|
+
excessCreditPlanName: ne.string().optional(),
|
|
16177
|
+
shortfallTolerancePlanName: ne.string().optional(),
|
|
16170
16178
|
billingLevel: Ie.optional(),
|
|
16171
|
-
invoiceDocument:
|
|
16172
|
-
installmentPlanName:
|
|
16179
|
+
invoiceDocument: ne.string().optional(),
|
|
16180
|
+
installmentPlanName: ne.string().optional()
|
|
16173
16181
|
});
|
|
16174
16182
|
function UC(r) {
|
|
16175
16183
|
var n;
|
|
@@ -16192,7 +16200,7 @@ function UC(r) {
|
|
|
16192
16200
|
} : {}
|
|
16193
16201
|
}
|
|
16194
16202
|
};
|
|
16195
|
-
return
|
|
16203
|
+
return se(((n = r.account) == null ? void 0 : n.data) ?? {}, r.data).forEach((l) => {
|
|
16196
16204
|
switch (l.type) {
|
|
16197
16205
|
case "CHANGE":
|
|
16198
16206
|
case "CREATE":
|
|
@@ -16222,14 +16230,22 @@ function UC(r) {
|
|
|
16222
16230
|
}
|
|
16223
16231
|
};
|
|
16224
16232
|
}
|
|
16233
|
+
const GC = (r, t) => {
|
|
16234
|
+
const a = P({
|
|
16235
|
+
json: r,
|
|
16236
|
+
path: ["$", `[?(@.type=="${t}")]`]
|
|
16237
|
+
});
|
|
16238
|
+
return a.length ? a[0] : null;
|
|
16239
|
+
};
|
|
16225
16240
|
export {
|
|
16226
16241
|
Eg as DataFieldTagFeature,
|
|
16227
16242
|
bC as compareData,
|
|
16228
16243
|
$g as dataModelToJSONSchema,
|
|
16229
|
-
|
|
16244
|
+
pl as extractElementByLocator,
|
|
16245
|
+
GC as extractElementByType,
|
|
16230
16246
|
_C as extractElementDataModelFromQuote,
|
|
16231
16247
|
wC as extractElementDataModelFromSegment,
|
|
16232
|
-
|
|
16248
|
+
gl as extractElementDataModelFromType,
|
|
16233
16249
|
xC as extractElementsFromQuote,
|
|
16234
16250
|
EC as extractElementsFromTransactionSegment,
|
|
16235
16251
|
$C as extractProductDataModel,
|