@blackcode_sa/metaestetics-api 1.14.43 → 1.14.44

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.
@@ -1702,6 +1702,8 @@ interface ZoneItemData {
1702
1702
  notes?: string;
1703
1703
  subtotal?: number;
1704
1704
  ionNumber?: string;
1705
+ lotNumber?: string;
1706
+ expiryDate?: string;
1705
1707
  createdAt?: string;
1706
1708
  updatedAt?: string;
1707
1709
  }
@@ -1702,6 +1702,8 @@ interface ZoneItemData {
1702
1702
  notes?: string;
1703
1703
  subtotal?: number;
1704
1704
  ionNumber?: string;
1705
+ lotNumber?: string;
1706
+ expiryDate?: string;
1705
1707
  createdAt?: string;
1706
1708
  updatedAt?: string;
1707
1709
  }
package/dist/index.d.mts CHANGED
@@ -5639,6 +5639,8 @@ interface ZoneItemData {
5639
5639
  notes?: string;
5640
5640
  subtotal?: number;
5641
5641
  ionNumber?: string;
5642
+ lotNumber?: string;
5643
+ expiryDate?: string;
5642
5644
  createdAt?: string;
5643
5645
  updatedAt?: string;
5644
5646
  }
package/dist/index.d.ts CHANGED
@@ -5639,6 +5639,8 @@ interface ZoneItemData {
5639
5639
  notes?: string;
5640
5640
  subtotal?: number;
5641
5641
  ionNumber?: string;
5642
+ lotNumber?: string;
5643
+ expiryDate?: string;
5642
5644
  createdAt?: string;
5643
5645
  updatedAt?: string;
5644
5646
  }
package/dist/index.js CHANGED
@@ -3964,6 +3964,9 @@ var zoneItemDataSchema = import_zod3.z.object({
3964
3964
  notes: import_zod3.z.string().max(MAX_STRING_LENGTH_LONG, "Notes too long").optional(),
3965
3965
  subtotal: import_zod3.z.number().min(0, "Subtotal must be non-negative").optional(),
3966
3966
  ionNumber: import_zod3.z.string().optional(),
3967
+ lotNumber: import_zod3.z.string().max(MAX_STRING_LENGTH, "Lot number too long").optional(),
3968
+ expiryDate: import_zod3.z.string().optional(),
3969
+ // ISO date string (YYYY-MM-DD format)
3967
3970
  createdAt: import_zod3.z.string().optional(),
3968
3971
  updatedAt: import_zod3.z.string().optional()
3969
3972
  }).refine(
package/dist/index.mjs CHANGED
@@ -3819,6 +3819,9 @@ var zoneItemDataSchema = z3.object({
3819
3819
  notes: z3.string().max(MAX_STRING_LENGTH_LONG, "Notes too long").optional(),
3820
3820
  subtotal: z3.number().min(0, "Subtotal must be non-negative").optional(),
3821
3821
  ionNumber: z3.string().optional(),
3822
+ lotNumber: z3.string().max(MAX_STRING_LENGTH, "Lot number too long").optional(),
3823
+ expiryDate: z3.string().optional(),
3824
+ // ISO date string (YYYY-MM-DD format)
3822
3825
  createdAt: z3.string().optional(),
3823
3826
  updatedAt: z3.string().optional()
3824
3827
  }).refine(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blackcode_sa/metaestetics-api",
3
3
  "private": false,
4
- "version": "1.14.43",
4
+ "version": "1.14.44",
5
5
  "description": "Firebase authentication service with anonymous upgrade support",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.mjs",
@@ -157,6 +157,8 @@ export interface ZoneItemData {
157
157
  notes?: string;
158
158
  subtotal?: number;
159
159
  ionNumber?: string;
160
+ lotNumber?: string; // Optional lot/batch number for the product
161
+ expiryDate?: string; // Optional expiry date (ISO date string)
160
162
  createdAt?: string; // ISO timestamp
161
163
  updatedAt?: string; // ISO timestamp
162
164
  }
@@ -222,6 +222,8 @@ export const zoneItemDataSchema = z
222
222
  notes: z.string().max(MAX_STRING_LENGTH_LONG, 'Notes too long').optional(),
223
223
  subtotal: z.number().min(0, 'Subtotal must be non-negative').optional(),
224
224
  ionNumber: z.string().optional(),
225
+ lotNumber: z.string().max(MAX_STRING_LENGTH, 'Lot number too long').optional(),
226
+ expiryDate: z.string().optional(), // ISO date string (YYYY-MM-DD format)
225
227
  createdAt: z.string().optional(),
226
228
  updatedAt: z.string().optional(),
227
229
  })