@esb-market-contracts/admin-backend 1.8.39 → 1.8.41
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 +15 -0
- package/package.json +1 -1
- package/types.d.ts +1 -0
package/api.d.ts
CHANGED
|
@@ -201,6 +201,7 @@ declare const assetsRouter: import("hono/hono-base").HonoBase<{
|
|
|
201
201
|
name: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
202
202
|
serialNumber?: string | null | undefined;
|
|
203
203
|
notes?: string | null | undefined;
|
|
204
|
+
image?: import("zod/v4/core").File | undefined;
|
|
204
205
|
};
|
|
205
206
|
};
|
|
206
207
|
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<Record<string, never>>;
|
|
@@ -258,6 +259,20 @@ declare const assetsRouter: import("hono/hono-base").HonoBase<{
|
|
|
258
259
|
status: 200;
|
|
259
260
|
};
|
|
260
261
|
};
|
|
262
|
+
} & {
|
|
263
|
+
"/backoffice/assets/update-image": {
|
|
264
|
+
$post: {
|
|
265
|
+
input: {
|
|
266
|
+
form: {
|
|
267
|
+
assetId: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
268
|
+
image: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<Record<string, never>>;
|
|
272
|
+
outputFormat: "json";
|
|
273
|
+
status: 200;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
261
276
|
} & {
|
|
262
277
|
"/backoffice/assets/write-off": {
|
|
263
278
|
$post: {
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -150,6 +150,7 @@ declare const assetCreatePayloadSchema: z.ZodObject<{
|
|
|
150
150
|
name: z.ZodString;
|
|
151
151
|
serialNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
152
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
+
image: z.ZodOptional<z.ZodFile>;
|
|
153
154
|
}, z.core.$strict>;
|
|
154
155
|
declare const assetUpdatePayloadSchema: z.ZodObject<{
|
|
155
156
|
name: z.ZodOptional<z.ZodString>;
|