@_henriquewilson/gabirubi-domain 1.0.90 → 1.0.91
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 +26 -23
- package/dist/model/melhorenvio/calculate.d.ts +26 -23
- package/dist/model/melhorenvio/calculate.js +1 -0
- package/dist/model/melhorenvio/calculate.js.map +1 -1
- package/dist/model/melhorenvio/calculate.mjs +1 -0
- package/dist/model/melhorenvio/calculate.mjs.map +1 -1
- 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
|
-
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;
|
|
@@ -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";
|
|
@@ -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;
|
|
1005
1006
|
data_criacao: string;
|
|
1006
1007
|
data_modificacao: string;
|
|
1007
|
-
numero: number;
|
|
1008
1008
|
cliente: {
|
|
1009
|
-
id: number;
|
|
1010
|
-
resource_uri: string;
|
|
1011
|
-
nome: string;
|
|
1012
1009
|
cpf: string;
|
|
1013
1010
|
email: string;
|
|
1011
|
+
id: number;
|
|
1012
|
+
nome: string;
|
|
1013
|
+
resource_uri: string;
|
|
1014
1014
|
sexo: string;
|
|
1015
1015
|
telefone_celular: string;
|
|
1016
1016
|
telefone_principal: string;
|
|
@@ -1020,10 +1020,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1020
1020
|
};
|
|
1021
1021
|
data_expiracao: string;
|
|
1022
1022
|
endereco_entrega: {
|
|
1023
|
+
cpf: string;
|
|
1023
1024
|
id: number;
|
|
1024
1025
|
nome: string;
|
|
1025
|
-
tipo: string;
|
|
1026
|
-
cpf: string;
|
|
1027
1026
|
bairro: string;
|
|
1028
1027
|
cep: string;
|
|
1029
1028
|
cidade: string;
|
|
@@ -1033,6 +1032,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1033
1032
|
numero: string;
|
|
1034
1033
|
pais: string;
|
|
1035
1034
|
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
|
-
code: string;
|
|
1048
1047
|
nome: string;
|
|
1048
|
+
code: 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;
|
|
1063
1058
|
nome: string;
|
|
1064
|
-
peso: string;
|
|
1065
|
-
profundidade: number;
|
|
1066
|
-
sku: string;
|
|
1067
1059
|
tipo: string;
|
|
1068
1060
|
pedido: string;
|
|
1061
|
+
altura: number;
|
|
1069
1062
|
disponibilidade: number;
|
|
1063
|
+
largura: number;
|
|
1070
1064
|
linha: number;
|
|
1065
|
+
ncm: string;
|
|
1066
|
+
peso: string;
|
|
1071
1067
|
preco_cheio: string;
|
|
1072
1068
|
preco_subtotal: string;
|
|
1073
1069
|
preco_venda: string;
|
|
1070
|
+
produto: string;
|
|
1074
1071
|
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
|
-
resource_uri: string;
|
|
1090
1089
|
nome: string;
|
|
1090
|
+
resource_uri: 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
|
-
resource_uri: string;
|
|
1117
1116
|
nome: string;
|
|
1117
|
+
resource_uri: 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;
|
|
1136
1135
|
order?: number | null | undefined;
|
|
1137
1136
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1138
1137
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1139
|
-
id_externo?: any;
|
|
1140
|
-
tags?: string[] | undefined;
|
|
1141
1138
|
cliente_obs?: any;
|
|
1142
1139
|
cupom_desconto?: any;
|
|
1140
|
+
id_anymarket?: any;
|
|
1141
|
+
id_externo?: any;
|
|
1143
1142
|
integration_data?: any;
|
|
1144
1143
|
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;
|
|
1159
1160
|
data_criacao: string;
|
|
1160
1161
|
data_modificacao: string;
|
|
1161
|
-
numero: number;
|
|
1162
1162
|
cliente: {
|
|
1163
|
-
id: number;
|
|
1164
|
-
resource_uri: string;
|
|
1165
|
-
nome: string;
|
|
1166
1163
|
cpf: string;
|
|
1167
1164
|
email: string;
|
|
1165
|
+
id: number;
|
|
1166
|
+
nome: string;
|
|
1167
|
+
resource_uri: string;
|
|
1168
1168
|
sexo: string;
|
|
1169
1169
|
telefone_celular: string;
|
|
1170
1170
|
telefone_principal: string;
|
|
@@ -1174,10 +1174,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1174
1174
|
};
|
|
1175
1175
|
data_expiracao: string;
|
|
1176
1176
|
endereco_entrega: {
|
|
1177
|
+
cpf: string;
|
|
1177
1178
|
id: number;
|
|
1178
1179
|
nome: string;
|
|
1179
|
-
tipo: string;
|
|
1180
|
-
cpf: string;
|
|
1181
1180
|
bairro: string;
|
|
1182
1181
|
cep: string;
|
|
1183
1182
|
cidade: string;
|
|
@@ -1187,6 +1186,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1187
1186
|
numero: string;
|
|
1188
1187
|
pais: string;
|
|
1189
1188
|
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
|
-
code: string;
|
|
1202
1201
|
nome: string;
|
|
1202
|
+
code: 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;
|
|
1217
1212
|
nome: string;
|
|
1218
|
-
peso: string;
|
|
1219
|
-
profundidade: number;
|
|
1220
|
-
sku: string;
|
|
1221
1213
|
tipo: string;
|
|
1222
1214
|
pedido: string;
|
|
1215
|
+
altura: number;
|
|
1223
1216
|
disponibilidade: number;
|
|
1217
|
+
largura: number;
|
|
1224
1218
|
linha: number;
|
|
1219
|
+
ncm: string;
|
|
1220
|
+
peso: string;
|
|
1225
1221
|
preco_cheio: string;
|
|
1226
1222
|
preco_subtotal: string;
|
|
1227
1223
|
preco_venda: string;
|
|
1224
|
+
produto: string;
|
|
1228
1225
|
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
|
-
resource_uri: string;
|
|
1244
1243
|
nome: string;
|
|
1244
|
+
resource_uri: 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
|
-
resource_uri: string;
|
|
1271
1270
|
nome: string;
|
|
1271
|
+
resource_uri: 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;
|
|
1290
1289
|
order?: number | null | undefined;
|
|
1291
1290
|
createAt?: unknown;
|
|
1292
1291
|
updateAt?: unknown;
|
|
1293
|
-
id_externo?: any;
|
|
1294
|
-
tags?: string[] | undefined;
|
|
1295
1292
|
cliente_obs?: any;
|
|
1296
1293
|
cupom_desconto?: any;
|
|
1294
|
+
id_anymarket?: any;
|
|
1295
|
+
id_externo?: any;
|
|
1297
1296
|
integration_data?: any;
|
|
1298
1297
|
utm_campaign?: any;
|
|
1298
|
+
tags?: string[] | undefined;
|
|
1299
1299
|
customShippingInfo?: {
|
|
1300
1300
|
length: number;
|
|
1301
1301
|
weight: number;
|