erpnext-queue-client 2.1.5 → 2.1.7

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.
@@ -20,7 +20,7 @@ exports.SalesInvoiceItem = zod_1.z
20
20
  item_group: zod_1.z.string().optional().nullable(),
21
21
  brand: zod_1.z.string().optional().nullable(),
22
22
  // Quantity and UOM
23
- qty: zod_1.z.number().positive("Quantity must be positive"),
23
+ qty: zod_1.z.number(),
24
24
  stock_uom: zod_1.z.string().optional().nullable(),
25
25
  uom: zod_1.z.string().min(1, "UOM is required"),
26
26
  conversion_factor: zod_1.z.number().optional().nullable(),
@@ -10,7 +10,9 @@ export declare const SalesOrderItem: z.ZodObject<{
10
10
  ensure_delivery_based_on_produced_serial_no: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
11
11
  __optionalForInput: true;
12
12
  };
13
- item_name: z.ZodString;
13
+ item_name: z.ZodString & {
14
+ __optionalForInput: true;
15
+ };
14
16
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
17
  delivery_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16
18
  image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -297,7 +299,9 @@ export declare const SalesOrder: z.ZodObject<{
297
299
  ensure_delivery_based_on_produced_serial_no: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
298
300
  __optionalForInput: true;
299
301
  };
300
- item_name: z.ZodString;
302
+ item_name: z.ZodString & {
303
+ __optionalForInput: true;
304
+ };
301
305
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
302
306
  delivery_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
303
307
  image: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -15,7 +15,7 @@ exports.SalesOrderItem = zod_1.z
15
15
  custom_is_digital: Boolean_1.ERPNextBoolean,
16
16
  customer_item_code: zod_1.z.string().optional().nullable(),
17
17
  ensure_delivery_based_on_produced_serial_no: Boolean_1.ERPNextBoolean,
18
- item_name: zod_1.z.string().min(1, "Item Name is required"),
18
+ item_name: (0, zodContextOptionals_1.optionalForInput)(zod_1.z.string()),
19
19
  description: zod_1.z.string().optional().nullable(),
20
20
  delivery_date: zod_1.z.string().optional().nullable(), // Date string
21
21
  image: zod_1.z.string().optional().nullable(),
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "winston": "^3.15.0",
31
31
  "zod": "3.25.76"
32
32
  },
33
- "version": "2.1.5",
33
+ "version": "2.1.7",
34
34
  "devDependencies": {
35
35
  "@types/crypto-js": "^4.2.2",
36
36
  "@types/lodash": "^4.17.13",