@esb-market-contracts/admin-backend 1.8.16 → 1.8.17

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 +17 -1
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -153,7 +153,23 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
153
153
  status: 200;
154
154
  };
155
155
  };
156
- }, "/iam/management", "/iam/management/employees/update-password">;
156
+ } & {
157
+ "/iam/management/employees/update-grants": {
158
+ $post: {
159
+ input: {
160
+ json: {
161
+ employeeId: number;
162
+ grants: ("employee.create" | "employee.read" | "employee.update")[];
163
+ };
164
+ };
165
+ output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
166
+ [x: string]: never;
167
+ }>;
168
+ outputFormat: "json";
169
+ status: 200;
170
+ };
171
+ };
172
+ }, "/iam/management", "/iam/management/employees/update-grants">;
157
173
  export type ManagementRouter = typeof managementRouter;
158
174
 
159
175
  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.16",
4
+ "version": "1.8.17",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,