@authhero/adapter-interfaces 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function dt(t, e) {
|
|
2
2
|
var n = {};
|
|
3
3
|
for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && e.indexOf(s) < 0 && (n[s] = t[s]);
|
|
4
4
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -6,7 +6,7 @@ function ut(t, e) {
|
|
|
6
6
|
e.indexOf(s[a]) < 0 && Object.prototype.propertyIsEnumerable.call(t, s[a]) && (n[s[a]] = t[s[a]]);
|
|
7
7
|
return n;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function lt(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
|
}
|
|
@@ -17,19 +17,19 @@ function J(t, e) {
|
|
|
17
17
|
return a._def.openapi = this._def.openapi, a;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ut(t) {
|
|
21
21
|
if (typeof t.ZodType.prototype.openapi < "u")
|
|
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: $e } = B,
|
|
25
|
+
const z = typeof a == "string" ? i : a, B = z ?? {}, { param: $e } = B, it = dt(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), it), !((l = (u = this._def.openapi) === null || u === void 0 ? void 0 : u.metadata) === null || l === void 0) && l.param || $e ? {
|
|
26
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
|
-
if (
|
|
29
|
-
const
|
|
30
|
-
ze.extend = function(...
|
|
28
|
+
if (lt(this, "ZodObject")) {
|
|
29
|
+
const ot = this.extend;
|
|
30
|
+
ze.extend = function(...ct) {
|
|
31
31
|
var Se, Te, Ee, Ce, Oe, je;
|
|
32
|
-
const Ie =
|
|
32
|
+
const Ie = ot.apply(this, ct);
|
|
33
33
|
return Ie._def.openapi = {
|
|
34
34
|
_internal: {
|
|
35
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
|
|
@@ -163,7 +163,7 @@ const h = b.arrayToEnum([
|
|
|
163
163
|
"invalid_intersection_types",
|
|
164
164
|
"not_multiple_of",
|
|
165
165
|
"not_finite"
|
|
166
|
-
]),
|
|
166
|
+
]), pt = (t) => JSON.stringify(t, null, 2).replace(/"([^"]+)":/g, "$1:");
|
|
167
167
|
class T extends Error {
|
|
168
168
|
constructor(e) {
|
|
169
169
|
super(), this.issues = [], this.addIssue = (s) => {
|
|
@@ -281,7 +281,7 @@ const F = (t, e) => {
|
|
|
281
281
|
return { message: n };
|
|
282
282
|
};
|
|
283
283
|
let Ge = F;
|
|
284
|
-
function
|
|
284
|
+
function ht(t) {
|
|
285
285
|
Ge = t;
|
|
286
286
|
}
|
|
287
287
|
function me() {
|
|
@@ -307,7 +307,7 @@ const _e = (t) => {
|
|
|
307
307
|
path: i,
|
|
308
308
|
message: c
|
|
309
309
|
};
|
|
310
|
-
},
|
|
310
|
+
}, ft = [];
|
|
311
311
|
function p(t, e) {
|
|
312
312
|
const n = me(), s = _e({
|
|
313
313
|
issueData: e,
|
|
@@ -598,14 +598,14 @@ class v {
|
|
|
598
598
|
return this.safeParse(null).success;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
const
|
|
601
|
+
const mt = /^c[^\s-]{8,}$/i, _t = /^[0-9a-z]+$/, gt = /^[0-9A-HJKMNP-TV-Z]{26}$/, yt = /^[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, vt = /^[a-z0-9_-]{21}$/i, bt = /^[-+]?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)?)??$/, kt = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, xt = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
602
602
|
let Ne;
|
|
603
|
-
const
|
|
603
|
+
const wt = /^(?:(?: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])$/, St = /^(([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})))$/, Tt = /^([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])))", Et = new RegExp(`^${qe}$`);
|
|
604
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
|
|
608
|
+
function Ct(t) {
|
|
609
609
|
return new RegExp(`^${Fe(t)}$`);
|
|
610
610
|
}
|
|
611
611
|
function Ye(t) {
|
|
@@ -613,8 +613,8 @@ function Ye(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) &&
|
|
616
|
+
function Ot(t, e) {
|
|
617
|
+
return !!((e === "v4" || !e) && wt.test(t) || (e === "v6" || !e) && St.test(t));
|
|
618
618
|
}
|
|
619
619
|
class E extends v {
|
|
620
620
|
_parse(e) {
|
|
@@ -665,43 +665,43 @@ class E extends v {
|
|
|
665
665
|
message: i.message
|
|
666
666
|
}), s.dirty());
|
|
667
667
|
} else if (i.kind === "email")
|
|
668
|
-
|
|
668
|
+
kt.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
669
669
|
validation: "email",
|
|
670
670
|
code: d.invalid_string,
|
|
671
671
|
message: i.message
|
|
672
672
|
}), s.dirty());
|
|
673
673
|
else if (i.kind === "emoji")
|
|
674
|
-
Ne || (Ne = new RegExp(
|
|
674
|
+
Ne || (Ne = new RegExp(xt, "u")), Ne.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
675
675
|
validation: "emoji",
|
|
676
676
|
code: d.invalid_string,
|
|
677
677
|
message: i.message
|
|
678
678
|
}), s.dirty());
|
|
679
679
|
else if (i.kind === "uuid")
|
|
680
|
-
|
|
680
|
+
yt.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
681
681
|
validation: "uuid",
|
|
682
682
|
code: d.invalid_string,
|
|
683
683
|
message: i.message
|
|
684
684
|
}), s.dirty());
|
|
685
685
|
else if (i.kind === "nanoid")
|
|
686
|
-
|
|
686
|
+
vt.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
687
687
|
validation: "nanoid",
|
|
688
688
|
code: d.invalid_string,
|
|
689
689
|
message: i.message
|
|
690
690
|
}), s.dirty());
|
|
691
691
|
else if (i.kind === "cuid")
|
|
692
|
-
|
|
692
|
+
mt.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
693
693
|
validation: "cuid",
|
|
694
694
|
code: d.invalid_string,
|
|
695
695
|
message: i.message
|
|
696
696
|
}), s.dirty());
|
|
697
697
|
else if (i.kind === "cuid2")
|
|
698
|
-
|
|
698
|
+
_t.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
699
699
|
validation: "cuid2",
|
|
700
700
|
code: d.invalid_string,
|
|
701
701
|
message: i.message
|
|
702
702
|
}), s.dirty());
|
|
703
703
|
else if (i.kind === "ulid")
|
|
704
|
-
|
|
704
|
+
gt.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
705
705
|
validation: "ulid",
|
|
706
706
|
code: d.invalid_string,
|
|
707
707
|
message: i.message
|
|
@@ -736,23 +736,23 @@ class E 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" ? Et.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" ? Ct(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
|
|
747
|
-
}), s.dirty()) : i.kind === "duration" ?
|
|
747
|
+
}), s.dirty()) : i.kind === "duration" ? bt.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
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" ? Ot(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" ? Tt.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
|
|
@@ -974,7 +974,7 @@ E.create = (t) => {
|
|
|
974
974
|
...y(t)
|
|
975
975
|
});
|
|
976
976
|
};
|
|
977
|
-
function
|
|
977
|
+
function jt(t, e) {
|
|
978
978
|
const n = (t.toString().split(".")[1] || "").length, s = (e.toString().split(".")[1] || "").length, a = n > s ? n : s, i = parseInt(t.toFixed(a).replace(".", "")), o = parseInt(e.toFixed(a).replace(".", ""));
|
|
979
979
|
return i % o / Math.pow(10, a);
|
|
980
980
|
}
|
|
@@ -1013,7 +1013,7 @@ class P extends v {
|
|
|
1013
1013
|
inclusive: i.inclusive,
|
|
1014
1014
|
exact: !1,
|
|
1015
1015
|
message: i.message
|
|
1016
|
-
}), a.dirty()) : i.kind === "multipleOf" ?
|
|
1016
|
+
}), a.dirty()) : i.kind === "multipleOf" ? jt(e.data, i.value) !== 0 && (s = this._getOrReturnCtx(e, s), p(s, {
|
|
1017
1017
|
code: d.not_multiple_of,
|
|
1018
1018
|
multipleOf: i.value,
|
|
1019
1019
|
message: i.message
|
|
@@ -2714,7 +2714,7 @@ ke.create = (t) => new ke({
|
|
|
2714
2714
|
typeName: _.ZodNaN,
|
|
2715
2715
|
...y(t)
|
|
2716
2716
|
});
|
|
2717
|
-
const
|
|
2717
|
+
const It = Symbol("zod_brand");
|
|
2718
2718
|
class Me extends v {
|
|
2719
2719
|
_parse(e) {
|
|
2720
2720
|
const { ctx: n } = this._processInputParams(e), s = n.data;
|
|
@@ -2791,16 +2791,16 @@ function Je(t, e = {}, n) {
|
|
|
2791
2791
|
}
|
|
2792
2792
|
}) : Y.create();
|
|
2793
2793
|
}
|
|
2794
|
-
const
|
|
2794
|
+
const Nt = {
|
|
2795
2795
|
object: k.lazycreate
|
|
2796
2796
|
};
|
|
2797
2797
|
var _;
|
|
2798
2798
|
(function(t) {
|
|
2799
2799
|
t.ZodString = "ZodString", t.ZodNumber = "ZodNumber", t.ZodNaN = "ZodNaN", t.ZodBigInt = "ZodBigInt", t.ZodBoolean = "ZodBoolean", t.ZodDate = "ZodDate", t.ZodSymbol = "ZodSymbol", t.ZodUndefined = "ZodUndefined", t.ZodNull = "ZodNull", t.ZodAny = "ZodAny", t.ZodUnknown = "ZodUnknown", t.ZodNever = "ZodNever", t.ZodVoid = "ZodVoid", t.ZodArray = "ZodArray", t.ZodObject = "ZodObject", t.ZodUnion = "ZodUnion", t.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", t.ZodIntersection = "ZodIntersection", t.ZodTuple = "ZodTuple", t.ZodRecord = "ZodRecord", t.ZodMap = "ZodMap", t.ZodSet = "ZodSet", t.ZodFunction = "ZodFunction", t.ZodLazy = "ZodLazy", t.ZodLiteral = "ZodLiteral", t.ZodEnum = "ZodEnum", t.ZodEffects = "ZodEffects", t.ZodNativeEnum = "ZodNativeEnum", t.ZodOptional = "ZodOptional", t.ZodNullable = "ZodNullable", t.ZodDefault = "ZodDefault", t.ZodCatch = "ZodCatch", t.ZodPromise = "ZodPromise", t.ZodBranded = "ZodBranded", t.ZodPipeline = "ZodPipeline", t.ZodReadonly = "ZodReadonly";
|
|
2800
2800
|
})(_ || (_ = {}));
|
|
2801
|
-
const
|
|
2801
|
+
const Zt = (t, e = {
|
|
2802
2802
|
message: `Input not instance of ${t.name}`
|
|
2803
|
-
}) => Je((n) => n instanceof t, e), Qe = E.create, Xe = P.create,
|
|
2803
|
+
}) => Je((n) => n instanceof t, e), Qe = E.create, Xe = P.create, Rt = ke.create, At = M.create, et = ne.create, Pt = V.create, Mt = ye.create, Dt = re.create, Ut = se.create, $t = Y.create, Vt = $.create, Lt = R.create, zt = ve.create, Bt = C.create, Wt = k.create, Gt = k.strictCreate, Ht = ae.create, qt = xe.create, Ft = ie.create, Yt = N.create, Kt = oe.create, Jt = be.create, Qt = L.create, Xt = q.create, en = ce.create, tn = de.create, nn = D.create, rn = le.create, sn = K.create, We = O.create, an = j.create, on = U.create, cn = O.createWithPreprocess, dn = fe.create, ln = () => Qe().optional(), un = () => Xe().optional(), pn = () => et().optional(), hn = {
|
|
2804
2804
|
string: (t) => E.create({ ...t, coerce: !0 }),
|
|
2805
2805
|
number: (t) => P.create({ ...t, coerce: !0 }),
|
|
2806
2806
|
boolean: (t) => ne.create({
|
|
@@ -2809,14 +2809,14 @@ const At = (t, e = {
|
|
|
2809
2809
|
}),
|
|
2810
2810
|
bigint: (t) => M.create({ ...t, coerce: !0 }),
|
|
2811
2811
|
date: (t) => V.create({ ...t, coerce: !0 })
|
|
2812
|
-
},
|
|
2812
|
+
}, fn = g;
|
|
2813
2813
|
var r = /* @__PURE__ */ Object.freeze({
|
|
2814
2814
|
__proto__: null,
|
|
2815
2815
|
defaultErrorMap: F,
|
|
2816
|
-
setErrorMap:
|
|
2816
|
+
setErrorMap: ht,
|
|
2817
2817
|
getErrorMap: me,
|
|
2818
2818
|
makeIssue: _e,
|
|
2819
|
-
EMPTY_PATH:
|
|
2819
|
+
EMPTY_PATH: ft,
|
|
2820
2820
|
addIssueToContext: p,
|
|
2821
2821
|
ParseStatus: w,
|
|
2822
2822
|
INVALID: g,
|
|
@@ -2870,63 +2870,63 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2870
2870
|
ZodDefault: ue,
|
|
2871
2871
|
ZodCatch: pe,
|
|
2872
2872
|
ZodNaN: ke,
|
|
2873
|
-
BRAND:
|
|
2873
|
+
BRAND: It,
|
|
2874
2874
|
ZodBranded: Me,
|
|
2875
2875
|
ZodPipeline: fe,
|
|
2876
2876
|
ZodReadonly: he,
|
|
2877
2877
|
custom: Je,
|
|
2878
2878
|
Schema: v,
|
|
2879
2879
|
ZodSchema: v,
|
|
2880
|
-
late:
|
|
2880
|
+
late: Nt,
|
|
2881
2881
|
get ZodFirstPartyTypeKind() {
|
|
2882
2882
|
return _;
|
|
2883
2883
|
},
|
|
2884
|
-
coerce:
|
|
2885
|
-
any:
|
|
2886
|
-
array:
|
|
2887
|
-
bigint:
|
|
2884
|
+
coerce: hn,
|
|
2885
|
+
any: $t,
|
|
2886
|
+
array: Bt,
|
|
2887
|
+
bigint: At,
|
|
2888
2888
|
boolean: et,
|
|
2889
|
-
date:
|
|
2890
|
-
discriminatedUnion:
|
|
2889
|
+
date: Pt,
|
|
2890
|
+
discriminatedUnion: qt,
|
|
2891
2891
|
effect: We,
|
|
2892
|
-
enum:
|
|
2893
|
-
function:
|
|
2894
|
-
instanceof:
|
|
2895
|
-
intersection:
|
|
2896
|
-
lazy:
|
|
2897
|
-
literal:
|
|
2898
|
-
map:
|
|
2899
|
-
nan:
|
|
2900
|
-
nativeEnum:
|
|
2901
|
-
never:
|
|
2902
|
-
null:
|
|
2903
|
-
nullable:
|
|
2892
|
+
enum: nn,
|
|
2893
|
+
function: Xt,
|
|
2894
|
+
instanceof: Zt,
|
|
2895
|
+
intersection: Ft,
|
|
2896
|
+
lazy: en,
|
|
2897
|
+
literal: tn,
|
|
2898
|
+
map: Jt,
|
|
2899
|
+
nan: Rt,
|
|
2900
|
+
nativeEnum: rn,
|
|
2901
|
+
never: Lt,
|
|
2902
|
+
null: Ut,
|
|
2903
|
+
nullable: on,
|
|
2904
2904
|
number: Xe,
|
|
2905
|
-
object:
|
|
2906
|
-
oboolean:
|
|
2907
|
-
onumber:
|
|
2908
|
-
optional:
|
|
2909
|
-
ostring:
|
|
2910
|
-
pipeline:
|
|
2911
|
-
preprocess:
|
|
2912
|
-
promise:
|
|
2913
|
-
record:
|
|
2914
|
-
set:
|
|
2915
|
-
strictObject:
|
|
2905
|
+
object: Wt,
|
|
2906
|
+
oboolean: pn,
|
|
2907
|
+
onumber: un,
|
|
2908
|
+
optional: an,
|
|
2909
|
+
ostring: ln,
|
|
2910
|
+
pipeline: dn,
|
|
2911
|
+
preprocess: cn,
|
|
2912
|
+
promise: sn,
|
|
2913
|
+
record: Kt,
|
|
2914
|
+
set: Qt,
|
|
2915
|
+
strictObject: Gt,
|
|
2916
2916
|
string: Qe,
|
|
2917
|
-
symbol:
|
|
2917
|
+
symbol: Mt,
|
|
2918
2918
|
transformer: We,
|
|
2919
|
-
tuple:
|
|
2920
|
-
undefined:
|
|
2921
|
-
union:
|
|
2922
|
-
unknown:
|
|
2923
|
-
void:
|
|
2924
|
-
NEVER:
|
|
2919
|
+
tuple: Yt,
|
|
2920
|
+
undefined: Dt,
|
|
2921
|
+
union: Ht,
|
|
2922
|
+
unknown: Vt,
|
|
2923
|
+
void: zt,
|
|
2924
|
+
NEVER: fn,
|
|
2925
2925
|
ZodIssueCode: d,
|
|
2926
|
-
quotelessJson:
|
|
2926
|
+
quotelessJson: pt,
|
|
2927
2927
|
ZodError: T
|
|
2928
2928
|
});
|
|
2929
|
-
|
|
2929
|
+
ut(r);
|
|
2930
2930
|
const Hn = r.object({
|
|
2931
2931
|
start: r.number(),
|
|
2932
2932
|
limit: r.number(),
|
|
@@ -2934,7 +2934,7 @@ const Hn = r.object({
|
|
|
2934
2934
|
}), De = r.object({
|
|
2935
2935
|
created_at: r.string(),
|
|
2936
2936
|
updated_at: r.string()
|
|
2937
|
-
}),
|
|
2937
|
+
}), mn = r.object({
|
|
2938
2938
|
email: r.string().optional(),
|
|
2939
2939
|
email_verified: r.boolean().optional(),
|
|
2940
2940
|
name: r.string().optional(),
|
|
@@ -2943,7 +2943,7 @@ const Hn = r.object({
|
|
|
2943
2943
|
phone_number: r.string().optional(),
|
|
2944
2944
|
phone_verified: r.boolean().optional(),
|
|
2945
2945
|
family_name: r.string().optional()
|
|
2946
|
-
}).catchall(r.any()),
|
|
2946
|
+
}).catchall(r.any()), _n = r.object({
|
|
2947
2947
|
connection: r.string(),
|
|
2948
2948
|
user_id: r.string(),
|
|
2949
2949
|
provider: r.string(),
|
|
@@ -2951,7 +2951,7 @@ const Hn = r.object({
|
|
|
2951
2951
|
access_token: r.string().optional(),
|
|
2952
2952
|
access_token_secret: r.string().optional(),
|
|
2953
2953
|
refresh_token: r.string().optional(),
|
|
2954
|
-
profileData:
|
|
2954
|
+
profileData: mn.optional()
|
|
2955
2955
|
}), tt = r.object({
|
|
2956
2956
|
email: r.string().optional(),
|
|
2957
2957
|
username: r.string().optional(),
|
|
@@ -2964,7 +2964,7 @@ const Hn = r.object({
|
|
|
2964
2964
|
linked_to: r.string().optional(),
|
|
2965
2965
|
profileData: r.string().optional(),
|
|
2966
2966
|
user_id: r.string().optional()
|
|
2967
|
-
}),
|
|
2967
|
+
}), gn = tt.extend({
|
|
2968
2968
|
email_verified: r.boolean().default(!1),
|
|
2969
2969
|
verify_email: r.boolean().optional(),
|
|
2970
2970
|
last_ip: r.string().optional(),
|
|
@@ -2972,21 +2972,21 @@ const Hn = r.object({
|
|
|
2972
2972
|
user_id: r.string().optional(),
|
|
2973
2973
|
provider: r.string().default("email"),
|
|
2974
2974
|
connection: r.string().default("email")
|
|
2975
|
-
}),
|
|
2975
|
+
}), yn = gn.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
|
-
identities: r.array(
|
|
2982
|
-
}), qn =
|
|
2981
|
+
identities: r.array(_n).optional()
|
|
2982
|
+
}), qn = yn, Fn = tt.extend({
|
|
2983
2983
|
email: r.string(),
|
|
2984
2984
|
login_count: r.number(),
|
|
2985
2985
|
multifactor: r.array(r.string()).optional(),
|
|
2986
2986
|
last_ip: r.string().optional(),
|
|
2987
2987
|
last_login: r.string().optional(),
|
|
2988
2988
|
user_id: r.string()
|
|
2989
|
-
}).catchall(r.any()),
|
|
2989
|
+
}).catchall(r.any()), vn = r.object({
|
|
2990
2990
|
id: r.string(),
|
|
2991
2991
|
name: r.string(),
|
|
2992
2992
|
callbacks: r.array(r.string()).openapi({
|
|
@@ -3011,10 +3011,11 @@ const Hn = r.object({
|
|
|
3011
3011
|
disable_sign_ups: r.boolean().default(!1).openapi({
|
|
3012
3012
|
description: "Prevents users from signing up using the hosted login page. This is not available in auth0"
|
|
3013
3013
|
})
|
|
3014
|
-
}),
|
|
3014
|
+
}), bn = r.object({
|
|
3015
3015
|
created_at: r.string().transform((t) => t === null ? "" : t),
|
|
3016
|
-
updated_at: r.string().transform((t) => t === null ? "" : t)
|
|
3017
|
-
|
|
3016
|
+
updated_at: r.string().transform((t) => t === null ? "" : t),
|
|
3017
|
+
...vn.shape
|
|
3018
|
+
});
|
|
3018
3019
|
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 || {});
|
|
3019
3020
|
const we = r.object({
|
|
3020
3021
|
client_id: r.string(),
|
|
@@ -3044,7 +3045,7 @@ const we = r.object({
|
|
|
3044
3045
|
font: r.object({
|
|
3045
3046
|
url: r.string()
|
|
3046
3047
|
}).optional()
|
|
3047
|
-
}),
|
|
3048
|
+
}), kn = r.object({
|
|
3048
3049
|
id: r.string().optional(),
|
|
3049
3050
|
name: r.string(),
|
|
3050
3051
|
client_id: r.string().optional(),
|
|
@@ -3059,64 +3060,85 @@ const we = r.object({
|
|
|
3059
3060
|
token_exchange_basic_auth: r.boolean().optional(),
|
|
3060
3061
|
userinfo_endpoint: r.string().optional(),
|
|
3061
3062
|
scope: r.string().optional()
|
|
3062
|
-
}),
|
|
3063
|
+
}), xn = r.object({
|
|
3063
3064
|
id: r.string(),
|
|
3064
3065
|
created_at: r.string().transform((t) => t === null ? "" : t),
|
|
3065
3066
|
updated_at: r.string().transform((t) => t === null ? "" : t)
|
|
3066
|
-
}).extend(
|
|
3067
|
+
}).extend(kn.shape), wn = r.object({
|
|
3068
|
+
name: r.string(),
|
|
3069
|
+
audience: r.string(),
|
|
3070
|
+
sender_email: r.string().email(),
|
|
3071
|
+
sender_name: r.string(),
|
|
3072
|
+
support_url: r.string().url().optional(),
|
|
3073
|
+
logo: r.string().url().optional(),
|
|
3074
|
+
primary_color: r.string().optional(),
|
|
3075
|
+
secondary_color: r.string().optional(),
|
|
3076
|
+
language: r.string().optional()
|
|
3077
|
+
}), Sn = r.object({
|
|
3078
|
+
created_at: r.string().transform((t) => t === null ? "" : t),
|
|
3079
|
+
updated_at: r.string().transform((t) => t === null ? "" : t),
|
|
3080
|
+
id: r.string(),
|
|
3081
|
+
...wn.shape
|
|
3082
|
+
}), Kn = r.object({
|
|
3083
|
+
logoUrl: r.string(),
|
|
3084
|
+
loginBackgroundImage: r.string().nullish(),
|
|
3085
|
+
style: r.object({
|
|
3086
|
+
primaryColor: r.string(),
|
|
3087
|
+
buttonTextColor: r.string(),
|
|
3088
|
+
primaryHoverColor: r.string()
|
|
3089
|
+
}),
|
|
3090
|
+
supportEmail: r.string().nullable(),
|
|
3091
|
+
supportUrl: r.string().nullable(),
|
|
3092
|
+
name: r.string(),
|
|
3093
|
+
showGreyishBackground: r.boolean().optional(),
|
|
3094
|
+
termsAndConditionsUrl: r.string().nullable(),
|
|
3095
|
+
companyName: r.string().optional(),
|
|
3096
|
+
checkoutHideSocial: r.boolean().optional(),
|
|
3097
|
+
siteUrl: r.string().nullable(),
|
|
3098
|
+
manageSubscriptionsUrl: r.string().optional()
|
|
3099
|
+
}), Tn = r.object({
|
|
3067
3100
|
domain: r.string(),
|
|
3068
3101
|
dkim_private_key: r.string().optional(),
|
|
3069
3102
|
dkim_public_key: r.string().optional(),
|
|
3070
3103
|
email_api_key: r.string().optional(),
|
|
3071
3104
|
email_service: r.union([r.literal("mailgun"), r.literal("mailchannels")]).optional()
|
|
3072
|
-
})
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
secondary_color: r.string().optional(),
|
|
3081
|
-
sender_email: r.string(),
|
|
3082
|
-
sender_name: r.string(),
|
|
3083
|
-
support_url: r.string().optional(),
|
|
3084
|
-
language: r.string().length(2).optional()
|
|
3085
|
-
})
|
|
3086
|
-
}), Kn = it.extend({
|
|
3087
|
-
connections: r.array(at)
|
|
3088
|
-
}), Jn = it.extend({
|
|
3089
|
-
connections: r.array(at.partial())
|
|
3090
|
-
}), Tn = r.enum([
|
|
3105
|
+
});
|
|
3106
|
+
r.object({
|
|
3107
|
+
...bn.shape,
|
|
3108
|
+
domains: r.array(Tn),
|
|
3109
|
+
tenant: Sn,
|
|
3110
|
+
connections: r.array(xn)
|
|
3111
|
+
});
|
|
3112
|
+
const En = r.enum([
|
|
3091
3113
|
"password_reset",
|
|
3092
3114
|
"email_verification",
|
|
3093
3115
|
"otp",
|
|
3094
3116
|
"oauth2",
|
|
3095
3117
|
"oauth2_state",
|
|
3096
3118
|
"ticket"
|
|
3097
|
-
]),
|
|
3119
|
+
]), Cn = r.object({
|
|
3098
3120
|
code_id: r.string().openapi({
|
|
3099
3121
|
description: "The code that will be used in for instance an email verification flow"
|
|
3100
3122
|
}),
|
|
3101
3123
|
login_id: r.string().openapi({
|
|
3102
3124
|
description: "The id of the login session that the code is connected to"
|
|
3103
3125
|
}),
|
|
3104
|
-
code_type:
|
|
3126
|
+
code_type: En,
|
|
3105
3127
|
expires_at: r.string(),
|
|
3106
3128
|
used_at: r.string().optional()
|
|
3107
|
-
}),
|
|
3108
|
-
...
|
|
3129
|
+
}), Jn = r.object({
|
|
3130
|
+
...Cn.shape,
|
|
3109
3131
|
created_at: r.string()
|
|
3110
|
-
}),
|
|
3132
|
+
}), On = r.object({
|
|
3111
3133
|
domain: r.string(),
|
|
3112
3134
|
dkim_private_key: r.string().optional(),
|
|
3113
3135
|
dkim_public_key: r.string().optional(),
|
|
3114
3136
|
email_api_key: r.string().optional(),
|
|
3115
3137
|
email_service: r.enum(["mailgun", "mailchannels"])
|
|
3116
|
-
}),
|
|
3117
|
-
...
|
|
3138
|
+
}), Qn = De.extend({
|
|
3139
|
+
...On.shape,
|
|
3118
3140
|
id: r.string()
|
|
3119
|
-
}),
|
|
3141
|
+
}), jn = r.object({
|
|
3120
3142
|
trigger_id: r.enum([
|
|
3121
3143
|
"pre-user-signup",
|
|
3122
3144
|
"post-user-registration",
|
|
@@ -3127,19 +3149,19 @@ const we = r.object({
|
|
|
3127
3149
|
hook_id: r.string().optional(),
|
|
3128
3150
|
synchronous: r.boolean().default(!1),
|
|
3129
3151
|
priority: r.number().optional()
|
|
3130
|
-
}),
|
|
3152
|
+
}), Xn = jn.extend({
|
|
3131
3153
|
...De.shape,
|
|
3132
3154
|
hook_id: r.string()
|
|
3133
|
-
}),
|
|
3155
|
+
}), In = r.object({
|
|
3134
3156
|
alg: r.string(),
|
|
3135
3157
|
e: r.string(),
|
|
3136
3158
|
kid: r.string(),
|
|
3137
3159
|
kty: r.string(),
|
|
3138
3160
|
n: r.string(),
|
|
3139
3161
|
use: r.string().optional()
|
|
3162
|
+
}), er = r.object({
|
|
3163
|
+
keys: r.array(In)
|
|
3140
3164
|
}), tr = r.object({
|
|
3141
|
-
keys: r.array(jn)
|
|
3142
|
-
}), nr = r.object({
|
|
3143
3165
|
issuer: r.string(),
|
|
3144
3166
|
authorization_endpoint: r.string(),
|
|
3145
3167
|
token_endpoint: r.string(),
|
|
@@ -3160,7 +3182,7 @@ const we = r.object({
|
|
|
3160
3182
|
request_uri_parameter_supported: r.boolean(),
|
|
3161
3183
|
request_parameter_supported: r.boolean(),
|
|
3162
3184
|
token_endpoint_auth_signing_alg_values_supported: r.array(r.string())
|
|
3163
|
-
}),
|
|
3185
|
+
}), Nn = r.object({
|
|
3164
3186
|
auth0Client: r.string().optional(),
|
|
3165
3187
|
authParams: we,
|
|
3166
3188
|
expires_at: r.string(),
|
|
@@ -3168,16 +3190,16 @@ const we = r.object({
|
|
|
3168
3190
|
ip: r.string().optional()
|
|
3169
3191
|
}).openapi({
|
|
3170
3192
|
description: "This represents a login sesion"
|
|
3171
|
-
}),
|
|
3172
|
-
...
|
|
3193
|
+
}), nr = r.object({
|
|
3194
|
+
...Nn.shape,
|
|
3173
3195
|
login_id: r.string().openapi({
|
|
3174
3196
|
description: "This is is used as the state in the universal login"
|
|
3175
3197
|
}),
|
|
3176
3198
|
created_at: r.string(),
|
|
3177
3199
|
updated_at: r.string()
|
|
3178
3200
|
});
|
|
3179
|
-
var
|
|
3180
|
-
const
|
|
3201
|
+
var Zn = /* @__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))(Zn || {});
|
|
3202
|
+
const Rn = r.enum([
|
|
3181
3203
|
"cls",
|
|
3182
3204
|
// CODE_LINK_SENT
|
|
3183
3205
|
"fsa",
|
|
@@ -3226,14 +3248,14 @@ const Zn = r.enum([
|
|
|
3226
3248
|
// SUCCESS_VERIFICATION_EMAIL
|
|
3227
3249
|
"svr"
|
|
3228
3250
|
// SUCCESS_VERIFICATION_EMAIL_REQUEST
|
|
3229
|
-
]),
|
|
3251
|
+
]), An = r.object({
|
|
3230
3252
|
name: r.string(),
|
|
3231
3253
|
version: r.string(),
|
|
3232
3254
|
env: r.object({
|
|
3233
3255
|
node: r.string().optional()
|
|
3234
3256
|
}).optional()
|
|
3235
|
-
}),
|
|
3236
|
-
type:
|
|
3257
|
+
}), rr = r.object({
|
|
3258
|
+
type: Rn,
|
|
3237
3259
|
date: r.string(),
|
|
3238
3260
|
description: r.string().optional(),
|
|
3239
3261
|
log_id: r.string().optional(),
|
|
@@ -3254,32 +3276,32 @@ const Zn = r.enum([
|
|
|
3254
3276
|
strategy: r.string().optional(),
|
|
3255
3277
|
strategy_type: r.string().optional(),
|
|
3256
3278
|
hostname: r.string().optional(),
|
|
3257
|
-
auth0_client:
|
|
3258
|
-
}),
|
|
3279
|
+
auth0_client: An.optional()
|
|
3280
|
+
}), Pn = r.object({
|
|
3259
3281
|
user_id: r.string(),
|
|
3260
3282
|
password: r.string(),
|
|
3261
3283
|
algorithm: r.enum(["bcrypt", "argon2id"]).default("argon2id")
|
|
3262
|
-
}),
|
|
3263
|
-
...
|
|
3284
|
+
}), sr = r.object({
|
|
3285
|
+
...Pn.shape,
|
|
3264
3286
|
created_at: r.string(),
|
|
3265
3287
|
updated_at: r.string()
|
|
3266
|
-
}),
|
|
3288
|
+
}), Mn = r.object({
|
|
3267
3289
|
session_id: r.string(),
|
|
3268
3290
|
client_id: r.string(),
|
|
3269
3291
|
expires_at: r.string(),
|
|
3270
3292
|
used_at: r.string(),
|
|
3271
3293
|
deleted_at: r.string().optional(),
|
|
3272
3294
|
user_id: r.string()
|
|
3273
|
-
}),
|
|
3295
|
+
}), ar = r.object({
|
|
3274
3296
|
created_at: r.string(),
|
|
3275
|
-
...
|
|
3276
|
-
}),
|
|
3297
|
+
...Mn.shape
|
|
3298
|
+
}), ir = r.object({
|
|
3277
3299
|
private_key: r.string(),
|
|
3278
3300
|
public_key: r.string(),
|
|
3279
3301
|
kid: r.string(),
|
|
3280
3302
|
created_at: r.string(),
|
|
3281
3303
|
revoked_at: r.string().optional()
|
|
3282
|
-
}),
|
|
3304
|
+
}), or = r.object({
|
|
3283
3305
|
kid: r.string().openapi({ description: "The key id of the signing key" }),
|
|
3284
3306
|
cert: r.string().openapi({ description: "The public certificate of the signing key" }),
|
|
3285
3307
|
fingerprint: r.string().openapi({ description: "The cert fingerprint" }),
|
|
@@ -3298,39 +3320,9 @@ const Zn = r.enum([
|
|
|
3298
3320
|
}),
|
|
3299
3321
|
revoked: r.boolean().optional().openapi({ description: "True if the key is revoked" }),
|
|
3300
3322
|
revoked_at: r.string().optional().openapi({ description: "The date and time when the key was revoked" })
|
|
3301
|
-
}), Mn = r.object({
|
|
3302
|
-
name: r.string(),
|
|
3303
|
-
audience: r.string(),
|
|
3304
|
-
sender_email: r.string().email(),
|
|
3305
|
-
sender_name: r.string(),
|
|
3306
|
-
support_url: r.string().url().optional(),
|
|
3307
|
-
logo: r.string().url().optional(),
|
|
3308
|
-
primary_color: r.string().optional(),
|
|
3309
|
-
secondary_color: r.string().optional(),
|
|
3310
|
-
language: r.string().optional()
|
|
3311
|
-
}), dr = Mn.extend({
|
|
3312
|
-
created_at: r.string().transform((t) => t === null ? "" : t),
|
|
3313
|
-
updated_at: r.string().transform((t) => t === null ? "" : t)
|
|
3314
|
-
}), lr = r.object({
|
|
3315
|
-
logoUrl: r.string(),
|
|
3316
|
-
loginBackgroundImage: r.string().nullish(),
|
|
3317
|
-
style: r.object({
|
|
3318
|
-
primaryColor: r.string(),
|
|
3319
|
-
buttonTextColor: r.string(),
|
|
3320
|
-
primaryHoverColor: r.string()
|
|
3321
|
-
}),
|
|
3322
|
-
supportEmail: r.string().nullable(),
|
|
3323
|
-
supportUrl: r.string().nullable(),
|
|
3324
|
-
name: r.string(),
|
|
3325
|
-
showGreyishBackground: r.boolean().optional(),
|
|
3326
|
-
termsAndConditionsUrl: r.string().nullable(),
|
|
3327
|
-
companyName: r.string().optional(),
|
|
3328
|
-
checkoutHideSocial: r.boolean().optional(),
|
|
3329
|
-
siteUrl: r.string().nullable(),
|
|
3330
|
-
manageSubscriptionsUrl: r.string().optional()
|
|
3331
3323
|
});
|
|
3332
|
-
var
|
|
3333
|
-
const Ue = r.nativeEnum(
|
|
3324
|
+
var at = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t))(at || {});
|
|
3325
|
+
const Ue = r.nativeEnum(at), cr = r.object({
|
|
3334
3326
|
grant_type: Ue.refine(
|
|
3335
3327
|
(t) => t === "authorization_code"
|
|
3336
3328
|
/* AuthorizationCode */
|
|
@@ -3338,7 +3330,7 @@ const Ue = r.nativeEnum(ot), ur = r.object({
|
|
|
3338
3330
|
code: r.string(),
|
|
3339
3331
|
client_secret: r.string(),
|
|
3340
3332
|
client_id: r.string()
|
|
3341
|
-
}),
|
|
3333
|
+
}), dr = r.object({
|
|
3342
3334
|
grant_type: Ue.refine(
|
|
3343
3335
|
(t) => t === "authorization_code"
|
|
3344
3336
|
/* AuthorizationCode */
|
|
@@ -3347,7 +3339,7 @@ const Ue = r.nativeEnum(ot), ur = r.object({
|
|
|
3347
3339
|
code_verifier: r.string(),
|
|
3348
3340
|
client_id: r.string().optional(),
|
|
3349
3341
|
redirect_uri: r.string()
|
|
3350
|
-
}),
|
|
3342
|
+
}), lr = r.object({
|
|
3351
3343
|
grant_type: Ue.refine(
|
|
3352
3344
|
(t) => t === "client_credentials"
|
|
3353
3345
|
/* ClientCredential */
|
|
@@ -3430,14 +3422,14 @@ const Dn = r.object({
|
|
|
3430
3422
|
fonts: $n,
|
|
3431
3423
|
page_background: Vn,
|
|
3432
3424
|
widget: Ln
|
|
3433
|
-
}),
|
|
3425
|
+
}), ur = zn.extend({
|
|
3434
3426
|
themeId: r.string()
|
|
3435
3427
|
}), Bn = r.object({
|
|
3436
3428
|
id: r.string(),
|
|
3437
3429
|
expires_at: r.string(),
|
|
3438
3430
|
auth0Client: r.string().optional(),
|
|
3439
3431
|
authParams: we
|
|
3440
|
-
}),
|
|
3432
|
+
}), pr = r.object({
|
|
3441
3433
|
...Bn.shape,
|
|
3442
3434
|
created_at: r.string(),
|
|
3443
3435
|
updated_at: r.string()
|
|
@@ -3451,7 +3443,7 @@ const Dn = r.object({
|
|
|
3451
3443
|
expires_at: r.string(),
|
|
3452
3444
|
used_at: r.string().optional(),
|
|
3453
3445
|
user_id: r.string().optional()
|
|
3454
|
-
}),
|
|
3446
|
+
}), hr = r.object({
|
|
3455
3447
|
created_at: r.string(),
|
|
3456
3448
|
...Wn.shape
|
|
3457
3449
|
}), Gn = r.object({
|
|
@@ -3461,77 +3453,75 @@ const Dn = r.object({
|
|
|
3461
3453
|
created_at: r.string(),
|
|
3462
3454
|
expires_at: r.string(),
|
|
3463
3455
|
used_at: r.string().optional()
|
|
3464
|
-
}),
|
|
3456
|
+
}), fr = r.object({
|
|
3465
3457
|
...Gn.shape,
|
|
3466
3458
|
created_at: r.string()
|
|
3467
3459
|
});
|
|
3468
|
-
function
|
|
3460
|
+
function mr(t) {
|
|
3469
3461
|
const [e, n] = t.split("|");
|
|
3470
3462
|
if (!e || !n)
|
|
3471
3463
|
throw new Error(`Invalid user_id: ${t}`);
|
|
3472
3464
|
return { connection: e, id: n };
|
|
3473
3465
|
}
|
|
3474
3466
|
export {
|
|
3475
|
-
|
|
3467
|
+
An as Auth0Client,
|
|
3476
3468
|
rt as AuthorizationResponseMode,
|
|
3477
3469
|
nt as AuthorizationResponseType,
|
|
3478
|
-
Kn as ClientSchema,
|
|
3479
3470
|
st as CodeChallengeMethod,
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
xn as applicationSchema,
|
|
3471
|
+
at as GrantType,
|
|
3472
|
+
Zn as LogTypes,
|
|
3473
|
+
vn as applicationInsertSchema,
|
|
3474
|
+
bn as applicationSchema,
|
|
3485
3475
|
qn as auth0UserResponseSchema,
|
|
3486
3476
|
we as authParamsSchema,
|
|
3487
3477
|
Gn as authenticationCodeInsertSchema,
|
|
3488
|
-
|
|
3489
|
-
|
|
3478
|
+
fr as authenticationCodeSchema,
|
|
3479
|
+
cr as authorizationCodeGrantTypeParamsSchema,
|
|
3490
3480
|
tt as baseUserSchema,
|
|
3491
3481
|
Dn as bordersSchema,
|
|
3492
3482
|
Yn as brandingSchema,
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3483
|
+
ir as certificateSchema,
|
|
3484
|
+
lr as clientCredentialGrantTypeParamsSchema,
|
|
3485
|
+
Cn as codeInsertSchema,
|
|
3486
|
+
Jn as codeSchema,
|
|
3487
|
+
En as codeTypeSchema,
|
|
3498
3488
|
Un as colorsSchema,
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3489
|
+
kn as connectionInsertSchema,
|
|
3490
|
+
xn as connectionSchema,
|
|
3491
|
+
On as domainInsertSchema,
|
|
3492
|
+
Qn as domainSchema,
|
|
3503
3493
|
W as fontDetailsSchema,
|
|
3504
3494
|
$n as fontsSchema,
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3495
|
+
jn as hookInsertSchema,
|
|
3496
|
+
Xn as hookSchema,
|
|
3497
|
+
_n as identitySchema,
|
|
3498
|
+
er as jwksKeySchema,
|
|
3499
|
+
In as jwksSchema,
|
|
3500
|
+
rr as logSchema,
|
|
3501
|
+
Nn as loginInsertSchema,
|
|
3502
|
+
nr as loginSchema,
|
|
3503
|
+
tr as openIDConfigurationSchema,
|
|
3514
3504
|
Wn as otpInsertSchema,
|
|
3515
|
-
|
|
3505
|
+
hr as otpSchema,
|
|
3516
3506
|
Vn as pageBackgroundSchema,
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3507
|
+
mr as parseUserId,
|
|
3508
|
+
Pn as passwordInsertSchema,
|
|
3509
|
+
sr as passwordSchema,
|
|
3510
|
+
dr as pkceAuthorizationCodeGrantTypeParamsSchema,
|
|
3511
|
+
mn as profileDataSchema,
|
|
3512
|
+
Mn as sessionInsertSchema,
|
|
3513
|
+
ar as sessionSchema,
|
|
3514
|
+
or as signingKeySchema,
|
|
3515
|
+
wn as tenantInsertSchema,
|
|
3516
|
+
Sn as tenantSchema,
|
|
3527
3517
|
zn as themeInsertSchema,
|
|
3528
|
-
|
|
3518
|
+
ur as themeSchema,
|
|
3529
3519
|
Hn as totalsSchema,
|
|
3530
3520
|
Bn as universalLoginSessionInsertSchema,
|
|
3531
|
-
|
|
3532
|
-
|
|
3521
|
+
pr as universalLoginSessionSchema,
|
|
3522
|
+
gn as userInsertSchema,
|
|
3533
3523
|
Fn as userResponseSchema,
|
|
3534
|
-
|
|
3535
|
-
|
|
3524
|
+
yn as userSchema,
|
|
3525
|
+
Kn as vendorSettingsSchema,
|
|
3536
3526
|
Ln as widgetSchema
|
|
3537
3527
|
};
|