@_henriquewilson/gabirubi-domain 1.1.1 → 1.1.2

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.
@@ -347,6 +347,7 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
347
347
  id: string | number;
348
348
  name: string;
349
349
  }>>>>;
350
+ realStock: z.ZodOptional<z.ZodNumber>;
350
351
  }>, "strip", z.ZodTypeAny, {
351
352
  id: string | number;
352
353
  resource_uri: string;
@@ -443,6 +444,7 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
443
444
  id: string | number;
444
445
  name: string;
445
446
  } | null | undefined;
447
+ realStock?: number | undefined;
446
448
  }, {
447
449
  id: string | number;
448
450
  resource_uri: string;
@@ -539,6 +541,7 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
539
541
  id: string | number;
540
542
  name: string;
541
543
  } | null | undefined;
544
+ realStock?: number | undefined;
542
545
  }>;
543
546
  declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
544
547
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -738,6 +741,7 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
738
741
  id: string | number;
739
742
  name: string;
740
743
  }>>>>;
744
+ realStock: z.ZodOptional<z.ZodNumber>;
741
745
  }, {
742
746
  quantityComposition: z.ZodNumber;
743
747
  }>, "strip", z.ZodTypeAny, {
@@ -837,6 +841,7 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
837
841
  id: string | number;
838
842
  name: string;
839
843
  } | null | undefined;
844
+ realStock?: number | undefined;
840
845
  }, {
841
846
  id: string | number;
842
847
  resource_uri: string;
@@ -934,6 +939,7 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
934
939
  id: string | number;
935
940
  name: string;
936
941
  } | null | undefined;
942
+ realStock?: number | undefined;
937
943
  }>>;
938
944
  declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
939
945
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -1134,6 +1140,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1134
1140
  id: string | number;
1135
1141
  name: string;
1136
1142
  }>>>>;
1143
+ realStock: z.ZodOptional<z.ZodNumber>;
1137
1144
  }>, {
1138
1145
  composition: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
1139
1146
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -1333,6 +1340,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1333
1340
  id: string | number;
1334
1341
  name: string;
1335
1342
  }>>>>;
1343
+ realStock: z.ZodOptional<z.ZodNumber>;
1336
1344
  }, {
1337
1345
  quantityComposition: z.ZodNumber;
1338
1346
  }>, "strip", z.ZodTypeAny, {
@@ -1432,6 +1440,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1432
1440
  id: string | number;
1433
1441
  name: string;
1434
1442
  } | null | undefined;
1443
+ realStock?: number | undefined;
1435
1444
  }, {
1436
1445
  id: string | number;
1437
1446
  resource_uri: string;
@@ -1529,6 +1538,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1529
1538
  id: string | number;
1530
1539
  name: string;
1531
1540
  } | null | undefined;
1541
+ realStock?: number | undefined;
1532
1542
  }>>, "many">>;
1533
1543
  }>, "strip", z.ZodTypeAny, {
1534
1544
  id: string | number;
@@ -1626,6 +1636,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1626
1636
  id: string | number;
1627
1637
  name: string;
1628
1638
  } | null | undefined;
1639
+ realStock?: number | undefined;
1629
1640
  composition?: {
1630
1641
  id: string | number;
1631
1642
  resource_uri: string;
@@ -1723,6 +1734,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1723
1734
  id: string | number;
1724
1735
  name: string;
1725
1736
  } | null | undefined;
1737
+ realStock?: number | undefined;
1726
1738
  }[] | undefined;
1727
1739
  }, {
1728
1740
  id: string | number;
@@ -1820,6 +1832,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1820
1832
  id: string | number;
1821
1833
  name: string;
1822
1834
  } | null | undefined;
1835
+ realStock?: number | undefined;
1823
1836
  composition?: {
1824
1837
  id: string | number;
1825
1838
  resource_uri: string;
@@ -1917,6 +1930,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1917
1930
  id: string | number;
1918
1931
  name: string;
1919
1932
  } | null | undefined;
1933
+ realStock?: number | undefined;
1920
1934
  }[] | undefined;
1921
1935
  }>;
1922
1936
  type Product = z.infer<typeof ProductSchema>;
@@ -347,6 +347,7 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
347
347
  id: string | number;
348
348
  name: string;
349
349
  }>>>>;
350
+ realStock: z.ZodOptional<z.ZodNumber>;
350
351
  }>, "strip", z.ZodTypeAny, {
351
352
  id: string | number;
352
353
  resource_uri: string;
@@ -443,6 +444,7 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
443
444
  id: string | number;
444
445
  name: string;
445
446
  } | null | undefined;
447
+ realStock?: number | undefined;
446
448
  }, {
447
449
  id: string | number;
448
450
  resource_uri: string;
@@ -539,6 +541,7 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
539
541
  id: string | number;
540
542
  name: string;
541
543
  } | null | undefined;
544
+ realStock?: number | undefined;
542
545
  }>;
543
546
  declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
544
547
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -738,6 +741,7 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
738
741
  id: string | number;
739
742
  name: string;
740
743
  }>>>>;
744
+ realStock: z.ZodOptional<z.ZodNumber>;
741
745
  }, {
742
746
  quantityComposition: z.ZodNumber;
743
747
  }>, "strip", z.ZodTypeAny, {
@@ -837,6 +841,7 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
837
841
  id: string | number;
838
842
  name: string;
839
843
  } | null | undefined;
844
+ realStock?: number | undefined;
840
845
  }, {
841
846
  id: string | number;
842
847
  resource_uri: string;
@@ -934,6 +939,7 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
934
939
  id: string | number;
935
940
  name: string;
936
941
  } | null | undefined;
942
+ realStock?: number | undefined;
937
943
  }>>;
938
944
  declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
939
945
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -1134,6 +1140,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1134
1140
  id: string | number;
1135
1141
  name: string;
1136
1142
  }>>>>;
1143
+ realStock: z.ZodOptional<z.ZodNumber>;
1137
1144
  }>, {
1138
1145
  composition: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
1139
1146
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -1333,6 +1340,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1333
1340
  id: string | number;
1334
1341
  name: string;
1335
1342
  }>>>>;
1343
+ realStock: z.ZodOptional<z.ZodNumber>;
1336
1344
  }, {
1337
1345
  quantityComposition: z.ZodNumber;
1338
1346
  }>, "strip", z.ZodTypeAny, {
@@ -1432,6 +1440,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1432
1440
  id: string | number;
1433
1441
  name: string;
1434
1442
  } | null | undefined;
1443
+ realStock?: number | undefined;
1435
1444
  }, {
1436
1445
  id: string | number;
1437
1446
  resource_uri: string;
@@ -1529,6 +1538,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1529
1538
  id: string | number;
1530
1539
  name: string;
1531
1540
  } | null | undefined;
1541
+ realStock?: number | undefined;
1532
1542
  }>>, "many">>;
1533
1543
  }>, "strip", z.ZodTypeAny, {
1534
1544
  id: string | number;
@@ -1626,6 +1636,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1626
1636
  id: string | number;
1627
1637
  name: string;
1628
1638
  } | null | undefined;
1639
+ realStock?: number | undefined;
1629
1640
  composition?: {
1630
1641
  id: string | number;
1631
1642
  resource_uri: string;
@@ -1723,6 +1734,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1723
1734
  id: string | number;
1724
1735
  name: string;
1725
1736
  } | null | undefined;
1737
+ realStock?: number | undefined;
1726
1738
  }[] | undefined;
1727
1739
  }, {
1728
1740
  id: string | number;
@@ -1820,6 +1832,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1820
1832
  id: string | number;
1821
1833
  name: string;
1822
1834
  } | null | undefined;
1835
+ realStock?: number | undefined;
1823
1836
  composition?: {
1824
1837
  id: string | number;
1825
1838
  resource_uri: string;
@@ -1917,6 +1930,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1917
1930
  id: string | number;
1918
1931
  name: string;
1919
1932
  } | null | undefined;
1933
+ realStock?: number | undefined;
1920
1934
  }[] | undefined;
1921
1935
  }>;
1922
1936
  type Product = z.infer<typeof ProductSchema>;
@@ -187388,7 +187388,8 @@ var ProductSchemaBase = ModelSchema.extend({
187388
187388
  variacoes: import_zod11.z.array(import_zod11.z.string()),
187389
187389
  enabled: import_zod11.z.boolean().default(true),
187390
187390
  deadline: TimestampOrNow.optional(),
187391
- defaultShipping: DefaultProductShippingSchema.optional().nullish()
187391
+ defaultShipping: DefaultProductShippingSchema.optional().nullish(),
187392
+ realStock: import_zod11.z.number().optional()
187392
187393
  });
187393
187394
  var ProductCompositionSchema = import_zod11.z.lazy(function() {
187394
187395
  return ProductSchemaBase.required({