@tinyrack/issuary-server 0.28.0 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/entities/oauth-client.entity.d.ts +18 -0
  2. package/dist/entities/oauth-client.entity.d.ts.map +1 -1
  3. package/dist/entities/oauth-client.entity.js +12 -0
  4. package/dist/entities/oauth-client.entity.js.map +1 -1
  5. package/dist/entities/oauth-code.entity.d.ts +18 -0
  6. package/dist/entities/oauth-code.entity.d.ts.map +1 -1
  7. package/dist/entities/oauth-device-code.entity.d.ts +18 -0
  8. package/dist/entities/oauth-device-code.entity.d.ts.map +1 -1
  9. package/dist/entities/revoked-token.entity.d.ts +18 -0
  10. package/dist/entities/revoked-token.entity.d.ts.map +1 -1
  11. package/dist/entities/user-consent.entity.d.ts +18 -0
  12. package/dist/entities/user-consent.entity.d.ts.map +1 -1
  13. package/dist/entrypoints/app.d.ts +124 -30
  14. package/dist/entrypoints/app.d.ts.map +1 -1
  15. package/dist/entrypoints/database/postgres/compiled-functions.d.ts +10 -4
  16. package/dist/entrypoints/database/postgres/compiled-functions.js +111 -24
  17. package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
  18. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +10 -4
  19. package/dist/entrypoints/database/sqlite/compiled-functions.js +111 -24
  20. package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
  21. package/dist/lib/config/cleanup.d.ts +8 -0
  22. package/dist/lib/config/cleanup.d.ts.map +1 -1
  23. package/dist/lib/config/cleanup.js +16 -0
  24. package/dist/lib/config/cleanup.js.map +1 -1
  25. package/dist/lib/config/resolved.d.ts +4 -0
  26. package/dist/lib/config/resolved.d.ts.map +1 -1
  27. package/dist/migrations/postgres/Migration20260904090000_add_oauth_client_lifecycle.d.ts +6 -0
  28. package/dist/migrations/postgres/Migration20260904090000_add_oauth_client_lifecycle.d.ts.map +1 -0
  29. package/dist/migrations/postgres/Migration20260904090000_add_oauth_client_lifecycle.js +14 -0
  30. package/dist/migrations/postgres/Migration20260904090000_add_oauth_client_lifecycle.js.map +1 -0
  31. package/dist/migrations/postgres/index.d.ts.map +1 -1
  32. package/dist/migrations/postgres/index.js +2 -0
  33. package/dist/migrations/postgres/index.js.map +1 -1
  34. package/dist/migrations/sqlite/Migration20260904090000_add_oauth_client_lifecycle.d.ts +6 -0
  35. package/dist/migrations/sqlite/Migration20260904090000_add_oauth_client_lifecycle.d.ts.map +1 -0
  36. package/dist/migrations/sqlite/Migration20260904090000_add_oauth_client_lifecycle.js +14 -0
  37. package/dist/migrations/sqlite/Migration20260904090000_add_oauth_client_lifecycle.js.map +1 -0
  38. package/dist/migrations/sqlite/index.d.ts.map +1 -1
  39. package/dist/migrations/sqlite/index.js +2 -0
  40. package/dist/migrations/sqlite/index.js.map +1 -1
  41. package/dist/routes/api/admin/console/index.d.ts +91 -1
  42. package/dist/routes/api/admin/console/index.d.ts.map +1 -1
  43. package/dist/routes/api/admin/console/index.js +10 -2
  44. package/dist/routes/api/admin/console/index.js.map +1 -1
  45. package/dist/routes/api/admin/index.d.ts +91 -1
  46. package/dist/routes/api/admin/index.d.ts.map +1 -1
  47. package/dist/routes/api/auth/accounts/select.post.d.ts +6 -6
  48. package/dist/routes/api/auth/index.d.ts +11 -11
  49. package/dist/routes/api/index.d.ts +120 -30
  50. package/dist/routes/api/index.d.ts.map +1 -1
  51. package/dist/routes/api/oauth/_provider/callback/post.d.ts +9 -9
  52. package/dist/routes/index.d.ts +91 -1
  53. package/dist/routes/index.d.ts.map +1 -1
  54. package/dist/routes/oauth/index.d.ts +9 -9
  55. package/dist/schemas/error.d.ts +75 -0
  56. package/dist/schemas/error.d.ts.map +1 -1
  57. package/dist/schemas/error.js +3 -0
  58. package/dist/schemas/error.js.map +1 -1
  59. package/dist/schemas/response.d.ts +1 -0
  60. package/dist/schemas/response.d.ts.map +1 -1
  61. package/dist/schemas/response.js +4 -0
  62. package/dist/schemas/response.js.map +1 -1
  63. package/dist/seeders/config.seeder.js +14 -11
  64. package/dist/seeders/config.seeder.js.map +1 -1
  65. package/dist/services/admin-console.service.d.ts +47 -0
  66. package/dist/services/admin-console.service.d.ts.map +1 -1
  67. package/dist/services/admin-console.service.js +75 -6
  68. package/dist/services/admin-console.service.js.map +1 -1
  69. package/dist/services/cleanup.service.d.ts +2 -0
  70. package/dist/services/cleanup.service.d.ts.map +1 -1
  71. package/dist/services/cleanup.service.js +61 -0
  72. package/dist/services/cleanup.service.js.map +1 -1
  73. package/dist/services/container.d.ts +4 -0
  74. package/dist/services/container.d.ts.map +1 -1
  75. package/dist/services/jwt.service.d.ts +2 -0
  76. package/dist/services/jwt.service.d.ts.map +1 -1
  77. package/dist/services/jwt.service.js +6 -0
  78. package/dist/services/jwt.service.js.map +1 -1
  79. package/dist/services/oauth-client.service.d.ts.map +1 -1
  80. package/dist/services/oauth-client.service.js +9 -5
  81. package/dist/services/oauth-client.service.js.map +1 -1
  82. package/dist/services/oauth-token.service.d.ts.map +1 -1
  83. package/dist/services/oauth-token.service.js +8 -1
  84. package/dist/services/oauth-token.service.js.map +1 -1
  85. package/frontend/client/assets/admin-console-BVGtfvzy.js +1 -0
  86. package/frontend/client/assets/admin-users-notice-DcKE5B43.js +1 -0
  87. package/frontend/client/assets/auth-choice-row-DBHleTc9.js +1 -0
  88. package/frontend/client/assets/{auth-layout-BFD6Jwkd.js → auth-layout-CFKu8bHI.js} +1 -1
  89. package/frontend/client/assets/{auth-page-header-DWIuRJtG.js → auth-page-header-D5Z-EA6V.js} +1 -1
  90. package/frontend/client/assets/{authorization-context-banner-WE0b3j97.js → authorization-context-banner-Cqtzj9A1.js} +1 -1
  91. package/frontend/client/assets/i18n-BY3irWek.js +1 -0
  92. package/frontend/client/assets/{language-selector-BZipfWXO.js → language-selector-CGXk9vW_.js} +1 -1
  93. package/frontend/client/assets/manifest-9217f574.js +1 -0
  94. package/frontend/client/assets/{passkey-DoR9gw8n.js → passkey-C9bzur2Z.js} +1 -1
  95. package/frontend/client/assets/{promise-C4eJsjRN.js → promise-CFWkfv2A.js} +1 -1
  96. package/frontend/client/assets/{root-DxmAI0wD.css → root-BzgVDKW8.css} +1 -1
  97. package/frontend/client/assets/{root-sdYEeZVs.js → root-DTCHNfT8.js} +1 -1
  98. package/frontend/client/assets/{route-BPss6aNC.js → route-48mZ_bkD.js} +1 -1
  99. package/frontend/client/assets/route-9i9rqQdx.js +4 -0
  100. package/frontend/client/assets/{route-BI7lRSrf.js → route-Bc48Eq7F.js} +1 -1
  101. package/frontend/client/assets/{route-BA8SLA-y.js → route-Bx9hz_OF.js} +1 -1
  102. package/frontend/client/assets/{route-B4n6iLak.js → route-C5Pe2AZT.js} +1 -1
  103. package/frontend/client/assets/{route-DHyl9fg6.js → route-C9TWgUZf.js} +1 -1
  104. package/frontend/client/assets/{route-DCxEMgcG.js → route-CBjporWj.js} +1 -1
  105. package/frontend/client/assets/{route-BbumhNTg.js → route-CLo3eo-R.js} +1 -1
  106. package/frontend/client/assets/route-CPIXY7eE.js +1 -0
  107. package/frontend/client/assets/{route--ygtU3xf.js → route-Caw4ohFV.js} +1 -1
  108. package/frontend/client/assets/{route-O04gqlmz.js → route-Ceht21dJ.js} +1 -1
  109. package/frontend/client/assets/route-CkS9fAlL.js +1 -0
  110. package/frontend/client/assets/{route-CCs0-fO0.js → route-CsT5EJEh.js} +1 -1
  111. package/frontend/client/assets/{route-DQlEYlRT.js → route-Cvob9_0Q.js} +1 -1
  112. package/frontend/client/assets/{route-OeZDuFSb.js → route-DCfkikii.js} +1 -1
  113. package/frontend/client/assets/{route-B1MD0P12.js → route-DHEnEwHa.js} +1 -1
  114. package/frontend/client/assets/{route-BLq7NTd1.js → route-DLNoCW7x.js} +1 -1
  115. package/frontend/client/assets/{route-WG7qPhB_.js → route-DVMfGHhl.js} +1 -1
  116. package/frontend/client/assets/{route-BUTlt8Ui.js → route-DlKXugZV.js} +1 -1
  117. package/frontend/client/assets/{route-D9cK2_2t.js → route-DokK6Iod.js} +1 -1
  118. package/frontend/client/assets/{route-D98zlsIA.js → route-ID67gqvy.js} +1 -1
  119. package/frontend/client/assets/{route-Cmo_MXuL.js → route-OWWRYmAT.js} +1 -1
  120. package/frontend/client/assets/{route-DitctEyz.js → route-R-BJj3-W.js} +1 -1
  121. package/frontend/client/assets/{route-CgqKzu4o.js → route-_DMD2pp1.js} +1 -1
  122. package/frontend/client/assets/{route-BukKUAfo.js → route-goGP2kXu.js} +1 -1
  123. package/frontend/client/assets/{route-DtL-KJ0k.js → route-xuoylbDO.js} +1 -1
  124. package/frontend/client/assets/{shell-header-bar-CtUdWFmD.js → shell-header-bar-C3KYib1D.js} +1 -1
  125. package/frontend/client/assets/{terms-BEja7rHN.js → terms-BReb6uEz.js} +1 -1
  126. package/frontend/client/assets/{use-totp-setup-BwOsP75D.js → use-totp-setup-BOSkSnYG.js} +1 -1
  127. package/frontend/server/assets/{hydration-CzMpuxhN.js → hydration-yaDCGSA8.js} +1 -1
  128. package/frontend/server/assets/{root-loader.server-BjcO3GtR.js → root-loader.server-Cwm-l9OS.js} +3 -3
  129. package/frontend/server/assets/{route-runtime.server-DnkciJ0v.js → route-runtime.server-CjDbp5w6.js} +1 -1
  130. package/frontend/server/assets/{session-CEJThdQg.js → session-CSnQWUgx.js} +30 -0
  131. package/frontend/server/index.js +384 -259
  132. package/package.json +1 -1
  133. package/frontend/client/assets/admin-console-DL8Kf5fu.js +0 -1
  134. package/frontend/client/assets/auth-choice-row-vQ3LzZiF.js +0 -1
  135. package/frontend/client/assets/i18n-wAvPXBC2.js +0 -1
  136. package/frontend/client/assets/manifest-6d4cda98.js +0 -1
  137. package/frontend/client/assets/route-CEunl4H1.js +0 -1
  138. package/frontend/client/assets/route-CZFY6zgn.js +0 -4
  139. package/frontend/client/assets/route-DUp2lTDn.js +0 -1
@@ -86,11 +86,11 @@ export declare const authRoutes: import("hono/hono-base").HonoBase<AppEnv, impor
86
86
  "/auth/accounts/select": {
87
87
  $post: {
88
88
  output: {
89
- code: string;
90
- message: string;
89
+ ok: true;
90
+ active_sub: string;
91
91
  };
92
92
  outputFormat: "json";
93
- status: 400;
93
+ status: 200;
94
94
  input: {
95
95
  json: {
96
96
  sub: string;
@@ -98,11 +98,11 @@ export declare const authRoutes: import("hono/hono-base").HonoBase<AppEnv, impor
98
98
  };
99
99
  } | {
100
100
  output: {
101
- ok: true;
102
- active_sub: string;
101
+ code: string;
102
+ message: string;
103
103
  };
104
104
  outputFormat: "json";
105
- status: 200;
105
+ status: 400;
106
106
  input: {
107
107
  json: {
108
108
  sub: string;
@@ -114,11 +114,10 @@ export declare const authRoutes: import("hono/hono-base").HonoBase<AppEnv, impor
114
114
  "/auth/accounts/remove": {
115
115
  $post: {
116
116
  output: {
117
- code: string;
118
- message: string;
117
+ ok: true;
119
118
  };
120
119
  outputFormat: "json";
121
- status: 400;
120
+ status: 200;
122
121
  input: {
123
122
  json: {
124
123
  sub: string;
@@ -126,10 +125,11 @@ export declare const authRoutes: import("hono/hono-base").HonoBase<AppEnv, impor
126
125
  };
127
126
  } | {
128
127
  output: {
129
- ok: true;
128
+ code: string;
129
+ message: string;
130
130
  };
131
131
  outputFormat: "json";
132
- status: 200;
132
+ status: 400;
133
133
  input: {
134
134
  json: {
135
135
  sub: string;
@@ -26,11 +26,11 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
26
26
  "/auth/accounts/select": {
27
27
  $post: {
28
28
  output: {
29
- code: string;
30
- message: string;
29
+ ok: true;
30
+ active_sub: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 400;
33
+ status: 200;
34
34
  input: {
35
35
  json: {
36
36
  sub: string;
@@ -38,11 +38,11 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
38
38
  };
39
39
  } | {
40
40
  output: {
41
- ok: true;
42
- active_sub: string;
41
+ code: string;
42
+ message: string;
43
43
  };
44
44
  outputFormat: "json";
45
- status: 200;
45
+ status: 400;
46
46
  input: {
47
47
  json: {
48
48
  sub: string;
@@ -188,11 +188,10 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
188
188
  "/auth/accounts/remove": {
189
189
  $post: {
190
190
  output: {
191
- code: string;
192
- message: string;
191
+ ok: true;
193
192
  };
194
193
  outputFormat: "json";
195
- status: 400;
194
+ status: 200;
196
195
  input: {
197
196
  json: {
198
197
  sub: string;
@@ -200,10 +199,11 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
200
199
  };
201
200
  } | {
202
201
  output: {
203
- ok: true;
202
+ code: string;
203
+ message: string;
204
204
  };
205
205
  outputFormat: "json";
206
- status: 200;
206
+ status: 400;
207
207
  input: {
208
208
  json: {
209
209
  sub: string;
@@ -1016,6 +1016,7 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1016
1016
  post_logout_redirect_uris: string[];
1017
1017
  web_origins: string[];
1018
1018
  enabled: boolean;
1019
+ deleted_at: string | null;
1019
1020
  skip_consent: boolean;
1020
1021
  managed_by: "config" | "database";
1021
1022
  created_at: string;
@@ -1036,7 +1037,7 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1036
1037
  page_size?: string | string[];
1037
1038
  managed_by?: "config" | "database" | undefined;
1038
1039
  direction?: "asc" | "desc" | undefined;
1039
- enabled?: string | string[];
1040
+ lifecycle_status?: "active" | "deleted" | "inactive" | undefined;
1040
1041
  type?: "confidential" | "public" | undefined;
1041
1042
  };
1042
1043
  };
@@ -1058,6 +1059,7 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1058
1059
  post_logout_redirect_uris: string[];
1059
1060
  web_origins: string[];
1060
1061
  enabled: boolean;
1062
+ deleted_at: string | null;
1061
1063
  skip_consent: boolean;
1062
1064
  managed_by: "config" | "database";
1063
1065
  created_at: string;
@@ -1129,6 +1131,7 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1129
1131
  post_logout_redirect_uris: string[];
1130
1132
  web_origins: string[];
1131
1133
  enabled: boolean;
1134
+ deleted_at: string | null;
1132
1135
  skip_consent: boolean;
1133
1136
  managed_by: "config" | "database";
1134
1137
  created_at: string;
@@ -1193,6 +1196,7 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1193
1196
  post_logout_redirect_uris: string[];
1194
1197
  web_origins: string[];
1195
1198
  enabled: boolean;
1199
+ deleted_at: string | null;
1196
1200
  skip_consent: boolean;
1197
1201
  managed_by: "config" | "database";
1198
1202
  created_at: string;
@@ -1220,6 +1224,92 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1220
1224
  };
1221
1225
  };
1222
1226
  };
1227
+ } & {
1228
+ "/admin/clients/:id": {
1229
+ $delete: {
1230
+ output: {
1231
+ client: {
1232
+ id: string;
1233
+ client_id: string;
1234
+ name: string;
1235
+ type: "confidential" | "public";
1236
+ grant_types: string[];
1237
+ response_types: string[];
1238
+ scopes: string[];
1239
+ redirect_uris: string[];
1240
+ post_logout_redirect_uris: string[];
1241
+ web_origins: string[];
1242
+ enabled: boolean;
1243
+ deleted_at: string | null;
1244
+ skip_consent: boolean;
1245
+ managed_by: "config" | "database";
1246
+ created_at: string;
1247
+ updated_at: string;
1248
+ };
1249
+ };
1250
+ outputFormat: "json";
1251
+ status: 200;
1252
+ input: {
1253
+ param: {
1254
+ id: string;
1255
+ };
1256
+ };
1257
+ } | {
1258
+ output: {
1259
+ error: string;
1260
+ };
1261
+ outputFormat: "json";
1262
+ status: 404;
1263
+ input: {
1264
+ param: {
1265
+ id: string;
1266
+ };
1267
+ };
1268
+ };
1269
+ };
1270
+ } & {
1271
+ "/admin/clients/:id/restore": {
1272
+ $post: {
1273
+ output: {
1274
+ client: {
1275
+ id: string;
1276
+ client_id: string;
1277
+ name: string;
1278
+ type: "confidential" | "public";
1279
+ grant_types: string[];
1280
+ response_types: string[];
1281
+ scopes: string[];
1282
+ redirect_uris: string[];
1283
+ post_logout_redirect_uris: string[];
1284
+ web_origins: string[];
1285
+ enabled: boolean;
1286
+ deleted_at: string | null;
1287
+ skip_consent: boolean;
1288
+ managed_by: "config" | "database";
1289
+ created_at: string;
1290
+ updated_at: string;
1291
+ };
1292
+ };
1293
+ outputFormat: "json";
1294
+ status: 200;
1295
+ input: {
1296
+ param: {
1297
+ id: string;
1298
+ };
1299
+ };
1300
+ } | {
1301
+ output: {
1302
+ error: string;
1303
+ };
1304
+ outputFormat: "json";
1305
+ status: 404;
1306
+ input: {
1307
+ param: {
1308
+ id: string;
1309
+ };
1310
+ };
1311
+ };
1312
+ };
1223
1313
  } & {
1224
1314
  "/admin/terms": {
1225
1315
  $get: {
@@ -1399,9 +1489,12 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1399
1489
  }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
1400
1490
  "/oauth/:provider/callback": {
1401
1491
  $post: {
1402
- output: undefined;
1403
- outputFormat: "redirect";
1404
- status: 302;
1492
+ output: {
1493
+ code: any;
1494
+ message: any;
1495
+ };
1496
+ outputFormat: "json";
1497
+ status: any;
1405
1498
  input: {
1406
1499
  param: {
1407
1500
  provider: string;
@@ -1415,12 +1508,9 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1415
1508
  };
1416
1509
  };
1417
1510
  } | {
1418
- output: {
1419
- code: any;
1420
- message: any;
1421
- };
1422
- outputFormat: "json";
1423
- status: any;
1511
+ output: undefined;
1512
+ outputFormat: "redirect";
1513
+ status: 302;
1424
1514
  input: {
1425
1515
  param: {
1426
1516
  provider: string;
@@ -1484,9 +1574,12 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1484
1574
  }, "/"> | import("hono/types").MergeSchemaPath<{
1485
1575
  "/oauth/:provider/callback": {
1486
1576
  $get: {
1487
- output: undefined;
1488
- outputFormat: "redirect";
1489
- status: 302;
1577
+ output: {
1578
+ code: any;
1579
+ message: any;
1580
+ };
1581
+ outputFormat: "json";
1582
+ status: any;
1490
1583
  input: {
1491
1584
  param: {
1492
1585
  provider: string;
@@ -1500,12 +1593,9 @@ export declare const apiRoutes: import("hono/hono-base").HonoBase<AppEnv, import
1500
1593
  };
1501
1594
  };
1502
1595
  } | {
1503
- output: {
1504
- code: any;
1505
- message: any;
1506
- };
1507
- outputFormat: "json";
1508
- status: any;
1596
+ output: undefined;
1597
+ outputFormat: "redirect";
1598
+ status: 302;
1509
1599
  input: {
1510
1600
  param: {
1511
1601
  provider: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/routes/api/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAWnD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBASI,CAAC"}
@@ -2,9 +2,12 @@ import type { AppEnv } from '../../../../../lib/app-env.ts';
2
2
  export declare const oauthProviderCallbackPost: import("hono/hono-base").HonoBase<AppEnv, {
3
3
  "/oauth/:provider/callback": {
4
4
  $post: {
5
- output: undefined;
6
- outputFormat: "redirect";
7
- status: 302;
5
+ output: {
6
+ code: any;
7
+ message: any;
8
+ };
9
+ outputFormat: "json";
10
+ status: any;
8
11
  input: {
9
12
  param: {
10
13
  provider: string;
@@ -18,12 +21,9 @@ export declare const oauthProviderCallbackPost: import("hono/hono-base").HonoBas
18
21
  };
19
22
  };
20
23
  } | {
21
- output: {
22
- code: any;
23
- message: any;
24
- };
25
- outputFormat: "json";
26
- status: any;
24
+ output: undefined;
25
+ outputFormat: "redirect";
26
+ status: 302;
27
27
  input: {
28
28
  param: {
29
29
  provider: string;
@@ -1794,6 +1794,7 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
1794
1794
  post_logout_redirect_uris: string[];
1795
1795
  web_origins: string[];
1796
1796
  enabled: boolean;
1797
+ deleted_at: string | null;
1797
1798
  skip_consent: boolean;
1798
1799
  managed_by: "config" | "database";
1799
1800
  created_at: string;
@@ -1814,7 +1815,7 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
1814
1815
  page_size?: string | string[];
1815
1816
  managed_by?: "config" | "database" | undefined;
1816
1817
  direction?: "asc" | "desc" | undefined;
1817
- enabled?: string | string[];
1818
+ lifecycle_status?: "active" | "deleted" | "inactive" | undefined;
1818
1819
  type?: "confidential" | "public" | undefined;
1819
1820
  };
1820
1821
  };
@@ -1836,6 +1837,7 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
1836
1837
  post_logout_redirect_uris: string[];
1837
1838
  web_origins: string[];
1838
1839
  enabled: boolean;
1840
+ deleted_at: string | null;
1839
1841
  skip_consent: boolean;
1840
1842
  managed_by: "config" | "database";
1841
1843
  created_at: string;
@@ -1907,6 +1909,7 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
1907
1909
  post_logout_redirect_uris: string[];
1908
1910
  web_origins: string[];
1909
1911
  enabled: boolean;
1912
+ deleted_at: string | null;
1910
1913
  skip_consent: boolean;
1911
1914
  managed_by: "config" | "database";
1912
1915
  created_at: string;
@@ -1971,6 +1974,7 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
1971
1974
  post_logout_redirect_uris: string[];
1972
1975
  web_origins: string[];
1973
1976
  enabled: boolean;
1977
+ deleted_at: string | null;
1974
1978
  skip_consent: boolean;
1975
1979
  managed_by: "config" | "database";
1976
1980
  created_at: string;
@@ -1998,6 +2002,92 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
1998
2002
  };
1999
2003
  };
2000
2004
  };
2005
+ } & {
2006
+ "/admin/clients/:id": {
2007
+ $delete: {
2008
+ output: {
2009
+ client: {
2010
+ id: string;
2011
+ client_id: string;
2012
+ name: string;
2013
+ type: "confidential" | "public";
2014
+ grant_types: string[];
2015
+ response_types: string[];
2016
+ scopes: string[];
2017
+ redirect_uris: string[];
2018
+ post_logout_redirect_uris: string[];
2019
+ web_origins: string[];
2020
+ enabled: boolean;
2021
+ deleted_at: string | null;
2022
+ skip_consent: boolean;
2023
+ managed_by: "config" | "database";
2024
+ created_at: string;
2025
+ updated_at: string;
2026
+ };
2027
+ };
2028
+ outputFormat: "json";
2029
+ status: 200;
2030
+ input: {
2031
+ param: {
2032
+ id: string;
2033
+ };
2034
+ };
2035
+ } | {
2036
+ output: {
2037
+ error: string;
2038
+ };
2039
+ outputFormat: "json";
2040
+ status: 404;
2041
+ input: {
2042
+ param: {
2043
+ id: string;
2044
+ };
2045
+ };
2046
+ };
2047
+ };
2048
+ } & {
2049
+ "/admin/clients/:id/restore": {
2050
+ $post: {
2051
+ output: {
2052
+ client: {
2053
+ id: string;
2054
+ client_id: string;
2055
+ name: string;
2056
+ type: "confidential" | "public";
2057
+ grant_types: string[];
2058
+ response_types: string[];
2059
+ scopes: string[];
2060
+ redirect_uris: string[];
2061
+ post_logout_redirect_uris: string[];
2062
+ web_origins: string[];
2063
+ enabled: boolean;
2064
+ deleted_at: string | null;
2065
+ skip_consent: boolean;
2066
+ managed_by: "config" | "database";
2067
+ created_at: string;
2068
+ updated_at: string;
2069
+ };
2070
+ };
2071
+ outputFormat: "json";
2072
+ status: 200;
2073
+ input: {
2074
+ param: {
2075
+ id: string;
2076
+ };
2077
+ };
2078
+ } | {
2079
+ output: {
2080
+ error: string;
2081
+ };
2082
+ outputFormat: "json";
2083
+ status: 404;
2084
+ input: {
2085
+ param: {
2086
+ id: string;
2087
+ };
2088
+ };
2089
+ };
2090
+ };
2001
2091
  } & {
2002
2092
  "/admin/terms": {
2003
2093
  $get: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKhD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGsB,CAAC"}
@@ -71,9 +71,12 @@ export declare const oauthApplicationRoutes: import("hono/hono-base").HonoBase<A
71
71
  }, "/"> | import("hono/types").MergeSchemaPath<{
72
72
  "/end_session": {
73
73
  $get: {
74
- output: undefined;
75
- outputFormat: "redirect";
76
- status: 302;
74
+ output: {
75
+ error: string;
76
+ error_description: string;
77
+ };
78
+ outputFormat: "json";
79
+ status: 400;
77
80
  input: {
78
81
  query: {
79
82
  client_id?: string | undefined;
@@ -83,12 +86,9 @@ export declare const oauthApplicationRoutes: import("hono/hono-base").HonoBase<A
83
86
  };
84
87
  };
85
88
  } | {
86
- output: {
87
- error: string;
88
- error_description: string;
89
- };
90
- outputFormat: "json";
91
- status: 400;
89
+ output: undefined;
90
+ outputFormat: "redirect";
91
+ status: 302;
92
92
  input: {
93
93
  query: {
94
94
  client_id?: string | undefined;
@@ -314,6 +314,81 @@ export declare const e: {
314
314
  message: z.ZodLiteral<"The OAuth client is disabled.">;
315
315
  }, z.core.$strip>;
316
316
  };
317
+ OAuthClientNotEditable: {
318
+ Status: 403;
319
+ Error: {
320
+ new (): {
321
+ cause?: unknown;
322
+ name: string;
323
+ stack?: string;
324
+ readonly status: 403;
325
+ readonly code: "OAUTH_CLIENT_NOT_EDITABLE";
326
+ readonly message: "This OAuth client cannot be modified.";
327
+ toJson(): {
328
+ code: "OAUTH_CLIENT_NOT_EDITABLE";
329
+ message: "This OAuth client cannot be modified.";
330
+ };
331
+ };
332
+ isError(error: unknown): error is Error;
333
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
334
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
335
+ stackTraceLimit: number;
336
+ };
337
+ Schema: z.ZodObject<{
338
+ code: z.ZodLiteral<"OAUTH_CLIENT_NOT_EDITABLE">;
339
+ message: z.ZodLiteral<"This OAuth client cannot be modified.">;
340
+ }, z.core.$strip>;
341
+ };
342
+ OAuthClientDeleted: {
343
+ Status: 409;
344
+ Error: {
345
+ new (): {
346
+ cause?: unknown;
347
+ name: string;
348
+ stack?: string;
349
+ readonly status: 409;
350
+ readonly code: "OAUTH_CLIENT_DELETED";
351
+ readonly message: "This OAuth client is deleted and must be restored first.";
352
+ toJson(): {
353
+ code: "OAUTH_CLIENT_DELETED";
354
+ message: "This OAuth client is deleted and must be restored first.";
355
+ };
356
+ };
357
+ isError(error: unknown): error is Error;
358
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
359
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
360
+ stackTraceLimit: number;
361
+ };
362
+ Schema: z.ZodObject<{
363
+ code: z.ZodLiteral<"OAUTH_CLIENT_DELETED">;
364
+ message: z.ZodLiteral<"This OAuth client is deleted and must be restored first.">;
365
+ }, z.core.$strip>;
366
+ };
367
+ OAuthClientAlreadyExists: {
368
+ Status: 409;
369
+ Error: {
370
+ new (): {
371
+ cause?: unknown;
372
+ name: string;
373
+ stack?: string;
374
+ readonly status: 409;
375
+ readonly code: "OAUTH_CLIENT_ALREADY_EXISTS";
376
+ readonly message: "An OAuth client with this client_id already exists. Restore it if it was deleted.";
377
+ toJson(): {
378
+ code: "OAUTH_CLIENT_ALREADY_EXISTS";
379
+ message: "An OAuth client with this client_id already exists. Restore it if it was deleted.";
380
+ };
381
+ };
382
+ isError(error: unknown): error is Error;
383
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
384
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
385
+ stackTraceLimit: number;
386
+ };
387
+ Schema: z.ZodObject<{
388
+ code: z.ZodLiteral<"OAUTH_CLIENT_ALREADY_EXISTS">;
389
+ message: z.ZodLiteral<"An OAuth client with this client_id already exists. Restore it if it was deleted.">;
390
+ }, z.core.$strip>;
391
+ };
317
392
  InvalidRedirectUri: {
318
393
  Status: 400;
319
394
  Error: {
@@ -1 +1 @@
1
- {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/schemas/error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,qBAAa,YAAY,CACvB,MAAM,SAAS,oBAAoB,GAAG,oBAAoB,EAC1D,IAAI,SAAS,MAAM,GAAG,MAAM,EAC5B,OAAO,SAAS,MAAM,GAAG,MAAM,CAC/B,SAAQ,KAAK;IACb,SAAgB,MAAM,EAAE,MAAM,CAAC;IAC/B,SAAgB,IAAI,EAAE,IAAI,CAAC;IAC3B,SAAyB,OAAO,EAAE,OAAO,CAAC;IAE1C,YAAmB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAK9D;IAEM,MAAM;QAET,IAAI;QACJ,OAAO;MAEV;CACF;AA6DD,eAAO,MAAM,CAAC;IACZ,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;IAKtB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;IAKlB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;IAKpB,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;IAK3B,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMf,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;IAKnB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;IAKxB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;IAKjB,oBAAoB;;;;;;;;;;;;;;;;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TH_CLIENT_NOT_FOUND', 'The OAuth client was not found.'),
69
69
  OAuthClientDisabled: createError(400, 'OAUTH_CLIENT_DISABLED', 'The OAuth client is disabled.'),
70
+ OAuthClientNotEditable: createError(403, 'OAUTH_CLIENT_NOT_EDITABLE', 'This OAuth client cannot be modified.'),
71
+ OAuthClientDeleted: createError(409, 'OAUTH_CLIENT_DELETED', 'This OAuth client is deleted and must be restored first.'),
72
+ OAuthClientAlreadyExists: createError(409, 'OAUTH_CLIENT_ALREADY_EXISTS', 'An OAuth client with this client_id already exists. Restore it if it was deleted.'),
70
73
  InvalidRedirectUri: createError(400, 'INVALID_REDIRECT_URI', 'The redirect URI is not registered for this client.'),
71
74
  UnsupportedResponseType: createError(400, 'UNSUPPORTED_RESPONSE_TYPE', 'The response type is not supported for this client.'),
72
75
  InvalidScope: createErrorWithData(400, 'INVALID_SCOPE', 'One or more requested scopes are invalid.', z.object({