@esb-market-contracts/admin-backend 1.8.35 → 1.8.37
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 +26 -1
- package/package.json +1 -1
- package/types.d.ts +26 -0
package/api.d.ts
CHANGED
|
@@ -296,7 +296,32 @@ declare const assetsRouter: import("hono/hono-base").HonoBase<{
|
|
|
296
296
|
status: 200;
|
|
297
297
|
};
|
|
298
298
|
};
|
|
299
|
-
}
|
|
299
|
+
} & {
|
|
300
|
+
"/backoffice/assets/bulk-barcode-sheet": {
|
|
301
|
+
$post: {
|
|
302
|
+
input: {
|
|
303
|
+
json: {
|
|
304
|
+
selection: {
|
|
305
|
+
mode: "include";
|
|
306
|
+
identifiers: number[];
|
|
307
|
+
} | {
|
|
308
|
+
mode: "exclude";
|
|
309
|
+
excludedIdentifiers: number[];
|
|
310
|
+
};
|
|
311
|
+
filter: {
|
|
312
|
+
where?: {
|
|
313
|
+
status?: "active" | "written_off" | undefined;
|
|
314
|
+
} | undefined;
|
|
315
|
+
query?: string | undefined;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
output: {};
|
|
320
|
+
outputFormat: string;
|
|
321
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
}, "/backoffice/assets", "/backoffice/assets/bulk-barcode-sheet">;
|
|
300
325
|
export type AssetsRouter = typeof assetsRouter;
|
|
301
326
|
|
|
302
327
|
export {};
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -185,6 +185,31 @@ declare const assetBulkWriteOffPayloadSchema: z.ZodObject<{
|
|
|
185
185
|
query: z.ZodOptional<z.ZodString>;
|
|
186
186
|
}, z.core.$strict>;
|
|
187
187
|
}, z.core.$strict>;
|
|
188
|
+
declare const assetBulkBarcodeSheetPayloadSchema: z.ZodObject<{
|
|
189
|
+
selection: z.ZodDiscriminatedUnion<[
|
|
190
|
+
z.ZodObject<{
|
|
191
|
+
mode: z.ZodLiteral<"include">;
|
|
192
|
+
identifiers: z.ZodArray<z.ZodInt>;
|
|
193
|
+
}, z.core.$strict>,
|
|
194
|
+
z.ZodObject<{
|
|
195
|
+
mode: z.ZodLiteral<"exclude">;
|
|
196
|
+
excludedIdentifiers: z.ZodArray<z.ZodInt>;
|
|
197
|
+
}, z.core.$strict>
|
|
198
|
+
], "mode">;
|
|
199
|
+
filter: z.ZodObject<{
|
|
200
|
+
where: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
201
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
202
|
+
active: "active";
|
|
203
|
+
written_off: "written_off";
|
|
204
|
+
}>>;
|
|
205
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
206
|
+
status: "active" | "written_off";
|
|
207
|
+
}, {
|
|
208
|
+
status?: "active" | "written_off" | undefined;
|
|
209
|
+
}>>>;
|
|
210
|
+
query: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, z.core.$strict>;
|
|
212
|
+
}, z.core.$strict>;
|
|
188
213
|
export type AssetSearchOptions = z.infer<typeof assetSearchOptionsSchema>;
|
|
189
214
|
export type AssetSelectOneQuery = z.infer<typeof assetSelectOneQuerySchema>;
|
|
190
215
|
export type AssetSearchResult = {
|
|
@@ -195,5 +220,6 @@ export type AssetCreatePayload = z.infer<typeof assetCreatePayloadSchema>;
|
|
|
195
220
|
export type AssetUpdatePayload = z.infer<typeof assetUpdatePayloadSchema>;
|
|
196
221
|
export type AssetWriteOffPayload = z.infer<typeof assetWriteOffPayloadSchema>;
|
|
197
222
|
export type AssetBulkWriteOffPayload = z.infer<typeof assetBulkWriteOffPayloadSchema>;
|
|
223
|
+
export type AssetBulkBarcodeSheetPayload = z.infer<typeof assetBulkBarcodeSheetPayloadSchema>;
|
|
198
224
|
|
|
199
225
|
export {};
|