@esb-market-contracts/admin-backend 1.8.24 → 1.8.26

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 (3) hide show
  1. package/api.d.ts +1 -0
  2. package/package.json +1 -1
  3. package/types.d.ts +6 -4
package/api.d.ts CHANGED
@@ -214,6 +214,7 @@ declare const assetsRouter: import("hono/hono-base").HonoBase<{
214
214
  offset?: unknown;
215
215
  limit?: unknown;
216
216
  };
217
+ query?: string | undefined;
217
218
  where?: {
218
219
  status?: "active" | "written_off" | undefined;
219
220
  } | undefined;
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.8.24",
4
+ "version": "1.8.26",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -129,15 +129,17 @@ declare const assetGetQuerySchema: z.ZodObject<{
129
129
  assetId: z.ZodInt;
130
130
  }, z.core.$strict>;
131
131
  declare const assetSearchPayloadSchema: z.ZodObject<{
132
- where: z.ZodOptional<z.ZodObject<{
132
+ query: z.ZodOptional<z.ZodString>;
133
+ where: z.ZodOptional<z.ZodPipe<z.ZodObject<{
133
134
  status: z.ZodOptional<z.ZodEnum<{
134
135
  active: "active";
135
136
  written_off: "written_off";
136
137
  }>>;
138
+ }, z.core.$strict>, z.ZodTransform<{
139
+ status: "active" | "written_off";
137
140
  }, {
138
- out: {};
139
- in: {};
140
- }>>;
141
+ status?: "active" | "written_off" | undefined;
142
+ }>>>;
141
143
  pagination: z.ZodObject<{
142
144
  offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
143
145
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;