@esb-market-contracts/admin-backend 1.8.33 → 1.8.35

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 CHANGED
@@ -173,10 +173,6 @@ declare const assetsRouter: import("hono/hono-base").HonoBase<{
173
173
  input: {
174
174
  query: {
175
175
  id: string | string[];
176
- assetCode?: string | undefined;
177
- } | {
178
- assetCode: string | string[];
179
- id?: number | undefined;
180
176
  };
181
177
  };
182
178
  output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
@@ -187,6 +183,7 @@ declare const assetsRouter: import("hono/hono-base").HonoBase<{
187
183
  serialNumber: string | null;
188
184
  notes: string | null;
189
185
  status: "active" | "written_off";
186
+ imageSource: string | null;
190
187
  writtenOffAt: Date | null;
191
188
  updatedAt: Date | null;
192
189
  createdAt: Date;
@@ -234,6 +231,7 @@ declare const assetsRouter: import("hono/hono-base").HonoBase<{
234
231
  serialNumber: string | null;
235
232
  notes: string | null;
236
233
  status: "active" | "written_off";
234
+ imageSource: string | null;
237
235
  writtenOffAt: Date | null;
238
236
  updatedAt: Date | null;
239
237
  createdAt: Date;
package/enums.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // src/app/domain/(iam)/permissions/permissions.enums.ts
2
2
  import { createStringEnumRecord } from "@kalutskii/foundation";
3
- import z from "zod";
3
+ import { z } from "zod";
4
4
  var grantsArray = [
5
5
  "employee.create",
6
6
  "employee.read",
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.33",
4
+ "version": "1.8.35",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
- import z from 'zod';
4
3
  import { z } from 'zod';
5
4
 
6
5
  declare const signinPayloadSchema: z.ZodObject<{
@@ -121,6 +120,7 @@ declare const assetSchema: z.ZodObject<{
121
120
  active: "active";
122
121
  written_off: "written_off";
123
122
  }>;
123
+ imageSource: z.ZodNullable<z.ZodString>;
124
124
  writtenOffAt: z.ZodNullable<z.ZodDate>;
125
125
  updatedAt: z.ZodNullable<z.ZodDate>;
126
126
  createdAt: z.ZodDate;
@@ -143,19 +143,9 @@ declare const assetSearchOptionsSchema: z.ZodObject<{
143
143
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
144
144
  }, z.core.$strip>;
145
145
  }, z.core.$strict>;
146
- declare const assetSelectOneQuerySchema: z.ZodPipe<z.ZodObject<{
147
- id: z.ZodOptional<z.ZodInt>;
148
- assetCode: z.ZodOptional<z.ZodString>;
149
- }, z.core.$strip>, z.ZodTransform<{
150
- id: number;
151
- assetCode?: string | undefined;
152
- } | {
153
- assetCode: string;
154
- id?: number | undefined;
155
- }, {
156
- id?: number | undefined;
157
- assetCode?: string | undefined;
158
- }>>;
146
+ declare const assetSelectOneQuerySchema: z.ZodObject<{
147
+ id: z.ZodInt;
148
+ }, z.core.$strip>;
159
149
  declare const assetCreatePayloadSchema: z.ZodObject<{
160
150
  name: z.ZodString;
161
151
  serialNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;