@esb-market-contracts/admin-backend 1.8.15 → 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.
- package/api.d.ts +33 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -137,7 +137,39 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
|
|
|
137
137
|
status: 200;
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
}
|
|
140
|
+
} & {
|
|
141
|
+
"/iam/management/employees/update-password": {
|
|
142
|
+
$post: {
|
|
143
|
+
input: {
|
|
144
|
+
json: {
|
|
145
|
+
employeeId: number;
|
|
146
|
+
password: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
|
|
150
|
+
[x: string]: never;
|
|
151
|
+
}>;
|
|
152
|
+
outputFormat: "json";
|
|
153
|
+
status: 200;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
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">;
|
|
141
173
|
export type ManagementRouter = typeof managementRouter;
|
|
142
174
|
|
|
143
175
|
export {};
|
package/package.json
CHANGED