@_henriquewilson/gabirubi-domain 1.3.21 → 1.3.23

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.
Files changed (37) hide show
  1. package/dist/model/integrada/order.d.mts +22 -22
  2. package/dist/model/integrada/order.d.ts +22 -22
  3. package/dist/model/integrada/product.d.mts +60 -45
  4. package/dist/model/integrada/product.d.ts +60 -45
  5. package/dist/model/integrada/product.js +3 -1
  6. package/dist/model/integrada/product.js.map +1 -1
  7. package/dist/model/integrada/product.mjs +3 -1
  8. package/dist/model/integrada/product.mjs.map +1 -1
  9. package/dist/model/intercom/conversation.d.mts +325 -325
  10. package/dist/model/intercom/conversation.d.ts +325 -325
  11. package/dist/model/intercom/hook.d.mts +3211 -3211
  12. package/dist/model/intercom/hook.d.ts +3211 -3211
  13. package/dist/model/iugu/iugu-charge.d.mts +2 -2
  14. package/dist/model/iugu/iugu-charge.d.ts +2 -2
  15. package/dist/model/iugu/iugu-client.d.mts +12 -12
  16. package/dist/model/iugu/iugu-client.d.ts +12 -12
  17. package/dist/model/journey.d.mts +25 -25
  18. package/dist/model/journey.d.ts +25 -25
  19. package/dist/model/journey.js +2 -1
  20. package/dist/model/journey.js.map +1 -1
  21. package/dist/model/journey.mjs +2 -1
  22. package/dist/model/journey.mjs.map +1 -1
  23. package/dist/model/melhorenvio/calculate.d.mts +2 -2
  24. package/dist/model/melhorenvio/calculate.d.ts +2 -2
  25. package/dist/model/melhorenvio/order.d.mts +26 -26
  26. package/dist/model/melhorenvio/order.d.ts +26 -26
  27. package/dist/model/store/shipping.d.mts +4 -4
  28. package/dist/model/store/shipping.d.ts +4 -4
  29. package/dist/model/subscription.model.d.mts +4 -4
  30. package/dist/model/subscription.model.d.ts +4 -4
  31. package/dist/model/user.model.d.mts +2 -2
  32. package/dist/model/user.model.d.ts +2 -2
  33. package/dist/test/activity.test.js +2 -1
  34. package/dist/test/activity.test.js.map +1 -1
  35. package/dist/test/activity.test.mjs +2 -1
  36. package/dist/test/activity.test.mjs.map +1 -1
  37. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { Timestamp } from '@google-cloud/firestore';
2
3
 
3
4
  declare const ImagePrincipalSchema: z.ZodObject<{
4
5
  caminho: z.ZodString;
@@ -150,8 +151,8 @@ declare const StockSchema: z.ZodObject<{
150
151
  }>;
151
152
  declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
152
153
  id: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, unknown>;
153
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
154
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
154
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
155
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
155
156
  order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
156
157
  }, {
157
158
  altura: z.ZodOptional<z.ZodNumber>;
@@ -159,7 +160,7 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
159
160
  ativo: z.ZodBoolean;
160
161
  bloqueado: z.ZodBoolean;
161
162
  categorias: z.ZodArray<z.ZodString, "many">;
162
- createAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
163
+ createAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
163
164
  data_criacao: z.ZodString;
164
165
  data_modificacao: z.ZodString;
165
166
  descricao_completa: z.ZodString;
@@ -330,15 +331,16 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
330
331
  }>;
331
332
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
332
333
  tipo: z.ZodString;
333
- updateAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
334
+ updateAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
334
335
  url: z.ZodString;
335
336
  url_video_youtube: z.ZodString;
336
337
  usado: z.ZodBoolean;
337
338
  variacoes: z.ZodArray<z.ZodString, "many">;
338
339
  enabled: z.ZodDefault<z.ZodBoolean>;
339
- deadline: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>>;
340
+ deadline: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>>;
340
341
  fastShipping: z.ZodDefault<z.ZodBoolean>;
341
342
  realStock: z.ZodOptional<z.ZodNumber>;
343
+ lastBoughtAt: z.ZodDefault<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>>;
342
344
  }>, "strip", z.ZodTypeAny, {
343
345
  id: string | number;
344
346
  resource_uri: string;
@@ -398,8 +400,9 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
398
400
  usado: boolean;
399
401
  variacoes: string[];
400
402
  fastShipping: boolean;
401
- createdAt?: FirebaseFirestore.Timestamp | null | undefined;
402
- updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
403
+ lastBoughtAt: Timestamp | null;
404
+ createdAt?: Timestamp | null | undefined;
405
+ updatedAt?: Timestamp | null | undefined;
403
406
  order?: number | null | undefined;
404
407
  id_externo?: any;
405
408
  nome?: string | undefined;
@@ -408,9 +411,9 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
408
411
  tags?: string[] | undefined;
409
412
  peso?: string | undefined;
410
413
  profundidade?: number | undefined;
411
- updateAt?: FirebaseFirestore.Timestamp | null | undefined;
414
+ updateAt?: Timestamp | null | undefined;
412
415
  apelido?: string | undefined;
413
- createAt?: FirebaseFirestore.Timestamp | null | undefined;
416
+ createAt?: Timestamp | null | undefined;
414
417
  filhos?: string[] | undefined;
415
418
  grades?: string[] | undefined;
416
419
  imagem_principal?: {
@@ -431,7 +434,7 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
431
434
  } | undefined;
432
435
  marca?: any;
433
436
  pai?: string | undefined;
434
- deadline?: FirebaseFirestore.Timestamp | null | undefined;
437
+ deadline?: Timestamp | null | undefined;
435
438
  realStock?: number | undefined;
436
439
  }, {
437
440
  resource_uri: string;
@@ -527,11 +530,12 @@ declare const ProductSchemaBase: z.ZodObject<z.objectUtil.extendShape<{
527
530
  deadline?: unknown;
528
531
  fastShipping?: boolean | undefined;
529
532
  realStock?: number | undefined;
533
+ lastBoughtAt?: unknown;
530
534
  }>;
531
535
  declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
532
536
  id: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, unknown>;
533
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
534
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
537
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
538
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
535
539
  order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
536
540
  id_externo: z.ZodAny;
537
541
  nome: z.ZodOptional<z.ZodString>;
@@ -575,11 +579,11 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
575
579
  peso: z.ZodOptional<z.ZodString>;
576
580
  profundidade: z.ZodOptional<z.ZodNumber>;
577
581
  sku: z.ZodString;
578
- updateAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
582
+ updateAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
579
583
  apelido: z.ZodOptional<z.ZodString>;
580
584
  bloqueado: z.ZodBoolean;
581
585
  categorias: z.ZodArray<z.ZodString, "many">;
582
- createAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
586
+ createAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
583
587
  descricao_completa: z.ZodString;
584
588
  destaque: z.ZodBoolean;
585
589
  filhos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -715,9 +719,10 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
715
719
  url_video_youtube: z.ZodString;
716
720
  usado: z.ZodBoolean;
717
721
  variacoes: z.ZodArray<z.ZodString, "many">;
718
- deadline: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>>;
722
+ deadline: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>>;
719
723
  fastShipping: z.ZodDefault<z.ZodBoolean>;
720
724
  realStock: z.ZodOptional<z.ZodNumber>;
725
+ lastBoughtAt: z.ZodDefault<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>>;
721
726
  }, {
722
727
  quantityComposition: z.ZodNumber;
723
728
  }>, "strip", z.ZodTypeAny, {
@@ -779,9 +784,10 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
779
784
  usado: boolean;
780
785
  variacoes: string[];
781
786
  fastShipping: boolean;
787
+ lastBoughtAt: Timestamp | null;
782
788
  quantityComposition: number;
783
- createdAt?: FirebaseFirestore.Timestamp | null | undefined;
784
- updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
789
+ createdAt?: Timestamp | null | undefined;
790
+ updatedAt?: Timestamp | null | undefined;
785
791
  order?: number | null | undefined;
786
792
  id_externo?: any;
787
793
  nome?: string | undefined;
@@ -790,9 +796,9 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
790
796
  tags?: string[] | undefined;
791
797
  peso?: string | undefined;
792
798
  profundidade?: number | undefined;
793
- updateAt?: FirebaseFirestore.Timestamp | null | undefined;
799
+ updateAt?: Timestamp | null | undefined;
794
800
  apelido?: string | undefined;
795
- createAt?: FirebaseFirestore.Timestamp | null | undefined;
801
+ createAt?: Timestamp | null | undefined;
796
802
  filhos?: string[] | undefined;
797
803
  grades?: string[] | undefined;
798
804
  imagem_principal?: {
@@ -813,7 +819,7 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
813
819
  } | undefined;
814
820
  marca?: any;
815
821
  pai?: string | undefined;
816
- deadline?: FirebaseFirestore.Timestamp | null | undefined;
822
+ deadline?: Timestamp | null | undefined;
817
823
  realStock?: number | undefined;
818
824
  }, {
819
825
  resource_uri: string;
@@ -910,11 +916,12 @@ declare const ProductCompositionSchema: z.ZodLazy<z.ZodObject<z.objectUtil.exten
910
916
  deadline?: unknown;
911
917
  fastShipping?: boolean | undefined;
912
918
  realStock?: number | undefined;
919
+ lastBoughtAt?: unknown;
913
920
  }>>;
914
921
  declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
915
922
  id: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, unknown>;
916
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
917
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
923
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
924
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
918
925
  order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
919
926
  }, {
920
927
  altura: z.ZodOptional<z.ZodNumber>;
@@ -922,7 +929,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
922
929
  ativo: z.ZodBoolean;
923
930
  bloqueado: z.ZodBoolean;
924
931
  categorias: z.ZodArray<z.ZodString, "many">;
925
- createAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
932
+ createAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
926
933
  data_criacao: z.ZodString;
927
934
  data_modificacao: z.ZodString;
928
935
  descricao_completa: z.ZodString;
@@ -1093,20 +1100,21 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1093
1100
  }>;
1094
1101
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1095
1102
  tipo: z.ZodString;
1096
- updateAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
1103
+ updateAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
1097
1104
  url: z.ZodString;
1098
1105
  url_video_youtube: z.ZodString;
1099
1106
  usado: z.ZodBoolean;
1100
1107
  variacoes: z.ZodArray<z.ZodString, "many">;
1101
1108
  enabled: z.ZodDefault<z.ZodBoolean>;
1102
- deadline: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>>;
1109
+ deadline: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>>;
1103
1110
  fastShipping: z.ZodDefault<z.ZodBoolean>;
1104
1111
  realStock: z.ZodOptional<z.ZodNumber>;
1112
+ lastBoughtAt: z.ZodDefault<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>>;
1105
1113
  }>, {
1106
1114
  composition: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
1107
1115
  id: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, unknown>;
1108
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
1109
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
1116
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
1117
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
1110
1118
  order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1111
1119
  id_externo: z.ZodAny;
1112
1120
  nome: z.ZodOptional<z.ZodString>;
@@ -1150,11 +1158,11 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1150
1158
  peso: z.ZodOptional<z.ZodString>;
1151
1159
  profundidade: z.ZodOptional<z.ZodNumber>;
1152
1160
  sku: z.ZodString;
1153
- updateAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
1161
+ updateAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
1154
1162
  apelido: z.ZodOptional<z.ZodString>;
1155
1163
  bloqueado: z.ZodBoolean;
1156
1164
  categorias: z.ZodArray<z.ZodString, "many">;
1157
- createAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
1165
+ createAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>;
1158
1166
  descricao_completa: z.ZodString;
1159
1167
  destaque: z.ZodBoolean;
1160
1168
  filhos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1290,9 +1298,10 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1290
1298
  url_video_youtube: z.ZodString;
1291
1299
  usado: z.ZodBoolean;
1292
1300
  variacoes: z.ZodArray<z.ZodString, "many">;
1293
- deadline: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>>;
1301
+ deadline: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>>;
1294
1302
  fastShipping: z.ZodDefault<z.ZodBoolean>;
1295
1303
  realStock: z.ZodOptional<z.ZodNumber>;
1304
+ lastBoughtAt: z.ZodDefault<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>, Timestamp, unknown>>>>>;
1296
1305
  }, {
1297
1306
  quantityComposition: z.ZodNumber;
1298
1307
  }>, "strip", z.ZodTypeAny, {
@@ -1354,9 +1363,10 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1354
1363
  usado: boolean;
1355
1364
  variacoes: string[];
1356
1365
  fastShipping: boolean;
1366
+ lastBoughtAt: Timestamp | null;
1357
1367
  quantityComposition: number;
1358
- createdAt?: FirebaseFirestore.Timestamp | null | undefined;
1359
- updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
1368
+ createdAt?: Timestamp | null | undefined;
1369
+ updatedAt?: Timestamp | null | undefined;
1360
1370
  order?: number | null | undefined;
1361
1371
  id_externo?: any;
1362
1372
  nome?: string | undefined;
@@ -1365,9 +1375,9 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1365
1375
  tags?: string[] | undefined;
1366
1376
  peso?: string | undefined;
1367
1377
  profundidade?: number | undefined;
1368
- updateAt?: FirebaseFirestore.Timestamp | null | undefined;
1378
+ updateAt?: Timestamp | null | undefined;
1369
1379
  apelido?: string | undefined;
1370
- createAt?: FirebaseFirestore.Timestamp | null | undefined;
1380
+ createAt?: Timestamp | null | undefined;
1371
1381
  filhos?: string[] | undefined;
1372
1382
  grades?: string[] | undefined;
1373
1383
  imagem_principal?: {
@@ -1388,7 +1398,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1388
1398
  } | undefined;
1389
1399
  marca?: any;
1390
1400
  pai?: string | undefined;
1391
- deadline?: FirebaseFirestore.Timestamp | null | undefined;
1401
+ deadline?: Timestamp | null | undefined;
1392
1402
  realStock?: number | undefined;
1393
1403
  }, {
1394
1404
  resource_uri: string;
@@ -1485,6 +1495,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1485
1495
  deadline?: unknown;
1486
1496
  fastShipping?: boolean | undefined;
1487
1497
  realStock?: number | undefined;
1498
+ lastBoughtAt?: unknown;
1488
1499
  }>>, "many">>;
1489
1500
  }>, "strip", z.ZodTypeAny, {
1490
1501
  id: string | number;
@@ -1545,8 +1556,9 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1545
1556
  usado: boolean;
1546
1557
  variacoes: string[];
1547
1558
  fastShipping: boolean;
1548
- createdAt?: FirebaseFirestore.Timestamp | null | undefined;
1549
- updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
1559
+ lastBoughtAt: Timestamp | null;
1560
+ createdAt?: Timestamp | null | undefined;
1561
+ updatedAt?: Timestamp | null | undefined;
1550
1562
  order?: number | null | undefined;
1551
1563
  id_externo?: any;
1552
1564
  nome?: string | undefined;
@@ -1555,9 +1567,9 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1555
1567
  tags?: string[] | undefined;
1556
1568
  peso?: string | undefined;
1557
1569
  profundidade?: number | undefined;
1558
- updateAt?: FirebaseFirestore.Timestamp | null | undefined;
1570
+ updateAt?: Timestamp | null | undefined;
1559
1571
  apelido?: string | undefined;
1560
- createAt?: FirebaseFirestore.Timestamp | null | undefined;
1572
+ createAt?: Timestamp | null | undefined;
1561
1573
  filhos?: string[] | undefined;
1562
1574
  grades?: string[] | undefined;
1563
1575
  imagem_principal?: {
@@ -1578,7 +1590,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1578
1590
  } | undefined;
1579
1591
  marca?: any;
1580
1592
  pai?: string | undefined;
1581
- deadline?: FirebaseFirestore.Timestamp | null | undefined;
1593
+ deadline?: Timestamp | null | undefined;
1582
1594
  realStock?: number | undefined;
1583
1595
  composition?: {
1584
1596
  id: string | number;
@@ -1639,9 +1651,10 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1639
1651
  usado: boolean;
1640
1652
  variacoes: string[];
1641
1653
  fastShipping: boolean;
1654
+ lastBoughtAt: Timestamp | null;
1642
1655
  quantityComposition: number;
1643
- createdAt?: FirebaseFirestore.Timestamp | null | undefined;
1644
- updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
1656
+ createdAt?: Timestamp | null | undefined;
1657
+ updatedAt?: Timestamp | null | undefined;
1645
1658
  order?: number | null | undefined;
1646
1659
  id_externo?: any;
1647
1660
  nome?: string | undefined;
@@ -1650,9 +1663,9 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1650
1663
  tags?: string[] | undefined;
1651
1664
  peso?: string | undefined;
1652
1665
  profundidade?: number | undefined;
1653
- updateAt?: FirebaseFirestore.Timestamp | null | undefined;
1666
+ updateAt?: Timestamp | null | undefined;
1654
1667
  apelido?: string | undefined;
1655
- createAt?: FirebaseFirestore.Timestamp | null | undefined;
1668
+ createAt?: Timestamp | null | undefined;
1656
1669
  filhos?: string[] | undefined;
1657
1670
  grades?: string[] | undefined;
1658
1671
  imagem_principal?: {
@@ -1673,7 +1686,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1673
1686
  } | undefined;
1674
1687
  marca?: any;
1675
1688
  pai?: string | undefined;
1676
- deadline?: FirebaseFirestore.Timestamp | null | undefined;
1689
+ deadline?: Timestamp | null | undefined;
1677
1690
  realStock?: number | undefined;
1678
1691
  }[] | undefined;
1679
1692
  }, {
@@ -1770,6 +1783,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1770
1783
  deadline?: unknown;
1771
1784
  fastShipping?: boolean | undefined;
1772
1785
  realStock?: number | undefined;
1786
+ lastBoughtAt?: unknown;
1773
1787
  composition?: {
1774
1788
  resource_uri: string;
1775
1789
  seo: string;
@@ -1865,6 +1879,7 @@ declare const ProductSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
1865
1879
  deadline?: unknown;
1866
1880
  fastShipping?: boolean | undefined;
1867
1881
  realStock?: number | undefined;
1882
+ lastBoughtAt?: unknown;
1868
1883
  }[] | undefined;
1869
1884
  }>;
1870
1885
  type Product = z.infer<typeof ProductSchema>;