@authhero/adapter-interfaces 0.17.0 → 0.18.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.
@@ -104,7 +104,7 @@ var Ne;
104
104
  // second overwrites first
105
105
  });
106
106
  })(Ne || (Ne = {}));
107
- const h = b.arrayToEnum([
107
+ const f = b.arrayToEnum([
108
108
  "string",
109
109
  "nan",
110
110
  "number",
@@ -128,23 +128,23 @@ const h = b.arrayToEnum([
128
128
  ]), A = (t) => {
129
129
  switch (typeof t) {
130
130
  case "undefined":
131
- return h.undefined;
131
+ return f.undefined;
132
132
  case "string":
133
- return h.string;
133
+ return f.string;
134
134
  case "number":
135
- return isNaN(t) ? h.nan : h.number;
135
+ return isNaN(t) ? f.nan : f.number;
136
136
  case "boolean":
137
- return h.boolean;
137
+ return f.boolean;
138
138
  case "function":
139
- return h.function;
139
+ return f.function;
140
140
  case "bigint":
141
- return h.bigint;
141
+ return f.bigint;
142
142
  case "symbol":
143
- return h.symbol;
143
+ return f.symbol;
144
144
  case "object":
145
- return Array.isArray(t) ? h.array : t === null ? h.null : t.then && typeof t.then == "function" && t.catch && typeof t.catch == "function" ? h.promise : typeof Map < "u" && t instanceof Map ? h.map : typeof Set < "u" && t instanceof Set ? h.set : typeof Date < "u" && t instanceof Date ? h.date : h.object;
145
+ return Array.isArray(t) ? f.array : t === null ? f.null : t.then && typeof t.then == "function" && t.catch && typeof t.catch == "function" ? f.promise : typeof Map < "u" && t instanceof Map ? f.map : typeof Set < "u" && t instanceof Set ? f.set : typeof Date < "u" && t instanceof Date ? f.date : f.object;
146
146
  default:
147
- return h.unknown;
147
+ return f.unknown;
148
148
  }
149
149
  }, c = b.arrayToEnum([
150
150
  "invalid_type",
@@ -228,7 +228,7 @@ const F = (t, e) => {
228
228
  let n;
229
229
  switch (t.code) {
230
230
  case c.invalid_type:
231
- t.received === h.undefined ? n = "Required" : n = `Expected ${t.expected}, received ${t.received}`;
231
+ t.received === f.undefined ? n = "Required" : n = `Expected ${t.expected}, received ${t.received}`;
232
232
  break;
233
233
  case c.invalid_literal:
234
234
  n = `Invalid literal value, expected ${JSON.stringify(t.expected, b.jsonStringifyReplacer)}`;
@@ -307,7 +307,7 @@ const _e = (t) => {
307
307
  path: i,
308
308
  message: d
309
309
  };
310
- }, ht = [];
310
+ }, ft = [];
311
311
  function p(t, e) {
312
312
  const n = me(), s = _e({
313
313
  issueData: e,
@@ -375,10 +375,10 @@ 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
  }
378
- var f;
378
+ var h;
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
- })(f || (f = {}));
381
+ })(h || (h = {}));
382
382
  var Q, X;
383
383
  class I {
384
384
  constructor(e, n, s, a) {
@@ -586,10 +586,10 @@ class v {
586
586
  });
587
587
  }
588
588
  pipe(e) {
589
- return fe.create(this, e);
589
+ return he.create(this, e);
590
590
  }
591
591
  readonly() {
592
- return he.create(this);
592
+ return fe.create(this);
593
593
  }
594
594
  isOptional() {
595
595
  return this.safeParse(void 0).success;
@@ -598,7 +598,7 @@ class v {
598
598
  return this.safeParse(null).success;
599
599
  }
600
600
  }
601
- const ft = /^c[^\s-]{8,}$/i, mt = /^[0-9a-z]+$/, _t = /^[0-9A-HJKMNP-TV-Z]{26}$/, gt = /^[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, yt = /^[a-z0-9_-]{21}$/i, vt = /^[-+]?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)?)??$/, bt = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, kt = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
601
+ const ht = /^c[^\s-]{8,}$/i, mt = /^[0-9a-z]+$/, _t = /^[0-9A-HJKMNP-TV-Z]{26}$/, gt = /^[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, yt = /^[a-z0-9_-]{21}$/i, vt = /^[-+]?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)?)??$/, bt = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, kt = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
602
602
  let Ie;
603
603
  const xt = /^(?:(?: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])$/, wt = /^(([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})))$/, St = /^([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])))", Tt = new RegExp(`^${qe}$`);
604
604
  function Ge(t) {
@@ -618,11 +618,11 @@ function Ct(t, e) {
618
618
  }
619
619
  class E extends v {
620
620
  _parse(e) {
621
- if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== h.string) {
621
+ if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== f.string) {
622
622
  const i = this._getOrReturnCtx(e);
623
623
  return p(i, {
624
624
  code: c.invalid_type,
625
- expected: h.string,
625
+ expected: f.string,
626
626
  received: i.parsedType
627
627
  }), g;
628
628
  }
@@ -689,7 +689,7 @@ class E extends v {
689
689
  message: i.message
690
690
  }), s.dirty());
691
691
  else if (i.kind === "cuid")
692
- ft.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
692
+ ht.test(e.data) || (a = this._getOrReturnCtx(e, a), p(a, {
693
693
  validation: "cuid",
694
694
  code: c.invalid_string,
695
695
  message: i.message
@@ -763,7 +763,7 @@ class E extends v {
763
763
  return this.refinement((a) => e.test(a), {
764
764
  validation: n,
765
765
  code: c.invalid_string,
766
- ...f.errToObj(s)
766
+ ...h.errToObj(s)
767
767
  });
768
768
  }
769
769
  _addCheck(e) {
@@ -773,34 +773,34 @@ class E extends v {
773
773
  });
774
774
  }
775
775
  email(e) {
776
- return this._addCheck({ kind: "email", ...f.errToObj(e) });
776
+ return this._addCheck({ kind: "email", ...h.errToObj(e) });
777
777
  }
778
778
  url(e) {
779
- return this._addCheck({ kind: "url", ...f.errToObj(e) });
779
+ return this._addCheck({ kind: "url", ...h.errToObj(e) });
780
780
  }
781
781
  emoji(e) {
782
- return this._addCheck({ kind: "emoji", ...f.errToObj(e) });
782
+ return this._addCheck({ kind: "emoji", ...h.errToObj(e) });
783
783
  }
784
784
  uuid(e) {
785
- return this._addCheck({ kind: "uuid", ...f.errToObj(e) });
785
+ return this._addCheck({ kind: "uuid", ...h.errToObj(e) });
786
786
  }
787
787
  nanoid(e) {
788
- return this._addCheck({ kind: "nanoid", ...f.errToObj(e) });
788
+ return this._addCheck({ kind: "nanoid", ...h.errToObj(e) });
789
789
  }
790
790
  cuid(e) {
791
- return this._addCheck({ kind: "cuid", ...f.errToObj(e) });
791
+ return this._addCheck({ kind: "cuid", ...h.errToObj(e) });
792
792
  }
793
793
  cuid2(e) {
794
- return this._addCheck({ kind: "cuid2", ...f.errToObj(e) });
794
+ return this._addCheck({ kind: "cuid2", ...h.errToObj(e) });
795
795
  }
796
796
  ulid(e) {
797
- return this._addCheck({ kind: "ulid", ...f.errToObj(e) });
797
+ return this._addCheck({ kind: "ulid", ...h.errToObj(e) });
798
798
  }
799
799
  base64(e) {
800
- return this._addCheck({ kind: "base64", ...f.errToObj(e) });
800
+ return this._addCheck({ kind: "base64", ...h.errToObj(e) });
801
801
  }
802
802
  ip(e) {
803
- return this._addCheck({ kind: "ip", ...f.errToObj(e) });
803
+ return this._addCheck({ kind: "ip", ...h.errToObj(e) });
804
804
  }
805
805
  datetime(e) {
806
806
  var n, s;
@@ -815,7 +815,7 @@ class E extends v {
815
815
  precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
816
816
  offset: (n = e == null ? void 0 : e.offset) !== null && n !== void 0 ? n : !1,
817
817
  local: (s = e == null ? void 0 : e.local) !== null && s !== void 0 ? s : !1,
818
- ...f.errToObj(e == null ? void 0 : e.message)
818
+ ...h.errToObj(e == null ? void 0 : e.message)
819
819
  });
820
820
  }
821
821
  date(e) {
@@ -829,17 +829,17 @@ class E extends v {
829
829
  }) : this._addCheck({
830
830
  kind: "time",
831
831
  precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
832
- ...f.errToObj(e == null ? void 0 : e.message)
832
+ ...h.errToObj(e == null ? void 0 : e.message)
833
833
  });
834
834
  }
835
835
  duration(e) {
836
- return this._addCheck({ kind: "duration", ...f.errToObj(e) });
836
+ return this._addCheck({ kind: "duration", ...h.errToObj(e) });
837
837
  }
838
838
  regex(e, n) {
839
839
  return this._addCheck({
840
840
  kind: "regex",
841
841
  regex: e,
842
- ...f.errToObj(n)
842
+ ...h.errToObj(n)
843
843
  });
844
844
  }
845
845
  includes(e, n) {
@@ -847,42 +847,42 @@ class E extends v {
847
847
  kind: "includes",
848
848
  value: e,
849
849
  position: n == null ? void 0 : n.position,
850
- ...f.errToObj(n == null ? void 0 : n.message)
850
+ ...h.errToObj(n == null ? void 0 : n.message)
851
851
  });
852
852
  }
853
853
  startsWith(e, n) {
854
854
  return this._addCheck({
855
855
  kind: "startsWith",
856
856
  value: e,
857
- ...f.errToObj(n)
857
+ ...h.errToObj(n)
858
858
  });
859
859
  }
860
860
  endsWith(e, n) {
861
861
  return this._addCheck({
862
862
  kind: "endsWith",
863
863
  value: e,
864
- ...f.errToObj(n)
864
+ ...h.errToObj(n)
865
865
  });
866
866
  }
867
867
  min(e, n) {
868
868
  return this._addCheck({
869
869
  kind: "min",
870
870
  value: e,
871
- ...f.errToObj(n)
871
+ ...h.errToObj(n)
872
872
  });
873
873
  }
874
874
  max(e, n) {
875
875
  return this._addCheck({
876
876
  kind: "max",
877
877
  value: e,
878
- ...f.errToObj(n)
878
+ ...h.errToObj(n)
879
879
  });
880
880
  }
881
881
  length(e, n) {
882
882
  return this._addCheck({
883
883
  kind: "length",
884
884
  value: e,
885
- ...f.errToObj(n)
885
+ ...h.errToObj(n)
886
886
  });
887
887
  }
888
888
  /**
@@ -890,7 +890,7 @@ class E extends v {
890
890
  * @see {@link ZodString.min}
891
891
  */
892
892
  nonempty(e) {
893
- return this.min(1, f.errToObj(e));
893
+ return this.min(1, h.errToObj(e));
894
894
  }
895
895
  trim() {
896
896
  return new E({
@@ -983,11 +983,11 @@ class P extends v {
983
983
  super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
984
984
  }
985
985
  _parse(e) {
986
- if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== h.number) {
986
+ if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== f.number) {
987
987
  const i = this._getOrReturnCtx(e);
988
988
  return p(i, {
989
989
  code: c.invalid_type,
990
- expected: h.number,
990
+ expected: f.number,
991
991
  received: i.parsedType
992
992
  }), g;
993
993
  }
@@ -1024,16 +1024,16 @@ class P extends v {
1024
1024
  return { status: a.value, value: e.data };
1025
1025
  }
1026
1026
  gte(e, n) {
1027
- return this.setLimit("min", e, !0, f.toString(n));
1027
+ return this.setLimit("min", e, !0, h.toString(n));
1028
1028
  }
1029
1029
  gt(e, n) {
1030
- return this.setLimit("min", e, !1, f.toString(n));
1030
+ return this.setLimit("min", e, !1, h.toString(n));
1031
1031
  }
1032
1032
  lte(e, n) {
1033
- return this.setLimit("max", e, !0, f.toString(n));
1033
+ return this.setLimit("max", e, !0, h.toString(n));
1034
1034
  }
1035
1035
  lt(e, n) {
1036
- return this.setLimit("max", e, !1, f.toString(n));
1036
+ return this.setLimit("max", e, !1, h.toString(n));
1037
1037
  }
1038
1038
  setLimit(e, n, s, a) {
1039
1039
  return new P({
@@ -1044,7 +1044,7 @@ class P extends v {
1044
1044
  kind: e,
1045
1045
  value: n,
1046
1046
  inclusive: s,
1047
- message: f.toString(a)
1047
+ message: h.toString(a)
1048
1048
  }
1049
1049
  ]
1050
1050
  });
@@ -1058,7 +1058,7 @@ class P extends v {
1058
1058
  int(e) {
1059
1059
  return this._addCheck({
1060
1060
  kind: "int",
1061
- message: f.toString(e)
1061
+ message: h.toString(e)
1062
1062
  });
1063
1063
  }
1064
1064
  positive(e) {
@@ -1066,7 +1066,7 @@ class P extends v {
1066
1066
  kind: "min",
1067
1067
  value: 0,
1068
1068
  inclusive: !1,
1069
- message: f.toString(e)
1069
+ message: h.toString(e)
1070
1070
  });
1071
1071
  }
1072
1072
  negative(e) {
@@ -1074,7 +1074,7 @@ class P extends v {
1074
1074
  kind: "max",
1075
1075
  value: 0,
1076
1076
  inclusive: !1,
1077
- message: f.toString(e)
1077
+ message: h.toString(e)
1078
1078
  });
1079
1079
  }
1080
1080
  nonpositive(e) {
@@ -1082,7 +1082,7 @@ class P extends v {
1082
1082
  kind: "max",
1083
1083
  value: 0,
1084
1084
  inclusive: !0,
1085
- message: f.toString(e)
1085
+ message: h.toString(e)
1086
1086
  });
1087
1087
  }
1088
1088
  nonnegative(e) {
@@ -1090,20 +1090,20 @@ class P extends v {
1090
1090
  kind: "min",
1091
1091
  value: 0,
1092
1092
  inclusive: !0,
1093
- message: f.toString(e)
1093
+ message: h.toString(e)
1094
1094
  });
1095
1095
  }
1096
1096
  multipleOf(e, n) {
1097
1097
  return this._addCheck({
1098
1098
  kind: "multipleOf",
1099
1099
  value: e,
1100
- message: f.toString(n)
1100
+ message: h.toString(n)
1101
1101
  });
1102
1102
  }
1103
1103
  finite(e) {
1104
1104
  return this._addCheck({
1105
1105
  kind: "finite",
1106
- message: f.toString(e)
1106
+ message: h.toString(e)
1107
1107
  });
1108
1108
  }
1109
1109
  safe(e) {
@@ -1111,12 +1111,12 @@ class P extends v {
1111
1111
  kind: "min",
1112
1112
  inclusive: !0,
1113
1113
  value: Number.MIN_SAFE_INTEGER,
1114
- message: f.toString(e)
1114
+ message: h.toString(e)
1115
1115
  })._addCheck({
1116
1116
  kind: "max",
1117
1117
  inclusive: !0,
1118
1118
  value: Number.MAX_SAFE_INTEGER,
1119
- message: f.toString(e)
1119
+ message: h.toString(e)
1120
1120
  });
1121
1121
  }
1122
1122
  get minValue() {
@@ -1155,11 +1155,11 @@ class M extends v {
1155
1155
  super(...arguments), this.min = this.gte, this.max = this.lte;
1156
1156
  }
1157
1157
  _parse(e) {
1158
- if (this._def.coerce && (e.data = BigInt(e.data)), this._getType(e) !== h.bigint) {
1158
+ if (this._def.coerce && (e.data = BigInt(e.data)), this._getType(e) !== f.bigint) {
1159
1159
  const i = this._getOrReturnCtx(e);
1160
1160
  return p(i, {
1161
1161
  code: c.invalid_type,
1162
- expected: h.bigint,
1162
+ expected: f.bigint,
1163
1163
  received: i.parsedType
1164
1164
  }), g;
1165
1165
  }
@@ -1186,16 +1186,16 @@ class M extends v {
1186
1186
  return { status: a.value, value: e.data };
1187
1187
  }
1188
1188
  gte(e, n) {
1189
- return this.setLimit("min", e, !0, f.toString(n));
1189
+ return this.setLimit("min", e, !0, h.toString(n));
1190
1190
  }
1191
1191
  gt(e, n) {
1192
- return this.setLimit("min", e, !1, f.toString(n));
1192
+ return this.setLimit("min", e, !1, h.toString(n));
1193
1193
  }
1194
1194
  lte(e, n) {
1195
- return this.setLimit("max", e, !0, f.toString(n));
1195
+ return this.setLimit("max", e, !0, h.toString(n));
1196
1196
  }
1197
1197
  lt(e, n) {
1198
- return this.setLimit("max", e, !1, f.toString(n));
1198
+ return this.setLimit("max", e, !1, h.toString(n));
1199
1199
  }
1200
1200
  setLimit(e, n, s, a) {
1201
1201
  return new M({
@@ -1206,7 +1206,7 @@ class M extends v {
1206
1206
  kind: e,
1207
1207
  value: n,
1208
1208
  inclusive: s,
1209
- message: f.toString(a)
1209
+ message: h.toString(a)
1210
1210
  }
1211
1211
  ]
1212
1212
  });
@@ -1222,7 +1222,7 @@ class M extends v {
1222
1222
  kind: "min",
1223
1223
  value: BigInt(0),
1224
1224
  inclusive: !1,
1225
- message: f.toString(e)
1225
+ message: h.toString(e)
1226
1226
  });
1227
1227
  }
1228
1228
  negative(e) {
@@ -1230,7 +1230,7 @@ class M extends v {
1230
1230
  kind: "max",
1231
1231
  value: BigInt(0),
1232
1232
  inclusive: !1,
1233
- message: f.toString(e)
1233
+ message: h.toString(e)
1234
1234
  });
1235
1235
  }
1236
1236
  nonpositive(e) {
@@ -1238,7 +1238,7 @@ class M extends v {
1238
1238
  kind: "max",
1239
1239
  value: BigInt(0),
1240
1240
  inclusive: !0,
1241
- message: f.toString(e)
1241
+ message: h.toString(e)
1242
1242
  });
1243
1243
  }
1244
1244
  nonnegative(e) {
@@ -1246,14 +1246,14 @@ class M extends v {
1246
1246
  kind: "min",
1247
1247
  value: BigInt(0),
1248
1248
  inclusive: !0,
1249
- message: f.toString(e)
1249
+ message: h.toString(e)
1250
1250
  });
1251
1251
  }
1252
1252
  multipleOf(e, n) {
1253
1253
  return this._addCheck({
1254
1254
  kind: "multipleOf",
1255
1255
  value: e,
1256
- message: f.toString(n)
1256
+ message: h.toString(n)
1257
1257
  });
1258
1258
  }
1259
1259
  get minValue() {
@@ -1280,11 +1280,11 @@ M.create = (t) => {
1280
1280
  };
1281
1281
  class ne extends v {
1282
1282
  _parse(e) {
1283
- if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== h.boolean) {
1283
+ if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== f.boolean) {
1284
1284
  const s = this._getOrReturnCtx(e);
1285
1285
  return p(s, {
1286
1286
  code: c.invalid_type,
1287
- expected: h.boolean,
1287
+ expected: f.boolean,
1288
1288
  received: s.parsedType
1289
1289
  }), g;
1290
1290
  }
@@ -1298,11 +1298,11 @@ ne.create = (t) => new ne({
1298
1298
  });
1299
1299
  class V extends v {
1300
1300
  _parse(e) {
1301
- if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== h.date) {
1301
+ if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== f.date) {
1302
1302
  const i = this._getOrReturnCtx(e);
1303
1303
  return p(i, {
1304
1304
  code: c.invalid_type,
1305
- expected: h.date,
1305
+ expected: f.date,
1306
1306
  received: i.parsedType
1307
1307
  }), g;
1308
1308
  }
@@ -1345,14 +1345,14 @@ class V extends v {
1345
1345
  return this._addCheck({
1346
1346
  kind: "min",
1347
1347
  value: e.getTime(),
1348
- message: f.toString(n)
1348
+ message: h.toString(n)
1349
1349
  });
1350
1350
  }
1351
1351
  max(e, n) {
1352
1352
  return this._addCheck({
1353
1353
  kind: "max",
1354
1354
  value: e.getTime(),
1355
- message: f.toString(n)
1355
+ message: h.toString(n)
1356
1356
  });
1357
1357
  }
1358
1358
  get minDate() {
@@ -1376,11 +1376,11 @@ V.create = (t) => new V({
1376
1376
  });
1377
1377
  class ye extends v {
1378
1378
  _parse(e) {
1379
- if (this._getType(e) !== h.symbol) {
1379
+ if (this._getType(e) !== f.symbol) {
1380
1380
  const s = this._getOrReturnCtx(e);
1381
1381
  return p(s, {
1382
1382
  code: c.invalid_type,
1383
- expected: h.symbol,
1383
+ expected: f.symbol,
1384
1384
  received: s.parsedType
1385
1385
  }), g;
1386
1386
  }
@@ -1393,11 +1393,11 @@ ye.create = (t) => new ye({
1393
1393
  });
1394
1394
  class re extends v {
1395
1395
  _parse(e) {
1396
- if (this._getType(e) !== h.undefined) {
1396
+ if (this._getType(e) !== f.undefined) {
1397
1397
  const s = this._getOrReturnCtx(e);
1398
1398
  return p(s, {
1399
1399
  code: c.invalid_type,
1400
- expected: h.undefined,
1400
+ expected: f.undefined,
1401
1401
  received: s.parsedType
1402
1402
  }), g;
1403
1403
  }
@@ -1410,11 +1410,11 @@ re.create = (t) => new re({
1410
1410
  });
1411
1411
  class se extends v {
1412
1412
  _parse(e) {
1413
- if (this._getType(e) !== h.null) {
1413
+ if (this._getType(e) !== f.null) {
1414
1414
  const s = this._getOrReturnCtx(e);
1415
1415
  return p(s, {
1416
1416
  code: c.invalid_type,
1417
- expected: h.null,
1417
+ expected: f.null,
1418
1418
  received: s.parsedType
1419
1419
  }), g;
1420
1420
  }
@@ -1454,7 +1454,7 @@ class R extends v {
1454
1454
  const n = this._getOrReturnCtx(e);
1455
1455
  return p(n, {
1456
1456
  code: c.invalid_type,
1457
- expected: h.never,
1457
+ expected: f.never,
1458
1458
  received: n.parsedType
1459
1459
  }), g;
1460
1460
  }
@@ -1465,11 +1465,11 @@ R.create = (t) => new R({
1465
1465
  });
1466
1466
  class ve extends v {
1467
1467
  _parse(e) {
1468
- if (this._getType(e) !== h.undefined) {
1468
+ if (this._getType(e) !== f.undefined) {
1469
1469
  const s = this._getOrReturnCtx(e);
1470
1470
  return p(s, {
1471
1471
  code: c.invalid_type,
1472
- expected: h.void,
1472
+ expected: f.void,
1473
1473
  received: s.parsedType
1474
1474
  }), g;
1475
1475
  }
@@ -1483,10 +1483,10 @@ ve.create = (t) => new ve({
1483
1483
  class C extends v {
1484
1484
  _parse(e) {
1485
1485
  const { ctx: n, status: s } = this._processInputParams(e), a = this._def;
1486
- if (n.parsedType !== h.array)
1486
+ if (n.parsedType !== f.array)
1487
1487
  return p(n, {
1488
1488
  code: c.invalid_type,
1489
- expected: h.array,
1489
+ expected: f.array,
1490
1490
  received: n.parsedType
1491
1491
  }), g;
1492
1492
  if (a.exactLength !== null) {
@@ -1526,19 +1526,19 @@ class C extends v {
1526
1526
  min(e, n) {
1527
1527
  return new C({
1528
1528
  ...this._def,
1529
- minLength: { value: e, message: f.toString(n) }
1529
+ minLength: { value: e, message: h.toString(n) }
1530
1530
  });
1531
1531
  }
1532
1532
  max(e, n) {
1533
1533
  return new C({
1534
1534
  ...this._def,
1535
- maxLength: { value: e, message: f.toString(n) }
1535
+ maxLength: { value: e, message: h.toString(n) }
1536
1536
  });
1537
1537
  }
1538
1538
  length(e, n) {
1539
1539
  return new C({
1540
1540
  ...this._def,
1541
- exactLength: { value: e, message: f.toString(n) }
1541
+ exactLength: { value: e, message: h.toString(n) }
1542
1542
  });
1543
1543
  }
1544
1544
  nonempty(e) {
@@ -1580,11 +1580,11 @@ class k extends v {
1580
1580
  return this._cached = { shape: e, keys: n };
1581
1581
  }
1582
1582
  _parse(e) {
1583
- if (this._getType(e) !== h.object) {
1583
+ if (this._getType(e) !== f.object) {
1584
1584
  const l = this._getOrReturnCtx(e);
1585
1585
  return p(l, {
1586
1586
  code: c.invalid_type,
1587
- expected: h.object,
1587
+ expected: f.object,
1588
1588
  received: l.parsedType
1589
1589
  }), g;
1590
1590
  }
@@ -1646,7 +1646,7 @@ class k extends v {
1646
1646
  return this._def.shape();
1647
1647
  }
1648
1648
  strict(e) {
1649
- return f.errToObj, new k({
1649
+ return h.errToObj, new k({
1650
1650
  ...this._def,
1651
1651
  unknownKeys: "strict",
1652
1652
  ...e !== void 0 ? {
@@ -1654,7 +1654,7 @@ class k extends v {
1654
1654
  var a, i, o, d;
1655
1655
  const u = (o = (i = (a = this._def).errorMap) === null || i === void 0 ? void 0 : i.call(a, n, s).message) !== null && o !== void 0 ? o : s.defaultError;
1656
1656
  return n.code === "unrecognized_keys" ? {
1657
- message: (d = f.errToObj(e).message) !== null && d !== void 0 ? d : u
1657
+ message: (d = h.errToObj(e).message) !== null && d !== void 0 ? d : u
1658
1658
  } : {
1659
1659
  message: u
1660
1660
  };
@@ -1929,14 +1929,14 @@ ae.create = (t, e) => new ae({
1929
1929
  typeName: _.ZodUnion,
1930
1930
  ...y(e)
1931
1931
  });
1932
- const Z = (t) => t instanceof de ? Z(t.schema) : t instanceof O ? Z(t.innerType()) : t instanceof ce ? [t.value] : t instanceof U ? 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 D ? [null, ...Z(t.unwrap())] : t instanceof Pe || t instanceof he ? Z(t.unwrap()) : t instanceof pe ? Z(t._def.innerType) : [];
1932
+ const Z = (t) => t instanceof de ? Z(t.schema) : t instanceof O ? Z(t.innerType()) : t instanceof ce ? [t.value] : t instanceof U ? 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 D ? [null, ...Z(t.unwrap())] : t instanceof Pe || t instanceof fe ? 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);
1936
- if (n.parsedType !== h.object)
1936
+ if (n.parsedType !== f.object)
1937
1937
  return p(n, {
1938
1938
  code: c.invalid_type,
1939
- expected: h.object,
1939
+ expected: f.object,
1940
1940
  received: n.parsedType
1941
1941
  }), g;
1942
1942
  const s = this.discriminator, a = n.data[s], i = this.optionsMap.get(a);
@@ -1996,7 +1996,7 @@ function Ae(t, e) {
1996
1996
  const n = A(t), s = A(e);
1997
1997
  if (t === e)
1998
1998
  return { valid: !0, data: t };
1999
- if (n === h.object && s === h.object) {
1999
+ if (n === f.object && s === f.object) {
2000
2000
  const a = b.objectKeys(e), i = b.objectKeys(t).filter((d) => a.indexOf(d) !== -1), o = { ...t, ...e };
2001
2001
  for (const d of i) {
2002
2002
  const u = Ae(t[d], e[d]);
@@ -2005,7 +2005,7 @@ function Ae(t, e) {
2005
2005
  o[d] = u.data;
2006
2006
  }
2007
2007
  return { valid: !0, data: o };
2008
- } else if (n === h.array && s === h.array) {
2008
+ } else if (n === f.array && s === f.array) {
2009
2009
  if (t.length !== e.length)
2010
2010
  return { valid: !1 };
2011
2011
  const a = [];
@@ -2016,7 +2016,7 @@ function Ae(t, e) {
2016
2016
  a.push(u.data);
2017
2017
  }
2018
2018
  return { valid: !0, data: a };
2019
- } else return n === h.date && s === h.date && +t == +e ? { valid: !0, data: t } : { valid: !1 };
2019
+ } else return n === f.date && s === f.date && +t == +e ? { valid: !0, data: t } : { valid: !1 };
2020
2020
  }
2021
2021
  class ie extends v {
2022
2022
  _parse(e) {
@@ -2059,10 +2059,10 @@ ie.create = (t, e, n) => new ie({
2059
2059
  class N extends v {
2060
2060
  _parse(e) {
2061
2061
  const { status: n, ctx: s } = this._processInputParams(e);
2062
- if (s.parsedType !== h.array)
2062
+ if (s.parsedType !== f.array)
2063
2063
  return p(s, {
2064
2064
  code: c.invalid_type,
2065
- expected: h.array,
2065
+ expected: f.array,
2066
2066
  received: s.parsedType
2067
2067
  }), g;
2068
2068
  if (s.data.length < this._def.items.length)
@@ -2115,10 +2115,10 @@ class oe extends v {
2115
2115
  }
2116
2116
  _parse(e) {
2117
2117
  const { status: n, ctx: s } = this._processInputParams(e);
2118
- if (s.parsedType !== h.object)
2118
+ if (s.parsedType !== f.object)
2119
2119
  return p(s, {
2120
2120
  code: c.invalid_type,
2121
- expected: h.object,
2121
+ expected: f.object,
2122
2122
  received: s.parsedType
2123
2123
  }), g;
2124
2124
  const a = [], i = this._def.keyType, o = this._def.valueType;
@@ -2156,10 +2156,10 @@ class be extends v {
2156
2156
  }
2157
2157
  _parse(e) {
2158
2158
  const { status: n, ctx: s } = this._processInputParams(e);
2159
- if (s.parsedType !== h.map)
2159
+ if (s.parsedType !== f.map)
2160
2160
  return p(s, {
2161
2161
  code: c.invalid_type,
2162
- expected: h.map,
2162
+ expected: f.map,
2163
2163
  received: s.parsedType
2164
2164
  }), g;
2165
2165
  const a = this._def.keyType, i = this._def.valueType, o = [...s.data.entries()].map(([d, u], l) => ({
@@ -2198,10 +2198,10 @@ be.create = (t, e, n) => new be({
2198
2198
  class L extends v {
2199
2199
  _parse(e) {
2200
2200
  const { status: n, ctx: s } = this._processInputParams(e);
2201
- if (s.parsedType !== h.set)
2201
+ if (s.parsedType !== f.set)
2202
2202
  return p(s, {
2203
2203
  code: c.invalid_type,
2204
- expected: h.set,
2204
+ expected: f.set,
2205
2205
  received: s.parsedType
2206
2206
  }), g;
2207
2207
  const a = this._def;
@@ -2236,13 +2236,13 @@ class L extends v {
2236
2236
  min(e, n) {
2237
2237
  return new L({
2238
2238
  ...this._def,
2239
- minSize: { value: e, message: f.toString(n) }
2239
+ minSize: { value: e, message: h.toString(n) }
2240
2240
  });
2241
2241
  }
2242
2242
  max(e, n) {
2243
2243
  return new L({
2244
2244
  ...this._def,
2245
- maxSize: { value: e, message: f.toString(n) }
2245
+ maxSize: { value: e, message: h.toString(n) }
2246
2246
  });
2247
2247
  }
2248
2248
  size(e, n) {
@@ -2265,10 +2265,10 @@ class G extends v {
2265
2265
  }
2266
2266
  _parse(e) {
2267
2267
  const { ctx: n } = this._processInputParams(e);
2268
- if (n.parsedType !== h.function)
2268
+ if (n.parsedType !== f.function)
2269
2269
  return p(n, {
2270
2270
  code: c.invalid_type,
2271
- expected: h.function,
2271
+ expected: f.function,
2272
2272
  received: n.parsedType
2273
2273
  }), g;
2274
2274
  function s(d, u) {
@@ -2467,7 +2467,7 @@ class le extends v {
2467
2467
  }
2468
2468
  _parse(e) {
2469
2469
  const n = b.getValidEnumValues(this._def.values), s = this._getOrReturnCtx(e);
2470
- if (s.parsedType !== h.string && s.parsedType !== h.number) {
2470
+ if (s.parsedType !== f.string && s.parsedType !== f.number) {
2471
2471
  const a = b.objectValues(n);
2472
2472
  return p(s, {
2473
2473
  expected: b.joinValues(a),
@@ -2501,13 +2501,13 @@ class K extends v {
2501
2501
  }
2502
2502
  _parse(e) {
2503
2503
  const { ctx: n } = this._processInputParams(e);
2504
- if (n.parsedType !== h.promise && n.common.async === !1)
2504
+ if (n.parsedType !== f.promise && n.common.async === !1)
2505
2505
  return p(n, {
2506
2506
  code: c.invalid_type,
2507
- expected: h.promise,
2507
+ expected: f.promise,
2508
2508
  received: n.parsedType
2509
2509
  }), g;
2510
- const s = n.parsedType === h.promise ? n.data : Promise.resolve(n.data);
2510
+ const s = n.parsedType === f.promise ? n.data : Promise.resolve(n.data);
2511
2511
  return S(s.then((a) => this._def.type.parseAsync(a, {
2512
2512
  path: n.path,
2513
2513
  errorMap: n.common.contextualErrorMap
@@ -2610,7 +2610,7 @@ O.createWithPreprocess = (t, e, n) => new O({
2610
2610
  });
2611
2611
  class j extends v {
2612
2612
  _parse(e) {
2613
- return this._getType(e) === h.undefined ? S(void 0) : this._def.innerType._parse(e);
2613
+ return this._getType(e) === f.undefined ? S(void 0) : this._def.innerType._parse(e);
2614
2614
  }
2615
2615
  unwrap() {
2616
2616
  return this._def.innerType;
@@ -2623,7 +2623,7 @@ j.create = (t, e) => new j({
2623
2623
  });
2624
2624
  class D extends v {
2625
2625
  _parse(e) {
2626
- return this._getType(e) === h.null ? S(null) : this._def.innerType._parse(e);
2626
+ return this._getType(e) === f.null ? S(null) : this._def.innerType._parse(e);
2627
2627
  }
2628
2628
  unwrap() {
2629
2629
  return this._def.innerType;
@@ -2638,7 +2638,7 @@ class ue extends v {
2638
2638
  _parse(e) {
2639
2639
  const { ctx: n } = this._processInputParams(e);
2640
2640
  let s = n.data;
2641
- return n.parsedType === h.undefined && (s = this._def.defaultValue()), this._def.innerType._parse({
2641
+ return n.parsedType === f.undefined && (s = this._def.defaultValue()), this._def.innerType._parse({
2642
2642
  data: s,
2643
2643
  path: n.path,
2644
2644
  parent: n
@@ -2699,11 +2699,11 @@ pe.create = (t, e) => new pe({
2699
2699
  });
2700
2700
  class ke extends v {
2701
2701
  _parse(e) {
2702
- if (this._getType(e) !== h.nan) {
2702
+ if (this._getType(e) !== f.nan) {
2703
2703
  const s = this._getOrReturnCtx(e);
2704
2704
  return p(s, {
2705
2705
  code: c.invalid_type,
2706
- expected: h.nan,
2706
+ expected: f.nan,
2707
2707
  received: s.parsedType
2708
2708
  }), g;
2709
2709
  }
@@ -2728,7 +2728,7 @@ class Pe extends v {
2728
2728
  return this._def.type;
2729
2729
  }
2730
2730
  }
2731
- class fe extends v {
2731
+ class he extends v {
2732
2732
  _parse(e) {
2733
2733
  const { status: n, ctx: s } = this._processInputParams(e);
2734
2734
  if (s.common.async)
@@ -2761,14 +2761,14 @@ class fe extends v {
2761
2761
  }
2762
2762
  }
2763
2763
  static create(e, n) {
2764
- return new fe({
2764
+ return new he({
2765
2765
  in: e,
2766
2766
  out: n,
2767
2767
  typeName: _.ZodPipeline
2768
2768
  });
2769
2769
  }
2770
2770
  }
2771
- class he extends v {
2771
+ class fe extends v {
2772
2772
  _parse(e) {
2773
2773
  const n = this._def.innerType._parse(e), s = (a) => (ee(a) && (a.value = Object.freeze(a.value)), a);
2774
2774
  return te(n) ? n.then((a) => s(a)) : s(n);
@@ -2777,7 +2777,7 @@ class he extends v {
2777
2777
  return this._def.innerType;
2778
2778
  }
2779
2779
  }
2780
- he.create = (t, e) => new he({
2780
+ fe.create = (t, e) => new fe({
2781
2781
  innerType: t,
2782
2782
  typeName: _.ZodReadonly,
2783
2783
  ...y(e)
@@ -2800,7 +2800,7 @@ var _;
2800
2800
  })(_ || (_ = {}));
2801
2801
  const Nt = (t, e = {
2802
2802
  message: `Input not instance of ${t.name}`
2803
- }) => Ke((n) => n instanceof t, e), Je = E.create, Qe = P.create, Zt = ke.create, Rt = M.create, Xe = ne.create, At = V.create, Pt = ye.create, Mt = re.create, Ut = se.create, Dt = Y.create, $t = $.create, Vt = R.create, Lt = ve.create, zt = C.create, Bt = k.create, Wt = k.strictCreate, Ht = ae.create, qt = xe.create, Gt = ie.create, Ft = N.create, Yt = oe.create, Kt = be.create, Jt = L.create, Qt = G.create, Xt = de.create, en = ce.create, tn = U.create, nn = le.create, rn = K.create, Be = O.create, sn = j.create, an = D.create, on = O.createWithPreprocess, dn = fe.create, cn = () => Je().optional(), ln = () => Qe().optional(), un = () => Xe().optional(), pn = {
2803
+ }) => Ke((n) => n instanceof t, e), Je = E.create, Qe = P.create, Zt = ke.create, Rt = M.create, Xe = ne.create, At = V.create, Pt = ye.create, Mt = re.create, Ut = se.create, Dt = Y.create, $t = $.create, Vt = R.create, Lt = ve.create, zt = C.create, Bt = k.create, Wt = k.strictCreate, Ht = ae.create, qt = xe.create, Gt = ie.create, Ft = N.create, Yt = oe.create, Kt = be.create, Jt = L.create, Qt = G.create, Xt = de.create, en = ce.create, tn = U.create, nn = le.create, rn = K.create, Be = O.create, sn = j.create, an = D.create, on = O.createWithPreprocess, dn = he.create, cn = () => Je().optional(), ln = () => Qe().optional(), un = () => Xe().optional(), pn = {
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 Nt = (t, e = {
2809
2809
  }),
2810
2810
  bigint: (t) => M.create({ ...t, coerce: !0 }),
2811
2811
  date: (t) => V.create({ ...t, coerce: !0 })
2812
- }, hn = g;
2812
+ }, fn = g;
2813
2813
  var r = /* @__PURE__ */ Object.freeze({
2814
2814
  __proto__: null,
2815
2815
  defaultErrorMap: F,
2816
2816
  setErrorMap: pt,
2817
2817
  getErrorMap: me,
2818
2818
  makeIssue: _e,
2819
- EMPTY_PATH: ht,
2819
+ EMPTY_PATH: ft,
2820
2820
  addIssueToContext: p,
2821
2821
  ParseStatus: w,
2822
2822
  INVALID: g,
@@ -2832,7 +2832,7 @@ var r = /* @__PURE__ */ Object.freeze({
2832
2832
  get objectUtil() {
2833
2833
  return Ne;
2834
2834
  },
2835
- ZodParsedType: h,
2835
+ ZodParsedType: f,
2836
2836
  getParsedType: A,
2837
2837
  ZodType: v,
2838
2838
  datetimeRegex: Fe,
@@ -2872,8 +2872,8 @@ var r = /* @__PURE__ */ Object.freeze({
2872
2872
  ZodNaN: ke,
2873
2873
  BRAND: jt,
2874
2874
  ZodBranded: Pe,
2875
- ZodPipeline: fe,
2876
- ZodReadonly: he,
2875
+ ZodPipeline: he,
2876
+ ZodReadonly: fe,
2877
2877
  custom: Ke,
2878
2878
  Schema: v,
2879
2879
  ZodSchema: v,
@@ -2921,7 +2921,7 @@ var r = /* @__PURE__ */ Object.freeze({
2921
2921
  union: Ht,
2922
2922
  unknown: $t,
2923
2923
  void: Lt,
2924
- NEVER: hn,
2924
+ NEVER: fn,
2925
2925
  ZodIssueCode: c,
2926
2926
  quotelessJson: ut,
2927
2927
  ZodError: T
@@ -2934,7 +2934,7 @@ const qn = r.object({
2934
2934
  }), Me = r.object({
2935
2935
  created_at: r.string(),
2936
2936
  updated_at: r.string()
2937
- }), fn = r.object({
2937
+ }), hn = r.object({
2938
2938
  email: r.string().optional(),
2939
2939
  email_verified: r.boolean().optional(),
2940
2940
  name: r.string().optional(),
@@ -2951,7 +2951,7 @@ const qn = 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: fn.optional()
2954
+ profileData: hn.optional()
2955
2955
  }), et = r.object({
2956
2956
  email: r.string().optional(),
2957
2957
  username: r.string().optional(),
@@ -2963,7 +2963,9 @@ const qn = r.object({
2963
2963
  locale: r.string().optional(),
2964
2964
  linked_to: r.string().optional(),
2965
2965
  profileData: r.string().optional(),
2966
- user_id: r.string().optional()
2966
+ user_id: r.string().optional(),
2967
+ app_metadata: r.any().default({}).optional(),
2968
+ user_metadata: r.any().default({}).optional()
2967
2969
  }), _n = et.extend({
2968
2970
  email_verified: r.boolean().default(!1),
2969
2971
  verify_email: r.boolean().optional(),
@@ -2972,7 +2974,9 @@ const qn = r.object({
2972
2974
  user_id: r.string().optional(),
2973
2975
  provider: r.string().default("email"),
2974
2976
  connection: r.string().default("email")
2975
- }), gn = _n.extend(Me.shape).extend({
2977
+ }), gn = r.object({
2978
+ ..._n.shape,
2979
+ ...Me.shape,
2976
2980
  user_id: r.string(),
2977
2981
  // TODO: this not might be correct if you use the username
2978
2982
  email: r.string(),
@@ -3097,7 +3101,11 @@ const wn = r.object({
3097
3101
  app_secret: r.string().optional(),
3098
3102
  scope: r.string().optional(),
3099
3103
  authorization_endpoint: r.string().default("").optional(),
3100
- token_endpoint: r.string().default("").optional()
3104
+ token_endpoint: r.string().default("").optional(),
3105
+ userinfo_endpoint: r.string().default("").optional(),
3106
+ jwks_uri: r.string().default("").optional(),
3107
+ discovery_url: r.string().default("").optional(),
3108
+ issuer: r.string().default("").optional()
3101
3109
  }).default({}).optional(),
3102
3110
  enabled_clients: r.array(r.string()).default([]).optional(),
3103
3111
  response_type: r.custom().optional(),
@@ -3528,7 +3536,7 @@ export {
3528
3536
  Dn as passwordInsertSchema,
3529
3537
  sr as passwordSchema,
3530
3538
  dr as pkceAuthorizationCodeGrantTypeParamsSchema,
3531
- fn as profileDataSchema,
3539
+ hn as profileDataSchema,
3532
3540
  ur as promptSettingSchema,
3533
3541
  bn as samlpAddon,
3534
3542
  $n as sessionInsertSchema,