@authhero/adapter-interfaces 0.10.4 → 0.11.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.
|
@@ -10,7 +10,7 @@ function pt(t, e) {
|
|
|
10
10
|
var n;
|
|
11
11
|
return ((n = t == null ? void 0 : t._def) === null || n === void 0 ? void 0 : n.typeName) === e;
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function J(t, e) {
|
|
14
14
|
const n = t.ZodType.prototype[e];
|
|
15
15
|
t.ZodType.prototype[e] = function(...s) {
|
|
16
16
|
const a = n.apply(this, s);
|
|
@@ -22,24 +22,24 @@ function ht(t) {
|
|
|
22
22
|
return;
|
|
23
23
|
t.ZodType.prototype.openapi = function(a, i) {
|
|
24
24
|
var o, c, u, l, m, x;
|
|
25
|
-
const z = typeof a == "string" ? i : a, B = z ?? {}, { param:
|
|
26
|
-
param: Object.assign(Object.assign({}, (x = (m = this._def.openapi) === null || m === void 0 ? void 0 : m.metadata) === null || x === void 0 ? void 0 : x.param),
|
|
25
|
+
const z = typeof a == "string" ? i : a, B = z ?? {}, { param: $e } = B, ct = ut(B, ["param"]), Ve = Object.assign(Object.assign({}, (o = this._def.openapi) === null || o === void 0 ? void 0 : o._internal), typeof a == "string" ? { refId: a } : void 0), Le = Object.assign(Object.assign(Object.assign({}, (c = this._def.openapi) === null || c === void 0 ? void 0 : c.metadata), ct), !((l = (u = this._def.openapi) === null || u === void 0 ? void 0 : u.metadata) === null || l === void 0) && l.param || $e ? {
|
|
26
|
+
param: Object.assign(Object.assign({}, (x = (m = this._def.openapi) === null || m === void 0 ? void 0 : m.metadata) === null || x === void 0 ? void 0 : x.param), $e)
|
|
27
27
|
} : void 0), ze = new this.constructor(Object.assign(Object.assign({}, this._def), { openapi: Object.assign(Object.assign({}, Object.keys(Ve).length > 0 ? { _internal: Ve } : void 0), Object.keys(Le).length > 0 ? { metadata: Le } : void 0) }));
|
|
28
28
|
if (pt(this, "ZodObject")) {
|
|
29
29
|
const dt = this.extend;
|
|
30
30
|
ze.extend = function(...lt) {
|
|
31
|
-
var Se, Te,
|
|
32
|
-
const
|
|
33
|
-
return
|
|
31
|
+
var Se, Te, Ee, Ce, Oe, je;
|
|
32
|
+
const Ie = dt.apply(this, lt);
|
|
33
|
+
return Ie._def.openapi = {
|
|
34
34
|
_internal: {
|
|
35
|
-
extendedFrom: !((Te = (Se = this._def.openapi) === null || Se === void 0 ? void 0 : Se._internal) === null || Te === void 0) && Te.refId ? { refId: (
|
|
35
|
+
extendedFrom: !((Te = (Se = this._def.openapi) === null || Se === void 0 ? void 0 : Se._internal) === null || Te === void 0) && Te.refId ? { refId: (Ce = (Ee = this._def.openapi) === null || Ee === void 0 ? void 0 : Ee._internal) === null || Ce === void 0 ? void 0 : Ce.refId, schema: this } : (Oe = this._def.openapi) === null || Oe === void 0 ? void 0 : Oe._internal.extendedFrom
|
|
36
36
|
},
|
|
37
|
-
metadata: (
|
|
38
|
-
},
|
|
37
|
+
metadata: (je = Ie._def.openapi) === null || je === void 0 ? void 0 : je.metadata
|
|
38
|
+
}, Ie;
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
return ze;
|
|
42
|
-
},
|
|
42
|
+
}, J(t, "optional"), J(t, "nullable"), J(t, "default"), J(t, "transform"), J(t, "refine");
|
|
43
43
|
const e = t.ZodObject.prototype.deepPartial;
|
|
44
44
|
t.ZodObject.prototype.deepPartial = function() {
|
|
45
45
|
const a = this._def.shape(), i = e.apply(this), o = i._def.shape();
|
|
@@ -96,14 +96,14 @@ var b;
|
|
|
96
96
|
}
|
|
97
97
|
t.joinValues = s, t.jsonStringifyReplacer = (a, i) => typeof i == "bigint" ? i.toString() : i;
|
|
98
98
|
})(b || (b = {}));
|
|
99
|
-
var
|
|
99
|
+
var Ze;
|
|
100
100
|
(function(t) {
|
|
101
101
|
t.mergeShapes = (e, n) => ({
|
|
102
102
|
...e,
|
|
103
103
|
...n
|
|
104
104
|
// second overwrites first
|
|
105
105
|
});
|
|
106
|
-
})(
|
|
106
|
+
})(Ze || (Ze = {}));
|
|
107
107
|
const h = b.arrayToEnum([
|
|
108
108
|
"string",
|
|
109
109
|
"nan",
|
|
@@ -224,7 +224,7 @@ class T extends Error {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
T.create = (t) => new T(t);
|
|
227
|
-
const
|
|
227
|
+
const F = (t, e) => {
|
|
228
228
|
let n;
|
|
229
229
|
switch (t.code) {
|
|
230
230
|
case d.invalid_type:
|
|
@@ -280,12 +280,12 @@ const K = (t, e) => {
|
|
|
280
280
|
}
|
|
281
281
|
return { message: n };
|
|
282
282
|
};
|
|
283
|
-
let
|
|
283
|
+
let Ge = F;
|
|
284
284
|
function mt(t) {
|
|
285
|
-
|
|
285
|
+
Ge = t;
|
|
286
286
|
}
|
|
287
287
|
function me() {
|
|
288
|
-
return
|
|
288
|
+
return Ge;
|
|
289
289
|
}
|
|
290
290
|
const _e = (t) => {
|
|
291
291
|
const { data: e, path: n, errorMaps: s, issueData: a } = t, i = [...n, ...a.path || []], o = {
|
|
@@ -317,7 +317,7 @@ function p(t, e) {
|
|
|
317
317
|
t.common.contextualErrorMap,
|
|
318
318
|
t.schemaErrorMap,
|
|
319
319
|
n,
|
|
320
|
-
n ===
|
|
320
|
+
n === F ? void 0 : F
|
|
321
321
|
// then global default map
|
|
322
322
|
].filter((a) => !!a)
|
|
323
323
|
});
|
|
@@ -366,12 +366,12 @@ class w {
|
|
|
366
366
|
}
|
|
367
367
|
const g = Object.freeze({
|
|
368
368
|
status: "aborted"
|
|
369
|
-
}),
|
|
369
|
+
}), H = (t) => ({ status: "dirty", value: t }), S = (t) => ({ status: "valid", value: t }), Re = (t) => t.status === "aborted", Ae = (t) => t.status === "dirty", ee = (t) => t.status === "valid", te = (t) => typeof Promise < "u" && t instanceof Promise;
|
|
370
370
|
function ge(t, e, n, s) {
|
|
371
371
|
if (typeof e == "function" ? t !== e || !s : !e.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
372
372
|
return e.get(t);
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function He(t, e, n, s, a) {
|
|
375
375
|
if (typeof e == "function" ? t !== e || !a : !e.has(t)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
376
376
|
return e.set(t, n), n;
|
|
377
377
|
}
|
|
@@ -379,8 +379,8 @@ var f;
|
|
|
379
379
|
(function(t) {
|
|
380
380
|
t.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, t.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
381
381
|
})(f || (f = {}));
|
|
382
|
-
var
|
|
383
|
-
class
|
|
382
|
+
var Q, X;
|
|
383
|
+
class I {
|
|
384
384
|
constructor(e, n, s, a) {
|
|
385
385
|
this._cachedPath = [], this.parent = e, this.data = n, this._path = s, this._key = a;
|
|
386
386
|
}
|
|
@@ -515,7 +515,7 @@ class v {
|
|
|
515
515
|
return this._refinement((s, a) => e(s) ? !0 : (a.addIssue(typeof n == "function" ? n(s, a) : n), !1));
|
|
516
516
|
}
|
|
517
517
|
_refinement(e) {
|
|
518
|
-
return new
|
|
518
|
+
return new O({
|
|
519
519
|
schema: this,
|
|
520
520
|
typeName: _.ZodEffects,
|
|
521
521
|
effect: { type: "refinement", refinement: e }
|
|
@@ -525,19 +525,19 @@ class v {
|
|
|
525
525
|
return this._refinement(e);
|
|
526
526
|
}
|
|
527
527
|
optional() {
|
|
528
|
-
return
|
|
528
|
+
return j.create(this, this._def);
|
|
529
529
|
}
|
|
530
530
|
nullable() {
|
|
531
|
-
return
|
|
531
|
+
return U.create(this, this._def);
|
|
532
532
|
}
|
|
533
533
|
nullish() {
|
|
534
534
|
return this.nullable().optional();
|
|
535
535
|
}
|
|
536
536
|
array() {
|
|
537
|
-
return
|
|
537
|
+
return C.create(this, this._def);
|
|
538
538
|
}
|
|
539
539
|
promise() {
|
|
540
|
-
return
|
|
540
|
+
return K.create(this, this._def);
|
|
541
541
|
}
|
|
542
542
|
or(e) {
|
|
543
543
|
return ae.create([this, e], this._def);
|
|
@@ -546,7 +546,7 @@ class v {
|
|
|
546
546
|
return ie.create(this, e, this._def);
|
|
547
547
|
}
|
|
548
548
|
transform(e) {
|
|
549
|
-
return new
|
|
549
|
+
return new O({
|
|
550
550
|
...y(this._def),
|
|
551
551
|
schema: this,
|
|
552
552
|
typeName: _.ZodEffects,
|
|
@@ -600,23 +600,23 @@ class v {
|
|
|
600
600
|
}
|
|
601
601
|
const gt = /^c[^\s-]{8,}$/i, yt = /^[0-9a-z]+$/, vt = /^[0-9A-HJKMNP-TV-Z]{26}$/, bt = /^[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, kt = /^[a-z0-9_-]{21}$/i, xt = /^[-+]?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)?)??$/, wt = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, St = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
602
602
|
let Ne;
|
|
603
|
-
const Tt = /^(?:(?: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])$/,
|
|
604
|
-
function
|
|
603
|
+
const Tt = /^(?:(?: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])$/, Et = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, Ct = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, qe = "((\\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])))", Ot = new RegExp(`^${qe}$`);
|
|
604
|
+
function Fe(t) {
|
|
605
605
|
let e = "([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";
|
|
606
606
|
return t.precision ? e = `${e}\\.\\d{${t.precision}}` : t.precision == null && (e = `${e}(\\.\\d+)?`), e;
|
|
607
607
|
}
|
|
608
|
-
function
|
|
609
|
-
return new RegExp(`^${
|
|
608
|
+
function jt(t) {
|
|
609
|
+
return new RegExp(`^${Fe(t)}$`);
|
|
610
610
|
}
|
|
611
611
|
function Ye(t) {
|
|
612
|
-
let e = `${
|
|
612
|
+
let e = `${qe}T${Fe(t)}`;
|
|
613
613
|
const n = [];
|
|
614
614
|
return n.push(t.local ? "Z?" : "Z"), t.offset && n.push("([+-]\\d{2}:?\\d{2})"), e = `${e}(${n.join("|")})`, new RegExp(`^${e}$`);
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
return !!((e === "v4" || !e) && Tt.test(t) || (e === "v6" || !e) &&
|
|
616
|
+
function It(t, e) {
|
|
617
|
+
return !!((e === "v4" || !e) && Tt.test(t) || (e === "v6" || !e) && Et.test(t));
|
|
618
618
|
}
|
|
619
|
-
class
|
|
619
|
+
class E extends v {
|
|
620
620
|
_parse(e) {
|
|
621
621
|
if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== h.string) {
|
|
622
622
|
const i = this._getOrReturnCtx(e);
|
|
@@ -736,11 +736,11 @@ class j extends v {
|
|
|
736
736
|
code: d.invalid_string,
|
|
737
737
|
validation: "datetime",
|
|
738
738
|
message: i.message
|
|
739
|
-
}), s.dirty()) : i.kind === "date" ?
|
|
739
|
+
}), s.dirty()) : i.kind === "date" ? Ot.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
740
740
|
code: d.invalid_string,
|
|
741
741
|
validation: "date",
|
|
742
742
|
message: i.message
|
|
743
|
-
}), s.dirty()) : i.kind === "time" ?
|
|
743
|
+
}), s.dirty()) : i.kind === "time" ? jt(i).test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
744
744
|
code: d.invalid_string,
|
|
745
745
|
validation: "time",
|
|
746
746
|
message: i.message
|
|
@@ -748,11 +748,11 @@ class j extends v {
|
|
|
748
748
|
validation: "duration",
|
|
749
749
|
code: d.invalid_string,
|
|
750
750
|
message: i.message
|
|
751
|
-
}), s.dirty()) : i.kind === "ip" ?
|
|
751
|
+
}), s.dirty()) : i.kind === "ip" ? It(e.data, i.version) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
752
752
|
validation: "ip",
|
|
753
753
|
code: d.invalid_string,
|
|
754
754
|
message: i.message
|
|
755
|
-
}), s.dirty()) : i.kind === "base64" ?
|
|
755
|
+
}), s.dirty()) : i.kind === "base64" ? Ct.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
756
756
|
validation: "base64",
|
|
757
757
|
code: d.invalid_string,
|
|
758
758
|
message: i.message
|
|
@@ -767,7 +767,7 @@ class j extends v {
|
|
|
767
767
|
});
|
|
768
768
|
}
|
|
769
769
|
_addCheck(e) {
|
|
770
|
-
return new
|
|
770
|
+
return new E({
|
|
771
771
|
...this._def,
|
|
772
772
|
checks: [...this._def.checks, e]
|
|
773
773
|
});
|
|
@@ -893,19 +893,19 @@ class j extends v {
|
|
|
893
893
|
return this.min(1, f.errToObj(e));
|
|
894
894
|
}
|
|
895
895
|
trim() {
|
|
896
|
-
return new
|
|
896
|
+
return new E({
|
|
897
897
|
...this._def,
|
|
898
898
|
checks: [...this._def.checks, { kind: "trim" }]
|
|
899
899
|
});
|
|
900
900
|
}
|
|
901
901
|
toLowerCase() {
|
|
902
|
-
return new
|
|
902
|
+
return new E({
|
|
903
903
|
...this._def,
|
|
904
904
|
checks: [...this._def.checks, { kind: "toLowerCase" }]
|
|
905
905
|
});
|
|
906
906
|
}
|
|
907
907
|
toUpperCase() {
|
|
908
|
-
return new
|
|
908
|
+
return new E({
|
|
909
909
|
...this._def,
|
|
910
910
|
checks: [...this._def.checks, { kind: "toUpperCase" }]
|
|
911
911
|
});
|
|
@@ -965,9 +965,9 @@ class j extends v {
|
|
|
965
965
|
return e;
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
|
-
|
|
968
|
+
E.create = (t) => {
|
|
969
969
|
var e;
|
|
970
|
-
return new
|
|
970
|
+
return new E({
|
|
971
971
|
checks: [],
|
|
972
972
|
typeName: _.ZodString,
|
|
973
973
|
coerce: (e = t == null ? void 0 : t.coerce) !== null && e !== void 0 ? e : !1,
|
|
@@ -1437,7 +1437,7 @@ Y.create = (t) => new Y({
|
|
|
1437
1437
|
typeName: _.ZodAny,
|
|
1438
1438
|
...y(t)
|
|
1439
1439
|
});
|
|
1440
|
-
class
|
|
1440
|
+
class $ extends v {
|
|
1441
1441
|
constructor() {
|
|
1442
1442
|
super(...arguments), this._unknown = !0;
|
|
1443
1443
|
}
|
|
@@ -1445,7 +1445,7 @@ class U extends v {
|
|
|
1445
1445
|
return S(e.data);
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
|
|
1448
|
+
$.create = (t) => new $({
|
|
1449
1449
|
typeName: _.ZodUnknown,
|
|
1450
1450
|
...y(t)
|
|
1451
1451
|
});
|
|
@@ -1480,7 +1480,7 @@ ve.create = (t) => new ve({
|
|
|
1480
1480
|
typeName: _.ZodVoid,
|
|
1481
1481
|
...y(t)
|
|
1482
1482
|
});
|
|
1483
|
-
class
|
|
1483
|
+
class C extends v {
|
|
1484
1484
|
_parse(e) {
|
|
1485
1485
|
const { ctx: n, status: s } = this._processInputParams(e), a = this._def;
|
|
1486
1486
|
if (n.parsedType !== h.array)
|
|
@@ -1516,27 +1516,27 @@ class O extends v {
|
|
|
1516
1516
|
exact: !1,
|
|
1517
1517
|
message: a.maxLength.message
|
|
1518
1518
|
}), s.dirty()), n.common.async)
|
|
1519
|
-
return Promise.all([...n.data].map((o, c) => a.type._parseAsync(new
|
|
1520
|
-
const i = [...n.data].map((o, c) => a.type._parseSync(new
|
|
1519
|
+
return Promise.all([...n.data].map((o, c) => a.type._parseAsync(new I(n, o, n.path, c)))).then((o) => w.mergeArray(s, o));
|
|
1520
|
+
const i = [...n.data].map((o, c) => a.type._parseSync(new I(n, o, n.path, c)));
|
|
1521
1521
|
return w.mergeArray(s, i);
|
|
1522
1522
|
}
|
|
1523
1523
|
get element() {
|
|
1524
1524
|
return this._def.type;
|
|
1525
1525
|
}
|
|
1526
1526
|
min(e, n) {
|
|
1527
|
-
return new
|
|
1527
|
+
return new C({
|
|
1528
1528
|
...this._def,
|
|
1529
1529
|
minLength: { value: e, message: f.toString(n) }
|
|
1530
1530
|
});
|
|
1531
1531
|
}
|
|
1532
1532
|
max(e, n) {
|
|
1533
|
-
return new
|
|
1533
|
+
return new C({
|
|
1534
1534
|
...this._def,
|
|
1535
1535
|
maxLength: { value: e, message: f.toString(n) }
|
|
1536
1536
|
});
|
|
1537
1537
|
}
|
|
1538
1538
|
length(e, n) {
|
|
1539
|
-
return new
|
|
1539
|
+
return new C({
|
|
1540
1540
|
...this._def,
|
|
1541
1541
|
exactLength: { value: e, message: f.toString(n) }
|
|
1542
1542
|
});
|
|
@@ -1545,7 +1545,7 @@ class O extends v {
|
|
|
1545
1545
|
return this.min(1, e);
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
|
-
|
|
1548
|
+
C.create = (t, e) => new C({
|
|
1549
1549
|
type: t,
|
|
1550
1550
|
minLength: null,
|
|
1551
1551
|
maxLength: null,
|
|
@@ -1553,21 +1553,21 @@ O.create = (t, e) => new O({
|
|
|
1553
1553
|
typeName: _.ZodArray,
|
|
1554
1554
|
...y(e)
|
|
1555
1555
|
});
|
|
1556
|
-
function
|
|
1556
|
+
function G(t) {
|
|
1557
1557
|
if (t instanceof k) {
|
|
1558
1558
|
const e = {};
|
|
1559
1559
|
for (const n in t.shape) {
|
|
1560
1560
|
const s = t.shape[n];
|
|
1561
|
-
e[n] =
|
|
1561
|
+
e[n] = j.create(G(s));
|
|
1562
1562
|
}
|
|
1563
1563
|
return new k({
|
|
1564
1564
|
...t._def,
|
|
1565
1565
|
shape: () => e
|
|
1566
1566
|
});
|
|
1567
|
-
} else return t instanceof
|
|
1567
|
+
} else return t instanceof C ? new C({
|
|
1568
1568
|
...t._def,
|
|
1569
|
-
type:
|
|
1570
|
-
}) : t instanceof
|
|
1569
|
+
type: G(t.element)
|
|
1570
|
+
}) : t instanceof j ? j.create(G(t.unwrap())) : t instanceof U ? U.create(G(t.unwrap())) : t instanceof N ? N.create(t.items.map((e) => G(e))) : t;
|
|
1571
1571
|
}
|
|
1572
1572
|
class k extends v {
|
|
1573
1573
|
constructor() {
|
|
@@ -1597,7 +1597,7 @@ class k extends v {
|
|
|
1597
1597
|
const m = i[l], x = a.data[l];
|
|
1598
1598
|
u.push({
|
|
1599
1599
|
key: { status: "valid", value: l },
|
|
1600
|
-
value: m._parse(new
|
|
1600
|
+
value: m._parse(new I(a, x, a.path, l)),
|
|
1601
1601
|
alwaysSet: l in a.data
|
|
1602
1602
|
});
|
|
1603
1603
|
}
|
|
@@ -1622,7 +1622,7 @@ class k extends v {
|
|
|
1622
1622
|
u.push({
|
|
1623
1623
|
key: { status: "valid", value: m },
|
|
1624
1624
|
value: l._parse(
|
|
1625
|
-
new
|
|
1625
|
+
new I(a, x, a.path, m)
|
|
1626
1626
|
//, ctx.child(key), value, getParsedType(value)
|
|
1627
1627
|
),
|
|
1628
1628
|
alwaysSet: m in a.data
|
|
@@ -1803,7 +1803,7 @@ class k extends v {
|
|
|
1803
1803
|
* @deprecated
|
|
1804
1804
|
*/
|
|
1805
1805
|
deepPartial() {
|
|
1806
|
-
return
|
|
1806
|
+
return G(this);
|
|
1807
1807
|
}
|
|
1808
1808
|
partial(e) {
|
|
1809
1809
|
const n = {};
|
|
@@ -1822,7 +1822,7 @@ class k extends v {
|
|
|
1822
1822
|
n[s] = this.shape[s];
|
|
1823
1823
|
else {
|
|
1824
1824
|
let i = this.shape[s];
|
|
1825
|
-
for (; i instanceof
|
|
1825
|
+
for (; i instanceof j; )
|
|
1826
1826
|
i = i._def.innerType;
|
|
1827
1827
|
n[s] = i;
|
|
1828
1828
|
}
|
|
@@ -1832,7 +1832,7 @@ class k extends v {
|
|
|
1832
1832
|
});
|
|
1833
1833
|
}
|
|
1834
1834
|
keyof() {
|
|
1835
|
-
return
|
|
1835
|
+
return Ke(b.objectKeys(this.shape));
|
|
1836
1836
|
}
|
|
1837
1837
|
}
|
|
1838
1838
|
k.create = (t, e) => new k({
|
|
@@ -1929,7 +1929,7 @@ ae.create = (t, e) => new ae({
|
|
|
1929
1929
|
typeName: _.ZodUnion,
|
|
1930
1930
|
...y(e)
|
|
1931
1931
|
});
|
|
1932
|
-
const
|
|
1932
|
+
const Z = (t) => t instanceof ce ? Z(t.schema) : t instanceof O ? Z(t.innerType()) : t instanceof de ? [t.value] : t instanceof D ? t.options : t instanceof le ? b.objectValues(t.enum) : t instanceof ue ? Z(t._def.innerType) : t instanceof re ? [void 0] : t instanceof se ? [null] : t instanceof j ? [void 0, ...Z(t.unwrap())] : t instanceof U ? [null, ...Z(t.unwrap())] : t instanceof Me || t instanceof he ? Z(t.unwrap()) : t instanceof pe ? Z(t._def.innerType) : [];
|
|
1933
1933
|
class xe extends v {
|
|
1934
1934
|
_parse(e) {
|
|
1935
1935
|
const { ctx: n } = this._processInputParams(e);
|
|
@@ -1974,7 +1974,7 @@ class xe extends v {
|
|
|
1974
1974
|
static create(e, n, s) {
|
|
1975
1975
|
const a = /* @__PURE__ */ new Map();
|
|
1976
1976
|
for (const i of n) {
|
|
1977
|
-
const o =
|
|
1977
|
+
const o = Z(i.shape[e]);
|
|
1978
1978
|
if (!o.length)
|
|
1979
1979
|
throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);
|
|
1980
1980
|
for (const c of o) {
|
|
@@ -2082,7 +2082,7 @@ class N extends v {
|
|
|
2082
2082
|
}), n.dirty());
|
|
2083
2083
|
const i = [...s.data].map((o, c) => {
|
|
2084
2084
|
const u = this._def.items[c] || this._def.rest;
|
|
2085
|
-
return u ? u._parse(new
|
|
2085
|
+
return u ? u._parse(new I(s, o, s.path, c)) : null;
|
|
2086
2086
|
}).filter((o) => !!o);
|
|
2087
2087
|
return s.common.async ? Promise.all(i).then((o) => w.mergeArray(n, o)) : w.mergeArray(n, i);
|
|
2088
2088
|
}
|
|
@@ -2124,8 +2124,8 @@ class oe extends v {
|
|
|
2124
2124
|
const a = [], i = this._def.keyType, o = this._def.valueType;
|
|
2125
2125
|
for (const c in s.data)
|
|
2126
2126
|
a.push({
|
|
2127
|
-
key: i._parse(new
|
|
2128
|
-
value: o._parse(new
|
|
2127
|
+
key: i._parse(new I(s, c, s.path, c)),
|
|
2128
|
+
value: o._parse(new I(s, s.data[c], s.path, c)),
|
|
2129
2129
|
alwaysSet: c in s.data
|
|
2130
2130
|
});
|
|
2131
2131
|
return s.common.async ? w.mergeObjectAsync(n, a) : w.mergeObjectSync(n, a);
|
|
@@ -2140,7 +2140,7 @@ class oe extends v {
|
|
|
2140
2140
|
typeName: _.ZodRecord,
|
|
2141
2141
|
...y(s)
|
|
2142
2142
|
}) : new oe({
|
|
2143
|
-
keyType:
|
|
2143
|
+
keyType: E.create(),
|
|
2144
2144
|
valueType: e,
|
|
2145
2145
|
typeName: _.ZodRecord,
|
|
2146
2146
|
...y(n)
|
|
@@ -2163,8 +2163,8 @@ class be extends v {
|
|
|
2163
2163
|
received: s.parsedType
|
|
2164
2164
|
}), g;
|
|
2165
2165
|
const a = this._def.keyType, i = this._def.valueType, o = [...s.data.entries()].map(([c, u], l) => ({
|
|
2166
|
-
key: a._parse(new
|
|
2167
|
-
value: i._parse(new
|
|
2166
|
+
key: a._parse(new I(s, c, s.path, [l, "key"])),
|
|
2167
|
+
value: i._parse(new I(s, u, s.path, [l, "value"]))
|
|
2168
2168
|
}));
|
|
2169
2169
|
if (s.common.async) {
|
|
2170
2170
|
const c = /* @__PURE__ */ new Map();
|
|
@@ -2230,7 +2230,7 @@ class L extends v {
|
|
|
2230
2230
|
}
|
|
2231
2231
|
return { status: n.value, value: l };
|
|
2232
2232
|
}
|
|
2233
|
-
const c = [...s.data.values()].map((u, l) => i._parse(new
|
|
2233
|
+
const c = [...s.data.values()].map((u, l) => i._parse(new I(s, u, s.path, l)));
|
|
2234
2234
|
return s.common.async ? Promise.all(c).then((u) => o(u)) : o(c);
|
|
2235
2235
|
}
|
|
2236
2236
|
min(e, n) {
|
|
@@ -2259,7 +2259,7 @@ L.create = (t, e) => new L({
|
|
|
2259
2259
|
typeName: _.ZodSet,
|
|
2260
2260
|
...y(e)
|
|
2261
2261
|
});
|
|
2262
|
-
class
|
|
2262
|
+
class q extends v {
|
|
2263
2263
|
constructor() {
|
|
2264
2264
|
super(...arguments), this.validate = this.implement;
|
|
2265
2265
|
}
|
|
@@ -2279,7 +2279,7 @@ class H extends v {
|
|
|
2279
2279
|
n.common.contextualErrorMap,
|
|
2280
2280
|
n.schemaErrorMap,
|
|
2281
2281
|
me(),
|
|
2282
|
-
|
|
2282
|
+
F
|
|
2283
2283
|
].filter((l) => !!l),
|
|
2284
2284
|
issueData: {
|
|
2285
2285
|
code: d.invalid_arguments,
|
|
@@ -2295,7 +2295,7 @@ class H extends v {
|
|
|
2295
2295
|
n.common.contextualErrorMap,
|
|
2296
2296
|
n.schemaErrorMap,
|
|
2297
2297
|
me(),
|
|
2298
|
-
|
|
2298
|
+
F
|
|
2299
2299
|
].filter((l) => !!l),
|
|
2300
2300
|
issueData: {
|
|
2301
2301
|
code: d.invalid_return_type,
|
|
@@ -2304,7 +2304,7 @@ class H extends v {
|
|
|
2304
2304
|
});
|
|
2305
2305
|
}
|
|
2306
2306
|
const i = { errorMap: n.common.contextualErrorMap }, o = n.data;
|
|
2307
|
-
if (this._def.returns instanceof
|
|
2307
|
+
if (this._def.returns instanceof K) {
|
|
2308
2308
|
const c = this;
|
|
2309
2309
|
return S(async function(...u) {
|
|
2310
2310
|
const l = new T([]), m = await c._def.args.parseAsync(u, i).catch((B) => {
|
|
@@ -2334,13 +2334,13 @@ class H extends v {
|
|
|
2334
2334
|
return this._def.returns;
|
|
2335
2335
|
}
|
|
2336
2336
|
args(...e) {
|
|
2337
|
-
return new
|
|
2337
|
+
return new q({
|
|
2338
2338
|
...this._def,
|
|
2339
|
-
args: N.create(e).rest(
|
|
2339
|
+
args: N.create(e).rest($.create())
|
|
2340
2340
|
});
|
|
2341
2341
|
}
|
|
2342
2342
|
returns(e) {
|
|
2343
|
-
return new
|
|
2343
|
+
return new q({
|
|
2344
2344
|
...this._def,
|
|
2345
2345
|
returns: e
|
|
2346
2346
|
});
|
|
@@ -2352,9 +2352,9 @@ class H extends v {
|
|
|
2352
2352
|
return this.parse(e);
|
|
2353
2353
|
}
|
|
2354
2354
|
static create(e, n, s) {
|
|
2355
|
-
return new
|
|
2356
|
-
args: e || N.create([]).rest(
|
|
2357
|
-
returns: n ||
|
|
2355
|
+
return new q({
|
|
2356
|
+
args: e || N.create([]).rest($.create()),
|
|
2357
|
+
returns: n || $.create(),
|
|
2358
2358
|
typeName: _.ZodFunction,
|
|
2359
2359
|
...y(s)
|
|
2360
2360
|
});
|
|
@@ -2395,16 +2395,16 @@ de.create = (t, e) => new de({
|
|
|
2395
2395
|
typeName: _.ZodLiteral,
|
|
2396
2396
|
...y(e)
|
|
2397
2397
|
});
|
|
2398
|
-
function
|
|
2399
|
-
return new
|
|
2398
|
+
function Ke(t, e) {
|
|
2399
|
+
return new D({
|
|
2400
2400
|
values: t,
|
|
2401
2401
|
typeName: _.ZodEnum,
|
|
2402
2402
|
...y(e)
|
|
2403
2403
|
});
|
|
2404
2404
|
}
|
|
2405
|
-
class
|
|
2405
|
+
class D extends v {
|
|
2406
2406
|
constructor() {
|
|
2407
|
-
super(...arguments),
|
|
2407
|
+
super(...arguments), Q.set(this, void 0);
|
|
2408
2408
|
}
|
|
2409
2409
|
_parse(e) {
|
|
2410
2410
|
if (typeof e.data != "string") {
|
|
@@ -2415,7 +2415,7 @@ class $ extends v {
|
|
|
2415
2415
|
code: d.invalid_type
|
|
2416
2416
|
}), g;
|
|
2417
2417
|
}
|
|
2418
|
-
if (ge(this,
|
|
2418
|
+
if (ge(this, Q) || He(this, Q, new Set(this._def.values)), !ge(this, Q).has(e.data)) {
|
|
2419
2419
|
const n = this._getOrReturnCtx(e), s = this._def.values;
|
|
2420
2420
|
return p(n, {
|
|
2421
2421
|
received: n.data,
|
|
@@ -2447,23 +2447,23 @@ class $ extends v {
|
|
|
2447
2447
|
return e;
|
|
2448
2448
|
}
|
|
2449
2449
|
extract(e, n = this._def) {
|
|
2450
|
-
return
|
|
2450
|
+
return D.create(e, {
|
|
2451
2451
|
...this._def,
|
|
2452
2452
|
...n
|
|
2453
2453
|
});
|
|
2454
2454
|
}
|
|
2455
2455
|
exclude(e, n = this._def) {
|
|
2456
|
-
return
|
|
2456
|
+
return D.create(this.options.filter((s) => !e.includes(s)), {
|
|
2457
2457
|
...this._def,
|
|
2458
2458
|
...n
|
|
2459
2459
|
});
|
|
2460
2460
|
}
|
|
2461
2461
|
}
|
|
2462
|
-
|
|
2463
|
-
|
|
2462
|
+
Q = /* @__PURE__ */ new WeakMap();
|
|
2463
|
+
D.create = Ke;
|
|
2464
2464
|
class le extends v {
|
|
2465
2465
|
constructor() {
|
|
2466
|
-
super(...arguments),
|
|
2466
|
+
super(...arguments), X.set(this, void 0);
|
|
2467
2467
|
}
|
|
2468
2468
|
_parse(e) {
|
|
2469
2469
|
const n = b.getValidEnumValues(this._def.values), s = this._getOrReturnCtx(e);
|
|
@@ -2475,7 +2475,7 @@ class le extends v {
|
|
|
2475
2475
|
code: d.invalid_type
|
|
2476
2476
|
}), g;
|
|
2477
2477
|
}
|
|
2478
|
-
if (ge(this,
|
|
2478
|
+
if (ge(this, X) || He(this, X, new Set(b.getValidEnumValues(this._def.values))), !ge(this, X).has(e.data)) {
|
|
2479
2479
|
const a = b.objectValues(n);
|
|
2480
2480
|
return p(s, {
|
|
2481
2481
|
received: s.data,
|
|
@@ -2489,13 +2489,13 @@ class le extends v {
|
|
|
2489
2489
|
return this._def.values;
|
|
2490
2490
|
}
|
|
2491
2491
|
}
|
|
2492
|
-
|
|
2492
|
+
X = /* @__PURE__ */ new WeakMap();
|
|
2493
2493
|
le.create = (t, e) => new le({
|
|
2494
2494
|
values: t,
|
|
2495
2495
|
typeName: _.ZodNativeEnum,
|
|
2496
2496
|
...y(e)
|
|
2497
2497
|
});
|
|
2498
|
-
class
|
|
2498
|
+
class K extends v {
|
|
2499
2499
|
unwrap() {
|
|
2500
2500
|
return this._def.type;
|
|
2501
2501
|
}
|
|
@@ -2514,12 +2514,12 @@ class J extends v {
|
|
|
2514
2514
|
})));
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
2517
|
-
|
|
2517
|
+
K.create = (t, e) => new K({
|
|
2518
2518
|
type: t,
|
|
2519
2519
|
typeName: _.ZodPromise,
|
|
2520
2520
|
...y(e)
|
|
2521
2521
|
});
|
|
2522
|
-
class
|
|
2522
|
+
class O extends v {
|
|
2523
2523
|
innerType() {
|
|
2524
2524
|
return this._def.schema;
|
|
2525
2525
|
}
|
|
@@ -2546,7 +2546,7 @@ class E extends v {
|
|
|
2546
2546
|
path: s.path,
|
|
2547
2547
|
parent: s
|
|
2548
2548
|
});
|
|
2549
|
-
return u.status === "aborted" ? g : u.status === "dirty" || n.value === "dirty" ?
|
|
2549
|
+
return u.status === "aborted" ? g : u.status === "dirty" || n.value === "dirty" ? H(u.value) : u;
|
|
2550
2550
|
});
|
|
2551
2551
|
{
|
|
2552
2552
|
if (n.value === "aborted")
|
|
@@ -2556,7 +2556,7 @@ class E extends v {
|
|
|
2556
2556
|
path: s.path,
|
|
2557
2557
|
parent: s
|
|
2558
2558
|
});
|
|
2559
|
-
return c.status === "aborted" ? g : c.status === "dirty" || n.value === "dirty" ?
|
|
2559
|
+
return c.status === "aborted" ? g : c.status === "dirty" || n.value === "dirty" ? H(c.value) : c;
|
|
2560
2560
|
}
|
|
2561
2561
|
}
|
|
2562
2562
|
if (a.type === "refinement") {
|
|
@@ -2596,19 +2596,19 @@ class E extends v {
|
|
|
2596
2596
|
b.assertNever(a);
|
|
2597
2597
|
}
|
|
2598
2598
|
}
|
|
2599
|
-
|
|
2599
|
+
O.create = (t, e, n) => new O({
|
|
2600
2600
|
schema: t,
|
|
2601
2601
|
typeName: _.ZodEffects,
|
|
2602
2602
|
effect: e,
|
|
2603
2603
|
...y(n)
|
|
2604
2604
|
});
|
|
2605
|
-
|
|
2605
|
+
O.createWithPreprocess = (t, e, n) => new O({
|
|
2606
2606
|
schema: e,
|
|
2607
2607
|
effect: { type: "preprocess", transform: t },
|
|
2608
2608
|
typeName: _.ZodEffects,
|
|
2609
2609
|
...y(n)
|
|
2610
2610
|
});
|
|
2611
|
-
class
|
|
2611
|
+
class j extends v {
|
|
2612
2612
|
_parse(e) {
|
|
2613
2613
|
return this._getType(e) === h.undefined ? S(void 0) : this._def.innerType._parse(e);
|
|
2614
2614
|
}
|
|
@@ -2616,12 +2616,12 @@ class C extends v {
|
|
|
2616
2616
|
return this._def.innerType;
|
|
2617
2617
|
}
|
|
2618
2618
|
}
|
|
2619
|
-
|
|
2619
|
+
j.create = (t, e) => new j({
|
|
2620
2620
|
innerType: t,
|
|
2621
2621
|
typeName: _.ZodOptional,
|
|
2622
2622
|
...y(e)
|
|
2623
2623
|
});
|
|
2624
|
-
class
|
|
2624
|
+
class U extends v {
|
|
2625
2625
|
_parse(e) {
|
|
2626
2626
|
return this._getType(e) === h.null ? S(null) : this._def.innerType._parse(e);
|
|
2627
2627
|
}
|
|
@@ -2629,7 +2629,7 @@ class D extends v {
|
|
|
2629
2629
|
return this._def.innerType;
|
|
2630
2630
|
}
|
|
2631
2631
|
}
|
|
2632
|
-
|
|
2632
|
+
U.create = (t, e) => new U({
|
|
2633
2633
|
innerType: t,
|
|
2634
2634
|
typeName: _.ZodNullable,
|
|
2635
2635
|
...y(e)
|
|
@@ -2714,7 +2714,7 @@ ke.create = (t) => new ke({
|
|
|
2714
2714
|
typeName: _.ZodNaN,
|
|
2715
2715
|
...y(t)
|
|
2716
2716
|
});
|
|
2717
|
-
const
|
|
2717
|
+
const Zt = Symbol("zod_brand");
|
|
2718
2718
|
class Me extends v {
|
|
2719
2719
|
_parse(e) {
|
|
2720
2720
|
const { ctx: n } = this._processInputParams(e), s = n.data;
|
|
@@ -2738,7 +2738,7 @@ class fe extends v {
|
|
|
2738
2738
|
path: s.path,
|
|
2739
2739
|
parent: s
|
|
2740
2740
|
});
|
|
2741
|
-
return i.status === "aborted" ? g : i.status === "dirty" ? (n.dirty(),
|
|
2741
|
+
return i.status === "aborted" ? g : i.status === "dirty" ? (n.dirty(), H(i.value)) : this._def.out._parseAsync({
|
|
2742
2742
|
data: i.value,
|
|
2743
2743
|
path: s.path,
|
|
2744
2744
|
parent: s
|
|
@@ -2782,7 +2782,7 @@ he.create = (t, e) => new he({
|
|
|
2782
2782
|
typeName: _.ZodReadonly,
|
|
2783
2783
|
...y(e)
|
|
2784
2784
|
});
|
|
2785
|
-
function
|
|
2785
|
+
function Je(t, e = {}, n) {
|
|
2786
2786
|
return t ? Y.create().superRefine((s, a) => {
|
|
2787
2787
|
var i, o;
|
|
2788
2788
|
if (!t(s)) {
|
|
@@ -2800,8 +2800,8 @@ var _;
|
|
|
2800
2800
|
})(_ || (_ = {}));
|
|
2801
2801
|
const At = (t, e = {
|
|
2802
2802
|
message: `Input not instance of ${t.name}`
|
|
2803
|
-
}) =>
|
|
2804
|
-
string: (t) =>
|
|
2803
|
+
}) => Je((n) => n instanceof t, e), Qe = E.create, Xe = P.create, Pt = ke.create, Mt = M.create, et = ne.create, Dt = V.create, Ut = ye.create, $t = re.create, Vt = se.create, Lt = Y.create, zt = $.create, Bt = R.create, Wt = ve.create, Gt = C.create, Ht = k.create, qt = k.strictCreate, Ft = ae.create, Yt = xe.create, Kt = ie.create, Jt = N.create, Qt = oe.create, Xt = be.create, en = L.create, tn = q.create, nn = ce.create, rn = de.create, sn = D.create, an = le.create, on = K.create, We = O.create, cn = j.create, dn = U.create, ln = O.createWithPreprocess, un = fe.create, pn = () => Qe().optional(), hn = () => Xe().optional(), fn = () => et().optional(), mn = {
|
|
2804
|
+
string: (t) => E.create({ ...t, coerce: !0 }),
|
|
2805
2805
|
number: (t) => P.create({ ...t, coerce: !0 }),
|
|
2806
2806
|
boolean: (t) => ne.create({
|
|
2807
2807
|
...t,
|
|
@@ -2812,7 +2812,7 @@ const At = (t, e = {
|
|
|
2812
2812
|
}, _n = g;
|
|
2813
2813
|
var r = /* @__PURE__ */ Object.freeze({
|
|
2814
2814
|
__proto__: null,
|
|
2815
|
-
defaultErrorMap:
|
|
2815
|
+
defaultErrorMap: F,
|
|
2816
2816
|
setErrorMap: mt,
|
|
2817
2817
|
getErrorMap: me,
|
|
2818
2818
|
makeIssue: _e,
|
|
@@ -2820,7 +2820,7 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2820
2820
|
addIssueToContext: p,
|
|
2821
2821
|
ParseStatus: w,
|
|
2822
2822
|
INVALID: g,
|
|
2823
|
-
DIRTY:
|
|
2823
|
+
DIRTY: H,
|
|
2824
2824
|
OK: S,
|
|
2825
2825
|
isAborted: Re,
|
|
2826
2826
|
isDirty: Ae,
|
|
@@ -2830,13 +2830,13 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2830
2830
|
return b;
|
|
2831
2831
|
},
|
|
2832
2832
|
get objectUtil() {
|
|
2833
|
-
return
|
|
2833
|
+
return Ze;
|
|
2834
2834
|
},
|
|
2835
2835
|
ZodParsedType: h,
|
|
2836
2836
|
getParsedType: A,
|
|
2837
2837
|
ZodType: v,
|
|
2838
2838
|
datetimeRegex: Ye,
|
|
2839
|
-
ZodString:
|
|
2839
|
+
ZodString: E,
|
|
2840
2840
|
ZodNumber: P,
|
|
2841
2841
|
ZodBigInt: M,
|
|
2842
2842
|
ZodBoolean: ne,
|
|
@@ -2845,10 +2845,10 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2845
2845
|
ZodUndefined: re,
|
|
2846
2846
|
ZodNull: se,
|
|
2847
2847
|
ZodAny: Y,
|
|
2848
|
-
ZodUnknown:
|
|
2848
|
+
ZodUnknown: $,
|
|
2849
2849
|
ZodNever: R,
|
|
2850
2850
|
ZodVoid: ve,
|
|
2851
|
-
ZodArray:
|
|
2851
|
+
ZodArray: C,
|
|
2852
2852
|
ZodObject: k,
|
|
2853
2853
|
ZodUnion: ae,
|
|
2854
2854
|
ZodDiscriminatedUnion: xe,
|
|
@@ -2857,24 +2857,24 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2857
2857
|
ZodRecord: oe,
|
|
2858
2858
|
ZodMap: be,
|
|
2859
2859
|
ZodSet: L,
|
|
2860
|
-
ZodFunction:
|
|
2860
|
+
ZodFunction: q,
|
|
2861
2861
|
ZodLazy: ce,
|
|
2862
2862
|
ZodLiteral: de,
|
|
2863
|
-
ZodEnum:
|
|
2863
|
+
ZodEnum: D,
|
|
2864
2864
|
ZodNativeEnum: le,
|
|
2865
|
-
ZodPromise:
|
|
2866
|
-
ZodEffects:
|
|
2867
|
-
ZodTransformer:
|
|
2868
|
-
ZodOptional:
|
|
2869
|
-
ZodNullable:
|
|
2865
|
+
ZodPromise: K,
|
|
2866
|
+
ZodEffects: O,
|
|
2867
|
+
ZodTransformer: O,
|
|
2868
|
+
ZodOptional: j,
|
|
2869
|
+
ZodNullable: U,
|
|
2870
2870
|
ZodDefault: ue,
|
|
2871
2871
|
ZodCatch: pe,
|
|
2872
2872
|
ZodNaN: ke,
|
|
2873
|
-
BRAND:
|
|
2873
|
+
BRAND: Zt,
|
|
2874
2874
|
ZodBranded: Me,
|
|
2875
2875
|
ZodPipeline: fe,
|
|
2876
2876
|
ZodReadonly: he,
|
|
2877
|
-
custom:
|
|
2877
|
+
custom: Je,
|
|
2878
2878
|
Schema: v,
|
|
2879
2879
|
ZodSchema: v,
|
|
2880
2880
|
late: Rt,
|
|
@@ -2883,26 +2883,26 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2883
2883
|
},
|
|
2884
2884
|
coerce: mn,
|
|
2885
2885
|
any: Lt,
|
|
2886
|
-
array:
|
|
2886
|
+
array: Gt,
|
|
2887
2887
|
bigint: Mt,
|
|
2888
2888
|
boolean: et,
|
|
2889
|
-
date:
|
|
2889
|
+
date: Dt,
|
|
2890
2890
|
discriminatedUnion: Yt,
|
|
2891
2891
|
effect: We,
|
|
2892
2892
|
enum: sn,
|
|
2893
2893
|
function: tn,
|
|
2894
2894
|
instanceof: At,
|
|
2895
|
-
intersection:
|
|
2895
|
+
intersection: Kt,
|
|
2896
2896
|
lazy: nn,
|
|
2897
2897
|
literal: rn,
|
|
2898
|
-
map:
|
|
2898
|
+
map: Xt,
|
|
2899
2899
|
nan: Pt,
|
|
2900
2900
|
nativeEnum: an,
|
|
2901
2901
|
never: Bt,
|
|
2902
2902
|
null: Vt,
|
|
2903
2903
|
nullable: dn,
|
|
2904
|
-
number:
|
|
2905
|
-
object:
|
|
2904
|
+
number: Xe,
|
|
2905
|
+
object: Ht,
|
|
2906
2906
|
oboolean: fn,
|
|
2907
2907
|
onumber: hn,
|
|
2908
2908
|
optional: cn,
|
|
@@ -2910,15 +2910,15 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2910
2910
|
pipeline: un,
|
|
2911
2911
|
preprocess: ln,
|
|
2912
2912
|
promise: on,
|
|
2913
|
-
record:
|
|
2913
|
+
record: Qt,
|
|
2914
2914
|
set: en,
|
|
2915
|
-
strictObject:
|
|
2916
|
-
string:
|
|
2917
|
-
symbol:
|
|
2915
|
+
strictObject: qt,
|
|
2916
|
+
string: Qe,
|
|
2917
|
+
symbol: Ut,
|
|
2918
2918
|
transformer: We,
|
|
2919
|
-
tuple:
|
|
2920
|
-
undefined:
|
|
2921
|
-
union:
|
|
2919
|
+
tuple: Jt,
|
|
2920
|
+
undefined: $t,
|
|
2921
|
+
union: Ft,
|
|
2922
2922
|
unknown: zt,
|
|
2923
2923
|
void: Wt,
|
|
2924
2924
|
NEVER: _n,
|
|
@@ -2927,11 +2927,11 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2927
2927
|
ZodError: T
|
|
2928
2928
|
});
|
|
2929
2929
|
ht(r);
|
|
2930
|
-
const
|
|
2930
|
+
const Gn = r.object({
|
|
2931
2931
|
start: r.number(),
|
|
2932
2932
|
limit: r.number(),
|
|
2933
2933
|
length: r.number()
|
|
2934
|
-
}),
|
|
2934
|
+
}), De = r.object({
|
|
2935
2935
|
created_at: r.string(),
|
|
2936
2936
|
updated_at: r.string()
|
|
2937
2937
|
}), gn = r.object({
|
|
@@ -2972,14 +2972,14 @@ const qn = r.object({
|
|
|
2972
2972
|
user_id: r.string().optional(),
|
|
2973
2973
|
provider: r.string().default("email"),
|
|
2974
2974
|
connection: r.string().default("email")
|
|
2975
|
-
}), bn = vn.extend(
|
|
2975
|
+
}), bn = vn.extend(De.shape).extend({
|
|
2976
2976
|
user_id: r.string(),
|
|
2977
2977
|
// TODO: this not might be correct if you use the username
|
|
2978
2978
|
email: r.string(),
|
|
2979
2979
|
is_social: r.boolean(),
|
|
2980
2980
|
login_count: r.number(),
|
|
2981
2981
|
identities: r.array(yn).optional()
|
|
2982
|
-
}),
|
|
2982
|
+
}), Hn = bn, qn = tt.extend({
|
|
2983
2983
|
email: r.string(),
|
|
2984
2984
|
login_count: r.number(),
|
|
2985
2985
|
multifactor: r.array(r.string()).optional(),
|
|
@@ -2989,17 +2989,30 @@ const qn = r.object({
|
|
|
2989
2989
|
}).catchall(r.any()), kn = r.object({
|
|
2990
2990
|
id: r.string(),
|
|
2991
2991
|
name: r.string(),
|
|
2992
|
+
callbacks: r.string().transform((t) => t === null ? "" : t).default("").openapi({
|
|
2993
|
+
description: "Comma-separated list of URLs whitelisted to use as a callback to the client after authentication."
|
|
2994
|
+
}),
|
|
2995
|
+
allowed_origins: r.string().transform((t) => t === null ? "" : t).default("").openapi({
|
|
2996
|
+
description: "Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level. Query strings and hash information are not taken into account when validating these URLs."
|
|
2997
|
+
}),
|
|
2998
|
+
web_origins: r.string().transform((t) => t === null ? "" : t).default("").openapi({
|
|
2999
|
+
description: "Comma-separated list of allowed origins for use with Cross-Origin Authentication, Device Flow, and web message response mode."
|
|
3000
|
+
}),
|
|
3001
|
+
addons: r.record(r.string(), r.record(r.string(), r.union([r.string(), r.number()]))).optional().openapi({
|
|
3002
|
+
description: "Addons associated with the client. The key is the addon's package name and the value is an object with the configuration for the addon."
|
|
3003
|
+
}),
|
|
3004
|
+
// @deprecated. Renamed to match the auth0 API
|
|
2992
3005
|
allowed_web_origins: r.string().transform((t) => t === null ? "" : t).default(""),
|
|
2993
3006
|
allowed_callback_urls: r.string().transform((t) => t === null ? "" : t).default(""),
|
|
2994
3007
|
allowed_logout_urls: r.string().transform((t) => t === null ? "" : t).default(""),
|
|
2995
3008
|
email_validation: r.enum(["enabled", "disabled", "enforced"]).default("enforced"),
|
|
2996
3009
|
client_secret: r.string().default(""),
|
|
2997
3010
|
disable_sign_ups: r.boolean().default(!1)
|
|
2998
|
-
}),
|
|
3011
|
+
}), Fn = r.object({
|
|
2999
3012
|
created_at: r.string().transform((t) => t === null ? "" : t),
|
|
3000
3013
|
updated_at: r.string().transform((t) => t === null ? "" : t)
|
|
3001
3014
|
}).extend(kn.shape);
|
|
3002
|
-
var nt = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(nt || {}), rt = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t))(rt || {}), st = /* @__PURE__ */ ((t) => (t.S265 = "S256", t.plain = "plain", t))(st || {});
|
|
3015
|
+
var nt = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(nt || {}), rt = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(rt || {}), st = /* @__PURE__ */ ((t) => (t.S265 = "S256", t.plain = "plain", t))(st || {});
|
|
3003
3016
|
const we = r.object({
|
|
3004
3017
|
client_id: r.string(),
|
|
3005
3018
|
vendor_id: r.string().optional(),
|
|
@@ -3079,9 +3092,9 @@ const we = r.object({
|
|
|
3079
3092
|
support_url: r.string().optional(),
|
|
3080
3093
|
language: r.string().length(2).optional()
|
|
3081
3094
|
})
|
|
3082
|
-
}),
|
|
3095
|
+
}), Kn = it.extend({
|
|
3083
3096
|
connections: r.array(at)
|
|
3084
|
-
}),
|
|
3097
|
+
}), Jn = it.extend({
|
|
3085
3098
|
connections: r.array(at.partial())
|
|
3086
3099
|
}), Sn = r.enum([
|
|
3087
3100
|
"password_reset",
|
|
@@ -3100,29 +3113,33 @@ const we = r.object({
|
|
|
3100
3113
|
code_type: Sn,
|
|
3101
3114
|
expires_at: r.string(),
|
|
3102
3115
|
used_at: r.string().optional()
|
|
3103
|
-
}),
|
|
3116
|
+
}), Qn = r.object({
|
|
3104
3117
|
...Tn.shape,
|
|
3105
3118
|
created_at: r.string()
|
|
3106
|
-
}),
|
|
3119
|
+
}), En = r.object({
|
|
3107
3120
|
domain: r.string(),
|
|
3108
3121
|
dkim_private_key: r.string().optional(),
|
|
3109
3122
|
dkim_public_key: r.string().optional(),
|
|
3110
3123
|
email_api_key: r.string().optional(),
|
|
3111
3124
|
email_service: r.enum(["mailgun", "mailchannels"])
|
|
3112
|
-
}),
|
|
3113
|
-
...
|
|
3125
|
+
}), Xn = De.extend({
|
|
3126
|
+
...En.shape,
|
|
3114
3127
|
id: r.string()
|
|
3115
|
-
}),
|
|
3116
|
-
trigger_id: r.enum([
|
|
3128
|
+
}), Cn = r.object({
|
|
3129
|
+
trigger_id: r.enum([
|
|
3130
|
+
"pre-user-signup",
|
|
3131
|
+
"post-user-registration",
|
|
3132
|
+
"post-user-login"
|
|
3133
|
+
]),
|
|
3117
3134
|
enabled: r.boolean().default(!1),
|
|
3118
3135
|
url: r.string(),
|
|
3119
3136
|
hook_id: r.string().optional(),
|
|
3120
3137
|
synchronous: r.boolean().default(!1),
|
|
3121
3138
|
priority: r.number().optional()
|
|
3122
|
-
}), er =
|
|
3123
|
-
|
|
3139
|
+
}), er = Cn.extend({
|
|
3140
|
+
...De.shape,
|
|
3124
3141
|
hook_id: r.string()
|
|
3125
|
-
}),
|
|
3142
|
+
}), On = r.object({
|
|
3126
3143
|
alg: r.string(),
|
|
3127
3144
|
e: r.string(),
|
|
3128
3145
|
kid: r.string(),
|
|
@@ -3130,7 +3147,7 @@ const we = r.object({
|
|
|
3130
3147
|
n: r.string(),
|
|
3131
3148
|
use: r.string().optional()
|
|
3132
3149
|
}), tr = r.object({
|
|
3133
|
-
keys: r.array(
|
|
3150
|
+
keys: r.array(On)
|
|
3134
3151
|
}), nr = r.object({
|
|
3135
3152
|
issuer: r.string(),
|
|
3136
3153
|
authorization_endpoint: r.string(),
|
|
@@ -3152,7 +3169,7 @@ const we = r.object({
|
|
|
3152
3169
|
request_uri_parameter_supported: r.boolean(),
|
|
3153
3170
|
request_parameter_supported: r.boolean(),
|
|
3154
3171
|
token_endpoint_auth_signing_alg_values_supported: r.array(r.string())
|
|
3155
|
-
}),
|
|
3172
|
+
}), jn = r.object({
|
|
3156
3173
|
auth0Client: r.string().optional(),
|
|
3157
3174
|
authParams: we,
|
|
3158
3175
|
expires_at: r.string(),
|
|
@@ -3161,47 +3178,64 @@ const we = r.object({
|
|
|
3161
3178
|
}).openapi({
|
|
3162
3179
|
description: "This represents a login sesion"
|
|
3163
3180
|
}), rr = r.object({
|
|
3164
|
-
...
|
|
3181
|
+
...jn.shape,
|
|
3165
3182
|
login_id: r.string().openapi({
|
|
3166
3183
|
description: "This is is used as the state in the universal login"
|
|
3167
3184
|
}),
|
|
3168
3185
|
created_at: r.string(),
|
|
3169
3186
|
updated_at: r.string()
|
|
3170
3187
|
});
|
|
3171
|
-
var
|
|
3188
|
+
var In = /* @__PURE__ */ ((t) => (t.FAILED_SILENT_AUTH = "fsa", t.FAILED_SIGNUP = "fs", t.FAILED_LOGIN = "f", t.FAILED_LOGIN_INCORRECT_PASSWORD = "fp", t.FAILED_CHANGE_PASSWORD = "fcp", t.FAILED_BY_CONNECTOR = "fc", t.FAILED_LOGIN_INVALID_EMAIL_USERNAME = "fu", t.FAILED_HOOK = "fh", t.FAILED_CROSS_ORIGIN_AUTHENTICATION = "fcoa", t.SUCCESS_API_OPERATION = "sapi", t.SUCCESS_CHANGE_PASSWORD = "scp", t.SUCCESS_CHANGE_PASSWORD_REQUEST = "scpr", t.SUCCESS_CHANGE_USERNAME = "scu", t.SUCCESS_CROSS_ORIGIN_AUTHENTICATION = "scoa", t.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN = "seacft", t.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN = "serft", t.SUCCESS_LOGIN = "s", t.SUCCESS_LOGOUT = "slo", t.SUCCESS_SIGNUP = "ss", t.SUCCESS_SILENT_AUTH = "ssa", t.SUCCESS_VERIFICATION_EMAIL = "sv", t.SUCCESS_VERIFICATION_EMAIL_REQUEST = "svr", t.CODE_LINK_SENT = "cls", t))(In || {});
|
|
3172
3189
|
const Nn = r.enum([
|
|
3173
|
-
"
|
|
3174
|
-
//
|
|
3175
|
-
"ssa",
|
|
3176
|
-
// SUCCESS_SILENT_AUTH - omitted for brevity and since it's clear from context
|
|
3190
|
+
"cls",
|
|
3191
|
+
// CODE_LINK_SENT
|
|
3177
3192
|
"fsa",
|
|
3178
3193
|
// FAILED_SILENT_AUTH
|
|
3179
|
-
"ss",
|
|
3180
|
-
// SUCCESS_SIGNUP
|
|
3181
|
-
"ssa",
|
|
3182
|
-
/// SUCCESS_SILENT_AUTH
|
|
3183
3194
|
"fs",
|
|
3184
|
-
|
|
3185
|
-
// SUCCESS_LOGIN
|
|
3195
|
+
// FAILED_SIGNUP
|
|
3186
3196
|
"f",
|
|
3187
3197
|
// FAILED_LOGIN
|
|
3198
|
+
"fc",
|
|
3199
|
+
// FAILED_BY_CONNECTOR
|
|
3200
|
+
"fcoa",
|
|
3201
|
+
// FAILED_CROSS_ORIGIN_AUTHENTICATION
|
|
3202
|
+
"fcp",
|
|
3203
|
+
// FAILED_CHANGE_PASSWORD
|
|
3204
|
+
"fh",
|
|
3205
|
+
// FAILED_HOOK
|
|
3188
3206
|
"fp",
|
|
3189
3207
|
// FAILED_LOGIN_INCORRECT_PASSWORD
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3208
|
+
"fs",
|
|
3209
|
+
// FAILED_SIGNUP
|
|
3210
|
+
"fu",
|
|
3211
|
+
// FAILED_LOGIN_INVALID_EMAIL_USERNAME
|
|
3212
|
+
"s",
|
|
3213
|
+
// SUCCESS_LOGIN
|
|
3214
|
+
"sapi",
|
|
3215
|
+
// SUCCESS_API_OPERATION
|
|
3193
3216
|
"scoa",
|
|
3194
3217
|
// SUCCESS_CROSS_ORIGIN_AUTHENTICATION
|
|
3195
|
-
"
|
|
3196
|
-
//
|
|
3197
|
-
"
|
|
3198
|
-
//
|
|
3199
|
-
"
|
|
3200
|
-
//
|
|
3218
|
+
"scp",
|
|
3219
|
+
// SUCCESS_CHANGE_PASSWORD
|
|
3220
|
+
"scpr",
|
|
3221
|
+
// SUCCESS_CHANGE_PASSWORD_REQUEST
|
|
3222
|
+
"scu",
|
|
3223
|
+
// SUCCESS_CHANGE_USERNAME
|
|
3201
3224
|
"seacft",
|
|
3202
3225
|
// SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN
|
|
3203
|
-
"serft"
|
|
3204
|
-
|
|
3226
|
+
"serft",
|
|
3227
|
+
// SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN
|
|
3228
|
+
"slo",
|
|
3229
|
+
// SUCCESS_LOGOUT
|
|
3230
|
+
"ss",
|
|
3231
|
+
// SUCCESS_SIGNUP
|
|
3232
|
+
"ssa",
|
|
3233
|
+
// SUCCESS_SILENT_AUTH,
|
|
3234
|
+
"sv",
|
|
3235
|
+
// SUCCESS_VERIFICATION_EMAIL
|
|
3236
|
+
"svr"
|
|
3237
|
+
// SUCCESS_VERIFICATION_EMAIL_REQUEST
|
|
3238
|
+
]), Zn = r.object({
|
|
3205
3239
|
name: r.string(),
|
|
3206
3240
|
version: r.string(),
|
|
3207
3241
|
env: r.object({
|
|
@@ -3229,7 +3263,7 @@ const Nn = r.enum([
|
|
|
3229
3263
|
strategy: r.string().optional(),
|
|
3230
3264
|
strategy_type: r.string().optional(),
|
|
3231
3265
|
hostname: r.string().optional(),
|
|
3232
|
-
auth0_client:
|
|
3266
|
+
auth0_client: Zn.optional()
|
|
3233
3267
|
}), Rn = r.object({
|
|
3234
3268
|
user_id: r.string(),
|
|
3235
3269
|
password: r.string(),
|
|
@@ -3305,8 +3339,8 @@ const Nn = r.enum([
|
|
|
3305
3339
|
manageSubscriptionsUrl: r.string().optional()
|
|
3306
3340
|
});
|
|
3307
3341
|
var ot = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t))(ot || {});
|
|
3308
|
-
const
|
|
3309
|
-
grant_type:
|
|
3342
|
+
const Ue = r.nativeEnum(ot), ur = r.object({
|
|
3343
|
+
grant_type: Ue.refine(
|
|
3310
3344
|
(t) => t === "authorization_code"
|
|
3311
3345
|
/* AuthorizationCode */
|
|
3312
3346
|
),
|
|
@@ -3314,7 +3348,7 @@ const De = r.nativeEnum(ot), ur = r.object({
|
|
|
3314
3348
|
client_secret: r.string(),
|
|
3315
3349
|
client_id: r.string()
|
|
3316
3350
|
}), pr = r.object({
|
|
3317
|
-
grant_type:
|
|
3351
|
+
grant_type: Ue.refine(
|
|
3318
3352
|
(t) => t === "authorization_code"
|
|
3319
3353
|
/* AuthorizationCode */
|
|
3320
3354
|
),
|
|
@@ -3323,7 +3357,7 @@ const De = r.nativeEnum(ot), ur = r.object({
|
|
|
3323
3357
|
client_id: r.string().optional(),
|
|
3324
3358
|
redirect_uri: r.string()
|
|
3325
3359
|
}), hr = r.object({
|
|
3326
|
-
grant_type:
|
|
3360
|
+
grant_type: Ue.refine(
|
|
3327
3361
|
(t) => t === "client_credentials"
|
|
3328
3362
|
/* ClientCredential */
|
|
3329
3363
|
),
|
|
@@ -3355,7 +3389,7 @@ const Mn = r.object({
|
|
|
3355
3389
|
show_widget_shadow: r.boolean(),
|
|
3356
3390
|
widget_border_weight: r.number(),
|
|
3357
3391
|
widget_corner_radius: r.number()
|
|
3358
|
-
}),
|
|
3392
|
+
}), Dn = r.object({
|
|
3359
3393
|
base_focus_color: r.string(),
|
|
3360
3394
|
base_hover_color: r.string(),
|
|
3361
3395
|
body_text: r.string(),
|
|
@@ -3378,7 +3412,7 @@ const Mn = r.object({
|
|
|
3378
3412
|
}), W = r.object({
|
|
3379
3413
|
bold: r.boolean(),
|
|
3380
3414
|
size: r.number()
|
|
3381
|
-
}),
|
|
3415
|
+
}), Un = r.object({
|
|
3382
3416
|
body_text: W,
|
|
3383
3417
|
buttons_text: W,
|
|
3384
3418
|
font_url: r.string(),
|
|
@@ -3388,7 +3422,7 @@ const Mn = r.object({
|
|
|
3388
3422
|
reference_text_size: r.number(),
|
|
3389
3423
|
subtitle: W,
|
|
3390
3424
|
title: W
|
|
3391
|
-
}),
|
|
3425
|
+
}), $n = r.object({
|
|
3392
3426
|
background_color: r.string(),
|
|
3393
3427
|
background_image_url: r.string(),
|
|
3394
3428
|
page_layout: r.enum(["center"])
|
|
@@ -3400,10 +3434,10 @@ const Mn = r.object({
|
|
|
3400
3434
|
social_buttons_layout: r.enum(["bottom"])
|
|
3401
3435
|
}), Ln = r.object({
|
|
3402
3436
|
borders: Mn,
|
|
3403
|
-
colors:
|
|
3437
|
+
colors: Dn,
|
|
3404
3438
|
displayName: r.string(),
|
|
3405
|
-
fonts:
|
|
3406
|
-
page_background:
|
|
3439
|
+
fonts: Un,
|
|
3440
|
+
page_background: $n,
|
|
3407
3441
|
widget: Vn
|
|
3408
3442
|
}), fr = Ln.extend({
|
|
3409
3443
|
themeId: r.string()
|
|
@@ -3447,17 +3481,17 @@ function yr(t) {
|
|
|
3447
3481
|
return { connection: e, id: n };
|
|
3448
3482
|
}
|
|
3449
3483
|
export {
|
|
3450
|
-
|
|
3484
|
+
Zn as Auth0Client,
|
|
3451
3485
|
rt as AuthorizationResponseMode,
|
|
3452
3486
|
nt as AuthorizationResponseType,
|
|
3453
|
-
|
|
3487
|
+
Kn as ClientSchema,
|
|
3454
3488
|
st as CodeChallengeMethod,
|
|
3455
3489
|
ot as GrantType,
|
|
3456
|
-
|
|
3457
|
-
|
|
3490
|
+
In as LogTypes,
|
|
3491
|
+
Jn as PartialClientSchema,
|
|
3458
3492
|
kn as applicationInsertSchema,
|
|
3459
|
-
|
|
3460
|
-
|
|
3493
|
+
Fn as applicationSchema,
|
|
3494
|
+
Hn as auth0UserResponseSchema,
|
|
3461
3495
|
we as authParamsSchema,
|
|
3462
3496
|
Wn as authenticationCodeInsertSchema,
|
|
3463
3497
|
gr as authenticationCodeSchema,
|
|
@@ -3468,27 +3502,27 @@ export {
|
|
|
3468
3502
|
or as certificateSchema,
|
|
3469
3503
|
hr as clientCredentialGrantTypeParamsSchema,
|
|
3470
3504
|
Tn as codeInsertSchema,
|
|
3471
|
-
|
|
3505
|
+
Qn as codeSchema,
|
|
3472
3506
|
Sn as codeTypeSchema,
|
|
3473
|
-
|
|
3507
|
+
Dn as colorsSchema,
|
|
3474
3508
|
xn as connectionInsertSchema,
|
|
3475
3509
|
at as connectionSchema,
|
|
3476
|
-
|
|
3477
|
-
|
|
3510
|
+
En as domainInsertSchema,
|
|
3511
|
+
Xn as domainSchema,
|
|
3478
3512
|
W as fontDetailsSchema,
|
|
3479
|
-
|
|
3480
|
-
|
|
3513
|
+
Un as fontsSchema,
|
|
3514
|
+
Cn as hookInsertSchema,
|
|
3481
3515
|
er as hookSchema,
|
|
3482
3516
|
yn as identitySchema,
|
|
3483
3517
|
tr as jwksKeySchema,
|
|
3484
|
-
|
|
3518
|
+
On as jwksSchema,
|
|
3485
3519
|
sr as logSchema,
|
|
3486
|
-
|
|
3520
|
+
jn as loginInsertSchema,
|
|
3487
3521
|
rr as loginSchema,
|
|
3488
3522
|
nr as openIDConfigurationSchema,
|
|
3489
3523
|
Bn as otpInsertSchema,
|
|
3490
3524
|
_r as otpSchema,
|
|
3491
|
-
|
|
3525
|
+
$n as pageBackgroundSchema,
|
|
3492
3526
|
yr as parseUserId,
|
|
3493
3527
|
Rn as passwordInsertSchema,
|
|
3494
3528
|
ar as passwordSchema,
|
|
@@ -3501,11 +3535,11 @@ export {
|
|
|
3501
3535
|
dr as tenantSchema,
|
|
3502
3536
|
Ln as themeInsertSchema,
|
|
3503
3537
|
fr as themeSchema,
|
|
3504
|
-
|
|
3538
|
+
Gn as totalsSchema,
|
|
3505
3539
|
zn as universalLoginSessionInsertSchema,
|
|
3506
3540
|
mr as universalLoginSessionSchema,
|
|
3507
3541
|
vn as userInsertSchema,
|
|
3508
|
-
|
|
3542
|
+
qn as userResponseSchema,
|
|
3509
3543
|
bn as userSchema,
|
|
3510
3544
|
lr as vendorSettingsSchema,
|
|
3511
3545
|
Vn as widgetSchema
|