@authhero/adapter-interfaces 0.10.5 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,8 +22,8 @@ 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;
|
|
@@ -528,7 +528,7 @@ class v {
|
|
|
528
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();
|
|
@@ -537,7 +537,7 @@ class v {
|
|
|
537
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);
|
|
@@ -608,7 +608,7 @@ function Fe(t) {
|
|
|
608
608
|
function jt(t) {
|
|
609
609
|
return new RegExp(`^${Fe(t)}$`);
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function Ye(t) {
|
|
612
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}$`);
|
|
@@ -732,7 +732,7 @@ class E extends v {
|
|
|
732
732
|
code: d.invalid_string,
|
|
733
733
|
validation: { endsWith: i.value },
|
|
734
734
|
message: i.message
|
|
735
|
-
}), s.dirty()) : i.kind === "datetime" ?
|
|
735
|
+
}), s.dirty()) : i.kind === "datetime" ? Ye(i).test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
|
|
736
736
|
code: d.invalid_string,
|
|
737
737
|
validation: "datetime",
|
|
738
738
|
message: i.message
|
|
@@ -1425,7 +1425,7 @@ se.create = (t) => new se({
|
|
|
1425
1425
|
typeName: _.ZodNull,
|
|
1426
1426
|
...y(t)
|
|
1427
1427
|
});
|
|
1428
|
-
class
|
|
1428
|
+
class Y extends v {
|
|
1429
1429
|
constructor() {
|
|
1430
1430
|
super(...arguments), this._any = !0;
|
|
1431
1431
|
}
|
|
@@ -1433,11 +1433,11 @@ class K extends v {
|
|
|
1433
1433
|
return S(e.data);
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
|
-
|
|
1436
|
+
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
|
});
|
|
@@ -1567,7 +1567,7 @@ function G(t) {
|
|
|
1567
1567
|
} else return t instanceof C ? new C({
|
|
1568
1568
|
...t._def,
|
|
1569
1569
|
type: G(t.element)
|
|
1570
|
-
}) : t instanceof j ? j.create(G(t.unwrap())) : t instanceof
|
|
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() {
|
|
@@ -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 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
|
|
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);
|
|
@@ -2304,7 +2304,7 @@ class q 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) => {
|
|
@@ -2336,7 +2336,7 @@ class q extends v {
|
|
|
2336
2336
|
args(...e) {
|
|
2337
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) {
|
|
@@ -2353,8 +2353,8 @@ class q extends v {
|
|
|
2353
2353
|
}
|
|
2354
2354
|
static create(e, n, s) {
|
|
2355
2355
|
return new q({
|
|
2356
|
-
args: e || N.create([]).rest(
|
|
2357
|
-
returns: n ||
|
|
2356
|
+
args: e || N.create([]).rest($.create()),
|
|
2357
|
+
returns: n || $.create(),
|
|
2358
2358
|
typeName: _.ZodFunction,
|
|
2359
2359
|
...y(s)
|
|
2360
2360
|
});
|
|
@@ -2395,7 +2395,7 @@ de.create = (t, e) => new de({
|
|
|
2395
2395
|
typeName: _.ZodLiteral,
|
|
2396
2396
|
...y(e)
|
|
2397
2397
|
});
|
|
2398
|
-
function
|
|
2398
|
+
function Ke(t, e) {
|
|
2399
2399
|
return new D({
|
|
2400
2400
|
values: t,
|
|
2401
2401
|
typeName: _.ZodEnum,
|
|
@@ -2460,7 +2460,7 @@ class D extends v {
|
|
|
2460
2460
|
}
|
|
2461
2461
|
}
|
|
2462
2462
|
Q = /* @__PURE__ */ new WeakMap();
|
|
2463
|
-
D.create =
|
|
2463
|
+
D.create = Ke;
|
|
2464
2464
|
class le extends v {
|
|
2465
2465
|
constructor() {
|
|
2466
2466
|
super(...arguments), X.set(this, void 0);
|
|
@@ -2495,7 +2495,7 @@ le.create = (t, e) => new le({
|
|
|
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,7 +2514,7 @@ class Y 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)
|
|
@@ -2621,7 +2621,7 @@ j.create = (t, e) => new j({
|
|
|
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 $ 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)
|
|
@@ -2783,13 +2783,13 @@ he.create = (t, e) => new he({
|
|
|
2783
2783
|
...y(e)
|
|
2784
2784
|
});
|
|
2785
2785
|
function Je(t, e = {}, n) {
|
|
2786
|
-
return t ?
|
|
2786
|
+
return t ? Y.create().superRefine((s, a) => {
|
|
2787
2787
|
var i, o;
|
|
2788
2788
|
if (!t(s)) {
|
|
2789
2789
|
const c = typeof e == "function" ? e(s) : typeof e == "string" ? { message: e } : e, u = (o = (i = c.fatal) !== null && i !== void 0 ? i : n) !== null && o !== void 0 ? o : !0, l = typeof c == "string" ? { message: c } : c;
|
|
2790
2790
|
a.addIssue({ code: "custom", ...l, fatal: u });
|
|
2791
2791
|
}
|
|
2792
|
-
}) :
|
|
2792
|
+
}) : Y.create();
|
|
2793
2793
|
}
|
|
2794
2794
|
const Rt = {
|
|
2795
2795
|
object: k.lazycreate
|
|
@@ -2800,7 +2800,7 @@ var _;
|
|
|
2800
2800
|
})(_ || (_ = {}));
|
|
2801
2801
|
const At = (t, e = {
|
|
2802
2802
|
message: `Input not instance of ${t.name}`
|
|
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,
|
|
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
2804
|
string: (t) => E.create({ ...t, coerce: !0 }),
|
|
2805
2805
|
number: (t) => P.create({ ...t, coerce: !0 }),
|
|
2806
2806
|
boolean: (t) => ne.create({
|
|
@@ -2835,7 +2835,7 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2835
2835
|
ZodParsedType: h,
|
|
2836
2836
|
getParsedType: A,
|
|
2837
2837
|
ZodType: v,
|
|
2838
|
-
datetimeRegex:
|
|
2838
|
+
datetimeRegex: Ye,
|
|
2839
2839
|
ZodString: E,
|
|
2840
2840
|
ZodNumber: P,
|
|
2841
2841
|
ZodBigInt: M,
|
|
@@ -2844,8 +2844,8 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2844
2844
|
ZodSymbol: ye,
|
|
2845
2845
|
ZodUndefined: re,
|
|
2846
2846
|
ZodNull: se,
|
|
2847
|
-
ZodAny:
|
|
2848
|
-
ZodUnknown:
|
|
2847
|
+
ZodAny: Y,
|
|
2848
|
+
ZodUnknown: $,
|
|
2849
2849
|
ZodNever: R,
|
|
2850
2850
|
ZodVoid: ve,
|
|
2851
2851
|
ZodArray: C,
|
|
@@ -2862,11 +2862,11 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2862
2862
|
ZodLiteral: de,
|
|
2863
2863
|
ZodEnum: D,
|
|
2864
2864
|
ZodNativeEnum: le,
|
|
2865
|
-
ZodPromise:
|
|
2865
|
+
ZodPromise: K,
|
|
2866
2866
|
ZodEffects: O,
|
|
2867
2867
|
ZodTransformer: O,
|
|
2868
2868
|
ZodOptional: j,
|
|
2869
|
-
ZodNullable:
|
|
2869
|
+
ZodNullable: U,
|
|
2870
2870
|
ZodDefault: ue,
|
|
2871
2871
|
ZodCatch: pe,
|
|
2872
2872
|
ZodNaN: ke,
|
|
@@ -2887,12 +2887,12 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2887
2887
|
bigint: Mt,
|
|
2888
2888
|
boolean: et,
|
|
2889
2889
|
date: Dt,
|
|
2890
|
-
discriminatedUnion:
|
|
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
2898
|
map: Xt,
|
|
@@ -2914,10 +2914,10 @@ var r = /* @__PURE__ */ Object.freeze({
|
|
|
2914
2914
|
set: en,
|
|
2915
2915
|
strictObject: qt,
|
|
2916
2916
|
string: Qe,
|
|
2917
|
-
symbol:
|
|
2917
|
+
symbol: Ut,
|
|
2918
2918
|
transformer: We,
|
|
2919
2919
|
tuple: Jt,
|
|
2920
|
-
undefined:
|
|
2920
|
+
undefined: $t,
|
|
2921
2921
|
union: Ft,
|
|
2922
2922
|
unknown: zt,
|
|
2923
2923
|
void: Wt,
|
|
@@ -2989,17 +2989,36 @@ const Gn = 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
|
+
allowed_logout_urls: r.string().transform((t) => t === null ? "" : t).default("").openapi({
|
|
3002
|
+
description: "Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains."
|
|
3003
|
+
}),
|
|
3004
|
+
addons: r.record(r.string(), r.record(r.string(), r.union([r.string(), r.number()]))).optional().openapi({
|
|
3005
|
+
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."
|
|
3006
|
+
}),
|
|
3007
|
+
// @deprecated. Renamed to match the auth0 API
|
|
2992
3008
|
allowed_web_origins: r.string().transform((t) => t === null ? "" : t).default(""),
|
|
2993
3009
|
allowed_callback_urls: r.string().transform((t) => t === null ? "" : t).default(""),
|
|
2994
|
-
|
|
2995
|
-
|
|
3010
|
+
email_validation: r.enum(["enabled", "disabled", "enforced"]).default("enforced").openapi({
|
|
3011
|
+
description: "Defines if it possible to sign in with an unverified email and if verification emails will be sent. This is not available in auth0"
|
|
3012
|
+
}),
|
|
2996
3013
|
client_secret: r.string().default(""),
|
|
2997
|
-
disable_sign_ups: r.boolean().default(!1)
|
|
3014
|
+
disable_sign_ups: r.boolean().default(!1).openapi({
|
|
3015
|
+
description: "Prevents users from signing up using the hosted login page. This is not available in auth0"
|
|
3016
|
+
})
|
|
2998
3017
|
}), Fn = r.object({
|
|
2999
3018
|
created_at: r.string().transform((t) => t === null ? "" : t),
|
|
3000
3019
|
updated_at: r.string().transform((t) => t === null ? "" : t)
|
|
3001
3020
|
}).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 || {});
|
|
3021
|
+
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
3022
|
const we = r.object({
|
|
3004
3023
|
client_id: r.string(),
|
|
3005
3024
|
vendor_id: r.string().optional(),
|
|
@@ -3013,7 +3032,7 @@ const we = r.object({
|
|
|
3013
3032
|
code_challenge_method: r.nativeEnum(st).optional(),
|
|
3014
3033
|
code_challenge: r.string().optional(),
|
|
3015
3034
|
username: r.string().optional()
|
|
3016
|
-
}),
|
|
3035
|
+
}), Yn = r.object({
|
|
3017
3036
|
colors: r.object({
|
|
3018
3037
|
primary: r.string(),
|
|
3019
3038
|
page_background: r.object({
|
|
@@ -3079,7 +3098,7 @@ const we = r.object({
|
|
|
3079
3098
|
support_url: r.string().optional(),
|
|
3080
3099
|
language: r.string().length(2).optional()
|
|
3081
3100
|
})
|
|
3082
|
-
}),
|
|
3101
|
+
}), Kn = it.extend({
|
|
3083
3102
|
connections: r.array(at)
|
|
3084
3103
|
}), Jn = it.extend({
|
|
3085
3104
|
connections: r.array(at.partial())
|
|
@@ -3326,8 +3345,8 @@ const Nn = r.enum([
|
|
|
3326
3345
|
manageSubscriptionsUrl: r.string().optional()
|
|
3327
3346
|
});
|
|
3328
3347
|
var ot = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t))(ot || {});
|
|
3329
|
-
const
|
|
3330
|
-
grant_type:
|
|
3348
|
+
const Ue = r.nativeEnum(ot), ur = r.object({
|
|
3349
|
+
grant_type: Ue.refine(
|
|
3331
3350
|
(t) => t === "authorization_code"
|
|
3332
3351
|
/* AuthorizationCode */
|
|
3333
3352
|
),
|
|
@@ -3335,7 +3354,7 @@ const $e = r.nativeEnum(ot), ur = r.object({
|
|
|
3335
3354
|
client_secret: r.string(),
|
|
3336
3355
|
client_id: r.string()
|
|
3337
3356
|
}), pr = r.object({
|
|
3338
|
-
grant_type:
|
|
3357
|
+
grant_type: Ue.refine(
|
|
3339
3358
|
(t) => t === "authorization_code"
|
|
3340
3359
|
/* AuthorizationCode */
|
|
3341
3360
|
),
|
|
@@ -3344,7 +3363,7 @@ const $e = r.nativeEnum(ot), ur = r.object({
|
|
|
3344
3363
|
client_id: r.string().optional(),
|
|
3345
3364
|
redirect_uri: r.string()
|
|
3346
3365
|
}), hr = r.object({
|
|
3347
|
-
grant_type:
|
|
3366
|
+
grant_type: Ue.refine(
|
|
3348
3367
|
(t) => t === "client_credentials"
|
|
3349
3368
|
/* ClientCredential */
|
|
3350
3369
|
),
|
|
@@ -3399,7 +3418,7 @@ const Mn = r.object({
|
|
|
3399
3418
|
}), W = r.object({
|
|
3400
3419
|
bold: r.boolean(),
|
|
3401
3420
|
size: r.number()
|
|
3402
|
-
}),
|
|
3421
|
+
}), Un = r.object({
|
|
3403
3422
|
body_text: W,
|
|
3404
3423
|
buttons_text: W,
|
|
3405
3424
|
font_url: r.string(),
|
|
@@ -3409,7 +3428,7 @@ const Mn = r.object({
|
|
|
3409
3428
|
reference_text_size: r.number(),
|
|
3410
3429
|
subtitle: W,
|
|
3411
3430
|
title: W
|
|
3412
|
-
}),
|
|
3431
|
+
}), $n = r.object({
|
|
3413
3432
|
background_color: r.string(),
|
|
3414
3433
|
background_image_url: r.string(),
|
|
3415
3434
|
page_layout: r.enum(["center"])
|
|
@@ -3423,8 +3442,8 @@ const Mn = r.object({
|
|
|
3423
3442
|
borders: Mn,
|
|
3424
3443
|
colors: Dn,
|
|
3425
3444
|
displayName: r.string(),
|
|
3426
|
-
fonts:
|
|
3427
|
-
page_background:
|
|
3445
|
+
fonts: Un,
|
|
3446
|
+
page_background: $n,
|
|
3428
3447
|
widget: Vn
|
|
3429
3448
|
}), fr = Ln.extend({
|
|
3430
3449
|
themeId: r.string()
|
|
@@ -3471,7 +3490,7 @@ export {
|
|
|
3471
3490
|
Zn as Auth0Client,
|
|
3472
3491
|
rt as AuthorizationResponseMode,
|
|
3473
3492
|
nt as AuthorizationResponseType,
|
|
3474
|
-
|
|
3493
|
+
Kn as ClientSchema,
|
|
3475
3494
|
st as CodeChallengeMethod,
|
|
3476
3495
|
ot as GrantType,
|
|
3477
3496
|
In as LogTypes,
|
|
@@ -3485,7 +3504,7 @@ export {
|
|
|
3485
3504
|
ur as authorizationCodeGrantTypeParamsSchema,
|
|
3486
3505
|
tt as baseUserSchema,
|
|
3487
3506
|
Mn as bordersSchema,
|
|
3488
|
-
|
|
3507
|
+
Yn as brandingSchema,
|
|
3489
3508
|
or as certificateSchema,
|
|
3490
3509
|
hr as clientCredentialGrantTypeParamsSchema,
|
|
3491
3510
|
Tn as codeInsertSchema,
|
|
@@ -3497,7 +3516,7 @@ export {
|
|
|
3497
3516
|
En as domainInsertSchema,
|
|
3498
3517
|
Xn as domainSchema,
|
|
3499
3518
|
W as fontDetailsSchema,
|
|
3500
|
-
|
|
3519
|
+
Un as fontsSchema,
|
|
3501
3520
|
Cn as hookInsertSchema,
|
|
3502
3521
|
er as hookSchema,
|
|
3503
3522
|
yn as identitySchema,
|
|
@@ -3509,7 +3528,7 @@ export {
|
|
|
3509
3528
|
nr as openIDConfigurationSchema,
|
|
3510
3529
|
Bn as otpInsertSchema,
|
|
3511
3530
|
_r as otpSchema,
|
|
3512
|
-
|
|
3531
|
+
$n as pageBackgroundSchema,
|
|
3513
3532
|
yr as parseUserId,
|
|
3514
3533
|
Rn as passwordInsertSchema,
|
|
3515
3534
|
ar as passwordSchema,
|