@vulog/aima-ticket 1.1.81 → 1.1.82

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/dist/index.js CHANGED
@@ -39,7 +39,7 @@ var schema = (0, import_aima_core.createPaginableOptionsSchema)(
39
39
  import_zod2.z.object({
40
40
  status: import_zod2.z.array(StatusList).default([]),
41
41
  categoryId: import_zod2.z.array(import_zod2.z.number()).default([])
42
- })
42
+ }).default({})
43
43
  ).default({});
44
44
  var getTickets = async (client, options) => {
45
45
  const result = schema.safeParse(options);
package/dist/index.mjs CHANGED
@@ -12,7 +12,7 @@ var schema = createPaginableOptionsSchema(
12
12
  z2.object({
13
13
  status: z2.array(StatusList).default([]),
14
14
  categoryId: z2.array(z2.number()).default([])
15
- })
15
+ }).default({})
16
16
  ).default({});
17
17
  var getTickets = async (client, options) => {
18
18
  const result = schema.safeParse(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulog/aima-ticket",
3
- "version": "1.1.81",
3
+ "version": "1.1.82",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -19,11 +19,11 @@
19
19
  "author": "Vulog",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@vulog/aima-client": "1.1.81",
23
- "@vulog/aima-core": "1.1.81"
22
+ "@vulog/aima-client": "1.1.82",
23
+ "@vulog/aima-core": "1.1.82"
24
24
  },
25
25
  "peerDependencies": {
26
- "zod": "^3.24.2"
26
+ "zod": "^3.25.76"
27
27
  },
28
28
  "description": ""
29
- }
29
+ }
package/src/getTickets.ts CHANGED
@@ -5,10 +5,12 @@ import { z } from 'zod';
5
5
  import { Status, StatusList, Ticket } from './types';
6
6
 
7
7
  const schema = createPaginableOptionsSchema(
8
- z.object({
9
- status: z.array(StatusList).default([]),
10
- categoryId: z.array(z.number()).default([]),
11
- })
8
+ z
9
+ .object({
10
+ status: z.array(StatusList).default([]),
11
+ categoryId: z.array(z.number()).default([]),
12
+ })
13
+ .default({})
12
14
  ).default({});
13
15
 
14
16
  export type TicketFilters = {