@esb-market-contracts/admin-backend 1.6.0 → 1.6.2

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 -7
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -119,12 +119,7 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
119
119
  status: 200;
120
120
  };
121
121
  };
122
- }, "/iam/management", "/iam/management/employees/permissions">;
123
- declare const managementCUDRouter: import("hono/hono-base").HonoBase<{
124
- Variables: VariablesWithActor;
125
122
  } & {
126
- Variables: VariablesWithActor;
127
- }, {
128
123
  "/iam/management/employees/create": {
129
124
  $post: {
130
125
  input: {
@@ -172,8 +167,23 @@ declare const managementCUDRouter: import("hono/hono-base").HonoBase<{
172
167
  status: 200;
173
168
  };
174
169
  };
175
- }, "/iam/management", "/iam/management/employees/reactivate">;
170
+ } & {
171
+ "/iam/management/employees/update-password": {
172
+ $post: {
173
+ input: {
174
+ json: {
175
+ id: unknown;
176
+ newPassword: string;
177
+ };
178
+ };
179
+ output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
180
+ [x: string]: never;
181
+ }>;
182
+ outputFormat: "json";
183
+ status: 200;
184
+ };
185
+ };
186
+ }, "/iam/management", "/iam/management/employees/update-password">;
176
187
  export type ManagementRouter = typeof managementRouter;
177
- export type ManagementCUDRouter = typeof managementCUDRouter;
178
188
 
179
189
  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.6.0",
4
+ "version": "1.6.2",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,