@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.
- package/dist/admin/index.d.mts +2 -0
- package/dist/admin/index.d.ts +2 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
- package/src/types/appointment/index.ts +2 -0
- package/src/validations/appointment.schema.ts +2 -0
package/dist/admin/index.d.mts
CHANGED
package/dist/admin/index.d.ts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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
|
@@ -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
|
})
|