@_henriquewilson/gabirubi-domain 1.0.89 → 1.0.90
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/iugu/iugu-charge.d.mts +2 -2
- package/dist/model/iugu/iugu-charge.d.ts +2 -2
- package/dist/model/iugu/iugu-client.d.mts +12 -12
- package/dist/model/iugu/iugu-client.d.ts +12 -12
- package/dist/model/melhorenvio/calculate.d.mts +424 -0
- package/dist/model/melhorenvio/calculate.d.ts +424 -0
- package/dist/model/melhorenvio/calculate.js +187612 -0
- package/dist/model/melhorenvio/calculate.js.map +1 -0
- package/dist/model/melhorenvio/calculate.mjs +81802 -0
- package/dist/model/melhorenvio/calculate.mjs.map +1 -0
- package/dist/model/melhorenvio/order.d.mts +70 -70
- package/dist/model/melhorenvio/order.d.ts +70 -70
- package/dist/model/melhorenvio/service.d.mts +128 -128
- package/dist/model/melhorenvio/service.d.ts +128 -128
- 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
|
-
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;
|
|
@@ -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";
|
|
@@ -1002,15 +1002,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1002
1002
|
}>>;
|
|
1003
1003
|
}>, "strip", z.ZodTypeAny, {
|
|
1004
1004
|
resource_uri: string;
|
|
1005
|
-
numero: number;
|
|
1006
1005
|
data_criacao: string;
|
|
1007
1006
|
data_modificacao: string;
|
|
1007
|
+
numero: number;
|
|
1008
1008
|
cliente: {
|
|
1009
|
-
cpf: string;
|
|
1010
|
-
email: string;
|
|
1011
1009
|
id: number;
|
|
1012
|
-
nome: string;
|
|
1013
1010
|
resource_uri: string;
|
|
1011
|
+
nome: string;
|
|
1012
|
+
cpf: string;
|
|
1013
|
+
email: string;
|
|
1014
1014
|
sexo: string;
|
|
1015
1015
|
telefone_celular: string;
|
|
1016
1016
|
telefone_principal: string;
|
|
@@ -1020,9 +1020,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1020
1020
|
};
|
|
1021
1021
|
data_expiracao: string;
|
|
1022
1022
|
endereco_entrega: {
|
|
1023
|
-
cpf: string;
|
|
1024
1023
|
id: number;
|
|
1025
1024
|
nome: string;
|
|
1025
|
+
tipo: string;
|
|
1026
|
+
cpf: string;
|
|
1026
1027
|
bairro: string;
|
|
1027
1028
|
cep: string;
|
|
1028
1029
|
cidade: string;
|
|
@@ -1032,7 +1033,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1032
1033
|
numero: string;
|
|
1033
1034
|
pais: string;
|
|
1034
1035
|
referencia: string;
|
|
1035
|
-
tipo: string;
|
|
1036
1036
|
cnpj?: any;
|
|
1037
1037
|
razao_social?: any;
|
|
1038
1038
|
ie?: any;
|
|
@@ -1044,8 +1044,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1044
1044
|
data_modificacao: string;
|
|
1045
1045
|
forma_envio: {
|
|
1046
1046
|
id: number;
|
|
1047
|
-
nome: string;
|
|
1048
1047
|
code: string;
|
|
1048
|
+
nome: string;
|
|
1049
1049
|
tipo: string;
|
|
1050
1050
|
};
|
|
1051
1051
|
objeto: string;
|
|
@@ -1055,23 +1055,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1055
1055
|
}[];
|
|
1056
1056
|
itens: {
|
|
1057
1057
|
id: number;
|
|
1058
|
+
produto: string;
|
|
1059
|
+
quantidade: string;
|
|
1060
|
+
altura: number;
|
|
1061
|
+
largura: number;
|
|
1062
|
+
ncm: string;
|
|
1058
1063
|
nome: string;
|
|
1064
|
+
peso: string;
|
|
1065
|
+
profundidade: number;
|
|
1066
|
+
sku: string;
|
|
1059
1067
|
tipo: string;
|
|
1060
1068
|
pedido: string;
|
|
1061
|
-
altura: number;
|
|
1062
1069
|
disponibilidade: number;
|
|
1063
|
-
largura: number;
|
|
1064
1070
|
linha: number;
|
|
1065
|
-
ncm: string;
|
|
1066
|
-
peso: string;
|
|
1067
1071
|
preco_cheio: string;
|
|
1068
1072
|
preco_subtotal: string;
|
|
1069
1073
|
preco_venda: string;
|
|
1070
|
-
produto: string;
|
|
1071
1074
|
produto_pai: string;
|
|
1072
|
-
profundidade: number;
|
|
1073
|
-
quantidade: string;
|
|
1074
|
-
sku: string;
|
|
1075
1075
|
variacao: {
|
|
1076
1076
|
Kits: {
|
|
1077
1077
|
nome: string;
|
|
@@ -1086,8 +1086,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1086
1086
|
bandeira: string;
|
|
1087
1087
|
forma_pagamento: {
|
|
1088
1088
|
id: number;
|
|
1089
|
-
nome: string;
|
|
1090
1089
|
resource_uri: string;
|
|
1090
|
+
nome: string;
|
|
1091
1091
|
codigo: string;
|
|
1092
1092
|
configuracoes: {
|
|
1093
1093
|
ativo: boolean;
|
|
@@ -1113,8 +1113,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1113
1113
|
}[];
|
|
1114
1114
|
peso_real: string;
|
|
1115
1115
|
situacao: {
|
|
1116
|
-
nome: string;
|
|
1117
1116
|
resource_uri: string;
|
|
1117
|
+
nome: string;
|
|
1118
1118
|
aprovado: boolean;
|
|
1119
1119
|
cancelado: boolean;
|
|
1120
1120
|
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,16 +1132,16 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1132
1132
|
valor_subtotal: string;
|
|
1133
1133
|
valor_total: string;
|
|
1134
1134
|
id?: string | null | undefined;
|
|
1135
|
+
id_anymarket?: any;
|
|
1135
1136
|
order?: number | null | undefined;
|
|
1136
1137
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1137
1138
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1139
|
+
id_externo?: any;
|
|
1140
|
+
tags?: string[] | undefined;
|
|
1138
1141
|
cliente_obs?: any;
|
|
1139
1142
|
cupom_desconto?: any;
|
|
1140
|
-
id_anymarket?: any;
|
|
1141
|
-
id_externo?: any;
|
|
1142
1143
|
integration_data?: any;
|
|
1143
1144
|
utm_campaign?: any;
|
|
1144
|
-
tags?: string[] | undefined;
|
|
1145
1145
|
customShippingInfo?: {
|
|
1146
1146
|
length: number;
|
|
1147
1147
|
weight: number;
|
|
@@ -1156,15 +1156,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1156
1156
|
} | undefined;
|
|
1157
1157
|
}, {
|
|
1158
1158
|
resource_uri: string;
|
|
1159
|
-
numero: number;
|
|
1160
1159
|
data_criacao: string;
|
|
1161
1160
|
data_modificacao: string;
|
|
1161
|
+
numero: number;
|
|
1162
1162
|
cliente: {
|
|
1163
|
-
cpf: string;
|
|
1164
|
-
email: string;
|
|
1165
1163
|
id: number;
|
|
1166
|
-
nome: string;
|
|
1167
1164
|
resource_uri: string;
|
|
1165
|
+
nome: string;
|
|
1166
|
+
cpf: string;
|
|
1167
|
+
email: string;
|
|
1168
1168
|
sexo: string;
|
|
1169
1169
|
telefone_celular: string;
|
|
1170
1170
|
telefone_principal: string;
|
|
@@ -1174,9 +1174,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1174
1174
|
};
|
|
1175
1175
|
data_expiracao: string;
|
|
1176
1176
|
endereco_entrega: {
|
|
1177
|
-
cpf: string;
|
|
1178
1177
|
id: number;
|
|
1179
1178
|
nome: string;
|
|
1179
|
+
tipo: string;
|
|
1180
|
+
cpf: string;
|
|
1180
1181
|
bairro: string;
|
|
1181
1182
|
cep: string;
|
|
1182
1183
|
cidade: string;
|
|
@@ -1186,7 +1187,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1186
1187
|
numero: string;
|
|
1187
1188
|
pais: string;
|
|
1188
1189
|
referencia: string;
|
|
1189
|
-
tipo: string;
|
|
1190
1190
|
cnpj?: any;
|
|
1191
1191
|
razao_social?: any;
|
|
1192
1192
|
ie?: any;
|
|
@@ -1198,8 +1198,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1198
1198
|
data_modificacao: string;
|
|
1199
1199
|
forma_envio: {
|
|
1200
1200
|
id: number;
|
|
1201
|
-
nome: string;
|
|
1202
1201
|
code: string;
|
|
1202
|
+
nome: string;
|
|
1203
1203
|
tipo: string;
|
|
1204
1204
|
};
|
|
1205
1205
|
objeto: string;
|
|
@@ -1209,23 +1209,23 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1209
1209
|
}[];
|
|
1210
1210
|
itens: {
|
|
1211
1211
|
id: number;
|
|
1212
|
+
produto: string;
|
|
1213
|
+
quantidade: string;
|
|
1214
|
+
altura: number;
|
|
1215
|
+
largura: number;
|
|
1216
|
+
ncm: string;
|
|
1212
1217
|
nome: string;
|
|
1218
|
+
peso: string;
|
|
1219
|
+
profundidade: number;
|
|
1220
|
+
sku: string;
|
|
1213
1221
|
tipo: string;
|
|
1214
1222
|
pedido: string;
|
|
1215
|
-
altura: number;
|
|
1216
1223
|
disponibilidade: number;
|
|
1217
|
-
largura: number;
|
|
1218
1224
|
linha: number;
|
|
1219
|
-
ncm: string;
|
|
1220
|
-
peso: string;
|
|
1221
1225
|
preco_cheio: string;
|
|
1222
1226
|
preco_subtotal: string;
|
|
1223
1227
|
preco_venda: string;
|
|
1224
|
-
produto: string;
|
|
1225
1228
|
produto_pai: string;
|
|
1226
|
-
profundidade: number;
|
|
1227
|
-
quantidade: string;
|
|
1228
|
-
sku: string;
|
|
1229
1229
|
variacao: {
|
|
1230
1230
|
Kits: {
|
|
1231
1231
|
nome: string;
|
|
@@ -1240,8 +1240,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1240
1240
|
bandeira: string;
|
|
1241
1241
|
forma_pagamento: {
|
|
1242
1242
|
id: number;
|
|
1243
|
-
nome: string;
|
|
1244
1243
|
resource_uri: string;
|
|
1244
|
+
nome: string;
|
|
1245
1245
|
codigo: string;
|
|
1246
1246
|
configuracoes: {
|
|
1247
1247
|
ativo: boolean;
|
|
@@ -1267,8 +1267,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1267
1267
|
}[];
|
|
1268
1268
|
peso_real: string;
|
|
1269
1269
|
situacao: {
|
|
1270
|
-
nome: string;
|
|
1271
1270
|
resource_uri: string;
|
|
1271
|
+
nome: string;
|
|
1272
1272
|
aprovado: boolean;
|
|
1273
1273
|
cancelado: boolean;
|
|
1274
1274
|
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,16 +1286,16 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1286
1286
|
valor_subtotal: string;
|
|
1287
1287
|
valor_total: string;
|
|
1288
1288
|
id?: string | null | undefined;
|
|
1289
|
+
id_anymarket?: any;
|
|
1289
1290
|
order?: number | null | undefined;
|
|
1290
1291
|
createAt?: unknown;
|
|
1291
1292
|
updateAt?: unknown;
|
|
1293
|
+
id_externo?: any;
|
|
1294
|
+
tags?: string[] | undefined;
|
|
1292
1295
|
cliente_obs?: any;
|
|
1293
1296
|
cupom_desconto?: any;
|
|
1294
|
-
id_anymarket?: any;
|
|
1295
|
-
id_externo?: any;
|
|
1296
1297
|
integration_data?: any;
|
|
1297
1298
|
utm_campaign?: any;
|
|
1298
|
-
tags?: string[] | undefined;
|
|
1299
1299
|
customShippingInfo?: {
|
|
1300
1300
|
length: number;
|
|
1301
1301
|
weight: number;
|