@_henriquewilson/gabirubi-domain 1.0.80 → 1.0.82
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 +124 -124
- package/dist/model/integrada/order.d.ts +124 -124
- package/dist/model/integrada/order.js +15 -1
- package/dist/model/integrada/order.js.map +1 -1
- package/dist/model/integrada/order.mjs +15 -1
- package/dist/model/integrada/order.mjs.map +1 -1
- package/dist/model/integrada/product.d.mts +76 -76
- package/dist/model/integrada/product.d.ts +76 -76
- package/dist/model/melhorenvio/order.d.mts +786 -0
- package/dist/model/melhorenvio/order.d.ts +786 -0
- package/dist/model/melhorenvio/order.js +224 -0
- package/dist/model/melhorenvio/order.js.map +1 -0
- package/dist/model/melhorenvio/order.mjs +148 -0
- package/dist/model/melhorenvio/order.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
|
-
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<{
|
|
@@ -143,7 +143,7 @@ declare const SituacaoSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
143
143
|
}, {
|
|
144
144
|
aprovado: z.ZodBoolean;
|
|
145
145
|
cancelado: z.ZodBoolean;
|
|
146
|
-
codigo: z.
|
|
146
|
+
codigo: z.ZodEnum<["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"]>;
|
|
147
147
|
final: z.ZodBoolean;
|
|
148
148
|
nome: z.ZodString;
|
|
149
149
|
notificar_comprador: z.ZodBoolean;
|
|
@@ -152,11 +152,11 @@ 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
|
-
codigo:
|
|
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";
|
|
160
160
|
final: boolean;
|
|
161
161
|
notificar_comprador: boolean;
|
|
162
162
|
padrao: boolean;
|
|
@@ -166,11 +166,11 @@ 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
|
-
codigo:
|
|
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";
|
|
174
174
|
final: boolean;
|
|
175
175
|
notificar_comprador: boolean;
|
|
176
176
|
padrao: boolean;
|
|
@@ -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;
|
|
@@ -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
|
-
cpf: string;
|
|
556
|
-
email: string;
|
|
557
555
|
id: number;
|
|
558
|
-
nome: string;
|
|
559
556
|
resource_uri: string;
|
|
557
|
+
nome: string;
|
|
558
|
+
cpf: string;
|
|
559
|
+
email: 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
|
-
cpf: string;
|
|
568
|
-
email: string;
|
|
569
567
|
id: number;
|
|
570
|
-
nome: string;
|
|
571
568
|
resource_uri: string;
|
|
569
|
+
nome: string;
|
|
570
|
+
cpf: string;
|
|
571
|
+
email: string;
|
|
572
572
|
sexo: string;
|
|
573
573
|
telefone_celular: string;
|
|
574
574
|
telefone_principal: string;
|
|
@@ -601,9 +601,10 @@ 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;
|
|
605
604
|
id: number;
|
|
606
605
|
nome: string;
|
|
606
|
+
tipo: string;
|
|
607
|
+
cpf: string;
|
|
607
608
|
bairro: string;
|
|
608
609
|
cep: string;
|
|
609
610
|
cidade: string;
|
|
@@ -613,15 +614,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
613
614
|
numero: string;
|
|
614
615
|
pais: string;
|
|
615
616
|
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;
|
|
623
622
|
id: number;
|
|
624
623
|
nome: string;
|
|
624
|
+
tipo: string;
|
|
625
|
+
cpf: string;
|
|
625
626
|
bairro: string;
|
|
626
627
|
cep: string;
|
|
627
628
|
cidade: string;
|
|
@@ -631,7 +632,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
631
632
|
numero: string;
|
|
632
633
|
pais: string;
|
|
633
634
|
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
|
-
nome: string;
|
|
651
650
|
code: string;
|
|
651
|
+
nome: string;
|
|
652
652
|
tipo: string;
|
|
653
653
|
}, {
|
|
654
654
|
id: number;
|
|
655
|
-
nome: string;
|
|
656
655
|
code: string;
|
|
656
|
+
nome: 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
|
-
nome: string;
|
|
671
670
|
code: string;
|
|
671
|
+
nome: 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
|
-
nome: string;
|
|
685
684
|
code: string;
|
|
685
|
+
nome: 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;
|
|
736
741
|
nome: string;
|
|
742
|
+
peso: string;
|
|
743
|
+
profundidade: number;
|
|
744
|
+
sku: string;
|
|
737
745
|
tipo: string;
|
|
738
746
|
pedido: string;
|
|
739
|
-
altura: number;
|
|
740
747
|
disponibilidade: number;
|
|
741
|
-
largura: number;
|
|
742
748
|
linha: number;
|
|
743
|
-
ncm: string;
|
|
744
|
-
peso: string;
|
|
745
749
|
preco_cheio: string;
|
|
746
750
|
preco_subtotal: string;
|
|
747
751
|
preco_venda: string;
|
|
748
|
-
produto: string;
|
|
749
752
|
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;
|
|
762
767
|
nome: string;
|
|
768
|
+
peso: string;
|
|
769
|
+
profundidade: number;
|
|
770
|
+
sku: string;
|
|
763
771
|
tipo: string;
|
|
764
772
|
pedido: string;
|
|
765
|
-
altura: number;
|
|
766
773
|
disponibilidade: number;
|
|
767
|
-
largura: number;
|
|
768
774
|
linha: number;
|
|
769
|
-
ncm: string;
|
|
770
|
-
peso: string;
|
|
771
775
|
preco_cheio: string;
|
|
772
776
|
preco_subtotal: string;
|
|
773
777
|
preco_venda: string;
|
|
774
|
-
produto: string;
|
|
775
778
|
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
|
-
nome: string;
|
|
813
812
|
resource_uri: string;
|
|
813
|
+
nome: 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
|
-
nome: string;
|
|
823
822
|
resource_uri: string;
|
|
823
|
+
nome: 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
|
-
nome: string;
|
|
857
856
|
resource_uri: string;
|
|
857
|
+
nome: 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
|
-
nome: string;
|
|
887
886
|
resource_uri: string;
|
|
887
|
+
nome: string;
|
|
888
888
|
codigo: string;
|
|
889
889
|
configuracoes: {
|
|
890
890
|
ativo: boolean;
|
|
@@ -918,7 +918,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
918
918
|
}, {
|
|
919
919
|
aprovado: z.ZodBoolean;
|
|
920
920
|
cancelado: z.ZodBoolean;
|
|
921
|
-
codigo: z.
|
|
921
|
+
codigo: z.ZodEnum<["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"]>;
|
|
922
922
|
final: z.ZodBoolean;
|
|
923
923
|
nome: z.ZodString;
|
|
924
924
|
notificar_comprador: z.ZodBoolean;
|
|
@@ -927,11 +927,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
927
927
|
}>, {
|
|
928
928
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
929
929
|
}>, "strip", z.ZodTypeAny, {
|
|
930
|
-
nome: string;
|
|
931
930
|
resource_uri: string;
|
|
931
|
+
nome: string;
|
|
932
932
|
aprovado: boolean;
|
|
933
933
|
cancelado: boolean;
|
|
934
|
-
codigo:
|
|
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";
|
|
935
935
|
final: boolean;
|
|
936
936
|
notificar_comprador: boolean;
|
|
937
937
|
padrao: boolean;
|
|
@@ -941,11 +941,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
941
941
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
942
942
|
enabled?: boolean | undefined;
|
|
943
943
|
}, {
|
|
944
|
-
nome: string;
|
|
945
944
|
resource_uri: string;
|
|
945
|
+
nome: string;
|
|
946
946
|
aprovado: boolean;
|
|
947
947
|
cancelado: boolean;
|
|
948
|
-
codigo:
|
|
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";
|
|
949
949
|
final: boolean;
|
|
950
950
|
notificar_comprador: boolean;
|
|
951
951
|
padrao: boolean;
|
|
@@ -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;
|
|
1000
999
|
data_criacao: string;
|
|
1001
1000
|
data_modificacao: string;
|
|
1001
|
+
numero: number;
|
|
1002
1002
|
cliente: {
|
|
1003
|
-
cpf: string;
|
|
1004
|
-
email: string;
|
|
1005
1003
|
id: number;
|
|
1006
|
-
nome: string;
|
|
1007
1004
|
resource_uri: string;
|
|
1005
|
+
nome: string;
|
|
1006
|
+
cpf: string;
|
|
1007
|
+
email: string;
|
|
1008
1008
|
sexo: string;
|
|
1009
1009
|
telefone_celular: string;
|
|
1010
1010
|
telefone_principal: string;
|
|
@@ -1014,9 +1014,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1014
1014
|
};
|
|
1015
1015
|
data_expiracao: string;
|
|
1016
1016
|
endereco_entrega: {
|
|
1017
|
-
cpf: string;
|
|
1018
1017
|
id: number;
|
|
1019
1018
|
nome: string;
|
|
1019
|
+
tipo: string;
|
|
1020
|
+
cpf: string;
|
|
1020
1021
|
bairro: string;
|
|
1021
1022
|
cep: string;
|
|
1022
1023
|
cidade: string;
|
|
@@ -1026,7 +1027,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1026
1027
|
numero: string;
|
|
1027
1028
|
pais: string;
|
|
1028
1029
|
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
|
-
nome: string;
|
|
1042
1041
|
code: string;
|
|
1042
|
+
nome: 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;
|
|
1052
1057
|
nome: string;
|
|
1058
|
+
peso: string;
|
|
1059
|
+
profundidade: number;
|
|
1060
|
+
sku: string;
|
|
1053
1061
|
tipo: string;
|
|
1054
1062
|
pedido: string;
|
|
1055
|
-
altura: number;
|
|
1056
1063
|
disponibilidade: number;
|
|
1057
|
-
largura: number;
|
|
1058
1064
|
linha: number;
|
|
1059
|
-
ncm: string;
|
|
1060
|
-
peso: string;
|
|
1061
1065
|
preco_cheio: string;
|
|
1062
1066
|
preco_subtotal: string;
|
|
1063
1067
|
preco_venda: string;
|
|
1064
|
-
produto: string;
|
|
1065
1068
|
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
|
-
nome: string;
|
|
1084
1083
|
resource_uri: string;
|
|
1084
|
+
nome: string;
|
|
1085
1085
|
codigo: string;
|
|
1086
1086
|
configuracoes: {
|
|
1087
1087
|
ativo: boolean;
|
|
@@ -1107,11 +1107,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1107
1107
|
}[];
|
|
1108
1108
|
peso_real: string;
|
|
1109
1109
|
situacao: {
|
|
1110
|
-
nome: string;
|
|
1111
1110
|
resource_uri: string;
|
|
1111
|
+
nome: string;
|
|
1112
1112
|
aprovado: boolean;
|
|
1113
1113
|
cancelado: boolean;
|
|
1114
|
-
codigo:
|
|
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";
|
|
1115
1115
|
final: boolean;
|
|
1116
1116
|
notificar_comprador: boolean;
|
|
1117
1117
|
padrao: boolean;
|
|
@@ -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;
|
|
1129
1130
|
order?: number | null | undefined;
|
|
1130
1131
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1131
1132
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1133
|
+
id_externo?: any;
|
|
1134
|
+
tags?: string[] | undefined;
|
|
1132
1135
|
cliente_obs?: any;
|
|
1133
1136
|
cupom_desconto?: any;
|
|
1134
|
-
id_anymarket?: any;
|
|
1135
|
-
id_externo?: any;
|
|
1136
1137
|
integration_data?: any;
|
|
1137
1138
|
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;
|
|
1153
1152
|
data_criacao: string;
|
|
1154
1153
|
data_modificacao: string;
|
|
1154
|
+
numero: number;
|
|
1155
1155
|
cliente: {
|
|
1156
|
-
cpf: string;
|
|
1157
|
-
email: string;
|
|
1158
1156
|
id: number;
|
|
1159
|
-
nome: string;
|
|
1160
1157
|
resource_uri: string;
|
|
1158
|
+
nome: string;
|
|
1159
|
+
cpf: string;
|
|
1160
|
+
email: string;
|
|
1161
1161
|
sexo: string;
|
|
1162
1162
|
telefone_celular: string;
|
|
1163
1163
|
telefone_principal: string;
|
|
@@ -1167,9 +1167,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1167
1167
|
};
|
|
1168
1168
|
data_expiracao: string;
|
|
1169
1169
|
endereco_entrega: {
|
|
1170
|
-
cpf: string;
|
|
1171
1170
|
id: number;
|
|
1172
1171
|
nome: string;
|
|
1172
|
+
tipo: string;
|
|
1173
|
+
cpf: string;
|
|
1173
1174
|
bairro: string;
|
|
1174
1175
|
cep: string;
|
|
1175
1176
|
cidade: string;
|
|
@@ -1179,7 +1180,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1179
1180
|
numero: string;
|
|
1180
1181
|
pais: string;
|
|
1181
1182
|
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
|
-
nome: string;
|
|
1195
1194
|
code: string;
|
|
1195
|
+
nome: 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;
|
|
1205
1210
|
nome: string;
|
|
1211
|
+
peso: string;
|
|
1212
|
+
profundidade: number;
|
|
1213
|
+
sku: string;
|
|
1206
1214
|
tipo: string;
|
|
1207
1215
|
pedido: string;
|
|
1208
|
-
altura: number;
|
|
1209
1216
|
disponibilidade: number;
|
|
1210
|
-
largura: number;
|
|
1211
1217
|
linha: number;
|
|
1212
|
-
ncm: string;
|
|
1213
|
-
peso: string;
|
|
1214
1218
|
preco_cheio: string;
|
|
1215
1219
|
preco_subtotal: string;
|
|
1216
1220
|
preco_venda: string;
|
|
1217
|
-
produto: string;
|
|
1218
1221
|
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
|
-
nome: string;
|
|
1237
1236
|
resource_uri: string;
|
|
1237
|
+
nome: string;
|
|
1238
1238
|
codigo: string;
|
|
1239
1239
|
configuracoes: {
|
|
1240
1240
|
ativo: boolean;
|
|
@@ -1260,11 +1260,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1260
1260
|
}[];
|
|
1261
1261
|
peso_real: string;
|
|
1262
1262
|
situacao: {
|
|
1263
|
-
nome: string;
|
|
1264
1263
|
resource_uri: string;
|
|
1264
|
+
nome: string;
|
|
1265
1265
|
aprovado: boolean;
|
|
1266
1266
|
cancelado: boolean;
|
|
1267
|
-
codigo:
|
|
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";
|
|
1268
1268
|
final: boolean;
|
|
1269
1269
|
notificar_comprador: boolean;
|
|
1270
1270
|
padrao: boolean;
|
|
@@ -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;
|
|
1282
1283
|
order?: number | null | undefined;
|
|
1283
1284
|
createAt?: unknown;
|
|
1284
1285
|
updateAt?: unknown;
|
|
1286
|
+
id_externo?: any;
|
|
1287
|
+
tags?: string[] | undefined;
|
|
1285
1288
|
cliente_obs?: any;
|
|
1286
1289
|
cupom_desconto?: any;
|
|
1287
|
-
id_anymarket?: any;
|
|
1288
|
-
id_externo?: any;
|
|
1289
1290
|
integration_data?: any;
|
|
1290
1291
|
utm_campaign?: any;
|
|
1291
|
-
tags?: string[] | undefined;
|
|
1292
1292
|
customShippingInfo?: {
|
|
1293
1293
|
length: number;
|
|
1294
1294
|
weight: number;
|