@_henriquewilson/gabirubi-domain 1.0.82 → 1.0.83
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.
- package/dist/model/integrada/order.d.mts +116 -116
- package/dist/model/integrada/order.d.ts +116 -116
- package/dist/model/integrada/product.d.mts +76 -76
- package/dist/model/integrada/product.d.ts +76 -76
- package/dist/model/melhorenvio/service.d.mts +1589 -0
- package/dist/model/melhorenvio/service.d.ts +1589 -0
- package/dist/model/melhorenvio/service.js +150 -0
- package/dist/model/melhorenvio/service.js.map +1 -0
- package/dist/model/melhorenvio/service.mjs +71 -0
- package/dist/model/melhorenvio/service.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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,6 +86,7 @@ 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;
|
|
@@ -99,13 +99,13 @@ declare const formaEnvioSchema: z.ZodObject<{
|
|
|
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<{
|
|
@@ -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";
|
|
@@ -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;
|
|
@@ -552,11 +552,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
552
552
|
telefone_celular: z.ZodString;
|
|
553
553
|
telefone_principal: z.ZodString;
|
|
554
554
|
}, "strip", z.ZodTypeAny, {
|
|
555
|
-
id: number;
|
|
556
|
-
resource_uri: string;
|
|
557
|
-
nome: string;
|
|
558
555
|
cpf: string;
|
|
559
556
|
email: string;
|
|
557
|
+
id: number;
|
|
558
|
+
nome: string;
|
|
559
|
+
resource_uri: string;
|
|
560
560
|
sexo: string;
|
|
561
561
|
telefone_celular: string;
|
|
562
562
|
telefone_principal: string;
|
|
@@ -564,11 +564,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
564
564
|
data_nascimento?: any;
|
|
565
565
|
razao_social?: any;
|
|
566
566
|
}, {
|
|
567
|
-
id: number;
|
|
568
|
-
resource_uri: string;
|
|
569
|
-
nome: string;
|
|
570
567
|
cpf: string;
|
|
571
568
|
email: string;
|
|
569
|
+
id: number;
|
|
570
|
+
nome: string;
|
|
571
|
+
resource_uri: string;
|
|
572
572
|
sexo: string;
|
|
573
573
|
telefone_celular: string;
|
|
574
574
|
telefone_principal: string;
|
|
@@ -601,10 +601,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
601
601
|
rg: z.ZodAny;
|
|
602
602
|
tipo: z.ZodString;
|
|
603
603
|
}, "strip", z.ZodTypeAny, {
|
|
604
|
+
cpf: string;
|
|
604
605
|
id: number;
|
|
605
606
|
nome: string;
|
|
606
|
-
tipo: string;
|
|
607
|
-
cpf: string;
|
|
608
607
|
bairro: string;
|
|
609
608
|
cep: string;
|
|
610
609
|
cidade: string;
|
|
@@ -614,15 +613,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
614
613
|
numero: string;
|
|
615
614
|
pais: string;
|
|
616
615
|
referencia: string;
|
|
616
|
+
tipo: string;
|
|
617
617
|
cnpj?: any;
|
|
618
618
|
razao_social?: any;
|
|
619
619
|
ie?: any;
|
|
620
620
|
rg?: any;
|
|
621
621
|
}, {
|
|
622
|
+
cpf: string;
|
|
622
623
|
id: number;
|
|
623
624
|
nome: string;
|
|
624
|
-
tipo: string;
|
|
625
|
-
cpf: string;
|
|
626
625
|
bairro: string;
|
|
627
626
|
cep: string;
|
|
628
627
|
cidade: string;
|
|
@@ -632,6 +631,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
632
631
|
numero: string;
|
|
633
632
|
pais: string;
|
|
634
633
|
referencia: string;
|
|
634
|
+
tipo: string;
|
|
635
635
|
cnpj?: any;
|
|
636
636
|
razao_social?: any;
|
|
637
637
|
ie?: any;
|
|
@@ -647,13 +647,13 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
647
647
|
tipo: z.ZodString;
|
|
648
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
649
|
id: number;
|
|
650
|
-
code: string;
|
|
651
650
|
nome: string;
|
|
651
|
+
code: string;
|
|
652
652
|
tipo: string;
|
|
653
653
|
}, {
|
|
654
654
|
id: number;
|
|
655
|
-
code: string;
|
|
656
655
|
nome: string;
|
|
656
|
+
code: string;
|
|
657
657
|
tipo: string;
|
|
658
658
|
}>;
|
|
659
659
|
id: z.ZodNumber;
|
|
@@ -667,8 +667,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
667
667
|
data_modificacao: string;
|
|
668
668
|
forma_envio: {
|
|
669
669
|
id: number;
|
|
670
|
-
code: string;
|
|
671
670
|
nome: string;
|
|
671
|
+
code: string;
|
|
672
672
|
tipo: string;
|
|
673
673
|
};
|
|
674
674
|
objeto: string;
|
|
@@ -681,8 +681,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
681
681
|
data_modificacao: string;
|
|
682
682
|
forma_envio: {
|
|
683
683
|
id: number;
|
|
684
|
-
code: string;
|
|
685
684
|
nome: string;
|
|
685
|
+
code: string;
|
|
686
686
|
tipo: string;
|
|
687
687
|
};
|
|
688
688
|
objeto: string;
|
|
@@ -733,23 +733,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
733
733
|
}>;
|
|
734
734
|
}, "strip", z.ZodTypeAny, {
|
|
735
735
|
id: number;
|
|
736
|
-
produto: string;
|
|
737
|
-
quantidade: string;
|
|
738
|
-
altura: number;
|
|
739
|
-
largura: number;
|
|
740
|
-
ncm: string;
|
|
741
736
|
nome: string;
|
|
742
|
-
peso: string;
|
|
743
|
-
profundidade: number;
|
|
744
|
-
sku: string;
|
|
745
737
|
tipo: string;
|
|
746
738
|
pedido: string;
|
|
739
|
+
altura: number;
|
|
747
740
|
disponibilidade: number;
|
|
741
|
+
largura: number;
|
|
748
742
|
linha: number;
|
|
743
|
+
ncm: string;
|
|
744
|
+
peso: string;
|
|
749
745
|
preco_cheio: string;
|
|
750
746
|
preco_subtotal: string;
|
|
751
747
|
preco_venda: string;
|
|
748
|
+
produto: string;
|
|
752
749
|
produto_pai: string;
|
|
750
|
+
profundidade: number;
|
|
751
|
+
quantidade: string;
|
|
752
|
+
sku: string;
|
|
753
753
|
variacao: {
|
|
754
754
|
Kits: {
|
|
755
755
|
nome: string;
|
|
@@ -759,23 +759,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
759
759
|
preco_promocional?: any;
|
|
760
760
|
}, {
|
|
761
761
|
id: number;
|
|
762
|
-
produto: string;
|
|
763
|
-
quantidade: string;
|
|
764
|
-
altura: number;
|
|
765
|
-
largura: number;
|
|
766
|
-
ncm: string;
|
|
767
762
|
nome: string;
|
|
768
|
-
peso: string;
|
|
769
|
-
profundidade: number;
|
|
770
|
-
sku: string;
|
|
771
763
|
tipo: string;
|
|
772
764
|
pedido: string;
|
|
765
|
+
altura: number;
|
|
773
766
|
disponibilidade: number;
|
|
767
|
+
largura: number;
|
|
774
768
|
linha: number;
|
|
769
|
+
ncm: string;
|
|
770
|
+
peso: string;
|
|
775
771
|
preco_cheio: string;
|
|
776
772
|
preco_subtotal: string;
|
|
777
773
|
preco_venda: string;
|
|
774
|
+
produto: string;
|
|
778
775
|
produto_pai: string;
|
|
776
|
+
profundidade: number;
|
|
777
|
+
quantidade: string;
|
|
778
|
+
sku: string;
|
|
779
779
|
variacao: {
|
|
780
780
|
Kits: {
|
|
781
781
|
nome: string;
|
|
@@ -809,8 +809,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
809
809
|
resource_uri: z.ZodString;
|
|
810
810
|
}, "strip", z.ZodTypeAny, {
|
|
811
811
|
id: number;
|
|
812
|
-
resource_uri: string;
|
|
813
812
|
nome: string;
|
|
813
|
+
resource_uri: string;
|
|
814
814
|
codigo: string;
|
|
815
815
|
configuracoes: {
|
|
816
816
|
ativo: boolean;
|
|
@@ -819,8 +819,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
819
819
|
imagem: string;
|
|
820
820
|
}, {
|
|
821
821
|
id: number;
|
|
822
|
-
resource_uri: string;
|
|
823
822
|
nome: string;
|
|
823
|
+
resource_uri: string;
|
|
824
824
|
codigo: string;
|
|
825
825
|
configuracoes: {
|
|
826
826
|
ativo: boolean;
|
|
@@ -853,8 +853,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
853
853
|
bandeira: string;
|
|
854
854
|
forma_pagamento: {
|
|
855
855
|
id: number;
|
|
856
|
-
resource_uri: string;
|
|
857
856
|
nome: string;
|
|
857
|
+
resource_uri: string;
|
|
858
858
|
codigo: string;
|
|
859
859
|
configuracoes: {
|
|
860
860
|
ativo: boolean;
|
|
@@ -883,8 +883,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
883
883
|
bandeira: string;
|
|
884
884
|
forma_pagamento: {
|
|
885
885
|
id: number;
|
|
886
|
-
resource_uri: string;
|
|
887
886
|
nome: string;
|
|
887
|
+
resource_uri: string;
|
|
888
888
|
codigo: string;
|
|
889
889
|
configuracoes: {
|
|
890
890
|
ativo: boolean;
|
|
@@ -927,8 +927,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
927
927
|
}>, {
|
|
928
928
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
929
929
|
}>, "strip", z.ZodTypeAny, {
|
|
930
|
-
resource_uri: string;
|
|
931
930
|
nome: string;
|
|
931
|
+
resource_uri: string;
|
|
932
932
|
aprovado: boolean;
|
|
933
933
|
cancelado: boolean;
|
|
934
934
|
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";
|
|
@@ -941,8 +941,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
941
941
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
942
942
|
enabled?: boolean | undefined;
|
|
943
943
|
}, {
|
|
944
|
-
resource_uri: string;
|
|
945
944
|
nome: string;
|
|
945
|
+
resource_uri: string;
|
|
946
946
|
aprovado: boolean;
|
|
947
947
|
cancelado: boolean;
|
|
948
948
|
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";
|
|
@@ -996,15 +996,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
996
996
|
}>>;
|
|
997
997
|
}>, "strip", z.ZodTypeAny, {
|
|
998
998
|
resource_uri: string;
|
|
999
|
+
numero: number;
|
|
999
1000
|
data_criacao: string;
|
|
1000
1001
|
data_modificacao: string;
|
|
1001
|
-
numero: number;
|
|
1002
1002
|
cliente: {
|
|
1003
|
-
id: number;
|
|
1004
|
-
resource_uri: string;
|
|
1005
|
-
nome: string;
|
|
1006
1003
|
cpf: string;
|
|
1007
1004
|
email: string;
|
|
1005
|
+
id: number;
|
|
1006
|
+
nome: string;
|
|
1007
|
+
resource_uri: string;
|
|
1008
1008
|
sexo: string;
|
|
1009
1009
|
telefone_celular: string;
|
|
1010
1010
|
telefone_principal: string;
|
|
@@ -1014,10 +1014,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1014
1014
|
};
|
|
1015
1015
|
data_expiracao: string;
|
|
1016
1016
|
endereco_entrega: {
|
|
1017
|
+
cpf: string;
|
|
1017
1018
|
id: number;
|
|
1018
1019
|
nome: string;
|
|
1019
|
-
tipo: string;
|
|
1020
|
-
cpf: string;
|
|
1021
1020
|
bairro: string;
|
|
1022
1021
|
cep: string;
|
|
1023
1022
|
cidade: string;
|
|
@@ -1027,6 +1026,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1027
1026
|
numero: string;
|
|
1028
1027
|
pais: string;
|
|
1029
1028
|
referencia: string;
|
|
1029
|
+
tipo: string;
|
|
1030
1030
|
cnpj?: any;
|
|
1031
1031
|
razao_social?: any;
|
|
1032
1032
|
ie?: any;
|
|
@@ -1038,8 +1038,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1038
1038
|
data_modificacao: string;
|
|
1039
1039
|
forma_envio: {
|
|
1040
1040
|
id: number;
|
|
1041
|
-
code: string;
|
|
1042
1041
|
nome: string;
|
|
1042
|
+
code: string;
|
|
1043
1043
|
tipo: string;
|
|
1044
1044
|
};
|
|
1045
1045
|
objeto: string;
|
|
@@ -1049,23 +1049,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1049
1049
|
}[];
|
|
1050
1050
|
itens: {
|
|
1051
1051
|
id: number;
|
|
1052
|
-
produto: string;
|
|
1053
|
-
quantidade: string;
|
|
1054
|
-
altura: number;
|
|
1055
|
-
largura: number;
|
|
1056
|
-
ncm: string;
|
|
1057
1052
|
nome: string;
|
|
1058
|
-
peso: string;
|
|
1059
|
-
profundidade: number;
|
|
1060
|
-
sku: string;
|
|
1061
1053
|
tipo: string;
|
|
1062
1054
|
pedido: string;
|
|
1055
|
+
altura: number;
|
|
1063
1056
|
disponibilidade: number;
|
|
1057
|
+
largura: number;
|
|
1064
1058
|
linha: number;
|
|
1059
|
+
ncm: string;
|
|
1060
|
+
peso: string;
|
|
1065
1061
|
preco_cheio: string;
|
|
1066
1062
|
preco_subtotal: string;
|
|
1067
1063
|
preco_venda: string;
|
|
1064
|
+
produto: string;
|
|
1068
1065
|
produto_pai: string;
|
|
1066
|
+
profundidade: number;
|
|
1067
|
+
quantidade: string;
|
|
1068
|
+
sku: string;
|
|
1069
1069
|
variacao: {
|
|
1070
1070
|
Kits: {
|
|
1071
1071
|
nome: string;
|
|
@@ -1080,8 +1080,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1080
1080
|
bandeira: string;
|
|
1081
1081
|
forma_pagamento: {
|
|
1082
1082
|
id: number;
|
|
1083
|
-
resource_uri: string;
|
|
1084
1083
|
nome: string;
|
|
1084
|
+
resource_uri: string;
|
|
1085
1085
|
codigo: string;
|
|
1086
1086
|
configuracoes: {
|
|
1087
1087
|
ativo: boolean;
|
|
@@ -1107,8 +1107,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1107
1107
|
}[];
|
|
1108
1108
|
peso_real: string;
|
|
1109
1109
|
situacao: {
|
|
1110
|
-
resource_uri: string;
|
|
1111
1110
|
nome: string;
|
|
1111
|
+
resource_uri: string;
|
|
1112
1112
|
aprovado: boolean;
|
|
1113
1113
|
cancelado: boolean;
|
|
1114
1114
|
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";
|
|
@@ -1126,16 +1126,16 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1126
1126
|
valor_subtotal: string;
|
|
1127
1127
|
valor_total: string;
|
|
1128
1128
|
id?: string | null | undefined;
|
|
1129
|
-
id_anymarket?: any;
|
|
1130
1129
|
order?: number | null | undefined;
|
|
1131
1130
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1132
1131
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1133
|
-
id_externo?: any;
|
|
1134
|
-
tags?: string[] | undefined;
|
|
1135
1132
|
cliente_obs?: any;
|
|
1136
1133
|
cupom_desconto?: any;
|
|
1134
|
+
id_anymarket?: any;
|
|
1135
|
+
id_externo?: any;
|
|
1137
1136
|
integration_data?: any;
|
|
1138
1137
|
utm_campaign?: any;
|
|
1138
|
+
tags?: string[] | undefined;
|
|
1139
1139
|
customShippingInfo?: {
|
|
1140
1140
|
length: number;
|
|
1141
1141
|
weight: number;
|
|
@@ -1149,15 +1149,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1149
1149
|
} | undefined;
|
|
1150
1150
|
}, {
|
|
1151
1151
|
resource_uri: string;
|
|
1152
|
+
numero: number;
|
|
1152
1153
|
data_criacao: string;
|
|
1153
1154
|
data_modificacao: string;
|
|
1154
|
-
numero: number;
|
|
1155
1155
|
cliente: {
|
|
1156
|
-
id: number;
|
|
1157
|
-
resource_uri: string;
|
|
1158
|
-
nome: string;
|
|
1159
1156
|
cpf: string;
|
|
1160
1157
|
email: string;
|
|
1158
|
+
id: number;
|
|
1159
|
+
nome: string;
|
|
1160
|
+
resource_uri: string;
|
|
1161
1161
|
sexo: string;
|
|
1162
1162
|
telefone_celular: string;
|
|
1163
1163
|
telefone_principal: string;
|
|
@@ -1167,10 +1167,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1167
1167
|
};
|
|
1168
1168
|
data_expiracao: string;
|
|
1169
1169
|
endereco_entrega: {
|
|
1170
|
+
cpf: string;
|
|
1170
1171
|
id: number;
|
|
1171
1172
|
nome: string;
|
|
1172
|
-
tipo: string;
|
|
1173
|
-
cpf: string;
|
|
1174
1173
|
bairro: string;
|
|
1175
1174
|
cep: string;
|
|
1176
1175
|
cidade: string;
|
|
@@ -1180,6 +1179,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1180
1179
|
numero: string;
|
|
1181
1180
|
pais: string;
|
|
1182
1181
|
referencia: string;
|
|
1182
|
+
tipo: string;
|
|
1183
1183
|
cnpj?: any;
|
|
1184
1184
|
razao_social?: any;
|
|
1185
1185
|
ie?: any;
|
|
@@ -1191,8 +1191,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1191
1191
|
data_modificacao: string;
|
|
1192
1192
|
forma_envio: {
|
|
1193
1193
|
id: number;
|
|
1194
|
-
code: string;
|
|
1195
1194
|
nome: string;
|
|
1195
|
+
code: string;
|
|
1196
1196
|
tipo: string;
|
|
1197
1197
|
};
|
|
1198
1198
|
objeto: string;
|
|
@@ -1202,23 +1202,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1202
1202
|
}[];
|
|
1203
1203
|
itens: {
|
|
1204
1204
|
id: number;
|
|
1205
|
-
produto: string;
|
|
1206
|
-
quantidade: string;
|
|
1207
|
-
altura: number;
|
|
1208
|
-
largura: number;
|
|
1209
|
-
ncm: string;
|
|
1210
1205
|
nome: string;
|
|
1211
|
-
peso: string;
|
|
1212
|
-
profundidade: number;
|
|
1213
|
-
sku: string;
|
|
1214
1206
|
tipo: string;
|
|
1215
1207
|
pedido: string;
|
|
1208
|
+
altura: number;
|
|
1216
1209
|
disponibilidade: number;
|
|
1210
|
+
largura: number;
|
|
1217
1211
|
linha: number;
|
|
1212
|
+
ncm: string;
|
|
1213
|
+
peso: string;
|
|
1218
1214
|
preco_cheio: string;
|
|
1219
1215
|
preco_subtotal: string;
|
|
1220
1216
|
preco_venda: string;
|
|
1217
|
+
produto: string;
|
|
1221
1218
|
produto_pai: string;
|
|
1219
|
+
profundidade: number;
|
|
1220
|
+
quantidade: string;
|
|
1221
|
+
sku: string;
|
|
1222
1222
|
variacao: {
|
|
1223
1223
|
Kits: {
|
|
1224
1224
|
nome: string;
|
|
@@ -1233,8 +1233,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1233
1233
|
bandeira: string;
|
|
1234
1234
|
forma_pagamento: {
|
|
1235
1235
|
id: number;
|
|
1236
|
-
resource_uri: string;
|
|
1237
1236
|
nome: string;
|
|
1237
|
+
resource_uri: string;
|
|
1238
1238
|
codigo: string;
|
|
1239
1239
|
configuracoes: {
|
|
1240
1240
|
ativo: boolean;
|
|
@@ -1260,8 +1260,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1260
1260
|
}[];
|
|
1261
1261
|
peso_real: string;
|
|
1262
1262
|
situacao: {
|
|
1263
|
-
resource_uri: string;
|
|
1264
1263
|
nome: string;
|
|
1264
|
+
resource_uri: string;
|
|
1265
1265
|
aprovado: boolean;
|
|
1266
1266
|
cancelado: boolean;
|
|
1267
1267
|
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";
|
|
@@ -1279,16 +1279,16 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1279
1279
|
valor_subtotal: string;
|
|
1280
1280
|
valor_total: string;
|
|
1281
1281
|
id?: string | null | undefined;
|
|
1282
|
-
id_anymarket?: any;
|
|
1283
1282
|
order?: number | null | undefined;
|
|
1284
1283
|
createAt?: unknown;
|
|
1285
1284
|
updateAt?: unknown;
|
|
1286
|
-
id_externo?: any;
|
|
1287
|
-
tags?: string[] | undefined;
|
|
1288
1285
|
cliente_obs?: any;
|
|
1289
1286
|
cupom_desconto?: any;
|
|
1287
|
+
id_anymarket?: any;
|
|
1288
|
+
id_externo?: any;
|
|
1290
1289
|
integration_data?: any;
|
|
1291
1290
|
utm_campaign?: any;
|
|
1291
|
+
tags?: string[] | undefined;
|
|
1292
1292
|
customShippingInfo?: {
|
|
1293
1293
|
length: number;
|
|
1294
1294
|
weight: number;
|