@esb-market-contracts/admin-backend 1.1.7 → 1.1.8

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 (3) hide show
  1. package/api.d.ts +17 -1
  2. package/package.json +1 -1
  3. package/types.d.ts +2 -0
package/api.d.ts CHANGED
@@ -61,7 +61,23 @@ declare const authRouter: import("hono/hono-base").HonoBase<import("hono/types")
61
61
  status: 400 | 401 | 403 | 404 | 405 | 409 | 500 | 200 | 201 | 202 | 307;
62
62
  };
63
63
  };
64
- }, "/iam/auth", "/iam/auth/session">;
64
+ } & {
65
+ "/iam/auth/logout": {
66
+ $post: {
67
+ input: {};
68
+ output: {
69
+ kind: "error";
70
+ status: import("@esb-market-contracts/core").ExceptionStatusCode;
71
+ error: string;
72
+ } | {
73
+ kind: "void";
74
+ status: import("@esb-market-contracts/core").SuccessStatusCode;
75
+ };
76
+ outputFormat: "json";
77
+ status: 400 | 401 | 403 | 404 | 405 | 409 | 500 | 200 | 201 | 202 | 307;
78
+ };
79
+ };
80
+ }, "/iam/auth", "/iam/auth/logout">;
65
81
  export type AuthRouter = typeof authRouter;
66
82
 
67
83
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@esb-market-contracts/admin-backend",
3
3
  "description": "Shared TypeScript contract definitions for admin-backend.",
4
- "version": "1.1.7",
4
+ "version": "1.1.8",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -41,5 +41,7 @@ export type AuthLoginRequest = AuthLogin;
41
41
  export type AuthLoginResponse = SerializeDates<AuthLoginResult>;
42
42
  export type AuthSessionRequest = Record<string, never>;
43
43
  export type AuthSessionResponse = SerializeDates<AuthSession>;
44
+ export type AuthLogoutRequest = Record<string, never>;
45
+ export type AuthLogoutResponse = Record<string, never>;
44
46
 
45
47
  export {};