@esb-market-contracts/admin-backend 1.8.7 → 1.8.9
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 +12 -1
- package/package.json +1 -1
- package/types.d.ts +3 -3
package/api.d.ts
CHANGED
|
@@ -70,12 +70,23 @@ export type VariablesWithActor = {
|
|
|
70
70
|
declare const managementRouter: import("hono/hono-base").HonoBase<{
|
|
71
71
|
Variables: VariablesWithActor;
|
|
72
72
|
}, {
|
|
73
|
+
"/iam/management/existing-grants": {
|
|
74
|
+
$get: {
|
|
75
|
+
input: {};
|
|
76
|
+
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
|
|
77
|
+
grants: string[];
|
|
78
|
+
}>;
|
|
79
|
+
outputFormat: "json";
|
|
80
|
+
status: 200;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
} & {
|
|
73
84
|
"/iam/management/employees/many": {
|
|
74
85
|
$get: {
|
|
75
86
|
input: {
|
|
76
87
|
query: {
|
|
77
88
|
status?: "active" | "suspended" | undefined;
|
|
78
|
-
};
|
|
89
|
+
} | undefined;
|
|
79
90
|
};
|
|
80
91
|
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
|
|
81
92
|
employees: {
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -48,13 +48,13 @@ declare const employeeSafeSchema: z.ZodObject<{
|
|
|
48
48
|
out: {};
|
|
49
49
|
in: {};
|
|
50
50
|
}>;
|
|
51
|
-
declare const
|
|
51
|
+
declare const employeeFindManyQuerySchema: z.ZodOptional<z.ZodObject<{
|
|
52
52
|
status: z.ZodOptional<z.ZodEnum<{
|
|
53
53
|
active: "active";
|
|
54
54
|
suspended: "suspended";
|
|
55
55
|
}>>;
|
|
56
|
-
}, z.core.$strict
|
|
56
|
+
}, z.core.$strict>>;
|
|
57
57
|
export type EmployeeSafe = z.infer<typeof employeeSafeSchema>;
|
|
58
|
-
export type
|
|
58
|
+
export type EmployeeFindManyQuery = z.infer<typeof employeeFindManyQuerySchema>;
|
|
59
59
|
|
|
60
60
|
export {};
|