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

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/package.json +1 -1
  2. package/types.d.ts +5 -0
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.2",
4
+ "version": "1.6.3",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -57,8 +57,13 @@ declare const createEmployeeRequestSchema: z.ZodObject<{
57
57
  "employee.update": "employee.update";
58
58
  }>>;
59
59
  }, z.core.$strip>;
60
+ declare const updateEmployeePasswordRequestSchema: z.ZodObject<{
61
+ id: z.ZodPreprocess<z.ZodNumber>;
62
+ newPassword: z.ZodString;
63
+ }, z.core.$strip>;
60
64
  export type SelectEmployeeRequest = z.infer<typeof selectEmployeeRequestSchema>;
61
65
  export type SafeEmployeeResponse = SerializeDates<z.infer<typeof safeEmployeeResponseSchema>>;
62
66
  export type CreateEmployeeRequest = z.infer<typeof createEmployeeRequestSchema>;
67
+ export type UpdateEmployeePasswordRequest = z.infer<typeof updateEmployeePasswordRequestSchema>;
63
68
 
64
69
  export {};