@absolutejs/auth 0.55.5 → 0.55.7

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 (219) hide show
  1. package/README.md +6 -1
  2. package/dist/agents/index.js +36 -6
  3. package/dist/agents/index.js.map +6 -5
  4. package/dist/index.d.ts +3400 -8
  5. package/dist/index.js +777 -522
  6. package/dist/index.js.map +17 -13
  7. package/dist/server.d.ts +6 -6
  8. package/dist/server.js +775 -522
  9. package/dist/server.js.map +18 -14
  10. package/package.json +1 -1
  11. package/dist/abuse/captcha.d.ts +0 -11
  12. package/dist/abuse/config.d.ts +0 -29
  13. package/dist/actions.d.ts +0 -27
  14. package/dist/adaptive/config.d.ts +0 -34
  15. package/dist/adaptive/fingerprint.d.ts +0 -2
  16. package/dist/adaptive/inMemoryStores.d.ts +0 -3
  17. package/dist/adaptive/postgresStores.d.ts +0 -245
  18. package/dist/adaptive/types.d.ts +0 -62
  19. package/dist/agents/config.d.ts +0 -44
  20. package/dist/agents/context.d.ts +0 -46
  21. package/dist/agents/idJag.d.ts +0 -49
  22. package/dist/agents/inMemoryStores.d.ts +0 -4
  23. package/dist/agents/oidcAdapter.d.ts +0 -12
  24. package/dist/agents/postgresStores.d.ts +0 -569
  25. package/dist/agents/principal.d.ts +0 -4
  26. package/dist/agents/registration.d.ts +0 -162
  27. package/dist/agents/registrationClient.d.ts +0 -50
  28. package/dist/agents/routes.d.ts +0 -214
  29. package/dist/agents/types.d.ts +0 -129
  30. package/dist/apikeys/config.d.ts +0 -64
  31. package/dist/apikeys/inMemoryStores.d.ts +0 -4
  32. package/dist/apikeys/postgresStores.d.ts +0 -359
  33. package/dist/apikeys/routes.d.ts +0 -83
  34. package/dist/apikeys/types.d.ts +0 -53
  35. package/dist/audit/config.d.ts +0 -9
  36. package/dist/audit/export.d.ts +0 -2
  37. package/dist/audit/inMemoryAuditStore.d.ts +0 -2
  38. package/dist/audit/integrity.d.ts +0 -19
  39. package/dist/audit/postgresAuditStore.d.ts +0 -116
  40. package/dist/audit/siem.d.ts +0 -11
  41. package/dist/audit/types.d.ts +0 -19
  42. package/dist/audit/wrap.d.ts +0 -9
  43. package/dist/authInstance.d.ts +0 -7
  44. package/dist/authorization/config.d.ts +0 -19
  45. package/dist/authorization/protectPermission.d.ts +0 -52
  46. package/dist/compliance/cipher.d.ts +0 -5
  47. package/dist/compliance/config.d.ts +0 -18
  48. package/dist/compliance/redaction.d.ts +0 -8
  49. package/dist/compliance/routes.d.ts +0 -89
  50. package/dist/constants.d.ts +0 -10
  51. package/dist/credentials/backgroundOps.d.ts +0 -45
  52. package/dist/credentials/config.d.ts +0 -68
  53. package/dist/credentials/emailValidation.d.ts +0 -9
  54. package/dist/credentials/emailVerification.d.ts +0 -83
  55. package/dist/credentials/import.d.ts +0 -34
  56. package/dist/credentials/inMemoryCredentialStore.d.ts +0 -2
  57. package/dist/credentials/legacyHashers.d.ts +0 -3
  58. package/dist/credentials/login.d.ts +0 -76
  59. package/dist/credentials/passwordPolicy.d.ts +0 -15
  60. package/dist/credentials/passwordReset.d.ts +0 -87
  61. package/dist/credentials/postgresCredentialStore.d.ts +0 -235
  62. package/dist/credentials/register.d.ts +0 -54
  63. package/dist/credentials/routes.d.ts +0 -201
  64. package/dist/credentials/types.d.ts +0 -26
  65. package/dist/crypto.d.ts +0 -32
  66. package/dist/errors.d.ts +0 -12
  67. package/dist/federation/tokenStore.d.ts +0 -29
  68. package/dist/fga/config.d.ts +0 -53
  69. package/dist/fga/inMemoryStores.d.ts +0 -3
  70. package/dist/fga/postgresStores.d.ts +0 -116
  71. package/dist/fga/redisCheckCache.d.ts +0 -11
  72. package/dist/fga/schema.d.ts +0 -2
  73. package/dist/fga/types.d.ts +0 -28
  74. package/dist/htmx/renderers.d.ts +0 -8
  75. package/dist/htmx/routes.d.ts +0 -514
  76. package/dist/htmx/types.d.ts +0 -129
  77. package/dist/linkedProviders/inMemoryStores.d.ts +0 -9
  78. package/dist/linkedProviders/neonStores.d.ts +0 -484
  79. package/dist/linkedProviders/oauthResolver.d.ts +0 -9
  80. package/dist/linkedProviders/resolver.d.ts +0 -22
  81. package/dist/lockout/config.d.ts +0 -17
  82. package/dist/lockout/inMemoryLockoutStore.d.ts +0 -2
  83. package/dist/lockout/postgresLockoutStore.d.ts +0 -71
  84. package/dist/lockout/redisLockoutStore.d.ts +0 -3
  85. package/dist/lockout/types.d.ts +0 -12
  86. package/dist/mfa/backupCodes.d.ts +0 -5
  87. package/dist/mfa/challenge.d.ts +0 -70
  88. package/dist/mfa/config.d.ts +0 -50
  89. package/dist/mfa/gate.d.ts +0 -2
  90. package/dist/mfa/inMemoryMfaStore.d.ts +0 -2
  91. package/dist/mfa/management.d.ts +0 -106
  92. package/dist/mfa/postgresMfaStore.d.ts +0 -206
  93. package/dist/mfa/rotation.d.ts +0 -17
  94. package/dist/mfa/routes.d.ts +0 -234
  95. package/dist/mfa/secret.d.ts +0 -2
  96. package/dist/mfa/sms.d.ts +0 -105
  97. package/dist/mfa/totp.d.ts +0 -91
  98. package/dist/mfa/types.d.ts +0 -23
  99. package/dist/migrations/generate.d.ts +0 -2
  100. package/dist/migrations/index.d.ts +0 -5
  101. package/dist/migrations/runner.d.ts +0 -13
  102. package/dist/migrations/types.d.ts +0 -14
  103. package/dist/oidc/clientAuth.d.ts +0 -19
  104. package/dist/oidc/clientIdMetadata.d.ts +0 -32
  105. package/dist/oidc/config.d.ts +0 -295
  106. package/dist/oidc/dpop.d.ts +0 -23
  107. package/dist/oidc/inMemoryStores.d.ts +0 -11
  108. package/dist/oidc/inMemoryVciStores.d.ts +0 -3
  109. package/dist/oidc/jar.d.ts +0 -14
  110. package/dist/oidc/keys.d.ts +0 -25
  111. package/dist/oidc/logout.d.ts +0 -38
  112. package/dist/oidc/mtls.d.ts +0 -11
  113. package/dist/oidc/par.d.ts +0 -28
  114. package/dist/oidc/postgresStores.d.ts +0 -1187
  115. package/dist/oidc/registration.d.ts +0 -138
  116. package/dist/oidc/routes.d.ts +0 -568
  117. package/dist/oidc/types.d.ts +0 -143
  118. package/dist/oidc/userinfo.d.ts +0 -21
  119. package/dist/oidc/vci.d.ts +0 -159
  120. package/dist/oidc/vciRoutes.d.ts +0 -92
  121. package/dist/organizations/config.d.ts +0 -46
  122. package/dist/organizations/inMemoryOrganizationStore.d.ts +0 -2
  123. package/dist/organizations/operations.d.ts +0 -39
  124. package/dist/organizations/postgresOrganizationStore.d.ts +0 -340
  125. package/dist/organizations/routes.d.ts +0 -298
  126. package/dist/organizations/types.d.ts +0 -45
  127. package/dist/passwordless/config.d.ts +0 -43
  128. package/dist/passwordless/inMemoryPasswordlessTokenStore.d.ts +0 -2
  129. package/dist/passwordless/postgresPasswordlessTokenStore.d.ts +0 -56
  130. package/dist/passwordless/routes.d.ts +0 -162
  131. package/dist/passwordless/types.d.ts +0 -9
  132. package/dist/portal/config.d.ts +0 -34
  133. package/dist/portal/inMemorySetupSessionStore.d.ts +0 -2
  134. package/dist/portal/operations.d.ts +0 -10
  135. package/dist/portal/postgresSetupSessionStore.d.ts +0 -116
  136. package/dist/portal/routes.d.ts +0 -160
  137. package/dist/portal/types.d.ts +0 -16
  138. package/dist/providers/clients.d.ts +0 -1818
  139. package/dist/providersFromEnv.d.ts +0 -19
  140. package/dist/roles/config.d.ts +0 -27
  141. package/dist/roles/inMemoryRoleStore.d.ts +0 -2
  142. package/dist/roles/operations.d.ts +0 -8
  143. package/dist/roles/postgresRoleStore.d.ts +0 -86
  144. package/dist/roles/resolver.d.ts +0 -17
  145. package/dist/roles/routes.d.ts +0 -105
  146. package/dist/roles/types.d.ts +0 -14
  147. package/dist/routes/authorize.d.ts +0 -102
  148. package/dist/routes/callback.d.ts +0 -64
  149. package/dist/routes/profile.d.ts +0 -70
  150. package/dist/routes/protectRoute.d.ts +0 -51
  151. package/dist/routes/refresh.d.ts +0 -74
  152. package/dist/routes/revoke.d.ts +0 -73
  153. package/dist/routes/sessions.d.ts +0 -103
  154. package/dist/routes/signout.d.ts +0 -70
  155. package/dist/routes/stepUp.d.ts +0 -48
  156. package/dist/routes/userStatus.d.ts +0 -72
  157. package/dist/scim/config.d.ts +0 -57
  158. package/dist/scim/extensions.d.ts +0 -30
  159. package/dist/scim/inMemoryScimTokenStore.d.ts +0 -2
  160. package/dist/scim/postgresScimTokenStore.d.ts +0 -86
  161. package/dist/scim/routes.d.ts +0 -366
  162. package/dist/scim/serialize.d.ts +0 -83
  163. package/dist/scim/types.d.ts +0 -54
  164. package/dist/serverConfig.d.ts +0 -10
  165. package/dist/session/access.d.ts +0 -33
  166. package/dist/session/anonymous.d.ts +0 -12
  167. package/dist/session/cleanup.d.ts +0 -45
  168. package/dist/session/impersonation.d.ts +0 -34
  169. package/dist/session/inMemoryStore.d.ts +0 -7
  170. package/dist/session/internalData.d.ts +0 -34
  171. package/dist/session/multiSession.d.ts +0 -27
  172. package/dist/session/neonStore.d.ts +0 -513
  173. package/dist/session/promote.d.ts +0 -23
  174. package/dist/session/redisStore.d.ts +0 -6
  175. package/dist/session/sessionsConfig.d.ts +0 -9
  176. package/dist/session/state.d.ts +0 -33
  177. package/dist/session/types.d.ts +0 -20
  178. package/dist/session/userSessions.d.ts +0 -19
  179. package/dist/sso/config.d.ts +0 -149
  180. package/dist/sso/discoveryRoute.d.ts +0 -63
  181. package/dist/sso/inMemorySamlServiceProviderStore.d.ts +0 -2
  182. package/dist/sso/inMemorySsoConnectionStore.d.ts +0 -2
  183. package/dist/sso/oidcRoutes.d.ts +0 -98
  184. package/dist/sso/postgresSamlServiceProviderStore.d.ts +0 -101
  185. package/dist/sso/postgresSsoConnectionStore.d.ts +0 -116
  186. package/dist/sso/samlIdpRoutes.d.ts +0 -139
  187. package/dist/sso/samlRoutes.d.ts +0 -178
  188. package/dist/sso/types.d.ts +0 -53
  189. package/dist/stores/postgres.d.ts +0 -5
  190. package/dist/stores/redis.d.ts +0 -5
  191. package/dist/telemetry/tracing.d.ts +0 -15
  192. package/dist/tenancy.d.ts +0 -9
  193. package/dist/typeGuards.d.ts +0 -6
  194. package/dist/typebox.d.ts +0 -4
  195. package/dist/types.d.ts +0 -421
  196. package/dist/utils.d.ts +0 -45
  197. package/dist/vault/config.d.ts +0 -20
  198. package/dist/vault/inMemoryVaultStore.d.ts +0 -2
  199. package/dist/vault/postgresVaultStore.d.ts +0 -86
  200. package/dist/vault/types.d.ts +0 -14
  201. package/dist/vc/inMemoryVpStores.d.ts +0 -2
  202. package/dist/vc/openid4vp.d.ts +0 -82
  203. package/dist/vc/postgresVcStores.d.ts +0 -300
  204. package/dist/vc/sdJwt.d.ts +0 -37
  205. package/dist/vc/statusList.d.ts +0 -29
  206. package/dist/vc/statusListRoutes.d.ts +0 -63
  207. package/dist/vc/vpRoutes.d.ts +0 -120
  208. package/dist/webauthn/adapter.d.ts +0 -59
  209. package/dist/webauthn/config.d.ts +0 -36
  210. package/dist/webauthn/inMemoryWebAuthnCredentialStore.d.ts +0 -2
  211. package/dist/webauthn/postgresWebAuthnCredentialStore.d.ts +0 -146
  212. package/dist/webauthn/routes.d.ts +0 -155
  213. package/dist/webauthn/types.d.ts +0 -17
  214. package/dist/webhooks/config.d.ts +0 -34
  215. package/dist/webhooks/dispatcher.d.ts +0 -3
  216. package/dist/webhooks/inMemoryStore.d.ts +0 -2
  217. package/dist/webhooks/postgresStore.d.ts +0 -116
  218. package/dist/webhooks/sign.d.ts +0 -11
  219. package/dist/webhooks/types.d.ts +0 -25
@@ -1,116 +0,0 @@
1
- import { type AnyPgDatabase } from '../stores/postgres';
2
- import type { WarrantStore } from './types';
3
- export declare const warrantsTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
4
- name: "auth_fga_warrants";
5
- schema: undefined;
6
- columns: {
7
- id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_fga_warrants", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
8
- name: string;
9
- tableName: "auth_fga_warrants";
10
- dataType: "string";
11
- data: string;
12
- driverParam: string;
13
- notNull: true;
14
- hasDefault: false;
15
- isPrimaryKey: false;
16
- isAutoincrement: false;
17
- hasRuntimeDefault: false;
18
- enumValues: undefined;
19
- identity: undefined;
20
- generated: undefined;
21
- }>;
22
- relation: import("drizzle-orm/pg-core").PgBuildColumn<"auth_fga_warrants", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
23
- name: string;
24
- tableName: "auth_fga_warrants";
25
- dataType: "string";
26
- data: string;
27
- driverParam: string;
28
- notNull: true;
29
- hasDefault: false;
30
- isPrimaryKey: false;
31
- isAutoincrement: false;
32
- hasRuntimeDefault: false;
33
- enumValues: undefined;
34
- identity: undefined;
35
- generated: undefined;
36
- }>;
37
- resource_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_fga_warrants", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
38
- name: string;
39
- tableName: "auth_fga_warrants";
40
- dataType: "string";
41
- data: string;
42
- driverParam: string;
43
- notNull: true;
44
- hasDefault: false;
45
- isPrimaryKey: false;
46
- isAutoincrement: false;
47
- hasRuntimeDefault: false;
48
- enumValues: undefined;
49
- identity: undefined;
50
- generated: undefined;
51
- }>;
52
- resource_type: import("drizzle-orm/pg-core").PgBuildColumn<"auth_fga_warrants", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
53
- name: string;
54
- tableName: "auth_fga_warrants";
55
- dataType: "string";
56
- data: string;
57
- driverParam: string;
58
- notNull: true;
59
- hasDefault: false;
60
- isPrimaryKey: false;
61
- isAutoincrement: false;
62
- hasRuntimeDefault: false;
63
- enumValues: undefined;
64
- identity: undefined;
65
- generated: undefined;
66
- }>;
67
- subject_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_fga_warrants", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
68
- name: string;
69
- tableName: "auth_fga_warrants";
70
- dataType: "string";
71
- data: string;
72
- driverParam: string;
73
- notNull: true;
74
- hasDefault: false;
75
- isPrimaryKey: false;
76
- isAutoincrement: false;
77
- hasRuntimeDefault: false;
78
- enumValues: undefined;
79
- identity: undefined;
80
- generated: undefined;
81
- }>;
82
- subject_relation: import("drizzle-orm/pg-core").PgBuildColumn<"auth_fga_warrants", import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>, {
83
- name: string;
84
- tableName: "auth_fga_warrants";
85
- dataType: "string";
86
- data: string;
87
- driverParam: string;
88
- notNull: false;
89
- hasDefault: false;
90
- isPrimaryKey: false;
91
- isAutoincrement: false;
92
- hasRuntimeDefault: false;
93
- enumValues: undefined;
94
- identity: undefined;
95
- generated: undefined;
96
- }>;
97
- subject_type: import("drizzle-orm/pg-core").PgBuildColumn<"auth_fga_warrants", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
98
- name: string;
99
- tableName: "auth_fga_warrants";
100
- dataType: "string";
101
- data: string;
102
- driverParam: string;
103
- notNull: true;
104
- hasDefault: false;
105
- isPrimaryKey: false;
106
- isAutoincrement: false;
107
- hasRuntimeDefault: false;
108
- enumValues: undefined;
109
- identity: undefined;
110
- generated: undefined;
111
- }>;
112
- };
113
- dialect: "pg";
114
- }>;
115
- export declare const createNeonWarrantStore: (databaseUrl: string) => WarrantStore;
116
- export declare const createPostgresWarrantStore: <DB extends AnyPgDatabase>(db: DB) => WarrantStore;
@@ -1,11 +0,0 @@
1
- import type { RedisLike } from '../stores/redis';
2
- import type { FgaCache } from './config';
3
- export type RedisFgaCacheClient = RedisLike & {
4
- keys?: (pattern: string) => Promise<string[]>;
5
- };
6
- type CreateRedisFgaCacheOptions = {
7
- keyPrefix?: string;
8
- ttlMs?: number;
9
- };
10
- export declare const createRedisFgaCache: (redis: RedisFgaCacheClient, { keyPrefix, ttlMs }?: CreateRedisFgaCacheOptions) => FgaCache;
11
- export {};
@@ -1,2 +0,0 @@
1
- import type { FgaSchema } from './types';
2
- export declare const parseSchema: (dsl: string) => FgaSchema;
@@ -1,28 +0,0 @@
1
- export type Warrant = {
2
- relation: string;
3
- resourceId: string;
4
- resourceType: string;
5
- subjectId: string;
6
- subjectRelation?: string;
7
- subjectType: string;
8
- };
9
- export type WarrantStore = {
10
- deleteWarrant: (warrant: Warrant) => Promise<void>;
11
- listForResource: (resourceType: string, resourceId: string, relation: string) => Promise<Warrant[]>;
12
- listResourceIds: (resourceType: string) => Promise<string[]>;
13
- saveWarrant: (warrant: Warrant) => Promise<void>;
14
- };
15
- export type RelationRule = {
16
- kind: 'computedUserset';
17
- relation: string;
18
- } | {
19
- kind: 'self';
20
- } | {
21
- kind: 'tupleToUserset';
22
- relation: string;
23
- viaRelation: string;
24
- } | {
25
- kind: 'union';
26
- rules: RelationRule[];
27
- };
28
- export type FgaSchema = Record<string, Record<string, RelationRule>>;
@@ -1,8 +0,0 @@
1
- import type { AuthHtmxRenderersConfig, ResolvedAuthHtmxRenderers } from './types';
2
- export declare const escapeHtml: (value: string) => string;
3
- /** Resolve the Absolute Auth HTMX fragment renderers. Every fragment has a
4
- * package default that emits the Absolute Auth class contract; pass `render`
5
- * to override any of them. Provider display data, the featured login
6
- * providers, the connector targets and the authorization-URL builder are
7
- * supplied here so the fragments stay app-agnostic. */
8
- export declare const resolveAuthHtmxRenderers: (config: AuthHtmxRenderersConfig) => ResolvedAuthHtmxRenderers;
@@ -1,514 +0,0 @@
1
- import { Elysia } from 'elysia';
2
- import type { AuthSessionStore } from '../session/types';
3
- import type { AuthHtmxConfig, AuthHtmxUser } from './types';
4
- export declare const createAuthHtmxRoutes: <UserType extends AuthHtmxUser>(config: AuthHtmxConfig & {
5
- authSessionStore?: AuthSessionStore<UserType>;
6
- }) => Elysia<"", {
7
- decorator: {};
8
- store: {
9
- session: import("../session/internalData").InternalSessionRecord<UserType>;
10
- unregisteredSession: import("../session/internalData").InternalUnregisteredSessionRecord;
11
- };
12
- derive: {
13
- readonly protectRoute: <AuthReturn, AuthFailReturn>(handleAuth: (user: UserType) => AuthReturn | Promise<AuthReturn>, handleAuthFail?: ((error: {
14
- readonly code: "Bad Request";
15
- readonly message: "Cookies are missing";
16
- } | {
17
- readonly code: "Unauthorized";
18
- readonly message: "User is not authenticated";
19
- }) => AuthFailReturn) | undefined) => Promise<import("elysia").ElysiaCustomStatusResponse<"Bad Request", "Cookies are missing", 400> | import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "User is not authenticated", 401> | AuthReturn | NonNullable<AuthFailReturn>>;
20
- };
21
- resolve: {};
22
- }, {
23
- typebox: {};
24
- error: {};
25
- }, {
26
- schema: {};
27
- standaloneSchema: {};
28
- macro: {};
29
- macroFn: {};
30
- parser: {};
31
- response: {};
32
- } & {
33
- schema: import("elysia").UnwrapRoute<{
34
- cookie: import("@sinclair/typebox").TObject<{
35
- user_session_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TTemplateLiteralSyntax<"${string}-${string}-${string}-${string}-${string}">>;
36
- }>;
37
- }, {}, "">;
38
- standaloneSchema: {};
39
- macro: {};
40
- macroFn: {};
41
- parser: {};
42
- response: import("elysia").ExtractErrorFromHandle<{
43
- readonly protectRoute: <AuthReturn, AuthFailReturn>(handleAuth: (user: UserType) => AuthReturn | Promise<AuthReturn>, handleAuthFail?: ((error: {
44
- readonly code: "Bad Request";
45
- readonly message: "Cookies are missing";
46
- } | {
47
- readonly code: "Unauthorized";
48
- readonly message: "User is not authenticated";
49
- }) => AuthFailReturn) | undefined) => Promise<import("elysia").ElysiaCustomStatusResponse<"Bad Request", "Cookies are missing", 400> | import("elysia").ElysiaCustomStatusResponse<"Unauthorized", "User is not authenticated", 401> | AuthReturn | NonNullable<AuthFailReturn>>;
50
- }>;
51
- }, {
52
- htmx: {
53
- login: {
54
- get: {
55
- body: unknown;
56
- params: {};
57
- query: unknown;
58
- headers: unknown;
59
- response: {
60
- 200: Response;
61
- 422: {
62
- type: "validation";
63
- on: string;
64
- summary?: string;
65
- message?: string;
66
- found?: unknown;
67
- property?: string;
68
- expected?: string;
69
- };
70
- };
71
- };
72
- };
73
- };
74
- } & {
75
- htmx: {
76
- link: {
77
- get: {
78
- body: unknown;
79
- params: {};
80
- query: unknown;
81
- headers: unknown;
82
- response: {
83
- 200: Response;
84
- 422: {
85
- type: "validation";
86
- on: string;
87
- summary?: string;
88
- message?: string;
89
- found?: unknown;
90
- property?: string;
91
- expected?: string;
92
- };
93
- };
94
- };
95
- };
96
- };
97
- } & {
98
- htmx: {
99
- "connector-links": {
100
- get: {
101
- body: unknown;
102
- params: {};
103
- query: unknown;
104
- headers: unknown;
105
- response: {
106
- 200: Response;
107
- 422: {
108
- type: "validation";
109
- on: string;
110
- summary?: string;
111
- message?: string;
112
- found?: unknown;
113
- property?: string;
114
- expected?: string;
115
- };
116
- };
117
- };
118
- };
119
- };
120
- } & {
121
- htmx: {
122
- "auth-menu": {
123
- get: {
124
- body: unknown;
125
- params: {};
126
- query: unknown;
127
- headers: unknown;
128
- response: {
129
- 400: "Cookies are missing";
130
- 401: "User is not authenticated";
131
- 200: Response;
132
- 422: {
133
- type: "validation";
134
- on: string;
135
- summary?: string;
136
- message?: string;
137
- found?: unknown;
138
- property?: string;
139
- expected?: string;
140
- };
141
- };
142
- };
143
- };
144
- };
145
- } & {
146
- htmx: {
147
- me: {
148
- get: {
149
- body: unknown;
150
- params: {};
151
- query: unknown;
152
- headers: unknown;
153
- response: {
154
- 400: "Cookies are missing";
155
- 401: "User is not authenticated";
156
- 200: Response;
157
- 422: {
158
- type: "validation";
159
- on: string;
160
- summary?: string;
161
- message?: string;
162
- found?: unknown;
163
- property?: string;
164
- expected?: string;
165
- };
166
- };
167
- };
168
- };
169
- };
170
- } & {
171
- htmx: {
172
- account: {
173
- get: {
174
- body: unknown;
175
- params: {};
176
- query: unknown;
177
- headers: unknown;
178
- response: {
179
- 400: "Cookies are missing";
180
- 401: "User is not authenticated";
181
- 200: Response;
182
- 422: {
183
- type: "validation";
184
- on: string;
185
- summary?: string;
186
- message?: string;
187
- found?: unknown;
188
- property?: string;
189
- expected?: string;
190
- };
191
- };
192
- };
193
- };
194
- };
195
- } & {
196
- htmx: {
197
- identities: {
198
- get: {
199
- body: unknown;
200
- params: {};
201
- query: unknown;
202
- headers: unknown;
203
- response: {
204
- 400: "Cookies are missing";
205
- 401: "User is not authenticated";
206
- 200: {} | Response;
207
- 422: {
208
- type: "validation";
209
- on: string;
210
- summary?: string;
211
- message?: string;
212
- found?: unknown;
213
- property?: string;
214
- expected?: string;
215
- };
216
- };
217
- };
218
- };
219
- };
220
- } & {
221
- htmx: {
222
- identities: {
223
- ":id": {
224
- primary: {
225
- post: {
226
- body: unknown;
227
- params: {
228
- id: string;
229
- } & {};
230
- query: unknown;
231
- headers: unknown;
232
- response: {
233
- 400: "Cookies are missing";
234
- 401: "User is not authenticated";
235
- 200: {} | Response;
236
- 422: {
237
- type: "validation";
238
- on: string;
239
- summary?: string;
240
- message?: string;
241
- found?: unknown;
242
- property?: string;
243
- expected?: string;
244
- };
245
- };
246
- };
247
- };
248
- };
249
- };
250
- };
251
- } & {
252
- htmx: {
253
- identities: {
254
- ":id": {
255
- delete: {
256
- body: unknown;
257
- params: {
258
- id: string;
259
- } & {};
260
- query: unknown;
261
- headers: unknown;
262
- response: {
263
- 400: "Cookies are missing";
264
- 401: "User is not authenticated";
265
- 200: {} | Response;
266
- 422: {
267
- type: "validation";
268
- on: string;
269
- summary?: string;
270
- message?: string;
271
- found?: unknown;
272
- property?: string;
273
- expected?: string;
274
- };
275
- };
276
- };
277
- };
278
- };
279
- };
280
- } & {
281
- htmx: {
282
- merge: {
283
- ":id": {
284
- post: {
285
- body: unknown;
286
- params: {
287
- id: string;
288
- } & {};
289
- query: unknown;
290
- headers: unknown;
291
- response: {
292
- 400: "Cookies are missing";
293
- 401: "User is not authenticated";
294
- 200: {} | Response;
295
- 422: {
296
- type: "validation";
297
- on: string;
298
- summary?: string;
299
- message?: string;
300
- found?: unknown;
301
- property?: string;
302
- expected?: string;
303
- };
304
- };
305
- };
306
- };
307
- };
308
- };
309
- } & {
310
- htmx: {
311
- merge: {
312
- ":id": {
313
- delete: {
314
- body: unknown;
315
- params: {
316
- id: string;
317
- } & {};
318
- query: unknown;
319
- headers: unknown;
320
- response: {
321
- 400: "Cookies are missing";
322
- 401: "User is not authenticated";
323
- 200: {} | Response;
324
- 422: {
325
- type: "validation";
326
- on: string;
327
- summary?: string;
328
- message?: string;
329
- found?: unknown;
330
- property?: string;
331
- expected?: string;
332
- };
333
- };
334
- };
335
- };
336
- };
337
- };
338
- } & {
339
- htmx: {
340
- "connector-list": {
341
- get: {
342
- body: unknown;
343
- params: {};
344
- query: unknown;
345
- headers: unknown;
346
- response: {
347
- 400: "Cookies are missing";
348
- 401: "User is not authenticated";
349
- 200: Response;
350
- 422: {
351
- type: "validation";
352
- on: string;
353
- summary?: string;
354
- message?: string;
355
- found?: unknown;
356
- property?: string;
357
- expected?: string;
358
- };
359
- };
360
- };
361
- };
362
- };
363
- } & {
364
- htmx: {
365
- connectors: {
366
- grants: {
367
- ":id": {
368
- delete: {
369
- body: unknown;
370
- params: {
371
- id: string;
372
- } & {};
373
- query: unknown;
374
- headers: unknown;
375
- response: {
376
- 400: "Cookies are missing";
377
- 401: "User is not authenticated";
378
- 200: {} | Response;
379
- 422: {
380
- type: "validation";
381
- on: string;
382
- summary?: string;
383
- message?: string;
384
- found?: unknown;
385
- property?: string;
386
- expected?: string;
387
- };
388
- };
389
- };
390
- };
391
- };
392
- };
393
- };
394
- } & {
395
- htmx: {
396
- connectors: {
397
- bindings: {
398
- ":id": {
399
- delete: {
400
- body: unknown;
401
- params: {
402
- id: string;
403
- } & {};
404
- query: unknown;
405
- headers: unknown;
406
- response: {
407
- 400: "Cookies are missing";
408
- 401: "User is not authenticated";
409
- 200: {} | Response;
410
- 422: {
411
- type: "validation";
412
- on: string;
413
- summary?: string;
414
- message?: string;
415
- found?: unknown;
416
- property?: string;
417
- expected?: string;
418
- };
419
- };
420
- };
421
- };
422
- };
423
- };
424
- };
425
- } & {
426
- htmx: {
427
- "login-redirect": {
428
- get: {
429
- body: unknown;
430
- params: {};
431
- query: unknown;
432
- headers: unknown;
433
- response: {
434
- 200: Response;
435
- 422: {
436
- type: "validation";
437
- on: string;
438
- summary?: string;
439
- message?: string;
440
- found?: unknown;
441
- property?: string;
442
- expected?: string;
443
- };
444
- };
445
- };
446
- };
447
- };
448
- } & {
449
- htmx: {
450
- "delete-account": {
451
- post: {
452
- body: unknown;
453
- params: {};
454
- query: unknown;
455
- headers: unknown;
456
- response: {
457
- 400: "Cookies are missing";
458
- 401: "User is not authenticated";
459
- 200: {} | Response;
460
- 422: {
461
- type: "validation";
462
- on: string;
463
- summary?: string;
464
- message?: string;
465
- found?: unknown;
466
- property?: string;
467
- expected?: string;
468
- };
469
- };
470
- };
471
- };
472
- };
473
- } & {
474
- htmx: {
475
- signout: {
476
- get: {
477
- body: unknown;
478
- params: {};
479
- query: unknown;
480
- headers: unknown;
481
- response: {
482
- 200: Response;
483
- 422: {
484
- type: "validation";
485
- on: string;
486
- summary?: string;
487
- message?: string;
488
- found?: unknown;
489
- property?: string;
490
- expected?: string;
491
- };
492
- };
493
- };
494
- };
495
- };
496
- }, {
497
- derive: {};
498
- resolve: {};
499
- schema: {};
500
- standaloneSchema: {};
501
- response: {};
502
- }, {
503
- derive: {};
504
- resolve: {};
505
- schema: {};
506
- standaloneSchema: {};
507
- response: {};
508
- } & {
509
- derive: {};
510
- resolve: {};
511
- schema: {};
512
- standaloneSchema: {};
513
- response: {};
514
- }>;