@_henriquewilson/gabirubi-domain 1.0.91 → 1.0.92

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.
@@ -13,11 +13,11 @@ declare const clienteSchema: z.ZodObject<{
13
13
  telefone_celular: z.ZodString;
14
14
  telefone_principal: z.ZodString;
15
15
  }, "strip", z.ZodTypeAny, {
16
- cpf: string;
17
- email: string;
18
16
  id: number;
19
- nome: string;
20
17
  resource_uri: string;
18
+ nome: string;
19
+ cpf: string;
20
+ email: string;
21
21
  sexo: string;
22
22
  telefone_celular: string;
23
23
  telefone_principal: string;
@@ -25,11 +25,11 @@ declare const clienteSchema: z.ZodObject<{
25
25
  data_nascimento?: any;
26
26
  razao_social?: any;
27
27
  }, {
28
- cpf: string;
29
- email: string;
30
28
  id: number;
31
- nome: string;
32
29
  resource_uri: string;
30
+ nome: string;
31
+ cpf: string;
32
+ email: string;
33
33
  sexo: string;
34
34
  telefone_celular: string;
35
35
  telefone_principal: string;
@@ -56,9 +56,10 @@ declare const enderecoEntregaSchema: z.ZodObject<{
56
56
  rg: z.ZodAny;
57
57
  tipo: z.ZodString;
58
58
  }, "strip", z.ZodTypeAny, {
59
- cpf: string;
60
59
  id: number;
61
60
  nome: string;
61
+ tipo: string;
62
+ cpf: string;
62
63
  bairro: string;
63
64
  cep: string;
64
65
  cidade: string;
@@ -68,15 +69,15 @@ declare const enderecoEntregaSchema: z.ZodObject<{
68
69
  numero: string;
69
70
  pais: string;
70
71
  referencia: string;
71
- tipo: string;
72
72
  cnpj?: any;
73
73
  razao_social?: any;
74
74
  ie?: any;
75
75
  rg?: any;
76
76
  }, {
77
- cpf: string;
78
77
  id: number;
79
78
  nome: string;
79
+ tipo: string;
80
+ cpf: string;
80
81
  bairro: string;
81
82
  cep: string;
82
83
  cidade: string;
@@ -86,7 +87,6 @@ declare const enderecoEntregaSchema: z.ZodObject<{
86
87
  numero: string;
87
88
  pais: string;
88
89
  referencia: string;
89
- tipo: string;
90
90
  cnpj?: any;
91
91
  razao_social?: any;
92
92
  ie?: any;
@@ -99,13 +99,13 @@ declare const formaEnvioSchema: z.ZodObject<{
99
99
  tipo: z.ZodString;
100
100
  }, "strip", z.ZodTypeAny, {
101
101
  id: number;
102
- nome: string;
103
102
  code: string;
103
+ nome: string;
104
104
  tipo: string;
105
105
  }, {
106
106
  id: number;
107
- nome: string;
108
107
  code: string;
108
+ nome: string;
109
109
  tipo: string;
110
110
  }>;
111
111
  declare const kitsSchema: z.ZodObject<{
@@ -152,8 +152,8 @@ declare const SituacaoSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
152
152
  }>, {
153
153
  enabled: z.ZodOptional<z.ZodBoolean>;
154
154
  }>, "strip", z.ZodTypeAny, {
155
- nome: string;
156
155
  resource_uri: string;
156
+ nome: string;
157
157
  aprovado: boolean;
158
158
  cancelado: boolean;
159
159
  codigo: "aguardando_pagamento" | "em_producao" | "pagamento_devolvido" | "pagamento_em_analise" | "pedido_chargeback" | "pagamento_em_disputa" | "pedido_cancelado" | "pedido_efetuado" | "pedido_em_separacao" | "pedido_entregue" | "pedido_enviado" | "pedido_pago" | "pronto_para_retirada";
@@ -166,8 +166,8 @@ declare const SituacaoSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
166
166
  updateAt?: FirebaseFirestore.Timestamp | undefined;
167
167
  enabled?: boolean | undefined;
168
168
  }, {
169
- nome: string;
170
169
  resource_uri: string;
170
+ nome: string;
171
171
  aprovado: boolean;
172
172
  cancelado: boolean;
173
173
  codigo: "aguardando_pagamento" | "em_producao" | "pagamento_devolvido" | "pagamento_em_analise" | "pedido_chargeback" | "pagamento_em_disputa" | "pedido_cancelado" | "pedido_efetuado" | "pedido_em_separacao" | "pedido_entregue" | "pedido_enviado" | "pedido_pago" | "pronto_para_retirada";
@@ -190,13 +190,13 @@ declare const envioSchema: z.ZodObject<{
190
190
  tipo: z.ZodString;
191
191
  }, "strip", z.ZodTypeAny, {
192
192
  id: number;
193
- nome: string;
194
193
  code: string;
194
+ nome: string;
195
195
  tipo: string;
196
196
  }, {
197
197
  id: number;
198
- nome: string;
199
198
  code: string;
199
+ nome: string;
200
200
  tipo: string;
201
201
  }>;
202
202
  id: z.ZodNumber;
@@ -210,8 +210,8 @@ declare const envioSchema: z.ZodObject<{
210
210
  data_modificacao: string;
211
211
  forma_envio: {
212
212
  id: number;
213
- nome: string;
214
213
  code: string;
214
+ nome: string;
215
215
  tipo: string;
216
216
  };
217
217
  objeto: string;
@@ -224,8 +224,8 @@ declare const envioSchema: z.ZodObject<{
224
224
  data_modificacao: string;
225
225
  forma_envio: {
226
226
  id: number;
227
- nome: string;
228
227
  code: string;
228
+ nome: string;
229
229
  tipo: string;
230
230
  };
231
231
  objeto: string;
@@ -268,8 +268,8 @@ declare const formaPagamentoSchema: z.ZodObject<{
268
268
  resource_uri: z.ZodString;
269
269
  }, "strip", z.ZodTypeAny, {
270
270
  id: number;
271
- nome: string;
272
271
  resource_uri: string;
272
+ nome: string;
273
273
  codigo: string;
274
274
  configuracoes: {
275
275
  ativo: boolean;
@@ -278,8 +278,8 @@ declare const formaPagamentoSchema: z.ZodObject<{
278
278
  imagem: string;
279
279
  }, {
280
280
  id: number;
281
- nome: string;
282
281
  resource_uri: string;
282
+ nome: string;
283
283
  codigo: string;
284
284
  configuracoes: {
285
285
  ativo: boolean;
@@ -327,23 +327,23 @@ declare const ItemSchema: z.ZodObject<{
327
327
  }>;
328
328
  }, "strip", z.ZodTypeAny, {
329
329
  id: number;
330
+ produto: string;
331
+ quantidade: string;
332
+ altura: number;
333
+ largura: number;
334
+ ncm: string;
330
335
  nome: string;
336
+ peso: string;
337
+ profundidade: number;
338
+ sku: string;
331
339
  tipo: string;
332
340
  pedido: string;
333
- altura: number;
334
341
  disponibilidade: number;
335
- largura: number;
336
342
  linha: number;
337
- ncm: string;
338
- peso: string;
339
343
  preco_cheio: string;
340
344
  preco_subtotal: string;
341
345
  preco_venda: string;
342
- produto: string;
343
346
  produto_pai: string;
344
- profundidade: number;
345
- quantidade: string;
346
- sku: string;
347
347
  variacao: {
348
348
  Kits: {
349
349
  nome: string;
@@ -353,23 +353,23 @@ declare const ItemSchema: z.ZodObject<{
353
353
  preco_promocional?: any;
354
354
  }, {
355
355
  id: number;
356
+ produto: string;
357
+ quantidade: string;
358
+ altura: number;
359
+ largura: number;
360
+ ncm: string;
356
361
  nome: string;
362
+ peso: string;
363
+ profundidade: number;
364
+ sku: string;
357
365
  tipo: string;
358
366
  pedido: string;
359
- altura: number;
360
367
  disponibilidade: number;
361
- largura: number;
362
368
  linha: number;
363
- ncm: string;
364
- peso: string;
365
369
  preco_cheio: string;
366
370
  preco_subtotal: string;
367
371
  preco_venda: string;
368
- produto: string;
369
372
  produto_pai: string;
370
- profundidade: number;
371
- quantidade: string;
372
- sku: string;
373
373
  variacao: {
374
374
  Kits: {
375
375
  nome: string;
@@ -402,8 +402,8 @@ declare const pagamentoSchema: z.ZodObject<{
402
402
  resource_uri: z.ZodString;
403
403
  }, "strip", z.ZodTypeAny, {
404
404
  id: number;
405
- nome: string;
406
405
  resource_uri: string;
406
+ nome: string;
407
407
  codigo: string;
408
408
  configuracoes: {
409
409
  ativo: boolean;
@@ -412,8 +412,8 @@ declare const pagamentoSchema: z.ZodObject<{
412
412
  imagem: string;
413
413
  }, {
414
414
  id: number;
415
- nome: string;
416
415
  resource_uri: string;
416
+ nome: string;
417
417
  codigo: string;
418
418
  configuracoes: {
419
419
  ativo: boolean;
@@ -446,8 +446,8 @@ declare const pagamentoSchema: z.ZodObject<{
446
446
  bandeira: string;
447
447
  forma_pagamento: {
448
448
  id: number;
449
- nome: string;
450
449
  resource_uri: string;
450
+ nome: string;
451
451
  codigo: string;
452
452
  configuracoes: {
453
453
  ativo: boolean;
@@ -476,8 +476,8 @@ declare const pagamentoSchema: z.ZodObject<{
476
476
  bandeira: string;
477
477
  forma_pagamento: {
478
478
  id: number;
479
- nome: string;
480
479
  resource_uri: string;
480
+ nome: string;
481
481
  codigo: string;
482
482
  configuracoes: {
483
483
  ativo: boolean;
@@ -516,8 +516,8 @@ declare const CustomShippingInfoSchema: z.ZodObject<z.objectUtil.extendShape<{
516
516
  }>, "strip", z.ZodTypeAny, {
517
517
  length: number;
518
518
  weight: number;
519
- height: number;
520
519
  width: number;
520
+ height: number;
521
521
  id?: string | null | undefined;
522
522
  order?: number | null | undefined;
523
523
  createAt?: FirebaseFirestore.Timestamp | undefined;
@@ -527,8 +527,8 @@ declare const CustomShippingInfoSchema: z.ZodObject<z.objectUtil.extendShape<{
527
527
  }, {
528
528
  length: number;
529
529
  weight: number;
530
- height: number;
531
530
  width: number;
531
+ height: number;
532
532
  id?: string | null | undefined;
533
533
  order?: number | null | undefined;
534
534
  createAt?: unknown;
@@ -555,11 +555,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
555
555
  telefone_celular: z.ZodString;
556
556
  telefone_principal: z.ZodString;
557
557
  }, "strip", z.ZodTypeAny, {
558
- cpf: string;
559
- email: string;
560
558
  id: number;
561
- nome: string;
562
559
  resource_uri: string;
560
+ nome: string;
561
+ cpf: string;
562
+ email: string;
563
563
  sexo: string;
564
564
  telefone_celular: string;
565
565
  telefone_principal: string;
@@ -567,11 +567,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
567
567
  data_nascimento?: any;
568
568
  razao_social?: any;
569
569
  }, {
570
- cpf: string;
571
- email: string;
572
570
  id: number;
573
- nome: string;
574
571
  resource_uri: string;
572
+ nome: string;
573
+ cpf: string;
574
+ email: string;
575
575
  sexo: string;
576
576
  telefone_celular: string;
577
577
  telefone_principal: string;
@@ -604,9 +604,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
604
604
  rg: z.ZodAny;
605
605
  tipo: z.ZodString;
606
606
  }, "strip", z.ZodTypeAny, {
607
- cpf: string;
608
607
  id: number;
609
608
  nome: string;
609
+ tipo: string;
610
+ cpf: string;
610
611
  bairro: string;
611
612
  cep: string;
612
613
  cidade: string;
@@ -616,15 +617,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
616
617
  numero: string;
617
618
  pais: string;
618
619
  referencia: string;
619
- tipo: string;
620
620
  cnpj?: any;
621
621
  razao_social?: any;
622
622
  ie?: any;
623
623
  rg?: any;
624
624
  }, {
625
- cpf: string;
626
625
  id: number;
627
626
  nome: string;
627
+ tipo: string;
628
+ cpf: string;
628
629
  bairro: string;
629
630
  cep: string;
630
631
  cidade: string;
@@ -634,7 +635,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
634
635
  numero: string;
635
636
  pais: string;
636
637
  referencia: string;
637
- tipo: string;
638
638
  cnpj?: any;
639
639
  razao_social?: any;
640
640
  ie?: any;
@@ -650,13 +650,13 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
650
650
  tipo: z.ZodString;
651
651
  }, "strip", z.ZodTypeAny, {
652
652
  id: number;
653
- nome: string;
654
653
  code: string;
654
+ nome: string;
655
655
  tipo: string;
656
656
  }, {
657
657
  id: number;
658
- nome: string;
659
658
  code: string;
659
+ nome: string;
660
660
  tipo: string;
661
661
  }>;
662
662
  id: z.ZodNumber;
@@ -670,8 +670,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
670
670
  data_modificacao: string;
671
671
  forma_envio: {
672
672
  id: number;
673
- nome: string;
674
673
  code: string;
674
+ nome: string;
675
675
  tipo: string;
676
676
  };
677
677
  objeto: string;
@@ -684,8 +684,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
684
684
  data_modificacao: string;
685
685
  forma_envio: {
686
686
  id: number;
687
- nome: string;
688
687
  code: string;
688
+ nome: string;
689
689
  tipo: string;
690
690
  };
691
691
  objeto: string;
@@ -736,23 +736,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
736
736
  }>;
737
737
  }, "strip", z.ZodTypeAny, {
738
738
  id: number;
739
+ produto: string;
740
+ quantidade: string;
741
+ altura: number;
742
+ largura: number;
743
+ ncm: string;
739
744
  nome: string;
745
+ peso: string;
746
+ profundidade: number;
747
+ sku: string;
740
748
  tipo: string;
741
749
  pedido: string;
742
- altura: number;
743
750
  disponibilidade: number;
744
- largura: number;
745
751
  linha: number;
746
- ncm: string;
747
- peso: string;
748
752
  preco_cheio: string;
749
753
  preco_subtotal: string;
750
754
  preco_venda: string;
751
- produto: string;
752
755
  produto_pai: string;
753
- profundidade: number;
754
- quantidade: string;
755
- sku: string;
756
756
  variacao: {
757
757
  Kits: {
758
758
  nome: string;
@@ -762,23 +762,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
762
762
  preco_promocional?: any;
763
763
  }, {
764
764
  id: number;
765
+ produto: string;
766
+ quantidade: string;
767
+ altura: number;
768
+ largura: number;
769
+ ncm: string;
765
770
  nome: string;
771
+ peso: string;
772
+ profundidade: number;
773
+ sku: string;
766
774
  tipo: string;
767
775
  pedido: string;
768
- altura: number;
769
776
  disponibilidade: number;
770
- largura: number;
771
777
  linha: number;
772
- ncm: string;
773
- peso: string;
774
778
  preco_cheio: string;
775
779
  preco_subtotal: string;
776
780
  preco_venda: string;
777
- produto: string;
778
781
  produto_pai: string;
779
- profundidade: number;
780
- quantidade: string;
781
- sku: string;
782
782
  variacao: {
783
783
  Kits: {
784
784
  nome: string;
@@ -812,8 +812,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
812
812
  resource_uri: z.ZodString;
813
813
  }, "strip", z.ZodTypeAny, {
814
814
  id: number;
815
- nome: string;
816
815
  resource_uri: string;
816
+ nome: string;
817
817
  codigo: string;
818
818
  configuracoes: {
819
819
  ativo: boolean;
@@ -822,8 +822,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
822
822
  imagem: string;
823
823
  }, {
824
824
  id: number;
825
- nome: string;
826
825
  resource_uri: string;
826
+ nome: string;
827
827
  codigo: string;
828
828
  configuracoes: {
829
829
  ativo: boolean;
@@ -856,8 +856,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
856
856
  bandeira: string;
857
857
  forma_pagamento: {
858
858
  id: number;
859
- nome: string;
860
859
  resource_uri: string;
860
+ nome: string;
861
861
  codigo: string;
862
862
  configuracoes: {
863
863
  ativo: boolean;
@@ -886,8 +886,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
886
886
  bandeira: string;
887
887
  forma_pagamento: {
888
888
  id: number;
889
- nome: string;
890
889
  resource_uri: string;
890
+ nome: string;
891
891
  codigo: string;
892
892
  configuracoes: {
893
893
  ativo: boolean;
@@ -930,8 +930,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
930
930
  }>, {
931
931
  enabled: z.ZodOptional<z.ZodBoolean>;
932
932
  }>, "strip", z.ZodTypeAny, {
933
- nome: string;
934
933
  resource_uri: string;
934
+ nome: string;
935
935
  aprovado: boolean;
936
936
  cancelado: boolean;
937
937
  codigo: "aguardando_pagamento" | "em_producao" | "pagamento_devolvido" | "pagamento_em_analise" | "pedido_chargeback" | "pagamento_em_disputa" | "pedido_cancelado" | "pedido_efetuado" | "pedido_em_separacao" | "pedido_entregue" | "pedido_enviado" | "pedido_pago" | "pronto_para_retirada";
@@ -944,8 +944,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
944
944
  updateAt?: FirebaseFirestore.Timestamp | undefined;
945
945
  enabled?: boolean | undefined;
946
946
  }, {
947
- nome: string;
948
947
  resource_uri: string;
948
+ nome: string;
949
949
  aprovado: boolean;
950
950
  cancelado: boolean;
951
951
  codigo: "aguardando_pagamento" | "em_producao" | "pagamento_devolvido" | "pagamento_em_analise" | "pedido_chargeback" | "pagamento_em_disputa" | "pedido_cancelado" | "pedido_efetuado" | "pedido_em_separacao" | "pedido_entregue" | "pedido_enviado" | "pedido_pago" | "pronto_para_retirada";
@@ -980,8 +980,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
980
980
  }>, "strip", z.ZodTypeAny, {
981
981
  length: number;
982
982
  weight: number;
983
- height: number;
984
983
  width: number;
984
+ height: number;
985
985
  id?: string | null | undefined;
986
986
  order?: number | null | undefined;
987
987
  createAt?: FirebaseFirestore.Timestamp | undefined;
@@ -991,8 +991,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
991
991
  }, {
992
992
  length: number;
993
993
  weight: number;
994
- height: number;
995
994
  width: number;
995
+ height: number;
996
996
  id?: string | null | undefined;
997
997
  order?: number | null | undefined;
998
998
  createAt?: unknown;
@@ -1000,17 +1000,298 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1000
1000
  name?: string | undefined;
1001
1001
  insurance?: number | undefined;
1002
1002
  }>>;
1003
+ shippingCalculate: z.ZodOptional<z.ZodObject<{
1004
+ id: z.ZodNumber;
1005
+ name: z.ZodString;
1006
+ price: z.ZodString;
1007
+ custom_price: z.ZodString;
1008
+ discount: z.ZodString;
1009
+ error: z.ZodOptional<z.ZodString>;
1010
+ currency: z.ZodString;
1011
+ delivery_time: z.ZodNumber;
1012
+ delivery_range: z.ZodObject<z.objectUtil.extendShape<{
1013
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1014
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1015
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
1016
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
1017
+ }, {
1018
+ min: z.ZodNumber;
1019
+ max: z.ZodNumber;
1020
+ }>, "strip", z.ZodTypeAny, {
1021
+ min: number;
1022
+ max: number;
1023
+ id?: string | null | undefined;
1024
+ order?: number | null | undefined;
1025
+ createAt?: FirebaseFirestore.Timestamp | undefined;
1026
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
1027
+ }, {
1028
+ min: number;
1029
+ max: number;
1030
+ id?: string | null | undefined;
1031
+ order?: number | null | undefined;
1032
+ createAt?: unknown;
1033
+ updateAt?: unknown;
1034
+ }>;
1035
+ custom_delivery_time: z.ZodNumber;
1036
+ custom_delivery_range: z.ZodObject<z.objectUtil.extendShape<{
1037
+ id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1038
+ order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1039
+ createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
1040
+ updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
1041
+ }, {
1042
+ min: z.ZodNumber;
1043
+ max: z.ZodNumber;
1044
+ }>, "strip", z.ZodTypeAny, {
1045
+ min: number;
1046
+ max: number;
1047
+ id?: string | null | undefined;
1048
+ order?: number | null | undefined;
1049
+ createAt?: FirebaseFirestore.Timestamp | undefined;
1050
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
1051
+ }, {
1052
+ min: number;
1053
+ max: number;
1054
+ id?: string | null | undefined;
1055
+ order?: number | null | undefined;
1056
+ createAt?: unknown;
1057
+ updateAt?: unknown;
1058
+ }>;
1059
+ packages: z.ZodArray<z.ZodObject<{
1060
+ price: z.ZodString;
1061
+ discount: z.ZodString;
1062
+ format: z.ZodString;
1063
+ weight: z.ZodString;
1064
+ insurance_value: z.ZodString;
1065
+ products: z.ZodArray<z.ZodObject<{
1066
+ id: z.ZodString;
1067
+ quantity: z.ZodNumber;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ id: string;
1070
+ quantity: number;
1071
+ }, {
1072
+ id: string;
1073
+ quantity: number;
1074
+ }>, "many">;
1075
+ dimensions: z.ZodObject<{
1076
+ height: z.ZodNumber;
1077
+ width: z.ZodNumber;
1078
+ length: z.ZodNumber;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ length: number;
1081
+ width: number;
1082
+ height: number;
1083
+ }, {
1084
+ length: number;
1085
+ width: number;
1086
+ height: number;
1087
+ }>;
1088
+ }, "strip", z.ZodTypeAny, {
1089
+ price: string;
1090
+ weight: string;
1091
+ insurance_value: string;
1092
+ discount: string;
1093
+ format: string;
1094
+ products: {
1095
+ id: string;
1096
+ quantity: number;
1097
+ }[];
1098
+ dimensions: {
1099
+ length: number;
1100
+ width: number;
1101
+ height: number;
1102
+ };
1103
+ }, {
1104
+ price: string;
1105
+ weight: string;
1106
+ insurance_value: string;
1107
+ discount: string;
1108
+ format: string;
1109
+ products: {
1110
+ id: string;
1111
+ quantity: number;
1112
+ }[];
1113
+ dimensions: {
1114
+ length: number;
1115
+ width: number;
1116
+ height: number;
1117
+ };
1118
+ }>, "many">;
1119
+ additional_services: z.ZodObject<{
1120
+ receipt: z.ZodBoolean;
1121
+ own_hand: z.ZodBoolean;
1122
+ collect: z.ZodBoolean;
1123
+ }, "strip", z.ZodTypeAny, {
1124
+ receipt: boolean;
1125
+ own_hand: boolean;
1126
+ collect: boolean;
1127
+ }, {
1128
+ receipt: boolean;
1129
+ own_hand: boolean;
1130
+ collect: boolean;
1131
+ }>;
1132
+ additional: z.ZodObject<{
1133
+ unit: z.ZodObject<{
1134
+ price: z.ZodNumber;
1135
+ delivery: z.ZodNumber;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ price: number;
1138
+ delivery: number;
1139
+ }, {
1140
+ price: number;
1141
+ delivery: number;
1142
+ }>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ unit: {
1145
+ price: number;
1146
+ delivery: number;
1147
+ };
1148
+ }, {
1149
+ unit: {
1150
+ price: number;
1151
+ delivery: number;
1152
+ };
1153
+ }>;
1154
+ company: z.ZodObject<{
1155
+ id: z.ZodNumber;
1156
+ name: z.ZodString;
1157
+ picture: z.ZodString;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ id: number;
1160
+ name: string;
1161
+ picture: string;
1162
+ }, {
1163
+ id: number;
1164
+ name: string;
1165
+ picture: string;
1166
+ }>;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ id: number;
1169
+ price: string;
1170
+ name: string;
1171
+ company: {
1172
+ id: number;
1173
+ name: string;
1174
+ picture: string;
1175
+ };
1176
+ discount: string;
1177
+ custom_price: string;
1178
+ currency: string;
1179
+ delivery_time: number;
1180
+ delivery_range: {
1181
+ min: number;
1182
+ max: number;
1183
+ id?: string | null | undefined;
1184
+ order?: number | null | undefined;
1185
+ createAt?: FirebaseFirestore.Timestamp | undefined;
1186
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
1187
+ };
1188
+ custom_delivery_time: number;
1189
+ custom_delivery_range: {
1190
+ min: number;
1191
+ max: number;
1192
+ id?: string | null | undefined;
1193
+ order?: number | null | undefined;
1194
+ createAt?: FirebaseFirestore.Timestamp | undefined;
1195
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
1196
+ };
1197
+ packages: {
1198
+ price: string;
1199
+ weight: string;
1200
+ insurance_value: string;
1201
+ discount: string;
1202
+ format: string;
1203
+ products: {
1204
+ id: string;
1205
+ quantity: number;
1206
+ }[];
1207
+ dimensions: {
1208
+ length: number;
1209
+ width: number;
1210
+ height: number;
1211
+ };
1212
+ }[];
1213
+ additional_services: {
1214
+ receipt: boolean;
1215
+ own_hand: boolean;
1216
+ collect: boolean;
1217
+ };
1218
+ additional: {
1219
+ unit: {
1220
+ price: number;
1221
+ delivery: number;
1222
+ };
1223
+ };
1224
+ error?: string | undefined;
1225
+ }, {
1226
+ id: number;
1227
+ price: string;
1228
+ name: string;
1229
+ company: {
1230
+ id: number;
1231
+ name: string;
1232
+ picture: string;
1233
+ };
1234
+ discount: string;
1235
+ custom_price: string;
1236
+ currency: string;
1237
+ delivery_time: number;
1238
+ delivery_range: {
1239
+ min: number;
1240
+ max: number;
1241
+ id?: string | null | undefined;
1242
+ order?: number | null | undefined;
1243
+ createAt?: unknown;
1244
+ updateAt?: unknown;
1245
+ };
1246
+ custom_delivery_time: number;
1247
+ custom_delivery_range: {
1248
+ min: number;
1249
+ max: number;
1250
+ id?: string | null | undefined;
1251
+ order?: number | null | undefined;
1252
+ createAt?: unknown;
1253
+ updateAt?: unknown;
1254
+ };
1255
+ packages: {
1256
+ price: string;
1257
+ weight: string;
1258
+ insurance_value: string;
1259
+ discount: string;
1260
+ format: string;
1261
+ products: {
1262
+ id: string;
1263
+ quantity: number;
1264
+ }[];
1265
+ dimensions: {
1266
+ length: number;
1267
+ width: number;
1268
+ height: number;
1269
+ };
1270
+ }[];
1271
+ additional_services: {
1272
+ receipt: boolean;
1273
+ own_hand: boolean;
1274
+ collect: boolean;
1275
+ };
1276
+ additional: {
1277
+ unit: {
1278
+ price: number;
1279
+ delivery: number;
1280
+ };
1281
+ };
1282
+ error?: string | undefined;
1283
+ }>>;
1003
1284
  }>, "strip", z.ZodTypeAny, {
1004
1285
  resource_uri: string;
1005
- numero: number;
1006
1286
  data_criacao: string;
1007
1287
  data_modificacao: string;
1288
+ numero: number;
1008
1289
  cliente: {
1009
- cpf: string;
1010
- email: string;
1011
1290
  id: number;
1012
- nome: string;
1013
1291
  resource_uri: string;
1292
+ nome: string;
1293
+ cpf: string;
1294
+ email: string;
1014
1295
  sexo: string;
1015
1296
  telefone_celular: string;
1016
1297
  telefone_principal: string;
@@ -1020,9 +1301,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1020
1301
  };
1021
1302
  data_expiracao: string;
1022
1303
  endereco_entrega: {
1023
- cpf: string;
1024
1304
  id: number;
1025
1305
  nome: string;
1306
+ tipo: string;
1307
+ cpf: string;
1026
1308
  bairro: string;
1027
1309
  cep: string;
1028
1310
  cidade: string;
@@ -1032,7 +1314,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1032
1314
  numero: string;
1033
1315
  pais: string;
1034
1316
  referencia: string;
1035
- tipo: string;
1036
1317
  cnpj?: any;
1037
1318
  razao_social?: any;
1038
1319
  ie?: any;
@@ -1044,8 +1325,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1044
1325
  data_modificacao: string;
1045
1326
  forma_envio: {
1046
1327
  id: number;
1047
- nome: string;
1048
1328
  code: string;
1329
+ nome: string;
1049
1330
  tipo: string;
1050
1331
  };
1051
1332
  objeto: string;
@@ -1055,23 +1336,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1055
1336
  }[];
1056
1337
  itens: {
1057
1338
  id: number;
1339
+ produto: string;
1340
+ quantidade: string;
1341
+ altura: number;
1342
+ largura: number;
1343
+ ncm: string;
1058
1344
  nome: string;
1345
+ peso: string;
1346
+ profundidade: number;
1347
+ sku: string;
1059
1348
  tipo: string;
1060
1349
  pedido: string;
1061
- altura: number;
1062
1350
  disponibilidade: number;
1063
- largura: number;
1064
1351
  linha: number;
1065
- ncm: string;
1066
- peso: string;
1067
1352
  preco_cheio: string;
1068
1353
  preco_subtotal: string;
1069
1354
  preco_venda: string;
1070
- produto: string;
1071
1355
  produto_pai: string;
1072
- profundidade: number;
1073
- quantidade: string;
1074
- sku: string;
1075
1356
  variacao: {
1076
1357
  Kits: {
1077
1358
  nome: string;
@@ -1086,8 +1367,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1086
1367
  bandeira: string;
1087
1368
  forma_pagamento: {
1088
1369
  id: number;
1089
- nome: string;
1090
1370
  resource_uri: string;
1371
+ nome: string;
1091
1372
  codigo: string;
1092
1373
  configuracoes: {
1093
1374
  ativo: boolean;
@@ -1113,8 +1394,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1113
1394
  }[];
1114
1395
  peso_real: string;
1115
1396
  situacao: {
1116
- nome: string;
1117
1397
  resource_uri: string;
1398
+ nome: string;
1118
1399
  aprovado: boolean;
1119
1400
  cancelado: boolean;
1120
1401
  codigo: "aguardando_pagamento" | "em_producao" | "pagamento_devolvido" | "pagamento_em_analise" | "pedido_chargeback" | "pagamento_em_disputa" | "pedido_cancelado" | "pedido_efetuado" | "pedido_em_separacao" | "pedido_entregue" | "pedido_enviado" | "pedido_pago" | "pronto_para_retirada";
@@ -1132,21 +1413,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1132
1413
  valor_subtotal: string;
1133
1414
  valor_total: string;
1134
1415
  id?: string | null | undefined;
1416
+ id_anymarket?: any;
1135
1417
  order?: number | null | undefined;
1136
1418
  createAt?: FirebaseFirestore.Timestamp | undefined;
1137
1419
  updateAt?: FirebaseFirestore.Timestamp | undefined;
1420
+ id_externo?: any;
1421
+ tags?: string[] | undefined;
1138
1422
  cliente_obs?: any;
1139
1423
  cupom_desconto?: any;
1140
- id_anymarket?: any;
1141
- id_externo?: any;
1142
1424
  integration_data?: any;
1143
1425
  utm_campaign?: any;
1144
- tags?: string[] | undefined;
1145
1426
  customShippingInfo?: {
1146
1427
  length: number;
1147
1428
  weight: number;
1148
- height: number;
1149
1429
  width: number;
1430
+ height: number;
1150
1431
  id?: string | null | undefined;
1151
1432
  order?: number | null | undefined;
1152
1433
  createAt?: FirebaseFirestore.Timestamp | undefined;
@@ -1154,17 +1435,76 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1154
1435
  name?: string | undefined;
1155
1436
  insurance?: number | undefined;
1156
1437
  } | undefined;
1438
+ shippingCalculate?: {
1439
+ id: number;
1440
+ price: string;
1441
+ name: string;
1442
+ company: {
1443
+ id: number;
1444
+ name: string;
1445
+ picture: string;
1446
+ };
1447
+ discount: string;
1448
+ custom_price: string;
1449
+ currency: string;
1450
+ delivery_time: number;
1451
+ delivery_range: {
1452
+ min: number;
1453
+ max: number;
1454
+ id?: string | null | undefined;
1455
+ order?: number | null | undefined;
1456
+ createAt?: FirebaseFirestore.Timestamp | undefined;
1457
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
1458
+ };
1459
+ custom_delivery_time: number;
1460
+ custom_delivery_range: {
1461
+ min: number;
1462
+ max: number;
1463
+ id?: string | null | undefined;
1464
+ order?: number | null | undefined;
1465
+ createAt?: FirebaseFirestore.Timestamp | undefined;
1466
+ updateAt?: FirebaseFirestore.Timestamp | undefined;
1467
+ };
1468
+ packages: {
1469
+ price: string;
1470
+ weight: string;
1471
+ insurance_value: string;
1472
+ discount: string;
1473
+ format: string;
1474
+ products: {
1475
+ id: string;
1476
+ quantity: number;
1477
+ }[];
1478
+ dimensions: {
1479
+ length: number;
1480
+ width: number;
1481
+ height: number;
1482
+ };
1483
+ }[];
1484
+ additional_services: {
1485
+ receipt: boolean;
1486
+ own_hand: boolean;
1487
+ collect: boolean;
1488
+ };
1489
+ additional: {
1490
+ unit: {
1491
+ price: number;
1492
+ delivery: number;
1493
+ };
1494
+ };
1495
+ error?: string | undefined;
1496
+ } | undefined;
1157
1497
  }, {
1158
1498
  resource_uri: string;
1159
- numero: number;
1160
1499
  data_criacao: string;
1161
1500
  data_modificacao: string;
1501
+ numero: number;
1162
1502
  cliente: {
1163
- cpf: string;
1164
- email: string;
1165
1503
  id: number;
1166
- nome: string;
1167
1504
  resource_uri: string;
1505
+ nome: string;
1506
+ cpf: string;
1507
+ email: string;
1168
1508
  sexo: string;
1169
1509
  telefone_celular: string;
1170
1510
  telefone_principal: string;
@@ -1174,9 +1514,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1174
1514
  };
1175
1515
  data_expiracao: string;
1176
1516
  endereco_entrega: {
1177
- cpf: string;
1178
1517
  id: number;
1179
1518
  nome: string;
1519
+ tipo: string;
1520
+ cpf: string;
1180
1521
  bairro: string;
1181
1522
  cep: string;
1182
1523
  cidade: string;
@@ -1186,7 +1527,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1186
1527
  numero: string;
1187
1528
  pais: string;
1188
1529
  referencia: string;
1189
- tipo: string;
1190
1530
  cnpj?: any;
1191
1531
  razao_social?: any;
1192
1532
  ie?: any;
@@ -1198,8 +1538,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1198
1538
  data_modificacao: string;
1199
1539
  forma_envio: {
1200
1540
  id: number;
1201
- nome: string;
1202
1541
  code: string;
1542
+ nome: string;
1203
1543
  tipo: string;
1204
1544
  };
1205
1545
  objeto: string;
@@ -1209,23 +1549,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1209
1549
  }[];
1210
1550
  itens: {
1211
1551
  id: number;
1552
+ produto: string;
1553
+ quantidade: string;
1554
+ altura: number;
1555
+ largura: number;
1556
+ ncm: string;
1212
1557
  nome: string;
1558
+ peso: string;
1559
+ profundidade: number;
1560
+ sku: string;
1213
1561
  tipo: string;
1214
1562
  pedido: string;
1215
- altura: number;
1216
1563
  disponibilidade: number;
1217
- largura: number;
1218
1564
  linha: number;
1219
- ncm: string;
1220
- peso: string;
1221
1565
  preco_cheio: string;
1222
1566
  preco_subtotal: string;
1223
1567
  preco_venda: string;
1224
- produto: string;
1225
1568
  produto_pai: string;
1226
- profundidade: number;
1227
- quantidade: string;
1228
- sku: string;
1229
1569
  variacao: {
1230
1570
  Kits: {
1231
1571
  nome: string;
@@ -1240,8 +1580,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1240
1580
  bandeira: string;
1241
1581
  forma_pagamento: {
1242
1582
  id: number;
1243
- nome: string;
1244
1583
  resource_uri: string;
1584
+ nome: string;
1245
1585
  codigo: string;
1246
1586
  configuracoes: {
1247
1587
  ativo: boolean;
@@ -1267,8 +1607,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1267
1607
  }[];
1268
1608
  peso_real: string;
1269
1609
  situacao: {
1270
- nome: string;
1271
1610
  resource_uri: string;
1611
+ nome: string;
1272
1612
  aprovado: boolean;
1273
1613
  cancelado: boolean;
1274
1614
  codigo: "aguardando_pagamento" | "em_producao" | "pagamento_devolvido" | "pagamento_em_analise" | "pedido_chargeback" | "pagamento_em_disputa" | "pedido_cancelado" | "pedido_efetuado" | "pedido_em_separacao" | "pedido_entregue" | "pedido_enviado" | "pedido_pago" | "pronto_para_retirada";
@@ -1286,21 +1626,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1286
1626
  valor_subtotal: string;
1287
1627
  valor_total: string;
1288
1628
  id?: string | null | undefined;
1629
+ id_anymarket?: any;
1289
1630
  order?: number | null | undefined;
1290
1631
  createAt?: unknown;
1291
1632
  updateAt?: unknown;
1633
+ id_externo?: any;
1634
+ tags?: string[] | undefined;
1292
1635
  cliente_obs?: any;
1293
1636
  cupom_desconto?: any;
1294
- id_anymarket?: any;
1295
- id_externo?: any;
1296
1637
  integration_data?: any;
1297
1638
  utm_campaign?: any;
1298
- tags?: string[] | undefined;
1299
1639
  customShippingInfo?: {
1300
1640
  length: number;
1301
1641
  weight: number;
1302
- height: number;
1303
1642
  width: number;
1643
+ height: number;
1304
1644
  id?: string | null | undefined;
1305
1645
  order?: number | null | undefined;
1306
1646
  createAt?: unknown;
@@ -1308,6 +1648,65 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1308
1648
  name?: string | undefined;
1309
1649
  insurance?: number | undefined;
1310
1650
  } | undefined;
1651
+ shippingCalculate?: {
1652
+ id: number;
1653
+ price: string;
1654
+ name: string;
1655
+ company: {
1656
+ id: number;
1657
+ name: string;
1658
+ picture: string;
1659
+ };
1660
+ discount: string;
1661
+ custom_price: string;
1662
+ currency: string;
1663
+ delivery_time: number;
1664
+ delivery_range: {
1665
+ min: number;
1666
+ max: number;
1667
+ id?: string | null | undefined;
1668
+ order?: number | null | undefined;
1669
+ createAt?: unknown;
1670
+ updateAt?: unknown;
1671
+ };
1672
+ custom_delivery_time: number;
1673
+ custom_delivery_range: {
1674
+ min: number;
1675
+ max: number;
1676
+ id?: string | null | undefined;
1677
+ order?: number | null | undefined;
1678
+ createAt?: unknown;
1679
+ updateAt?: unknown;
1680
+ };
1681
+ packages: {
1682
+ price: string;
1683
+ weight: string;
1684
+ insurance_value: string;
1685
+ discount: string;
1686
+ format: string;
1687
+ products: {
1688
+ id: string;
1689
+ quantity: number;
1690
+ }[];
1691
+ dimensions: {
1692
+ length: number;
1693
+ width: number;
1694
+ height: number;
1695
+ };
1696
+ }[];
1697
+ additional_services: {
1698
+ receipt: boolean;
1699
+ own_hand: boolean;
1700
+ collect: boolean;
1701
+ };
1702
+ additional: {
1703
+ unit: {
1704
+ price: number;
1705
+ delivery: number;
1706
+ };
1707
+ };
1708
+ error?: string | undefined;
1709
+ } | undefined;
1311
1710
  }>;
1312
1711
  type CustomShippingInfo = z.infer<typeof CustomShippingInfoSchema>;
1313
1712
  type Order = z.infer<typeof OrderSchema>;