@_henriquewilson/gabirubi-domain 1.0.92 → 1.0.93

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.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const clienteSchema: z.ZodObject<{
3
+ declare const ClienteSchema: z.ZodObject<{
4
4
  cnpj: z.ZodAny;
5
5
  cpf: z.ZodString;
6
6
  data_nascimento: z.ZodAny;
@@ -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
- id: number;
17
- resource_uri: string;
18
- nome: string;
19
16
  cpf: string;
20
17
  email: string;
18
+ id: number;
19
+ nome: string;
20
+ resource_uri: 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
- id: number;
29
- resource_uri: string;
30
- nome: string;
31
28
  cpf: string;
32
29
  email: string;
30
+ id: number;
31
+ nome: string;
32
+ resource_uri: string;
33
33
  sexo: string;
34
34
  telefone_celular: string;
35
35
  telefone_principal: string;
@@ -37,7 +37,7 @@ declare const clienteSchema: z.ZodObject<{
37
37
  data_nascimento?: any;
38
38
  razao_social?: any;
39
39
  }>;
40
- declare const enderecoEntregaSchema: z.ZodObject<{
40
+ declare const EnderecoEntregaSchema: z.ZodObject<{
41
41
  bairro: z.ZodString;
42
42
  cep: z.ZodString;
43
43
  cidade: z.ZodString;
@@ -56,10 +56,9 @@ declare const enderecoEntregaSchema: z.ZodObject<{
56
56
  rg: z.ZodAny;
57
57
  tipo: z.ZodString;
58
58
  }, "strip", z.ZodTypeAny, {
59
+ cpf: string;
59
60
  id: number;
60
61
  nome: string;
61
- tipo: string;
62
- cpf: string;
63
62
  bairro: string;
64
63
  cep: string;
65
64
  cidade: string;
@@ -69,15 +68,15 @@ declare const enderecoEntregaSchema: z.ZodObject<{
69
68
  numero: string;
70
69
  pais: string;
71
70
  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;
77
78
  id: number;
78
79
  nome: string;
79
- tipo: string;
80
- cpf: string;
81
80
  bairro: string;
82
81
  cep: string;
83
82
  cidade: string;
@@ -87,25 +86,26 @@ declare const enderecoEntregaSchema: z.ZodObject<{
87
86
  numero: string;
88
87
  pais: string;
89
88
  referencia: string;
89
+ tipo: string;
90
90
  cnpj?: any;
91
91
  razao_social?: any;
92
92
  ie?: any;
93
93
  rg?: any;
94
94
  }>;
95
- declare const formaEnvioSchema: z.ZodObject<{
95
+ declare const FormaEnvioSchema: z.ZodObject<{
96
96
  code: z.ZodString;
97
97
  id: z.ZodNumber;
98
98
  nome: z.ZodString;
99
99
  tipo: z.ZodString;
100
100
  }, "strip", z.ZodTypeAny, {
101
101
  id: number;
102
- code: string;
103
102
  nome: string;
103
+ code: string;
104
104
  tipo: string;
105
105
  }, {
106
106
  id: number;
107
- code: string;
108
107
  nome: string;
108
+ code: string;
109
109
  tipo: string;
110
110
  }>;
111
111
  declare const kitsSchema: z.ZodObject<{
@@ -115,7 +115,7 @@ declare const kitsSchema: z.ZodObject<{
115
115
  }, {
116
116
  nome: string;
117
117
  }>;
118
- declare const configuracoesSchema: z.ZodObject<{
118
+ declare const ConfiguracoesSchema: z.ZodObject<{
119
119
  ativo: z.ZodBoolean;
120
120
  disponivel: z.ZodBoolean;
121
121
  }, "strip", z.ZodTypeAny, {
@@ -125,7 +125,7 @@ declare const configuracoesSchema: z.ZodObject<{
125
125
  ativo: boolean;
126
126
  disponivel: boolean;
127
127
  }>;
128
- declare const parcelamentoSchema: z.ZodObject<{
128
+ declare const ParcelamentoSchema: z.ZodObject<{
129
129
  numero_parcelas: z.ZodNumber;
130
130
  valor_parcela: z.ZodNumber;
131
131
  }, "strip", z.ZodTypeAny, {
@@ -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
- resource_uri: string;
156
155
  nome: string;
156
+ resource_uri: 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
- resource_uri: string;
170
169
  nome: string;
170
+ resource_uri: 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";
@@ -180,7 +180,7 @@ declare const SituacaoSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
180
180
  updateAt?: unknown;
181
181
  enabled?: boolean | undefined;
182
182
  }>;
183
- declare const envioSchema: z.ZodObject<{
183
+ declare const EnvioSchema: z.ZodObject<{
184
184
  data_criacao: z.ZodString;
185
185
  data_modificacao: z.ZodString;
186
186
  forma_envio: z.ZodObject<{
@@ -190,13 +190,13 @@ declare const envioSchema: z.ZodObject<{
190
190
  tipo: z.ZodString;
191
191
  }, "strip", z.ZodTypeAny, {
192
192
  id: number;
193
- code: string;
194
193
  nome: string;
194
+ code: string;
195
195
  tipo: string;
196
196
  }, {
197
197
  id: number;
198
- code: string;
199
198
  nome: string;
199
+ code: 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
- code: string;
214
213
  nome: string;
214
+ code: 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
- code: string;
228
227
  nome: string;
228
+ code: 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
- resource_uri: string;
272
271
  nome: string;
272
+ resource_uri: 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
- resource_uri: string;
282
281
  nome: string;
282
+ resource_uri: 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;
335
330
  nome: string;
336
- peso: string;
337
- profundidade: number;
338
- sku: string;
339
331
  tipo: string;
340
332
  pedido: string;
333
+ altura: number;
341
334
  disponibilidade: number;
335
+ largura: number;
342
336
  linha: number;
337
+ ncm: string;
338
+ peso: string;
343
339
  preco_cheio: string;
344
340
  preco_subtotal: string;
345
341
  preco_venda: string;
342
+ produto: string;
346
343
  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;
361
356
  nome: string;
362
- peso: string;
363
- profundidade: number;
364
- sku: string;
365
357
  tipo: string;
366
358
  pedido: string;
359
+ altura: number;
367
360
  disponibilidade: number;
361
+ largura: number;
368
362
  linha: number;
363
+ ncm: string;
364
+ peso: string;
369
365
  preco_cheio: string;
370
366
  preco_subtotal: string;
371
367
  preco_venda: string;
368
+ produto: string;
372
369
  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
- resource_uri: string;
406
405
  nome: string;
406
+ resource_uri: 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
- resource_uri: string;
416
415
  nome: string;
416
+ resource_uri: 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
- resource_uri: string;
450
449
  nome: string;
450
+ resource_uri: 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
- resource_uri: string;
480
479
  nome: string;
480
+ resource_uri: 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
- width: number;
520
519
  height: number;
520
+ width: 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
- width: number;
531
530
  height: number;
531
+ width: 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
- id: number;
559
- resource_uri: string;
560
- nome: string;
561
558
  cpf: string;
562
559
  email: string;
560
+ id: number;
561
+ nome: string;
562
+ resource_uri: 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
- id: number;
571
- resource_uri: string;
572
- nome: string;
573
570
  cpf: string;
574
571
  email: string;
572
+ id: number;
573
+ nome: string;
574
+ resource_uri: string;
575
575
  sexo: string;
576
576
  telefone_celular: string;
577
577
  telefone_principal: string;
@@ -604,10 +604,9 @@ 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;
607
608
  id: number;
608
609
  nome: string;
609
- tipo: string;
610
- cpf: string;
611
610
  bairro: string;
612
611
  cep: string;
613
612
  cidade: string;
@@ -617,15 +616,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
617
616
  numero: string;
618
617
  pais: string;
619
618
  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;
625
626
  id: number;
626
627
  nome: string;
627
- tipo: string;
628
- cpf: string;
629
628
  bairro: string;
630
629
  cep: string;
631
630
  cidade: string;
@@ -635,6 +634,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
635
634
  numero: string;
636
635
  pais: string;
637
636
  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
- code: string;
654
653
  nome: string;
654
+ code: string;
655
655
  tipo: string;
656
656
  }, {
657
657
  id: number;
658
- code: string;
659
658
  nome: string;
659
+ code: 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
- code: string;
674
673
  nome: string;
674
+ code: 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
- code: string;
688
687
  nome: string;
688
+ code: 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;
744
739
  nome: string;
745
- peso: string;
746
- profundidade: number;
747
- sku: string;
748
740
  tipo: string;
749
741
  pedido: string;
742
+ altura: number;
750
743
  disponibilidade: number;
744
+ largura: number;
751
745
  linha: number;
746
+ ncm: string;
747
+ peso: string;
752
748
  preco_cheio: string;
753
749
  preco_subtotal: string;
754
750
  preco_venda: string;
751
+ produto: string;
755
752
  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;
770
765
  nome: string;
771
- peso: string;
772
- profundidade: number;
773
- sku: string;
774
766
  tipo: string;
775
767
  pedido: string;
768
+ altura: number;
776
769
  disponibilidade: number;
770
+ largura: number;
777
771
  linha: number;
772
+ ncm: string;
773
+ peso: string;
778
774
  preco_cheio: string;
779
775
  preco_subtotal: string;
780
776
  preco_venda: string;
777
+ produto: string;
781
778
  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
- resource_uri: string;
816
815
  nome: string;
816
+ resource_uri: 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
- resource_uri: string;
826
825
  nome: string;
826
+ resource_uri: 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
- resource_uri: string;
860
859
  nome: string;
860
+ resource_uri: 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
- resource_uri: string;
890
889
  nome: string;
890
+ resource_uri: 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
- resource_uri: string;
934
933
  nome: string;
934
+ resource_uri: 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
- resource_uri: string;
948
947
  nome: string;
948
+ resource_uri: 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
- width: number;
984
983
  height: number;
984
+ width: 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
- width: number;
995
994
  height: number;
995
+ width: number;
996
996
  id?: string | null | undefined;
997
997
  order?: number | null | undefined;
998
998
  createAt?: unknown;
@@ -1078,42 +1078,42 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1078
1078
  length: z.ZodNumber;
1079
1079
  }, "strip", z.ZodTypeAny, {
1080
1080
  length: number;
1081
- width: number;
1082
1081
  height: number;
1082
+ width: number;
1083
1083
  }, {
1084
1084
  length: number;
1085
- width: number;
1086
1085
  height: number;
1086
+ width: number;
1087
1087
  }>;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
- price: string;
1090
1089
  weight: string;
1091
- insurance_value: string;
1090
+ price: string;
1092
1091
  discount: string;
1093
1092
  format: string;
1093
+ insurance_value: string;
1094
1094
  products: {
1095
1095
  id: string;
1096
1096
  quantity: number;
1097
1097
  }[];
1098
1098
  dimensions: {
1099
1099
  length: number;
1100
- width: number;
1101
1100
  height: number;
1101
+ width: number;
1102
1102
  };
1103
1103
  }, {
1104
- price: string;
1105
1104
  weight: string;
1106
- insurance_value: string;
1105
+ price: string;
1107
1106
  discount: string;
1108
1107
  format: string;
1108
+ insurance_value: string;
1109
1109
  products: {
1110
1110
  id: string;
1111
1111
  quantity: number;
1112
1112
  }[];
1113
1113
  dimensions: {
1114
1114
  length: number;
1115
- width: number;
1116
1115
  height: number;
1116
+ width: number;
1117
1117
  };
1118
1118
  }>, "many">;
1119
1119
  additional_services: z.ZodObject<{
@@ -1166,15 +1166,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1166
1166
  }>;
1167
1167
  }, "strip", z.ZodTypeAny, {
1168
1168
  id: number;
1169
- price: string;
1170
1169
  name: string;
1171
- company: {
1172
- id: number;
1173
- name: string;
1174
- picture: string;
1175
- };
1176
- discount: string;
1170
+ price: string;
1177
1171
  custom_price: string;
1172
+ discount: string;
1178
1173
  currency: string;
1179
1174
  delivery_time: number;
1180
1175
  delivery_range: {
@@ -1195,19 +1190,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1195
1190
  updateAt?: FirebaseFirestore.Timestamp | undefined;
1196
1191
  };
1197
1192
  packages: {
1198
- price: string;
1199
1193
  weight: string;
1200
- insurance_value: string;
1194
+ price: string;
1201
1195
  discount: string;
1202
1196
  format: string;
1197
+ insurance_value: string;
1203
1198
  products: {
1204
1199
  id: string;
1205
1200
  quantity: number;
1206
1201
  }[];
1207
1202
  dimensions: {
1208
1203
  length: number;
1209
- width: number;
1210
1204
  height: number;
1205
+ width: number;
1211
1206
  };
1212
1207
  }[];
1213
1208
  additional_services: {
@@ -1221,18 +1216,18 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1221
1216
  delivery: number;
1222
1217
  };
1223
1218
  };
1224
- error?: string | undefined;
1225
- }, {
1226
- id: number;
1227
- price: string;
1228
- name: string;
1229
1219
  company: {
1230
1220
  id: number;
1231
1221
  name: string;
1232
1222
  picture: string;
1233
1223
  };
1234
- discount: string;
1224
+ error?: string | undefined;
1225
+ }, {
1226
+ id: number;
1227
+ name: string;
1228
+ price: string;
1235
1229
  custom_price: string;
1230
+ discount: string;
1236
1231
  currency: string;
1237
1232
  delivery_time: number;
1238
1233
  delivery_range: {
@@ -1253,19 +1248,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1253
1248
  updateAt?: unknown;
1254
1249
  };
1255
1250
  packages: {
1256
- price: string;
1257
1251
  weight: string;
1258
- insurance_value: string;
1252
+ price: string;
1259
1253
  discount: string;
1260
1254
  format: string;
1255
+ insurance_value: string;
1261
1256
  products: {
1262
1257
  id: string;
1263
1258
  quantity: number;
1264
1259
  }[];
1265
1260
  dimensions: {
1266
1261
  length: number;
1267
- width: number;
1268
1262
  height: number;
1263
+ width: number;
1269
1264
  };
1270
1265
  }[];
1271
1266
  additional_services: {
@@ -1279,19 +1274,25 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1279
1274
  delivery: number;
1280
1275
  };
1281
1276
  };
1277
+ company: {
1278
+ id: number;
1279
+ name: string;
1280
+ picture: string;
1281
+ };
1282
1282
  error?: string | undefined;
1283
1283
  }>>;
1284
+ warning: z.ZodOptional<z.ZodString>;
1284
1285
  }>, "strip", z.ZodTypeAny, {
1285
1286
  resource_uri: string;
1287
+ numero: number;
1286
1288
  data_criacao: string;
1287
1289
  data_modificacao: string;
1288
- numero: number;
1289
1290
  cliente: {
1290
- id: number;
1291
- resource_uri: string;
1292
- nome: string;
1293
1291
  cpf: string;
1294
1292
  email: string;
1293
+ id: number;
1294
+ nome: string;
1295
+ resource_uri: string;
1295
1296
  sexo: string;
1296
1297
  telefone_celular: string;
1297
1298
  telefone_principal: string;
@@ -1301,10 +1302,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1301
1302
  };
1302
1303
  data_expiracao: string;
1303
1304
  endereco_entrega: {
1305
+ cpf: string;
1304
1306
  id: number;
1305
1307
  nome: string;
1306
- tipo: string;
1307
- cpf: string;
1308
1308
  bairro: string;
1309
1309
  cep: string;
1310
1310
  cidade: string;
@@ -1314,6 +1314,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1314
1314
  numero: string;
1315
1315
  pais: string;
1316
1316
  referencia: string;
1317
+ tipo: string;
1317
1318
  cnpj?: any;
1318
1319
  razao_social?: any;
1319
1320
  ie?: any;
@@ -1325,8 +1326,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1325
1326
  data_modificacao: string;
1326
1327
  forma_envio: {
1327
1328
  id: number;
1328
- code: string;
1329
1329
  nome: string;
1330
+ code: string;
1330
1331
  tipo: string;
1331
1332
  };
1332
1333
  objeto: string;
@@ -1336,23 +1337,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1336
1337
  }[];
1337
1338
  itens: {
1338
1339
  id: number;
1339
- produto: string;
1340
- quantidade: string;
1341
- altura: number;
1342
- largura: number;
1343
- ncm: string;
1344
1340
  nome: string;
1345
- peso: string;
1346
- profundidade: number;
1347
- sku: string;
1348
1341
  tipo: string;
1349
1342
  pedido: string;
1343
+ altura: number;
1350
1344
  disponibilidade: number;
1345
+ largura: number;
1351
1346
  linha: number;
1347
+ ncm: string;
1348
+ peso: string;
1352
1349
  preco_cheio: string;
1353
1350
  preco_subtotal: string;
1354
1351
  preco_venda: string;
1352
+ produto: string;
1355
1353
  produto_pai: string;
1354
+ profundidade: number;
1355
+ quantidade: string;
1356
+ sku: string;
1356
1357
  variacao: {
1357
1358
  Kits: {
1358
1359
  nome: string;
@@ -1367,8 +1368,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1367
1368
  bandeira: string;
1368
1369
  forma_pagamento: {
1369
1370
  id: number;
1370
- resource_uri: string;
1371
1371
  nome: string;
1372
+ resource_uri: string;
1372
1373
  codigo: string;
1373
1374
  configuracoes: {
1374
1375
  ativo: boolean;
@@ -1394,8 +1395,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1394
1395
  }[];
1395
1396
  peso_real: string;
1396
1397
  situacao: {
1397
- resource_uri: string;
1398
1398
  nome: string;
1399
+ resource_uri: string;
1399
1400
  aprovado: boolean;
1400
1401
  cancelado: boolean;
1401
1402
  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";
@@ -1413,21 +1414,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1413
1414
  valor_subtotal: string;
1414
1415
  valor_total: string;
1415
1416
  id?: string | null | undefined;
1416
- id_anymarket?: any;
1417
1417
  order?: number | null | undefined;
1418
1418
  createAt?: FirebaseFirestore.Timestamp | undefined;
1419
1419
  updateAt?: FirebaseFirestore.Timestamp | undefined;
1420
- id_externo?: any;
1421
- tags?: string[] | undefined;
1422
1420
  cliente_obs?: any;
1423
1421
  cupom_desconto?: any;
1422
+ id_anymarket?: any;
1423
+ id_externo?: any;
1424
1424
  integration_data?: any;
1425
1425
  utm_campaign?: any;
1426
+ tags?: string[] | undefined;
1426
1427
  customShippingInfo?: {
1427
1428
  length: number;
1428
1429
  weight: number;
1429
- width: number;
1430
1430
  height: number;
1431
+ width: number;
1431
1432
  id?: string | null | undefined;
1432
1433
  order?: number | null | undefined;
1433
1434
  createAt?: FirebaseFirestore.Timestamp | undefined;
@@ -1437,15 +1438,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1437
1438
  } | undefined;
1438
1439
  shippingCalculate?: {
1439
1440
  id: number;
1440
- price: string;
1441
1441
  name: string;
1442
- company: {
1443
- id: number;
1444
- name: string;
1445
- picture: string;
1446
- };
1447
- discount: string;
1442
+ price: string;
1448
1443
  custom_price: string;
1444
+ discount: string;
1449
1445
  currency: string;
1450
1446
  delivery_time: number;
1451
1447
  delivery_range: {
@@ -1466,19 +1462,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1466
1462
  updateAt?: FirebaseFirestore.Timestamp | undefined;
1467
1463
  };
1468
1464
  packages: {
1469
- price: string;
1470
1465
  weight: string;
1471
- insurance_value: string;
1466
+ price: string;
1472
1467
  discount: string;
1473
1468
  format: string;
1469
+ insurance_value: string;
1474
1470
  products: {
1475
1471
  id: string;
1476
1472
  quantity: number;
1477
1473
  }[];
1478
1474
  dimensions: {
1479
1475
  length: number;
1480
- width: number;
1481
1476
  height: number;
1477
+ width: number;
1482
1478
  };
1483
1479
  }[];
1484
1480
  additional_services: {
@@ -1492,19 +1488,25 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1492
1488
  delivery: number;
1493
1489
  };
1494
1490
  };
1491
+ company: {
1492
+ id: number;
1493
+ name: string;
1494
+ picture: string;
1495
+ };
1495
1496
  error?: string | undefined;
1496
1497
  } | undefined;
1498
+ warning?: string | undefined;
1497
1499
  }, {
1498
1500
  resource_uri: string;
1501
+ numero: number;
1499
1502
  data_criacao: string;
1500
1503
  data_modificacao: string;
1501
- numero: number;
1502
1504
  cliente: {
1503
- id: number;
1504
- resource_uri: string;
1505
- nome: string;
1506
1505
  cpf: string;
1507
1506
  email: string;
1507
+ id: number;
1508
+ nome: string;
1509
+ resource_uri: string;
1508
1510
  sexo: string;
1509
1511
  telefone_celular: string;
1510
1512
  telefone_principal: string;
@@ -1514,10 +1516,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1514
1516
  };
1515
1517
  data_expiracao: string;
1516
1518
  endereco_entrega: {
1519
+ cpf: string;
1517
1520
  id: number;
1518
1521
  nome: string;
1519
- tipo: string;
1520
- cpf: string;
1521
1522
  bairro: string;
1522
1523
  cep: string;
1523
1524
  cidade: string;
@@ -1527,6 +1528,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1527
1528
  numero: string;
1528
1529
  pais: string;
1529
1530
  referencia: string;
1531
+ tipo: string;
1530
1532
  cnpj?: any;
1531
1533
  razao_social?: any;
1532
1534
  ie?: any;
@@ -1538,8 +1540,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1538
1540
  data_modificacao: string;
1539
1541
  forma_envio: {
1540
1542
  id: number;
1541
- code: string;
1542
1543
  nome: string;
1544
+ code: string;
1543
1545
  tipo: string;
1544
1546
  };
1545
1547
  objeto: string;
@@ -1549,23 +1551,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1549
1551
  }[];
1550
1552
  itens: {
1551
1553
  id: number;
1552
- produto: string;
1553
- quantidade: string;
1554
- altura: number;
1555
- largura: number;
1556
- ncm: string;
1557
1554
  nome: string;
1558
- peso: string;
1559
- profundidade: number;
1560
- sku: string;
1561
1555
  tipo: string;
1562
1556
  pedido: string;
1557
+ altura: number;
1563
1558
  disponibilidade: number;
1559
+ largura: number;
1564
1560
  linha: number;
1561
+ ncm: string;
1562
+ peso: string;
1565
1563
  preco_cheio: string;
1566
1564
  preco_subtotal: string;
1567
1565
  preco_venda: string;
1566
+ produto: string;
1568
1567
  produto_pai: string;
1568
+ profundidade: number;
1569
+ quantidade: string;
1570
+ sku: string;
1569
1571
  variacao: {
1570
1572
  Kits: {
1571
1573
  nome: string;
@@ -1580,8 +1582,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1580
1582
  bandeira: string;
1581
1583
  forma_pagamento: {
1582
1584
  id: number;
1583
- resource_uri: string;
1584
1585
  nome: string;
1586
+ resource_uri: string;
1585
1587
  codigo: string;
1586
1588
  configuracoes: {
1587
1589
  ativo: boolean;
@@ -1607,8 +1609,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1607
1609
  }[];
1608
1610
  peso_real: string;
1609
1611
  situacao: {
1610
- resource_uri: string;
1611
1612
  nome: string;
1613
+ resource_uri: string;
1612
1614
  aprovado: boolean;
1613
1615
  cancelado: boolean;
1614
1616
  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";
@@ -1626,21 +1628,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1626
1628
  valor_subtotal: string;
1627
1629
  valor_total: string;
1628
1630
  id?: string | null | undefined;
1629
- id_anymarket?: any;
1630
1631
  order?: number | null | undefined;
1631
1632
  createAt?: unknown;
1632
1633
  updateAt?: unknown;
1633
- id_externo?: any;
1634
- tags?: string[] | undefined;
1635
1634
  cliente_obs?: any;
1636
1635
  cupom_desconto?: any;
1636
+ id_anymarket?: any;
1637
+ id_externo?: any;
1637
1638
  integration_data?: any;
1638
1639
  utm_campaign?: any;
1640
+ tags?: string[] | undefined;
1639
1641
  customShippingInfo?: {
1640
1642
  length: number;
1641
1643
  weight: number;
1642
- width: number;
1643
1644
  height: number;
1645
+ width: number;
1644
1646
  id?: string | null | undefined;
1645
1647
  order?: number | null | undefined;
1646
1648
  createAt?: unknown;
@@ -1650,15 +1652,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1650
1652
  } | undefined;
1651
1653
  shippingCalculate?: {
1652
1654
  id: number;
1653
- price: string;
1654
1655
  name: string;
1655
- company: {
1656
- id: number;
1657
- name: string;
1658
- picture: string;
1659
- };
1660
- discount: string;
1656
+ price: string;
1661
1657
  custom_price: string;
1658
+ discount: string;
1662
1659
  currency: string;
1663
1660
  delivery_time: number;
1664
1661
  delivery_range: {
@@ -1679,19 +1676,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1679
1676
  updateAt?: unknown;
1680
1677
  };
1681
1678
  packages: {
1682
- price: string;
1683
1679
  weight: string;
1684
- insurance_value: string;
1680
+ price: string;
1685
1681
  discount: string;
1686
1682
  format: string;
1683
+ insurance_value: string;
1687
1684
  products: {
1688
1685
  id: string;
1689
1686
  quantity: number;
1690
1687
  }[];
1691
1688
  dimensions: {
1692
1689
  length: number;
1693
- width: number;
1694
1690
  height: number;
1691
+ width: number;
1695
1692
  };
1696
1693
  }[];
1697
1694
  additional_services: {
@@ -1705,12 +1702,18 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
1705
1702
  delivery: number;
1706
1703
  };
1707
1704
  };
1705
+ company: {
1706
+ id: number;
1707
+ name: string;
1708
+ picture: string;
1709
+ };
1708
1710
  error?: string | undefined;
1709
1711
  } | undefined;
1712
+ warning?: string | undefined;
1710
1713
  }>;
1711
1714
  type CustomShippingInfo = z.infer<typeof CustomShippingInfoSchema>;
1712
1715
  type Order = z.infer<typeof OrderSchema>;
1713
1716
  type Item = z.infer<typeof ItemSchema>;
1714
1717
  type OrderStatus = z.infer<typeof SituacaoSchema>;
1715
1718
 
1716
- export { CustomShippingInfo, CustomShippingInfoSchema, Item, ItemSchema, Order, OrderSchema, OrderStatus, SituacaoSchema, clienteSchema, configuracoesSchema, enderecoEntregaSchema, envioSchema, formaEnvioSchema, formaPagamentoSchema, kitsSchema, pagamentoSchema, parcelamentoSchema, variacaoSchema };
1719
+ export { ClienteSchema, ConfiguracoesSchema, CustomShippingInfo, CustomShippingInfoSchema, EnderecoEntregaSchema, EnvioSchema, FormaEnvioSchema, Item, ItemSchema, Order, OrderSchema, OrderStatus, ParcelamentoSchema, SituacaoSchema, formaPagamentoSchema, kitsSchema, pagamentoSchema, variacaoSchema };