@esb-market-contracts/admin-backend 1.8.9 → 1.8.10

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 (2) hide show
  1. package/api.d.ts +19 -1
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -103,7 +103,25 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
103
103
  status: 200;
104
104
  };
105
105
  };
106
- }, "/iam/management", "/iam/management/employees/many">;
106
+ } & {
107
+ "/iam/management/employees/insert": {
108
+ $post: {
109
+ input: {
110
+ json: {
111
+ email: string;
112
+ fullName: string;
113
+ password: string;
114
+ grants: ("employee.create" | "employee.read" | "employee.update")[];
115
+ };
116
+ };
117
+ output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
118
+ [x: string]: never;
119
+ }>;
120
+ outputFormat: "json";
121
+ status: 201;
122
+ };
123
+ };
124
+ }, "/iam/management", "/iam/management/employees/insert">;
107
125
  export type ManagementRouter = typeof managementRouter;
108
126
 
109
127
  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.8.9",
4
+ "version": "1.8.10",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,