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

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<{
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.34",
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<{
@@ -143,19 +142,9 @@ declare const assetSearchOptionsSchema: z.ZodObject<{
143
142
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
144
143
  }, z.core.$strip>;
145
144
  }, 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
- }>>;
145
+ declare const assetSelectOneQuerySchema: z.ZodObject<{
146
+ id: z.ZodInt;
147
+ }, z.core.$strip>;
159
148
  declare const assetCreatePayloadSchema: z.ZodObject<{
160
149
  name: z.ZodString;
161
150
  serialNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;