@gatwech/auth 1.0.0-beta.20 → 1.0.0-beta.22

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.
Files changed (148) hide show
  1. package/dist/adapters/drizzle-adapter/index.mjs +11 -2
  2. package/dist/adapters/index.d.mts +2 -2
  3. package/dist/adapters/kysely-adapter/index.mjs +1 -1
  4. package/dist/adapters/memory-adapter/index.d.mts +1 -1
  5. package/dist/adapters/memory-adapter/index.mjs +2 -2
  6. package/dist/adapters/prisma-adapter/index.mjs +1 -1
  7. package/dist/{admin-BzUJL6tr.mjs → admin-rd-xHhnP.mjs} +1 -1
  8. package/dist/{anonymous-BjlTk4gl.mjs → anonymous-qSasVeIe.mjs} +1 -1
  9. package/dist/api/index.d.mts +2 -2
  10. package/dist/api/index.mjs +2 -2
  11. package/dist/{api-Dk8Yj_J5.mjs → api-BV65Y-Rk.mjs} +5 -0
  12. package/dist/{audit-log-DKsUWR8O.mjs → audit-log-DgqHJ-uv.mjs} +132 -63
  13. package/dist/{auth-vfCyIIeV.mjs → auth-DtOjarwu.mjs} +15 -2
  14. package/dist/client/index.d.mts +2 -2
  15. package/dist/client/plugins/index.d.mts +28 -28
  16. package/dist/client/plugins/index.mjs +2 -2
  17. package/dist/client/react/index.d.mts +2 -2
  18. package/dist/{client-4QEb0rUr.mjs → client-CMsC6-rl.mjs} +1 -1
  19. package/dist/{client-C_qmyez2.d.mts → client-DO9MgP_0.d.mts} +1 -1
  20. package/dist/{client-F67q-Lbi.d.mts → client-ukvqpcbI.d.mts} +1 -1
  21. package/dist/cookies/index.d.mts +3 -3
  22. package/dist/db/index.d.mts +2 -2
  23. package/dist/db/index.mjs +1 -1
  24. package/dist/{db-7vHnL1XA.mjs → db-CV59HpEF.mjs} +2 -2
  25. package/dist/{email-otp-Dw0DypjQ.mjs → email-otp-BmgAht1S.mjs} +1 -1
  26. package/dist/{generic-oauth-DFj27JY8.mjs → generic-oauth-C5_AXj2z.mjs} +1 -1
  27. package/dist/{haveibeenpwned-CzNda7Tn.mjs → haveibeenpwned-_3a5amT-.mjs} +1 -1
  28. package/dist/{index-D57DuhZR.d.mts → index-AiKdOFSd.d.mts} +116 -64
  29. package/dist/{index-Bml-PCqP.d.mts → index-B4hJVVRn.d.mts} +19 -19
  30. package/dist/{index-DwPAddfE.d.mts → index-BC0aAKsT.d.mts} +3 -3
  31. package/dist/{index-Df0KhQRf-BEa5tdwJ.d.mts → index-BL_t8cRp-C4QYBsac.d.mts} +56 -17
  32. package/dist/{index-DyXi7S2M.d.mts → index-BfLofiXO.d.mts} +10 -10
  33. package/dist/{index-CP8x1TFq.d.mts → index-BzzhaGLe.d.mts} +6 -6
  34. package/dist/{index-DFSRYWFI.d.mts → index-CBGNX7W1.d.mts} +6 -6
  35. package/dist/{index-CofuaNMl.d.mts → index-CRNh-5Tc.d.mts} +7 -7
  36. package/dist/{index-CNd5jqLl.d.mts → index-CRiKKdkb.d.mts} +6 -6
  37. package/dist/{index-CsxtcAO0.d.mts → index-CTSeVJJB.d.mts} +1 -1
  38. package/dist/{index-sb-UFLuo.d.mts → index-CxhQu1HM.d.mts} +2 -2
  39. package/dist/{index-Dnd8S4S4.d.mts → index-D-rjuF7p.d.mts} +9 -9
  40. package/dist/{index-XfE0WjTN.d.mts → index-D3uQsW8T.d.mts} +34 -34
  41. package/dist/{index-4I1YhYhk.d.mts → index-DKirx_GW.d.mts} +4 -4
  42. package/dist/{index-KhbNmMmG.d.mts → index-DSoiUc1C.d.mts} +167 -167
  43. package/dist/{index-DTkcY7xH.d.mts → index-Dkm27DLN.d.mts} +10 -10
  44. package/dist/{index-BsSKcKgO.d.mts → index-Dl0bD1_6.d.mts} +6 -6
  45. package/dist/{index-DGeoJ4gu.d.mts → index-DlS-HqZR.d.mts} +2 -2
  46. package/dist/{index-BNhJglHC.d.mts → index-DngQlUSI.d.mts} +114 -114
  47. package/dist/{index-CC920PPp.d.mts → index-Do8AV4PF.d.mts} +14 -14
  48. package/dist/{index-CBiGsvDd.d.mts → index-SYRh5FW7.d.mts} +8 -8
  49. package/dist/{index-BX7rl07Z.d.mts → index-eOfQxlQV.d.mts} +13 -13
  50. package/dist/{index-D6ku0rUC.d.mts → index-hP8gvyp-.d.mts} +5 -5
  51. package/dist/{index-CzpdkTdv.d.mts → index-pdl9MzQu.d.mts} +9 -9
  52. package/dist/index.d.mts +2 -2
  53. package/dist/index.mjs +4 -4
  54. package/dist/integrations/next-js.d.mts +4 -4
  55. package/dist/integrations/node.d.mts +2 -2
  56. package/dist/integrations/react-start.d.mts +4 -4
  57. package/dist/{jwt-DBN2mu0r.mjs → jwt-Czv-v097.mjs} +1 -1
  58. package/dist/{kysely-adapter-Bkm1liPW.mjs → kysely-adapter-BidlNTiV.mjs} +4 -2
  59. package/dist/{magic-link-D9Em1aOR.mjs → magic-link-CJgE0Ngn.mjs} +1 -1
  60. package/dist/{multi-session-Dno_8DxC.mjs → multi-session-bveCXtQW.mjs} +1 -1
  61. package/dist/{oauth-proxy-DW-zt8wv.mjs → oauth-proxy-69n1xA8L.mjs} +1 -1
  62. package/dist/oauth2/index.d.mts +2 -2
  63. package/dist/oauth2/index.mjs +2 -2
  64. package/dist/{one-tap-CodeyQb8.mjs → one-tap-Cm1eHuqi.mjs} +1 -1
  65. package/dist/{organization-CkTKs7bx.mjs → organization-BK3ks97y.mjs} +2 -2
  66. package/dist/plugins/admin/index.d.mts +3 -3
  67. package/dist/plugins/admin/index.mjs +3 -3
  68. package/dist/plugins/anonymous/index.d.mts +3 -3
  69. package/dist/plugins/anonymous/index.mjs +3 -3
  70. package/dist/plugins/audit-log/client.d.mts +24 -24
  71. package/dist/plugins/audit-log/index.d.mts +23 -23
  72. package/dist/plugins/audit-log/index.mjs +3 -3
  73. package/dist/plugins/bearer/index.d.mts +1 -1
  74. package/dist/plugins/captcha/index.d.mts +1 -1
  75. package/dist/plugins/custom-session/index.d.mts +3 -3
  76. package/dist/plugins/custom-session/index.mjs +2 -2
  77. package/dist/plugins/device-authorization/index.d.mts +1 -1
  78. package/dist/plugins/device-authorization/index.mjs +1 -1
  79. package/dist/plugins/email-otp/index.d.mts +2 -2
  80. package/dist/plugins/email-otp/index.mjs +3 -3
  81. package/dist/plugins/generic-oauth/index.d.mts +3 -3
  82. package/dist/plugins/generic-oauth/index.mjs +3 -3
  83. package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
  84. package/dist/plugins/haveibeenpwned/index.mjs +3 -3
  85. package/dist/plugins/index.d.mts +23 -23
  86. package/dist/plugins/index.mjs +18 -18
  87. package/dist/plugins/jwt/index.d.mts +3 -3
  88. package/dist/plugins/jwt/index.mjs +3 -3
  89. package/dist/plugins/magic-link/index.d.mts +1 -1
  90. package/dist/plugins/magic-link/index.mjs +3 -3
  91. package/dist/plugins/multi-session/index.d.mts +2 -2
  92. package/dist/plugins/multi-session/index.mjs +3 -3
  93. package/dist/plugins/oauth-proxy/index.d.mts +1 -1
  94. package/dist/plugins/oauth-proxy/index.mjs +3 -3
  95. package/dist/plugins/one-tap/index.d.mts +1 -1
  96. package/dist/plugins/one-tap/index.mjs +3 -3
  97. package/dist/plugins/one-time-token/index.d.mts +3 -3
  98. package/dist/plugins/one-time-token/index.mjs +18 -18
  99. package/dist/plugins/organization/index.d.mts +3 -3
  100. package/dist/plugins/organization/index.mjs +3 -3
  101. package/dist/plugins/passkey/index.d.mts +3 -3
  102. package/dist/plugins/passkey/index.mjs +2 -2
  103. package/dist/plugins/phone-number/index.d.mts +3 -3
  104. package/dist/plugins/phone-number/index.mjs +2 -2
  105. package/dist/plugins/sentinel/client.d.mts +24 -24
  106. package/dist/plugins/sentinel/client.mjs +2 -2
  107. package/dist/plugins/sentinel/index.d.mts +23 -23
  108. package/dist/plugins/sentinel/index.mjs +5 -5
  109. package/dist/plugins/two-factor/index.d.mts +3 -3
  110. package/dist/plugins/two-factor/index.mjs +2 -2
  111. package/dist/plugins/username/index.d.mts +1 -1
  112. package/dist/plugins/username/index.mjs +3 -3
  113. package/dist/{plugins-yF8CFUDR.mjs → plugins-RSPSU3ro.mjs} +1 -1
  114. package/dist/{pow-OK01yPG3.mjs → pow-DvkUopsK.mjs} +17 -1
  115. package/dist/{sentinel-DiPqydKG.mjs → sentinel-B-2jmmZh.mjs} +325 -98
  116. package/dist/src/adapters/memory-adapter/memory-adapter.d.ts +1 -1
  117. package/dist/src/adapters/prisma-adapter/test/auth.d.ts +1 -1
  118. package/dist/src/adapters/tests/auth-flow.d.ts +3 -3
  119. package/dist/src/adapters/tests/normal.d.ts +10 -2
  120. package/dist/src/adapters/tests/number-id.d.ts +4 -4
  121. package/dist/src/adapters/tests/performance.d.ts +3 -3
  122. package/dist/src/adapters/tests/transactions.d.ts +3 -3
  123. package/dist/src/api/index.d.ts +8 -8
  124. package/dist/src/plugins/admin/admin.d.ts +2 -2
  125. package/dist/src/plugins/api-key/index.d.ts +2 -2
  126. package/dist/src/plugins/audit-log/index.d.ts +5 -14
  127. package/dist/src/plugins/audit-log/remote.d.ts +4 -4
  128. package/dist/src/plugins/audit-log/types.d.ts +22 -0
  129. package/dist/src/plugins/email-otp/index.d.ts +1 -1
  130. package/dist/src/plugins/multi-session/index.d.ts +8 -8
  131. package/dist/src/plugins/organization/routes/crud-access-control.d.ts +8 -8
  132. package/dist/src/plugins/organization/routes/crud-invites.d.ts +46 -46
  133. package/dist/src/plugins/organization/routes/crud-members.d.ts +40 -40
  134. package/dist/src/plugins/organization/routes/crud-org.d.ts +36 -36
  135. package/dist/src/plugins/organization/routes/crud-team.d.ts +50 -50
  136. package/dist/src/plugins/sentinel/geo.d.ts +11 -0
  137. package/dist/src/plugins/sentinel/index.d.ts +7 -0
  138. package/dist/src/plugins/sentinel/intel.d.ts +8 -1
  139. package/dist/src/plugins/sentinel/memory-cache.d.ts +12 -0
  140. package/dist/src/plugins/sentinel/schema.d.ts +4 -0
  141. package/dist/src/plugins/sentinel/store.d.ts +7 -0
  142. package/dist/src/plugins/sentinel/types.d.ts +29 -1
  143. package/dist/src/test-utils/test-instance.d.ts +25 -25
  144. package/dist/test-utils/index.d.mts +277 -277
  145. package/dist/test-utils/index.mjs +20 -20
  146. package/dist/types/index.d.mts +2 -2
  147. package/dist/{username-BHNvcvsY.mjs → username-DCp6yugu.mjs} +1 -1
  148. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import { n as __export, r as __reExport } from "./chunk-BK_LfMhE.mjs";
2
2
  import { d as PrettifyDeep, h as UnionToIntersection, i as HasRequiredKeys, m as StripEmptyObjects, r as Expand, u as Prettify$1 } from "./helper-BgOIGHsu.mjs";
3
3
  import { t as KyselyDatabaseType } from "./types-DNQ9XQrB.mjs";
4
- import { a as OAuth2UserInfo$1, i as OAuth2Tokens$1 } from "./index-Df0KhQRf-BEa5tdwJ.mjs";
4
+ import { a as OAuth2UserInfo$1, i as OAuth2Tokens$1 } from "./index-BL_t8cRp-C4QYBsac.mjs";
5
5
  import { n as InferPluginErrorCodes, t as InferOptionSchema } from "./plugins-Dy_FrD4Y.mjs";
6
6
  import { AuthContext, ClientAtomListener, ClientStore as ClientStore$1, GenericEndpointContext, InternalAdapter, PayvoAuthAdvancedOptions, PayvoAuthClientOptions, PayvoAuthClientOptions as PayvoAuthClientOptions$1, PayvoAuthClientPlugin as PayvoAuthClientPlugin$1, PayvoAuthCookies as PayvoAuthCookies$1, PayvoAuthOptions, PayvoAuthOptions as PayvoAuthOptions$1, PayvoAuthPlugin, PayvoAuthPlugin as PayvoAuthPlugin$1, PayvoAuthRateLimitOptions, StandardSchemaV1 as StandardSchemaV1$2 } from "@gatwech/core";
7
7
  import { getCurrentAdapter as getCurrentAdapter$1 } from "@gatwech/core/context";
@@ -9,7 +9,7 @@ import { InternalLogger } from "@gatwech/core/env";
9
9
  import { BASE_ERROR_CODES } from "@gatwech/core/error";
10
10
  import * as _gatwech_core_oauth20 from "@gatwech/core/oauth2";
11
11
  import { OAuth2Tokens } from "@gatwech/core/oauth2";
12
- import * as better_call998 from "better-call";
12
+ import * as better_call672 from "better-call";
13
13
  import { APIError as APIError$1, Endpoint, InputContext, Middleware, StandardSchemaV1 } from "better-call";
14
14
  import { AuthEndpoint, AuthMiddleware, createAuthEndpoint as createAuthEndpoint$1, createAuthMiddleware as createAuthMiddleware$1, optionsMiddleware } from "@gatwech/core/api";
15
15
  import * as z$1 from "zod";
@@ -324,8 +324,8 @@ declare const getOAuthState: <S>() => Promise<S & OAuthState>, setOAuthState: (v
324
324
  * A middleware to validate callbackURL and origin against
325
325
  * trustedOrigins.
326
326
  */
327
- declare const originCheckMiddleware: (inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>;
328
- declare const originCheck: (getValue: (ctx: GenericEndpointContext) => string | string[]) => (inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>;
327
+ declare const originCheckMiddleware: (inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>;
328
+ declare const originCheck: (getValue: (ctx: GenericEndpointContext) => string | string[]) => (inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>;
329
329
  declare function isSimpleRequest(headers: Headers): boolean;
330
330
  //#endregion
331
331
  //#region src/api/routes/account.d.ts
@@ -345,7 +345,7 @@ declare const listUserAccounts: {
345
345
  } & {
346
346
  asResponse?: boolean;
347
347
  returnHeaders?: boolean;
348
- use?: better_call998.Middleware[];
348
+ use?: better_call672.Middleware[];
349
349
  path?: string;
350
350
  } & {
351
351
  asResponse?: AsResponse | undefined;
@@ -372,7 +372,7 @@ declare const listUserAccounts: {
372
372
  }[]>;
373
373
  options: {
374
374
  method: "GET";
375
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
375
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
376
376
  session: {
377
377
  session: Record<string, any> & {
378
378
  id: string;
@@ -480,7 +480,7 @@ declare const linkSocialAccount: {
480
480
  } & {
481
481
  asResponse?: boolean;
482
482
  returnHeaders?: boolean;
483
- use?: better_call998.Middleware[];
483
+ use?: better_call672.Middleware[];
484
484
  path?: string;
485
485
  } & {
486
486
  asResponse?: AsResponse | undefined;
@@ -514,7 +514,7 @@ declare const linkSocialAccount: {
514
514
  disableRedirect: z$1.ZodOptional<z$1.ZodBoolean>;
515
515
  additionalData: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
516
516
  }, z$1.core.$strip>;
517
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
517
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
518
518
  session: {
519
519
  session: Record<string, any> & {
520
520
  id: string;
@@ -592,7 +592,7 @@ declare const unlinkAccount: {
592
592
  } & {
593
593
  asResponse?: boolean;
594
594
  returnHeaders?: boolean;
595
- use?: better_call998.Middleware[];
595
+ use?: better_call672.Middleware[];
596
596
  path?: string;
597
597
  } & {
598
598
  asResponse?: AsResponse | undefined;
@@ -611,7 +611,7 @@ declare const unlinkAccount: {
611
611
  providerId: z$1.ZodString;
612
612
  accountId: z$1.ZodOptional<z$1.ZodString>;
613
613
  }, z$1.core.$strip>;
614
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
614
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
615
615
  session: {
616
616
  session: Record<string, any> & {
617
617
  id: string;
@@ -681,7 +681,7 @@ declare const getAccessToken: {
681
681
  } & {
682
682
  asResponse?: boolean;
683
683
  returnHeaders?: boolean;
684
- use?: better_call998.Middleware[];
684
+ use?: better_call672.Middleware[];
685
685
  path?: string;
686
686
  } & {
687
687
  asResponse?: AsResponse | undefined;
@@ -774,7 +774,7 @@ declare const refreshToken: {
774
774
  } & {
775
775
  asResponse?: boolean;
776
776
  returnHeaders?: boolean;
777
- use?: better_call998.Middleware[];
777
+ use?: better_call672.Middleware[];
778
778
  path?: string;
779
779
  } & {
780
780
  asResponse?: AsResponse | undefined;
@@ -855,7 +855,7 @@ declare const accountInfo: {
855
855
  } & {
856
856
  asResponse?: boolean;
857
857
  returnHeaders?: boolean;
858
- use?: better_call998.Middleware[];
858
+ use?: better_call672.Middleware[];
859
859
  path?: string;
860
860
  } & {
861
861
  asResponse?: AsResponse | undefined;
@@ -872,7 +872,7 @@ declare const accountInfo: {
872
872
  } | null>;
873
873
  options: {
874
874
  method: "POST";
875
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
875
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
876
876
  session: {
877
877
  session: Record<string, any> & {
878
878
  id: string;
@@ -984,7 +984,7 @@ declare const callbackOAuth: {
984
984
  } & {
985
985
  asResponse?: boolean;
986
986
  returnHeaders?: boolean;
987
- use?: better_call998.Middleware[];
987
+ use?: better_call672.Middleware[];
988
988
  path?: string;
989
989
  } & {
990
990
  asResponse?: AsResponse | undefined;
@@ -1053,7 +1053,7 @@ declare const sendVerificationEmail: {
1053
1053
  } & {
1054
1054
  asResponse?: boolean;
1055
1055
  returnHeaders?: boolean;
1056
- use?: better_call998.Middleware[];
1056
+ use?: better_call672.Middleware[];
1057
1057
  path?: string;
1058
1058
  } & {
1059
1059
  asResponse?: AsResponse | undefined;
@@ -1160,7 +1160,7 @@ declare const verifyEmail: {
1160
1160
  } & {
1161
1161
  asResponse?: boolean;
1162
1162
  returnHeaders?: boolean;
1163
- use?: better_call998.Middleware[];
1163
+ use?: better_call672.Middleware[];
1164
1164
  path?: string;
1165
1165
  } & {
1166
1166
  asResponse?: AsResponse | undefined;
@@ -1203,7 +1203,7 @@ declare const verifyEmail: {
1203
1203
  token: z$1.ZodString;
1204
1204
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
1205
1205
  }, z$1.core.$strip>;
1206
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
1206
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
1207
1207
  metadata: {
1208
1208
  openapi: {
1209
1209
  description: string;
@@ -1302,7 +1302,7 @@ declare const error: {
1302
1302
  } & {
1303
1303
  asResponse?: boolean;
1304
1304
  returnHeaders?: boolean;
1305
- use?: better_call998.Middleware[];
1305
+ use?: better_call672.Middleware[];
1306
1306
  path?: string;
1307
1307
  } & {
1308
1308
  asResponse?: AsResponse | undefined;
@@ -1355,7 +1355,7 @@ declare const ok: {
1355
1355
  } & {
1356
1356
  asResponse?: boolean;
1357
1357
  returnHeaders?: boolean;
1358
- use?: better_call998.Middleware[];
1358
+ use?: better_call672.Middleware[];
1359
1359
  path?: string;
1360
1360
  } & {
1361
1361
  asResponse?: AsResponse | undefined;
@@ -1421,7 +1421,7 @@ declare const requestPasswordReset: {
1421
1421
  } & {
1422
1422
  asResponse?: boolean;
1423
1423
  returnHeaders?: boolean;
1424
- use?: better_call998.Middleware[];
1424
+ use?: better_call672.Middleware[];
1425
1425
  path?: string;
1426
1426
  } & {
1427
1427
  asResponse?: AsResponse | undefined;
@@ -1492,7 +1492,7 @@ declare const requestPasswordResetCallback: {
1492
1492
  } & {
1493
1493
  asResponse?: boolean;
1494
1494
  returnHeaders?: boolean;
1495
- use?: better_call998.Middleware[];
1495
+ use?: better_call672.Middleware[];
1496
1496
  path?: string;
1497
1497
  } & {
1498
1498
  asResponse?: AsResponse | undefined;
@@ -1506,7 +1506,7 @@ declare const requestPasswordResetCallback: {
1506
1506
  query: z$1.ZodObject<{
1507
1507
  callbackURL: z$1.ZodString;
1508
1508
  }, z$1.core.$strip>;
1509
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
1509
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
1510
1510
  metadata: {
1511
1511
  openapi: {
1512
1512
  description: string;
@@ -1555,7 +1555,7 @@ declare const resetPassword: {
1555
1555
  } & {
1556
1556
  asResponse?: boolean;
1557
1557
  returnHeaders?: boolean;
1558
- use?: better_call998.Middleware[];
1558
+ use?: better_call672.Middleware[];
1559
1559
  path?: string;
1560
1560
  } & {
1561
1561
  asResponse?: AsResponse | undefined;
@@ -1625,7 +1625,7 @@ declare const getSession: <Option extends PayvoAuthOptions>() => {
1625
1625
  } & {
1626
1626
  asResponse?: boolean;
1627
1627
  returnHeaders?: boolean;
1628
- use?: better_call998.Middleware[];
1628
+ use?: better_call672.Middleware[];
1629
1629
  path?: string;
1630
1630
  } & {
1631
1631
  asResponse?: AsResponse | undefined;
@@ -1722,7 +1722,7 @@ declare const getSessionFromCtx: <U$1 extends Record<string, any> = Record<strin
1722
1722
  /**
1723
1723
  * The middleware forces the endpoint to require a valid session.
1724
1724
  */
1725
- declare const sessionMiddleware: (inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
1725
+ declare const sessionMiddleware: (inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
1726
1726
  session: {
1727
1727
  session: Record<string, any> & {
1728
1728
  id: string;
@@ -1750,7 +1750,7 @@ declare const sessionMiddleware: (inputContext: better_call998.MiddlewareInputCo
1750
1750
  * This should be used for sensitive operations like password changes, account deletion, etc.
1751
1751
  * to ensure that revoked sessions cannot be used even if they're still cached in cookies.
1752
1752
  */
1753
- declare const sensitiveSessionMiddleware: (inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
1753
+ declare const sensitiveSessionMiddleware: (inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
1754
1754
  session: {
1755
1755
  session: Record<string, any> & {
1756
1756
  id: string;
@@ -1777,7 +1777,7 @@ declare const sensitiveSessionMiddleware: (inputContext: better_call998.Middlewa
1777
1777
  * This middleware allows you to call the endpoint on the client if session is valid.
1778
1778
  * However, if called on the server, no session is required.
1779
1779
  */
1780
- declare const requestOnlySessionMiddleware: (inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
1780
+ declare const requestOnlySessionMiddleware: (inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
1781
1781
  session: {
1782
1782
  session: Record<string, any> & {
1783
1783
  id: string;
@@ -1807,7 +1807,7 @@ declare const requestOnlySessionMiddleware: (inputContext: better_call998.Middle
1807
1807
  * Session freshness check will be skipped if the session config's freshAge
1808
1808
  * is set to 0
1809
1809
  */
1810
- declare const freshSessionMiddleware: (inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
1810
+ declare const freshSessionMiddleware: (inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
1811
1811
  session: {
1812
1812
  session: Record<string, any> & {
1813
1813
  id: string;
@@ -1849,7 +1849,7 @@ declare const listSessions: <Option extends PayvoAuthOptions>() => {
1849
1849
  } & {
1850
1850
  asResponse?: boolean;
1851
1851
  returnHeaders?: boolean;
1852
- use?: better_call998.Middleware[];
1852
+ use?: better_call672.Middleware[];
1853
1853
  path?: string;
1854
1854
  } & {
1855
1855
  asResponse?: AsResponse | undefined;
@@ -1860,7 +1860,7 @@ declare const listSessions: <Option extends PayvoAuthOptions>() => {
1860
1860
  } : Prettify$1<InferSession<Option>>[]>;
1861
1861
  options: {
1862
1862
  method: "GET";
1863
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
1863
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
1864
1864
  session: {
1865
1865
  session: Record<string, any> & {
1866
1866
  id: string;
@@ -1930,7 +1930,7 @@ declare const revokeSession: {
1930
1930
  } & {
1931
1931
  asResponse?: boolean;
1932
1932
  returnHeaders?: boolean;
1933
- use?: better_call998.Middleware[];
1933
+ use?: better_call672.Middleware[];
1934
1934
  path?: string;
1935
1935
  } & {
1936
1936
  asResponse?: AsResponse | undefined;
@@ -1948,7 +1948,7 @@ declare const revokeSession: {
1948
1948
  body: z$1.ZodObject<{
1949
1949
  token: z$1.ZodString;
1950
1950
  }, z$1.core.$strip>;
1951
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
1951
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
1952
1952
  session: {
1953
1953
  session: Record<string, any> & {
1954
1954
  id: string;
@@ -2036,7 +2036,7 @@ declare const revokeSessions: {
2036
2036
  } & {
2037
2037
  asResponse?: boolean;
2038
2038
  returnHeaders?: boolean;
2039
- use?: better_call998.Middleware[];
2039
+ use?: better_call672.Middleware[];
2040
2040
  path?: string;
2041
2041
  } & {
2042
2042
  asResponse?: AsResponse | undefined;
@@ -2051,7 +2051,7 @@ declare const revokeSessions: {
2051
2051
  }>;
2052
2052
  options: {
2053
2053
  method: "POST";
2054
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
2054
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
2055
2055
  session: {
2056
2056
  session: Record<string, any> & {
2057
2057
  id: string;
@@ -2120,7 +2120,7 @@ declare const revokeOtherSessions: {
2120
2120
  } & {
2121
2121
  asResponse?: boolean;
2122
2122
  returnHeaders?: boolean;
2123
- use?: better_call998.Middleware[];
2123
+ use?: better_call672.Middleware[];
2124
2124
  path?: string;
2125
2125
  } & {
2126
2126
  asResponse?: AsResponse | undefined;
@@ -2136,7 +2136,7 @@ declare const revokeOtherSessions: {
2136
2136
  options: {
2137
2137
  method: "POST";
2138
2138
  requireHeaders: true;
2139
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
2139
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
2140
2140
  session: {
2141
2141
  session: Record<string, any> & {
2142
2142
  id: string;
@@ -2223,7 +2223,7 @@ declare const signInSocial: {
2223
2223
  } & {
2224
2224
  asResponse?: boolean;
2225
2225
  returnHeaders?: boolean;
2226
- use?: better_call998.Middleware[];
2226
+ use?: better_call672.Middleware[];
2227
2227
  path?: string;
2228
2228
  } & {
2229
2229
  asResponse?: AsResponse | undefined;
@@ -2375,7 +2375,7 @@ declare const signInEmail: {
2375
2375
  } & {
2376
2376
  asResponse?: boolean;
2377
2377
  returnHeaders?: boolean;
2378
- use?: better_call998.Middleware[];
2378
+ use?: better_call672.Middleware[];
2379
2379
  path?: string;
2380
2380
  } & {
2381
2381
  asResponse?: AsResponse | undefined;
@@ -2505,7 +2505,7 @@ declare const signOut: {
2505
2505
  } & {
2506
2506
  asResponse?: boolean;
2507
2507
  returnHeaders?: boolean;
2508
- use?: better_call998.Middleware[];
2508
+ use?: better_call672.Middleware[];
2509
2509
  path?: string;
2510
2510
  } & {
2511
2511
  asResponse?: AsResponse | undefined;
@@ -2551,7 +2551,7 @@ declare const signOut: {
2551
2551
  //#endregion
2552
2552
  //#region src/api/routes/sign-up.d.ts
2553
2553
  declare const signUpEmail: <O extends PayvoAuthOptions>() => {
2554
- <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call998.HasRequiredKeys<better_call998.InputContext<"/sign-up/email", {
2554
+ <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call672.HasRequiredKeys<better_call672.InputContext<"/sign-up/email", {
2555
2555
  method: "POST";
2556
2556
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2557
2557
  metadata: {
@@ -2681,7 +2681,7 @@ declare const signUpEmail: <O extends PayvoAuthOptions>() => {
2681
2681
  };
2682
2682
  } & {
2683
2683
  use: any[];
2684
- }>> extends true ? [better_call998.InferBodyInput<{
2684
+ }>> extends true ? [better_call672.InferBodyInput<{
2685
2685
  method: "POST";
2686
2686
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2687
2687
  metadata: {
@@ -2831,12 +2831,12 @@ declare const signUpEmail: <O extends PayvoAuthOptions>() => {
2831
2831
  } & {
2832
2832
  asResponse?: boolean;
2833
2833
  returnHeaders?: boolean;
2834
- use?: better_call998.Middleware[];
2834
+ use?: better_call672.Middleware[];
2835
2835
  path?: string;
2836
2836
  } & {
2837
2837
  asResponse?: AsResponse | undefined;
2838
2838
  returnHeaders?: ReturnHeaders | undefined;
2839
- }] : [((better_call998.InferBodyInput<{
2839
+ }] : [((better_call672.InferBodyInput<{
2840
2840
  method: "POST";
2841
2841
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
2842
2842
  metadata: {
@@ -2986,7 +2986,7 @@ declare const signUpEmail: <O extends PayvoAuthOptions>() => {
2986
2986
  } & {
2987
2987
  asResponse?: boolean;
2988
2988
  returnHeaders?: boolean;
2989
- use?: better_call998.Middleware[];
2989
+ use?: better_call672.Middleware[];
2990
2990
  path?: string;
2991
2991
  } & {
2992
2992
  asResponse?: AsResponse | undefined;
@@ -3175,10 +3175,10 @@ declare const signUpEmail: <O extends PayvoAuthOptions>() => {
3175
3175
  //#endregion
3176
3176
  //#region src/api/routes/update-user.d.ts
3177
3177
  declare const updateUser: <O extends PayvoAuthOptions>() => {
3178
- <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call998.HasRequiredKeys<better_call998.InputContext<"/update-user", {
3178
+ <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call672.HasRequiredKeys<better_call672.InputContext<"/update-user", {
3179
3179
  method: "POST";
3180
3180
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3181
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
3181
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
3182
3182
  session: {
3183
3183
  session: Record<string, any> & {
3184
3184
  id: string;
@@ -3251,10 +3251,10 @@ declare const updateUser: <O extends PayvoAuthOptions>() => {
3251
3251
  };
3252
3252
  } & {
3253
3253
  use: any[];
3254
- }>> extends true ? [better_call998.InferBodyInput<{
3254
+ }>> extends true ? [better_call672.InferBodyInput<{
3255
3255
  method: "POST";
3256
3256
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3257
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
3257
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
3258
3258
  session: {
3259
3259
  session: Record<string, any> & {
3260
3260
  id: string;
@@ -3343,15 +3343,15 @@ declare const updateUser: <O extends PayvoAuthOptions>() => {
3343
3343
  } & {
3344
3344
  asResponse?: boolean;
3345
3345
  returnHeaders?: boolean;
3346
- use?: better_call998.Middleware[];
3346
+ use?: better_call672.Middleware[];
3347
3347
  path?: string;
3348
3348
  } & {
3349
3349
  asResponse?: AsResponse | undefined;
3350
3350
  returnHeaders?: ReturnHeaders | undefined;
3351
- }] : [((better_call998.InferBodyInput<{
3351
+ }] : [((better_call672.InferBodyInput<{
3352
3352
  method: "POST";
3353
3353
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3354
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
3354
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
3355
3355
  session: {
3356
3356
  session: Record<string, any> & {
3357
3357
  id: string;
@@ -3440,7 +3440,7 @@ declare const updateUser: <O extends PayvoAuthOptions>() => {
3440
3440
  } & {
3441
3441
  asResponse?: boolean;
3442
3442
  returnHeaders?: boolean;
3443
- use?: better_call998.Middleware[];
3443
+ use?: better_call672.Middleware[];
3444
3444
  path?: string;
3445
3445
  } & {
3446
3446
  asResponse?: AsResponse | undefined;
@@ -3456,7 +3456,7 @@ declare const updateUser: <O extends PayvoAuthOptions>() => {
3456
3456
  options: {
3457
3457
  method: "POST";
3458
3458
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
3459
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
3459
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
3460
3460
  session: {
3461
3461
  session: Record<string, any> & {
3462
3462
  id: string;
@@ -3552,7 +3552,7 @@ declare const changePassword: {
3552
3552
  } & {
3553
3553
  asResponse?: boolean;
3554
3554
  returnHeaders?: boolean;
3555
- use?: better_call998.Middleware[];
3555
+ use?: better_call672.Middleware[];
3556
3556
  path?: string;
3557
3557
  } & {
3558
3558
  asResponse?: AsResponse | undefined;
@@ -3590,7 +3590,7 @@ declare const changePassword: {
3590
3590
  currentPassword: z$1.ZodString;
3591
3591
  revokeOtherSessions: z$1.ZodOptional<z$1.ZodBoolean>;
3592
3592
  }, z$1.core.$strip>;
3593
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
3593
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
3594
3594
  session: {
3595
3595
  session: Record<string, any> & {
3596
3596
  id: string;
@@ -3700,7 +3700,7 @@ declare const setPassword: {
3700
3700
  } & {
3701
3701
  asResponse?: boolean;
3702
3702
  returnHeaders?: boolean;
3703
- use?: better_call998.Middleware[];
3703
+ use?: better_call672.Middleware[];
3704
3704
  path?: string;
3705
3705
  } & {
3706
3706
  asResponse?: AsResponse | undefined;
@@ -3721,7 +3721,7 @@ declare const setPassword: {
3721
3721
  metadata: {
3722
3722
  SERVER_ONLY: true;
3723
3723
  };
3724
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
3724
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
3725
3725
  session: {
3726
3726
  session: Record<string, any> & {
3727
3727
  id: string;
@@ -3769,7 +3769,7 @@ declare const deleteUser: {
3769
3769
  } & {
3770
3770
  asResponse?: boolean;
3771
3771
  returnHeaders?: boolean;
3772
- use?: better_call998.Middleware[];
3772
+ use?: better_call672.Middleware[];
3773
3773
  path?: string;
3774
3774
  } & {
3775
3775
  asResponse?: AsResponse | undefined;
@@ -3786,7 +3786,7 @@ declare const deleteUser: {
3786
3786
  }>;
3787
3787
  options: {
3788
3788
  method: "POST";
3789
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
3789
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
3790
3790
  session: {
3791
3791
  session: Record<string, any> & {
3792
3792
  id: string;
@@ -3867,7 +3867,7 @@ declare const deleteUserCallback: {
3867
3867
  } & {
3868
3868
  asResponse?: boolean;
3869
3869
  returnHeaders?: boolean;
3870
- use?: better_call998.Middleware[];
3870
+ use?: better_call672.Middleware[];
3871
3871
  path?: string;
3872
3872
  } & {
3873
3873
  asResponse?: AsResponse | undefined;
@@ -3888,7 +3888,7 @@ declare const deleteUserCallback: {
3888
3888
  token: z$1.ZodString;
3889
3889
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
3890
3890
  }, z$1.core.$strip>;
3891
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
3891
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
3892
3892
  metadata: {
3893
3893
  openapi: {
3894
3894
  description: string;
@@ -3942,7 +3942,7 @@ declare const changeEmail: {
3942
3942
  } & {
3943
3943
  asResponse?: boolean;
3944
3944
  returnHeaders?: boolean;
3945
- use?: better_call998.Middleware[];
3945
+ use?: better_call672.Middleware[];
3946
3946
  path?: string;
3947
3947
  } & {
3948
3948
  asResponse?: AsResponse | undefined;
@@ -3961,7 +3961,7 @@ declare const changeEmail: {
3961
3961
  newEmail: z$1.ZodEmail;
3962
3962
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
3963
3963
  }, z$1.core.$strip>;
3964
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
3964
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
3965
3965
  session: {
3966
3966
  session: Record<string, any> & {
3967
3967
  id: string;
@@ -4547,7 +4547,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
4547
4547
  path: "/sign-out";
4548
4548
  };
4549
4549
  readonly signUpEmail: {
4550
- <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call998.HasRequiredKeys<better_call998.InputContext<"/sign-up/email", {
4550
+ <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call672.HasRequiredKeys<better_call672.InputContext<"/sign-up/email", {
4551
4551
  method: "POST";
4552
4552
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
4553
4553
  metadata: {
@@ -4677,7 +4677,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
4677
4677
  };
4678
4678
  } & {
4679
4679
  use: any[];
4680
- }>> extends true ? [better_call998.InferBodyInput<{
4680
+ }>> extends true ? [better_call672.InferBodyInput<{
4681
4681
  method: "POST";
4682
4682
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
4683
4683
  metadata: {
@@ -4832,7 +4832,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
4832
4832
  } & {
4833
4833
  asResponse?: AsResponse | undefined;
4834
4834
  returnHeaders?: ReturnHeaders | undefined;
4835
- }] : [((better_call998.InferBodyInput<{
4835
+ }] : [((better_call672.InferBodyInput<{
4836
4836
  method: "POST";
4837
4837
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
4838
4838
  metadata: {
@@ -5433,7 +5433,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
5433
5433
  token: z$1.ZodString;
5434
5434
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
5435
5435
  }, zod_v4_core0.$strip>;
5436
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
5436
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
5437
5437
  metadata: {
5438
5438
  openapi: {
5439
5439
  description: string;
@@ -5659,7 +5659,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
5659
5659
  newEmail: z$1.ZodEmail;
5660
5660
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
5661
5661
  }, zod_v4_core0.$strip>;
5662
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
5662
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
5663
5663
  session: {
5664
5664
  session: Record<string, any> & {
5665
5665
  id: string;
@@ -5789,7 +5789,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
5789
5789
  currentPassword: z$1.ZodString;
5790
5790
  revokeOtherSessions: z$1.ZodOptional<z$1.ZodBoolean>;
5791
5791
  }, zod_v4_core0.$strip>;
5792
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
5792
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
5793
5793
  session: {
5794
5794
  session: Record<string, any> & {
5795
5795
  id: string;
@@ -5920,7 +5920,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
5920
5920
  metadata: {
5921
5921
  SERVER_ONLY: true;
5922
5922
  };
5923
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
5923
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
5924
5924
  session: {
5925
5925
  session: Record<string, any> & {
5926
5926
  id: string;
@@ -5949,10 +5949,10 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
5949
5949
  path: "/set-password";
5950
5950
  };
5951
5951
  readonly updateUser: {
5952
- <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call998.HasRequiredKeys<better_call998.InputContext<"/update-user", {
5952
+ <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call672.HasRequiredKeys<better_call672.InputContext<"/update-user", {
5953
5953
  method: "POST";
5954
5954
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
5955
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
5955
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
5956
5956
  session: {
5957
5957
  session: Record<string, any> & {
5958
5958
  id: string;
@@ -6025,10 +6025,10 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6025
6025
  };
6026
6026
  } & {
6027
6027
  use: any[];
6028
- }>> extends true ? [better_call998.InferBodyInput<{
6028
+ }>> extends true ? [better_call672.InferBodyInput<{
6029
6029
  method: "POST";
6030
6030
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
6031
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6031
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6032
6032
  session: {
6033
6033
  session: Record<string, any> & {
6034
6034
  id: string;
@@ -6122,10 +6122,10 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6122
6122
  } & {
6123
6123
  asResponse?: AsResponse | undefined;
6124
6124
  returnHeaders?: ReturnHeaders | undefined;
6125
- }] : [((better_call998.InferBodyInput<{
6125
+ }] : [((better_call672.InferBodyInput<{
6126
6126
  method: "POST";
6127
6127
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
6128
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6128
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6129
6129
  session: {
6130
6130
  session: Record<string, any> & {
6131
6131
  id: string;
@@ -6230,7 +6230,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6230
6230
  options: {
6231
6231
  method: "POST";
6232
6232
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
6233
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6233
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6234
6234
  session: {
6235
6235
  session: Record<string, any> & {
6236
6236
  id: string;
@@ -6343,7 +6343,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6343
6343
  }>;
6344
6344
  options: {
6345
6345
  method: "POST";
6346
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6346
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6347
6347
  session: {
6348
6348
  session: Record<string, any> & {
6349
6349
  id: string;
@@ -6509,7 +6509,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6509
6509
  query: z$1.ZodObject<{
6510
6510
  callbackURL: z$1.ZodString;
6511
6511
  }, zod_v4_core0.$strip>;
6512
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
6512
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
6513
6513
  metadata: {
6514
6514
  openapi: {
6515
6515
  description: string;
@@ -6582,7 +6582,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6582
6582
  } & (Option extends PayvoAuthOptions ? AdditionalSessionFieldsOutput<Option> : Option extends Auth ? AdditionalSessionFieldsOutput<Option["options"]> : {})>>>[]>;
6583
6583
  options: {
6584
6584
  method: "GET";
6585
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6585
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6586
6586
  session: {
6587
6587
  session: Record<string, any> & {
6588
6588
  id: string;
@@ -6667,7 +6667,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6667
6667
  body: z$1.ZodObject<{
6668
6668
  token: z$1.ZodString;
6669
6669
  }, zod_v4_core0.$strip>;
6670
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6670
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6671
6671
  session: {
6672
6672
  session: Record<string, any> & {
6673
6673
  id: string;
@@ -6767,7 +6767,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6767
6767
  }>;
6768
6768
  options: {
6769
6769
  method: "POST";
6770
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6770
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6771
6771
  session: {
6772
6772
  session: Record<string, any> & {
6773
6773
  id: string;
@@ -6852,7 +6852,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6852
6852
  options: {
6853
6853
  method: "POST";
6854
6854
  requireHeaders: true;
6855
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6855
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6856
6856
  session: {
6857
6857
  session: Record<string, any> & {
6858
6858
  id: string;
@@ -6969,7 +6969,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
6969
6969
  disableRedirect: z$1.ZodOptional<z$1.ZodBoolean>;
6970
6970
  additionalData: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
6971
6971
  }, zod_v4_core0.$strip>;
6972
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
6972
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
6973
6973
  session: {
6974
6974
  session: Record<string, any> & {
6975
6975
  id: string;
@@ -7071,7 +7071,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
7071
7071
  }[]>;
7072
7072
  options: {
7073
7073
  method: "GET";
7074
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
7074
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
7075
7075
  session: {
7076
7076
  session: Record<string, any> & {
7077
7077
  id: string;
@@ -7188,7 +7188,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
7188
7188
  token: z$1.ZodString;
7189
7189
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
7190
7190
  }, zod_v4_core0.$strip>;
7191
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
7191
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
7192
7192
  metadata: {
7193
7193
  openapi: {
7194
7194
  description: string;
@@ -7261,7 +7261,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
7261
7261
  providerId: z$1.ZodString;
7262
7262
  accountId: z$1.ZodOptional<z$1.ZodString>;
7263
7263
  }, zod_v4_core0.$strip>;
7264
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
7264
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
7265
7265
  session: {
7266
7266
  session: Record<string, any> & {
7267
7267
  id: string;
@@ -7522,7 +7522,7 @@ declare function getEndpoints<Option extends PayvoAuthOptions>(ctx: Promise<Auth
7522
7522
  } | null>;
7523
7523
  options: {
7524
7524
  method: "POST";
7525
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
7525
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
7526
7526
  session: {
7527
7527
  session: Record<string, any> & {
7528
7528
  id: string;
@@ -8120,7 +8120,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
8120
8120
  path: "/sign-out";
8121
8121
  };
8122
8122
  readonly signUpEmail: {
8123
- <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call998.HasRequiredKeys<better_call998.InputContext<"/sign-up/email", {
8123
+ <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call672.HasRequiredKeys<better_call672.InputContext<"/sign-up/email", {
8124
8124
  method: "POST";
8125
8125
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
8126
8126
  metadata: {
@@ -8250,7 +8250,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
8250
8250
  };
8251
8251
  } & {
8252
8252
  use: any[];
8253
- }>> extends true ? [better_call998.InferBodyInput<{
8253
+ }>> extends true ? [better_call672.InferBodyInput<{
8254
8254
  method: "POST";
8255
8255
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
8256
8256
  metadata: {
@@ -8405,7 +8405,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
8405
8405
  } & {
8406
8406
  asResponse?: AsResponse | undefined;
8407
8407
  returnHeaders?: ReturnHeaders | undefined;
8408
- }] : [((better_call998.InferBodyInput<{
8408
+ }] : [((better_call672.InferBodyInput<{
8409
8409
  method: "POST";
8410
8410
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
8411
8411
  metadata: {
@@ -9006,7 +9006,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9006
9006
  token: z$1.ZodString;
9007
9007
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
9008
9008
  }, zod_v4_core0.$strip>;
9009
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
9009
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
9010
9010
  metadata: {
9011
9011
  openapi: {
9012
9012
  description: string;
@@ -9232,7 +9232,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9232
9232
  newEmail: z$1.ZodEmail;
9233
9233
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
9234
9234
  }, zod_v4_core0.$strip>;
9235
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
9235
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
9236
9236
  session: {
9237
9237
  session: Record<string, any> & {
9238
9238
  id: string;
@@ -9362,7 +9362,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9362
9362
  currentPassword: z$1.ZodString;
9363
9363
  revokeOtherSessions: z$1.ZodOptional<z$1.ZodBoolean>;
9364
9364
  }, zod_v4_core0.$strip>;
9365
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
9365
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
9366
9366
  session: {
9367
9367
  session: Record<string, any> & {
9368
9368
  id: string;
@@ -9493,7 +9493,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9493
9493
  metadata: {
9494
9494
  SERVER_ONLY: true;
9495
9495
  };
9496
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
9496
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
9497
9497
  session: {
9498
9498
  session: Record<string, any> & {
9499
9499
  id: string;
@@ -9522,10 +9522,10 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9522
9522
  path: "/set-password";
9523
9523
  };
9524
9524
  readonly updateUser: {
9525
- <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call998.HasRequiredKeys<better_call998.InputContext<"/update-user", {
9525
+ <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...inputCtx: better_call672.HasRequiredKeys<better_call672.InputContext<"/update-user", {
9526
9526
  method: "POST";
9527
9527
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
9528
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
9528
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
9529
9529
  session: {
9530
9530
  session: Record<string, any> & {
9531
9531
  id: string;
@@ -9598,10 +9598,10 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9598
9598
  };
9599
9599
  } & {
9600
9600
  use: any[];
9601
- }>> extends true ? [better_call998.InferBodyInput<{
9601
+ }>> extends true ? [better_call672.InferBodyInput<{
9602
9602
  method: "POST";
9603
9603
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
9604
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
9604
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
9605
9605
  session: {
9606
9606
  session: Record<string, any> & {
9607
9607
  id: string;
@@ -9695,10 +9695,10 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9695
9695
  } & {
9696
9696
  asResponse?: AsResponse | undefined;
9697
9697
  returnHeaders?: ReturnHeaders | undefined;
9698
- }] : [((better_call998.InferBodyInput<{
9698
+ }] : [((better_call672.InferBodyInput<{
9699
9699
  method: "POST";
9700
9700
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
9701
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
9701
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
9702
9702
  session: {
9703
9703
  session: Record<string, any> & {
9704
9704
  id: string;
@@ -9803,7 +9803,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9803
9803
  options: {
9804
9804
  method: "POST";
9805
9805
  body: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
9806
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
9806
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
9807
9807
  session: {
9808
9808
  session: Record<string, any> & {
9809
9809
  id: string;
@@ -9916,7 +9916,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
9916
9916
  }>;
9917
9917
  options: {
9918
9918
  method: "POST";
9919
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
9919
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
9920
9920
  session: {
9921
9921
  session: Record<string, any> & {
9922
9922
  id: string;
@@ -10082,7 +10082,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10082
10082
  query: z$1.ZodObject<{
10083
10083
  callbackURL: z$1.ZodString;
10084
10084
  }, zod_v4_core0.$strip>;
10085
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
10085
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
10086
10086
  metadata: {
10087
10087
  openapi: {
10088
10088
  description: string;
@@ -10155,7 +10155,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10155
10155
  } & (Option extends PayvoAuthOptions ? AdditionalSessionFieldsOutput<Option> : Option extends Auth ? AdditionalSessionFieldsOutput<Option["options"]> : {})>>>[]>;
10156
10156
  options: {
10157
10157
  method: "GET";
10158
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
10158
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
10159
10159
  session: {
10160
10160
  session: Record<string, any> & {
10161
10161
  id: string;
@@ -10240,7 +10240,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10240
10240
  body: z$1.ZodObject<{
10241
10241
  token: z$1.ZodString;
10242
10242
  }, zod_v4_core0.$strip>;
10243
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
10243
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
10244
10244
  session: {
10245
10245
  session: Record<string, any> & {
10246
10246
  id: string;
@@ -10340,7 +10340,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10340
10340
  }>;
10341
10341
  options: {
10342
10342
  method: "POST";
10343
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
10343
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
10344
10344
  session: {
10345
10345
  session: Record<string, any> & {
10346
10346
  id: string;
@@ -10425,7 +10425,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10425
10425
  options: {
10426
10426
  method: "POST";
10427
10427
  requireHeaders: true;
10428
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
10428
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
10429
10429
  session: {
10430
10430
  session: Record<string, any> & {
10431
10431
  id: string;
@@ -10542,7 +10542,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10542
10542
  disableRedirect: z$1.ZodOptional<z$1.ZodBoolean>;
10543
10543
  additionalData: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
10544
10544
  }, zod_v4_core0.$strip>;
10545
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
10545
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
10546
10546
  session: {
10547
10547
  session: Record<string, any> & {
10548
10548
  id: string;
@@ -10644,7 +10644,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10644
10644
  }[]>;
10645
10645
  options: {
10646
10646
  method: "GET";
10647
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
10647
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
10648
10648
  session: {
10649
10649
  session: Record<string, any> & {
10650
10650
  id: string;
@@ -10761,7 +10761,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10761
10761
  token: z$1.ZodString;
10762
10762
  callbackURL: z$1.ZodOptional<z$1.ZodString>;
10763
10763
  }, zod_v4_core0.$strip>;
10764
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<void>)[];
10764
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<void>)[];
10765
10765
  metadata: {
10766
10766
  openapi: {
10767
10767
  description: string;
@@ -10834,7 +10834,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
10834
10834
  providerId: z$1.ZodString;
10835
10835
  accountId: z$1.ZodOptional<z$1.ZodString>;
10836
10836
  }, zod_v4_core0.$strip>;
10837
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
10837
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
10838
10838
  session: {
10839
10839
  session: Record<string, any> & {
10840
10840
  id: string;
@@ -11095,7 +11095,7 @@ declare const router: <Option extends PayvoAuthOptions>(ctx: AuthContext, option
11095
11095
  } | null>;
11096
11096
  options: {
11097
11097
  method: "POST";
11098
- use: ((inputContext: better_call998.MiddlewareInputContext<better_call998.MiddlewareOptions>) => Promise<{
11098
+ use: ((inputContext: better_call672.MiddlewareInputContext<better_call672.MiddlewareOptions>) => Promise<{
11099
11099
  session: {
11100
11100
  session: Record<string, any> & {
11101
11101
  id: string;