@floristcloud/api-lib 1.0.8 → 1.0.10

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.
@@ -28,6 +28,7 @@ const CreateProductRequestSchema = zod_1.z.object({
28
28
  quality: zod_1.z.string().nullable(),
29
29
  grower: zod_1.z.string().nullable(),
30
30
  vat: zod_1.z.number().nullable(),
31
+ multiplicityDescription: zod_1.z.string().nullable(),
31
32
  });
32
33
  const CreateProductResponseSchema = zod_1.z.object({
33
34
  message: zod_1.z.string().optional(),
@@ -19,6 +19,7 @@ const UpdateGroupProductUpdateBatchRequestSchema = zod_1.z.object({
19
19
  invoicePrice: zod_1.z.coerce.number().nullable(),
20
20
  invoiceNumber: zod_1.z.string().nullable(),
21
21
  imageUUID: zod_1.z.string().nullable(),
22
+ multiplicityDescription: zod_1.z.string().nullable(),
22
23
  })
23
24
  .partial(),
24
25
  });
@@ -28,6 +28,7 @@ const UpdateProductRequestSchema = zod_1.z.object({
28
28
  quality: zod_1.z.string().nullable(),
29
29
  grower: zod_1.z.string().nullable(),
30
30
  vat: zod_1.z.number().nullable(),
31
+ multiplicityDescription: zod_1.z.string().nullable(),
31
32
  });
32
33
  const UpdateProductResponseSchema = zod_1.z.object({
33
34
  message: zod_1.z.string().optional(),
@@ -36,9 +36,9 @@ exports.ProductSchema = zod_1.z.object({
36
36
  quality: zod_1.z.string().nullable(),
37
37
  grower: zod_1.z.string().nullable(),
38
38
  vat: zod_1.z.number().nullable(),
39
+ multiplicityDescription: zod_1.z.string().nullable(),
39
40
  createdAt: zod_1.z.date(),
40
41
  updatedAt: zod_1.z.date(),
41
- deletedAt: zod_1.z.date().nullable(),
42
42
  });
43
43
  exports.ProductExtendedSchema = exports.ProductSchema.merge(zod_1.z.object({
44
44
  category: category_schema_1.CategorySchema.nullable(),
@@ -61,6 +61,7 @@ exports.ProductForClientSchema = zod_1.z.object({
61
61
  country: zod_1.z.string().nullable(),
62
62
  description: zod_1.z.string().nullable(),
63
63
  grower: zod_1.z.string().nullable(),
64
+ multiplicityDescription: zod_1.z.string().nullable(),
64
65
  });
65
66
  exports.ProductExtendedForClientSchema = exports.ProductForClientSchema.merge(zod_1.z.object({
66
67
  category: zod_1.z
@@ -27,6 +27,7 @@ const CreateProductRequestSchema = z.object({
27
27
  quality: z.string().nullable(),
28
28
  grower: z.string().nullable(),
29
29
  vat: z.number().nullable(),
30
+ multiplicityDescription: z.string().nullable(),
30
31
  });
31
32
 
32
33
  const CreateProductResponseSchema = z.object({
@@ -17,6 +17,7 @@ const UpdateGroupProductUpdateBatchRequestSchema = z.object({
17
17
  invoicePrice: z.coerce.number().nullable(),
18
18
  invoiceNumber: z.string().nullable(),
19
19
  imageUUID: z.string().nullable(),
20
+ multiplicityDescription: z.string().nullable(),
20
21
  })
21
22
  .partial(),
22
23
  });
@@ -27,6 +27,7 @@ const UpdateProductRequestSchema = z.object({
27
27
  quality: z.string().nullable(),
28
28
  grower: z.string().nullable(),
29
29
  vat: z.number().nullable(),
30
+ multiplicityDescription: z.string().nullable(),
30
31
  });
31
32
 
32
33
  const UpdateProductResponseSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floristcloud/api-lib",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {
@@ -36,10 +36,10 @@ export const ProductSchema = z.object({
36
36
  quality: z.string().nullable(),
37
37
  grower: z.string().nullable(),
38
38
  vat: z.number().nullable(),
39
+ multiplicityDescription: z.string().nullable(),
39
40
 
40
41
  createdAt: z.date(),
41
42
  updatedAt: z.date(),
42
- deletedAt: z.date().nullable(),
43
43
  });
44
44
 
45
45
  export const ProductExtendedSchema = ProductSchema.merge(
@@ -66,6 +66,7 @@ export const ProductForClientSchema = z.object({
66
66
  country: z.string().nullable(),
67
67
  description: z.string().nullable(),
68
68
  grower: z.string().nullable(),
69
+ multiplicityDescription: z.string().nullable(),
69
70
  });
70
71
 
71
72
  export const ProductExtendedForClientSchema = ProductForClientSchema.merge(