@_henriquewilson/gabirubi-domain 1.0.99 → 1.0.100
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 +249 -298
- package/dist/model/integrada/order.d.ts +249 -298
- package/dist/model/integrada/order.js +8 -15
- package/dist/model/integrada/order.js.map +1 -1
- package/dist/model/integrada/order.mjs +5 -9
- package/dist/model/integrada/order.mjs.map +1 -1
- package/dist/model/integrada/product.d.mts +92 -92
- package/dist/model/integrada/product.d.ts +92 -92
- package/dist/model/journey.d.mts +18 -18
- package/dist/model/journey.d.ts +18 -18
- package/dist/model/melhorenvio/calculate.d.mts +37 -37
- package/dist/model/melhorenvio/calculate.d.ts +37 -37
- package/dist/model/melhorenvio/service.d.mts +69 -69
- package/dist/model/melhorenvio/service.d.ts +69 -69
- package/dist/model/subscription.model.d.mts +8 -8
- package/dist/model/subscription.model.d.ts +8 -8
- package/dist/model/user.model.d.mts +4 -4
- package/dist/model/user.model.d.ts +4 -4
- package/package.json +1 -1
|
@@ -13,11 +13,11 @@ declare const CustomerOrderSchema: 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 CustomerOrderSchema: 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,21 +99,14 @@ 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;
|
|
109
|
-
tipo: string;
|
|
110
|
-
}>;
|
|
111
|
-
declare const kitsSchema: z.ZodObject<{
|
|
112
|
-
nome: z.ZodString;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
nome: string;
|
|
115
|
-
}, {
|
|
116
108
|
nome: string;
|
|
109
|
+
tipo: string;
|
|
117
110
|
}>;
|
|
118
111
|
declare const ConfiguracoesSchema: z.ZodObject<{
|
|
119
112
|
ativo: z.ZodBoolean;
|
|
@@ -152,8 +145,8 @@ declare const SituacaoSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
152
145
|
}>, {
|
|
153
146
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
154
147
|
}>, "strip", z.ZodTypeAny, {
|
|
155
|
-
nome: string;
|
|
156
148
|
resource_uri: string;
|
|
149
|
+
nome: string;
|
|
157
150
|
aprovado: boolean;
|
|
158
151
|
cancelado: boolean;
|
|
159
152
|
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 +159,8 @@ declare const SituacaoSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
166
159
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
167
160
|
enabled?: boolean | undefined;
|
|
168
161
|
}, {
|
|
169
|
-
nome: string;
|
|
170
162
|
resource_uri: string;
|
|
163
|
+
nome: string;
|
|
171
164
|
aprovado: boolean;
|
|
172
165
|
cancelado: boolean;
|
|
173
166
|
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 +183,13 @@ declare const EnvioSchema: z.ZodObject<{
|
|
|
190
183
|
tipo: z.ZodString;
|
|
191
184
|
}, "strip", z.ZodTypeAny, {
|
|
192
185
|
id: number;
|
|
193
|
-
nome: string;
|
|
194
186
|
code: string;
|
|
187
|
+
nome: string;
|
|
195
188
|
tipo: string;
|
|
196
189
|
}, {
|
|
197
190
|
id: number;
|
|
198
|
-
nome: string;
|
|
199
191
|
code: string;
|
|
192
|
+
nome: string;
|
|
200
193
|
tipo: string;
|
|
201
194
|
}>;
|
|
202
195
|
id: z.ZodNumber;
|
|
@@ -210,8 +203,8 @@ declare const EnvioSchema: z.ZodObject<{
|
|
|
210
203
|
data_modificacao: string;
|
|
211
204
|
forma_envio: {
|
|
212
205
|
id: number;
|
|
213
|
-
nome: string;
|
|
214
206
|
code: string;
|
|
207
|
+
nome: string;
|
|
215
208
|
tipo: string;
|
|
216
209
|
};
|
|
217
210
|
objeto: string;
|
|
@@ -224,8 +217,8 @@ declare const EnvioSchema: z.ZodObject<{
|
|
|
224
217
|
data_modificacao: string;
|
|
225
218
|
forma_envio: {
|
|
226
219
|
id: number;
|
|
227
|
-
nome: string;
|
|
228
220
|
code: string;
|
|
221
|
+
nome: string;
|
|
229
222
|
tipo: string;
|
|
230
223
|
};
|
|
231
224
|
objeto: string;
|
|
@@ -233,22 +226,12 @@ declare const EnvioSchema: z.ZodObject<{
|
|
|
233
226
|
prazo: number;
|
|
234
227
|
valor: string;
|
|
235
228
|
}>;
|
|
236
|
-
declare const
|
|
237
|
-
|
|
238
|
-
nome: z.ZodString;
|
|
239
|
-
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
nome: string;
|
|
241
|
-
}, {
|
|
242
|
-
nome: string;
|
|
243
|
-
}>;
|
|
229
|
+
declare const VariacaoSchema: z.ZodObject<{
|
|
230
|
+
nome: z.ZodString;
|
|
244
231
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
|
|
246
|
-
nome: string;
|
|
247
|
-
};
|
|
232
|
+
nome: string;
|
|
248
233
|
}, {
|
|
249
|
-
|
|
250
|
-
nome: string;
|
|
251
|
-
};
|
|
234
|
+
nome: string;
|
|
252
235
|
}>;
|
|
253
236
|
declare const formaPagamentoSchema: z.ZodObject<{
|
|
254
237
|
codigo: z.ZodString;
|
|
@@ -268,8 +251,8 @@ declare const formaPagamentoSchema: z.ZodObject<{
|
|
|
268
251
|
resource_uri: z.ZodString;
|
|
269
252
|
}, "strip", z.ZodTypeAny, {
|
|
270
253
|
id: number;
|
|
271
|
-
nome: string;
|
|
272
254
|
resource_uri: string;
|
|
255
|
+
nome: string;
|
|
273
256
|
codigo: string;
|
|
274
257
|
configuracoes: {
|
|
275
258
|
ativo: boolean;
|
|
@@ -278,8 +261,8 @@ declare const formaPagamentoSchema: z.ZodObject<{
|
|
|
278
261
|
imagem: string;
|
|
279
262
|
}, {
|
|
280
263
|
id: number;
|
|
281
|
-
nome: string;
|
|
282
264
|
resource_uri: string;
|
|
265
|
+
nome: string;
|
|
283
266
|
codigo: string;
|
|
284
267
|
configuracoes: {
|
|
285
268
|
ativo: boolean;
|
|
@@ -308,75 +291,61 @@ declare const ItemSchema: z.ZodObject<{
|
|
|
308
291
|
quantidade: z.ZodString;
|
|
309
292
|
sku: z.ZodString;
|
|
310
293
|
tipo: z.ZodString;
|
|
311
|
-
variacao: z.ZodObject<{
|
|
312
|
-
|
|
313
|
-
nome: z.ZodString;
|
|
314
|
-
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
nome: string;
|
|
316
|
-
}, {
|
|
317
|
-
nome: string;
|
|
318
|
-
}>;
|
|
294
|
+
variacao: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
295
|
+
nome: z.ZodString;
|
|
319
296
|
}, "strip", z.ZodTypeAny, {
|
|
320
|
-
|
|
321
|
-
nome: string;
|
|
322
|
-
};
|
|
297
|
+
nome: string;
|
|
323
298
|
}, {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
};
|
|
327
|
-
}>;
|
|
299
|
+
nome: string;
|
|
300
|
+
}>>>;
|
|
328
301
|
}, "strip", z.ZodTypeAny, {
|
|
329
302
|
id: number;
|
|
303
|
+
produto: string;
|
|
304
|
+
quantidade: string;
|
|
305
|
+
altura: number;
|
|
306
|
+
largura: number;
|
|
307
|
+
ncm: string;
|
|
330
308
|
nome: string;
|
|
309
|
+
peso: string;
|
|
310
|
+
profundidade: number;
|
|
311
|
+
sku: string;
|
|
331
312
|
tipo: string;
|
|
332
313
|
pedido: string;
|
|
333
|
-
altura: number;
|
|
334
314
|
disponibilidade: number;
|
|
335
|
-
largura: number;
|
|
336
315
|
linha: number;
|
|
337
|
-
ncm: string;
|
|
338
|
-
peso: string;
|
|
339
316
|
preco_cheio: string;
|
|
340
317
|
preco_subtotal: string;
|
|
341
318
|
preco_venda: string;
|
|
342
|
-
produto: string;
|
|
343
319
|
produto_pai: string;
|
|
344
|
-
profundidade: number;
|
|
345
|
-
quantidade: string;
|
|
346
|
-
sku: string;
|
|
347
|
-
variacao: {
|
|
348
|
-
Kits: {
|
|
349
|
-
nome: string;
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
320
|
preco_custo?: any;
|
|
353
321
|
preco_promocional?: any;
|
|
322
|
+
variacao?: Record<string, {
|
|
323
|
+
nome: string;
|
|
324
|
+
}> | undefined;
|
|
354
325
|
}, {
|
|
355
326
|
id: number;
|
|
327
|
+
produto: string;
|
|
328
|
+
quantidade: string;
|
|
329
|
+
altura: number;
|
|
330
|
+
largura: number;
|
|
331
|
+
ncm: string;
|
|
356
332
|
nome: string;
|
|
333
|
+
peso: string;
|
|
334
|
+
profundidade: number;
|
|
335
|
+
sku: string;
|
|
357
336
|
tipo: string;
|
|
358
337
|
pedido: string;
|
|
359
|
-
altura: number;
|
|
360
338
|
disponibilidade: number;
|
|
361
|
-
largura: number;
|
|
362
339
|
linha: number;
|
|
363
|
-
ncm: string;
|
|
364
|
-
peso: string;
|
|
365
340
|
preco_cheio: string;
|
|
366
341
|
preco_subtotal: string;
|
|
367
342
|
preco_venda: string;
|
|
368
|
-
produto: string;
|
|
369
343
|
produto_pai: string;
|
|
370
|
-
profundidade: number;
|
|
371
|
-
quantidade: string;
|
|
372
|
-
sku: string;
|
|
373
|
-
variacao: {
|
|
374
|
-
Kits: {
|
|
375
|
-
nome: string;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
344
|
preco_custo?: any;
|
|
379
345
|
preco_promocional?: any;
|
|
346
|
+
variacao?: Record<string, {
|
|
347
|
+
nome: string;
|
|
348
|
+
}> | undefined;
|
|
380
349
|
}>;
|
|
381
350
|
declare const pagamentoSchema: z.ZodObject<{
|
|
382
351
|
authorization_code: z.ZodAny;
|
|
@@ -402,8 +371,8 @@ declare const pagamentoSchema: z.ZodObject<{
|
|
|
402
371
|
resource_uri: z.ZodString;
|
|
403
372
|
}, "strip", z.ZodTypeAny, {
|
|
404
373
|
id: number;
|
|
405
|
-
nome: string;
|
|
406
374
|
resource_uri: string;
|
|
375
|
+
nome: string;
|
|
407
376
|
codigo: string;
|
|
408
377
|
configuracoes: {
|
|
409
378
|
ativo: boolean;
|
|
@@ -412,8 +381,8 @@ declare const pagamentoSchema: z.ZodObject<{
|
|
|
412
381
|
imagem: string;
|
|
413
382
|
}, {
|
|
414
383
|
id: number;
|
|
415
|
-
nome: string;
|
|
416
384
|
resource_uri: string;
|
|
385
|
+
nome: string;
|
|
417
386
|
codigo: string;
|
|
418
387
|
configuracoes: {
|
|
419
388
|
ativo: boolean;
|
|
@@ -446,8 +415,8 @@ declare const pagamentoSchema: z.ZodObject<{
|
|
|
446
415
|
bandeira: string;
|
|
447
416
|
forma_pagamento: {
|
|
448
417
|
id: number;
|
|
449
|
-
nome: string;
|
|
450
418
|
resource_uri: string;
|
|
419
|
+
nome: string;
|
|
451
420
|
codigo: string;
|
|
452
421
|
configuracoes: {
|
|
453
422
|
ativo: boolean;
|
|
@@ -476,8 +445,8 @@ declare const pagamentoSchema: z.ZodObject<{
|
|
|
476
445
|
bandeira: string;
|
|
477
446
|
forma_pagamento: {
|
|
478
447
|
id: number;
|
|
479
|
-
nome: string;
|
|
480
448
|
resource_uri: string;
|
|
449
|
+
nome: string;
|
|
481
450
|
codigo: string;
|
|
482
451
|
configuracoes: {
|
|
483
452
|
ativo: boolean;
|
|
@@ -516,8 +485,8 @@ declare const CustomShippingInfoSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
516
485
|
}>, "strip", z.ZodTypeAny, {
|
|
517
486
|
length: number;
|
|
518
487
|
weight: number;
|
|
519
|
-
height: number;
|
|
520
488
|
width: number;
|
|
489
|
+
height: number;
|
|
521
490
|
id?: string | null | undefined;
|
|
522
491
|
order?: number | null | undefined;
|
|
523
492
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
@@ -527,8 +496,8 @@ declare const CustomShippingInfoSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
527
496
|
}, {
|
|
528
497
|
length: number;
|
|
529
498
|
weight: number;
|
|
530
|
-
height: number;
|
|
531
499
|
width: number;
|
|
500
|
+
height: number;
|
|
532
501
|
id?: string | null | undefined;
|
|
533
502
|
order?: number | null | undefined;
|
|
534
503
|
createAt?: unknown;
|
|
@@ -555,11 +524,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
555
524
|
telefone_celular: z.ZodString;
|
|
556
525
|
telefone_principal: z.ZodString;
|
|
557
526
|
}, "strip", z.ZodTypeAny, {
|
|
558
|
-
cpf: string;
|
|
559
|
-
email: string;
|
|
560
527
|
id: number;
|
|
561
|
-
nome: string;
|
|
562
528
|
resource_uri: string;
|
|
529
|
+
nome: string;
|
|
530
|
+
cpf: string;
|
|
531
|
+
email: string;
|
|
563
532
|
sexo: string;
|
|
564
533
|
telefone_celular: string;
|
|
565
534
|
telefone_principal: string;
|
|
@@ -567,11 +536,11 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
567
536
|
data_nascimento?: any;
|
|
568
537
|
razao_social?: any;
|
|
569
538
|
}, {
|
|
570
|
-
cpf: string;
|
|
571
|
-
email: string;
|
|
572
539
|
id: number;
|
|
573
|
-
nome: string;
|
|
574
540
|
resource_uri: string;
|
|
541
|
+
nome: string;
|
|
542
|
+
cpf: string;
|
|
543
|
+
email: string;
|
|
575
544
|
sexo: string;
|
|
576
545
|
telefone_celular: string;
|
|
577
546
|
telefone_principal: string;
|
|
@@ -604,9 +573,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
604
573
|
rg: z.ZodAny;
|
|
605
574
|
tipo: z.ZodString;
|
|
606
575
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
-
cpf: string;
|
|
608
576
|
id: number;
|
|
609
577
|
nome: string;
|
|
578
|
+
tipo: string;
|
|
579
|
+
cpf: string;
|
|
610
580
|
bairro: string;
|
|
611
581
|
cep: string;
|
|
612
582
|
cidade: string;
|
|
@@ -616,15 +586,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
616
586
|
numero: string;
|
|
617
587
|
pais: string;
|
|
618
588
|
referencia: string;
|
|
619
|
-
tipo: string;
|
|
620
589
|
cnpj?: any;
|
|
621
590
|
razao_social?: any;
|
|
622
591
|
ie?: any;
|
|
623
592
|
rg?: any;
|
|
624
593
|
}, {
|
|
625
|
-
cpf: string;
|
|
626
594
|
id: number;
|
|
627
595
|
nome: string;
|
|
596
|
+
tipo: string;
|
|
597
|
+
cpf: string;
|
|
628
598
|
bairro: string;
|
|
629
599
|
cep: string;
|
|
630
600
|
cidade: string;
|
|
@@ -634,7 +604,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
634
604
|
numero: string;
|
|
635
605
|
pais: string;
|
|
636
606
|
referencia: string;
|
|
637
|
-
tipo: string;
|
|
638
607
|
cnpj?: any;
|
|
639
608
|
razao_social?: any;
|
|
640
609
|
ie?: any;
|
|
@@ -650,13 +619,13 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
650
619
|
tipo: z.ZodString;
|
|
651
620
|
}, "strip", z.ZodTypeAny, {
|
|
652
621
|
id: number;
|
|
653
|
-
nome: string;
|
|
654
622
|
code: string;
|
|
623
|
+
nome: string;
|
|
655
624
|
tipo: string;
|
|
656
625
|
}, {
|
|
657
626
|
id: number;
|
|
658
|
-
nome: string;
|
|
659
627
|
code: string;
|
|
628
|
+
nome: string;
|
|
660
629
|
tipo: string;
|
|
661
630
|
}>;
|
|
662
631
|
id: z.ZodNumber;
|
|
@@ -670,8 +639,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
670
639
|
data_modificacao: string;
|
|
671
640
|
forma_envio: {
|
|
672
641
|
id: number;
|
|
673
|
-
nome: string;
|
|
674
642
|
code: string;
|
|
643
|
+
nome: string;
|
|
675
644
|
tipo: string;
|
|
676
645
|
};
|
|
677
646
|
objeto: string;
|
|
@@ -684,8 +653,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
684
653
|
data_modificacao: string;
|
|
685
654
|
forma_envio: {
|
|
686
655
|
id: number;
|
|
687
|
-
nome: string;
|
|
688
656
|
code: string;
|
|
657
|
+
nome: string;
|
|
689
658
|
tipo: string;
|
|
690
659
|
};
|
|
691
660
|
objeto: string;
|
|
@@ -717,75 +686,61 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
717
686
|
quantidade: z.ZodString;
|
|
718
687
|
sku: z.ZodString;
|
|
719
688
|
tipo: z.ZodString;
|
|
720
|
-
variacao: z.ZodObject<{
|
|
721
|
-
|
|
722
|
-
nome: z.ZodString;
|
|
723
|
-
}, "strip", z.ZodTypeAny, {
|
|
724
|
-
nome: string;
|
|
725
|
-
}, {
|
|
726
|
-
nome: string;
|
|
727
|
-
}>;
|
|
689
|
+
variacao: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
690
|
+
nome: z.ZodString;
|
|
728
691
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
|
|
730
|
-
nome: string;
|
|
731
|
-
};
|
|
692
|
+
nome: string;
|
|
732
693
|
}, {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
};
|
|
736
|
-
}>;
|
|
694
|
+
nome: string;
|
|
695
|
+
}>>>;
|
|
737
696
|
}, "strip", z.ZodTypeAny, {
|
|
738
697
|
id: number;
|
|
698
|
+
produto: string;
|
|
699
|
+
quantidade: string;
|
|
700
|
+
altura: number;
|
|
701
|
+
largura: number;
|
|
702
|
+
ncm: string;
|
|
739
703
|
nome: string;
|
|
704
|
+
peso: string;
|
|
705
|
+
profundidade: number;
|
|
706
|
+
sku: string;
|
|
740
707
|
tipo: string;
|
|
741
708
|
pedido: string;
|
|
742
|
-
altura: number;
|
|
743
709
|
disponibilidade: number;
|
|
744
|
-
largura: number;
|
|
745
710
|
linha: number;
|
|
746
|
-
ncm: string;
|
|
747
|
-
peso: string;
|
|
748
711
|
preco_cheio: string;
|
|
749
712
|
preco_subtotal: string;
|
|
750
713
|
preco_venda: string;
|
|
751
|
-
produto: string;
|
|
752
714
|
produto_pai: string;
|
|
753
|
-
profundidade: number;
|
|
754
|
-
quantidade: string;
|
|
755
|
-
sku: string;
|
|
756
|
-
variacao: {
|
|
757
|
-
Kits: {
|
|
758
|
-
nome: string;
|
|
759
|
-
};
|
|
760
|
-
};
|
|
761
715
|
preco_custo?: any;
|
|
762
716
|
preco_promocional?: any;
|
|
717
|
+
variacao?: Record<string, {
|
|
718
|
+
nome: string;
|
|
719
|
+
}> | undefined;
|
|
763
720
|
}, {
|
|
764
721
|
id: number;
|
|
722
|
+
produto: string;
|
|
723
|
+
quantidade: string;
|
|
724
|
+
altura: number;
|
|
725
|
+
largura: number;
|
|
726
|
+
ncm: string;
|
|
765
727
|
nome: string;
|
|
728
|
+
peso: string;
|
|
729
|
+
profundidade: number;
|
|
730
|
+
sku: string;
|
|
766
731
|
tipo: string;
|
|
767
732
|
pedido: string;
|
|
768
|
-
altura: number;
|
|
769
733
|
disponibilidade: number;
|
|
770
|
-
largura: number;
|
|
771
734
|
linha: number;
|
|
772
|
-
ncm: string;
|
|
773
|
-
peso: string;
|
|
774
735
|
preco_cheio: string;
|
|
775
736
|
preco_subtotal: string;
|
|
776
737
|
preco_venda: string;
|
|
777
|
-
produto: string;
|
|
778
738
|
produto_pai: string;
|
|
779
|
-
profundidade: number;
|
|
780
|
-
quantidade: string;
|
|
781
|
-
sku: string;
|
|
782
|
-
variacao: {
|
|
783
|
-
Kits: {
|
|
784
|
-
nome: string;
|
|
785
|
-
};
|
|
786
|
-
};
|
|
787
739
|
preco_custo?: any;
|
|
788
740
|
preco_promocional?: any;
|
|
741
|
+
variacao?: Record<string, {
|
|
742
|
+
nome: string;
|
|
743
|
+
}> | undefined;
|
|
789
744
|
}>, "many">;
|
|
790
745
|
numero: z.ZodNumber;
|
|
791
746
|
pagamentos: z.ZodArray<z.ZodObject<{
|
|
@@ -812,8 +767,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
812
767
|
resource_uri: z.ZodString;
|
|
813
768
|
}, "strip", z.ZodTypeAny, {
|
|
814
769
|
id: number;
|
|
815
|
-
nome: string;
|
|
816
770
|
resource_uri: string;
|
|
771
|
+
nome: string;
|
|
817
772
|
codigo: string;
|
|
818
773
|
configuracoes: {
|
|
819
774
|
ativo: boolean;
|
|
@@ -822,8 +777,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
822
777
|
imagem: string;
|
|
823
778
|
}, {
|
|
824
779
|
id: number;
|
|
825
|
-
nome: string;
|
|
826
780
|
resource_uri: string;
|
|
781
|
+
nome: string;
|
|
827
782
|
codigo: string;
|
|
828
783
|
configuracoes: {
|
|
829
784
|
ativo: boolean;
|
|
@@ -856,8 +811,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
856
811
|
bandeira: string;
|
|
857
812
|
forma_pagamento: {
|
|
858
813
|
id: number;
|
|
859
|
-
nome: string;
|
|
860
814
|
resource_uri: string;
|
|
815
|
+
nome: string;
|
|
861
816
|
codigo: string;
|
|
862
817
|
configuracoes: {
|
|
863
818
|
ativo: boolean;
|
|
@@ -886,8 +841,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
886
841
|
bandeira: string;
|
|
887
842
|
forma_pagamento: {
|
|
888
843
|
id: number;
|
|
889
|
-
nome: string;
|
|
890
844
|
resource_uri: string;
|
|
845
|
+
nome: string;
|
|
891
846
|
codigo: string;
|
|
892
847
|
configuracoes: {
|
|
893
848
|
ativo: boolean;
|
|
@@ -930,8 +885,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
930
885
|
}>, {
|
|
931
886
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
932
887
|
}>, "strip", z.ZodTypeAny, {
|
|
933
|
-
nome: string;
|
|
934
888
|
resource_uri: string;
|
|
889
|
+
nome: string;
|
|
935
890
|
aprovado: boolean;
|
|
936
891
|
cancelado: boolean;
|
|
937
892
|
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 +899,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
944
899
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
945
900
|
enabled?: boolean | undefined;
|
|
946
901
|
}, {
|
|
947
|
-
nome: string;
|
|
948
902
|
resource_uri: string;
|
|
903
|
+
nome: string;
|
|
949
904
|
aprovado: boolean;
|
|
950
905
|
cancelado: boolean;
|
|
951
906
|
codigo: "aguardando_pagamento" | "em_producao" | "pagamento_devolvido" | "pagamento_em_analise" | "pedido_chargeback" | "pagamento_em_disputa" | "pedido_cancelado" | "pedido_efetuado" | "pedido_em_separacao" | "pedido_entregue" | "pedido_enviado" | "pedido_pago" | "pronto_para_retirada";
|
|
@@ -980,8 +935,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
980
935
|
}>, "strip", z.ZodTypeAny, {
|
|
981
936
|
length: number;
|
|
982
937
|
weight: number;
|
|
983
|
-
height: number;
|
|
984
938
|
width: number;
|
|
939
|
+
height: number;
|
|
985
940
|
id?: string | null | undefined;
|
|
986
941
|
order?: number | null | undefined;
|
|
987
942
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
@@ -991,8 +946,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
991
946
|
}, {
|
|
992
947
|
length: number;
|
|
993
948
|
weight: number;
|
|
994
|
-
height: number;
|
|
995
949
|
width: number;
|
|
950
|
+
height: number;
|
|
996
951
|
id?: string | null | undefined;
|
|
997
952
|
order?: number | null | undefined;
|
|
998
953
|
createAt?: unknown;
|
|
@@ -1078,42 +1033,42 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1078
1033
|
length: z.ZodNumber;
|
|
1079
1034
|
}, "strip", z.ZodTypeAny, {
|
|
1080
1035
|
length: number;
|
|
1081
|
-
height: number;
|
|
1082
1036
|
width: number;
|
|
1037
|
+
height: number;
|
|
1083
1038
|
}, {
|
|
1084
1039
|
length: number;
|
|
1085
|
-
height: number;
|
|
1086
1040
|
width: number;
|
|
1041
|
+
height: number;
|
|
1087
1042
|
}>;
|
|
1088
1043
|
}, "strip", z.ZodTypeAny, {
|
|
1089
|
-
weight: string;
|
|
1090
1044
|
price: string;
|
|
1045
|
+
weight: string;
|
|
1046
|
+
insurance_value: string;
|
|
1091
1047
|
discount: string;
|
|
1092
1048
|
format: string;
|
|
1093
|
-
insurance_value: string;
|
|
1094
1049
|
products: {
|
|
1095
1050
|
id: string;
|
|
1096
1051
|
quantity: number;
|
|
1097
1052
|
}[];
|
|
1098
1053
|
dimensions: {
|
|
1099
1054
|
length: number;
|
|
1100
|
-
height: number;
|
|
1101
1055
|
width: number;
|
|
1056
|
+
height: number;
|
|
1102
1057
|
};
|
|
1103
1058
|
}, {
|
|
1104
|
-
weight: string;
|
|
1105
1059
|
price: string;
|
|
1060
|
+
weight: string;
|
|
1061
|
+
insurance_value: string;
|
|
1106
1062
|
discount: string;
|
|
1107
1063
|
format: string;
|
|
1108
|
-
insurance_value: string;
|
|
1109
1064
|
products: {
|
|
1110
1065
|
id: string;
|
|
1111
1066
|
quantity: number;
|
|
1112
1067
|
}[];
|
|
1113
1068
|
dimensions: {
|
|
1114
1069
|
length: number;
|
|
1115
|
-
height: number;
|
|
1116
1070
|
width: number;
|
|
1071
|
+
height: number;
|
|
1117
1072
|
};
|
|
1118
1073
|
}>, "many">;
|
|
1119
1074
|
additional_services: z.ZodObject<{
|
|
@@ -1166,10 +1121,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1166
1121
|
}>;
|
|
1167
1122
|
}, "strip", z.ZodTypeAny, {
|
|
1168
1123
|
id: number;
|
|
1169
|
-
name: string;
|
|
1170
1124
|
price: string;
|
|
1171
|
-
|
|
1125
|
+
name: string;
|
|
1126
|
+
company: {
|
|
1127
|
+
id: number;
|
|
1128
|
+
name: string;
|
|
1129
|
+
picture: string;
|
|
1130
|
+
};
|
|
1172
1131
|
discount: string;
|
|
1132
|
+
custom_price: string;
|
|
1173
1133
|
currency: string;
|
|
1174
1134
|
delivery_time: number;
|
|
1175
1135
|
delivery_range: {
|
|
@@ -1190,19 +1150,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1190
1150
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1191
1151
|
};
|
|
1192
1152
|
packages: {
|
|
1193
|
-
weight: string;
|
|
1194
1153
|
price: string;
|
|
1154
|
+
weight: string;
|
|
1155
|
+
insurance_value: string;
|
|
1195
1156
|
discount: string;
|
|
1196
1157
|
format: string;
|
|
1197
|
-
insurance_value: string;
|
|
1198
1158
|
products: {
|
|
1199
1159
|
id: string;
|
|
1200
1160
|
quantity: number;
|
|
1201
1161
|
}[];
|
|
1202
1162
|
dimensions: {
|
|
1203
1163
|
length: number;
|
|
1204
|
-
height: number;
|
|
1205
1164
|
width: number;
|
|
1165
|
+
height: number;
|
|
1206
1166
|
};
|
|
1207
1167
|
}[];
|
|
1208
1168
|
additional_services: {
|
|
@@ -1216,18 +1176,18 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1216
1176
|
delivery: number;
|
|
1217
1177
|
};
|
|
1218
1178
|
};
|
|
1179
|
+
error?: string | undefined;
|
|
1180
|
+
}, {
|
|
1181
|
+
id: number;
|
|
1182
|
+
price: string;
|
|
1183
|
+
name: string;
|
|
1219
1184
|
company: {
|
|
1220
1185
|
id: number;
|
|
1221
1186
|
name: string;
|
|
1222
1187
|
picture: string;
|
|
1223
1188
|
};
|
|
1224
|
-
error?: string | undefined;
|
|
1225
|
-
}, {
|
|
1226
|
-
id: number;
|
|
1227
|
-
name: string;
|
|
1228
|
-
price: string;
|
|
1229
|
-
custom_price: string;
|
|
1230
1189
|
discount: string;
|
|
1190
|
+
custom_price: string;
|
|
1231
1191
|
currency: string;
|
|
1232
1192
|
delivery_time: number;
|
|
1233
1193
|
delivery_range: {
|
|
@@ -1248,19 +1208,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1248
1208
|
updateAt?: unknown;
|
|
1249
1209
|
};
|
|
1250
1210
|
packages: {
|
|
1251
|
-
weight: string;
|
|
1252
1211
|
price: string;
|
|
1212
|
+
weight: string;
|
|
1213
|
+
insurance_value: string;
|
|
1253
1214
|
discount: string;
|
|
1254
1215
|
format: string;
|
|
1255
|
-
insurance_value: string;
|
|
1256
1216
|
products: {
|
|
1257
1217
|
id: string;
|
|
1258
1218
|
quantity: number;
|
|
1259
1219
|
}[];
|
|
1260
1220
|
dimensions: {
|
|
1261
1221
|
length: number;
|
|
1262
|
-
height: number;
|
|
1263
1222
|
width: number;
|
|
1223
|
+
height: number;
|
|
1264
1224
|
};
|
|
1265
1225
|
}[];
|
|
1266
1226
|
additional_services: {
|
|
@@ -1274,11 +1234,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1274
1234
|
delivery: number;
|
|
1275
1235
|
};
|
|
1276
1236
|
};
|
|
1277
|
-
company: {
|
|
1278
|
-
id: number;
|
|
1279
|
-
name: string;
|
|
1280
|
-
picture: string;
|
|
1281
|
-
};
|
|
1282
1237
|
error?: string | undefined;
|
|
1283
1238
|
}>>;
|
|
1284
1239
|
allShippingCalculates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1359,42 +1314,42 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1359
1314
|
length: z.ZodNumber;
|
|
1360
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1361
1316
|
length: number;
|
|
1362
|
-
height: number;
|
|
1363
1317
|
width: number;
|
|
1318
|
+
height: number;
|
|
1364
1319
|
}, {
|
|
1365
1320
|
length: number;
|
|
1366
|
-
height: number;
|
|
1367
1321
|
width: number;
|
|
1322
|
+
height: number;
|
|
1368
1323
|
}>;
|
|
1369
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1370
|
-
weight: string;
|
|
1371
1325
|
price: string;
|
|
1326
|
+
weight: string;
|
|
1327
|
+
insurance_value: string;
|
|
1372
1328
|
discount: string;
|
|
1373
1329
|
format: string;
|
|
1374
|
-
insurance_value: string;
|
|
1375
1330
|
products: {
|
|
1376
1331
|
id: string;
|
|
1377
1332
|
quantity: number;
|
|
1378
1333
|
}[];
|
|
1379
1334
|
dimensions: {
|
|
1380
1335
|
length: number;
|
|
1381
|
-
height: number;
|
|
1382
1336
|
width: number;
|
|
1337
|
+
height: number;
|
|
1383
1338
|
};
|
|
1384
1339
|
}, {
|
|
1385
|
-
weight: string;
|
|
1386
1340
|
price: string;
|
|
1341
|
+
weight: string;
|
|
1342
|
+
insurance_value: string;
|
|
1387
1343
|
discount: string;
|
|
1388
1344
|
format: string;
|
|
1389
|
-
insurance_value: string;
|
|
1390
1345
|
products: {
|
|
1391
1346
|
id: string;
|
|
1392
1347
|
quantity: number;
|
|
1393
1348
|
}[];
|
|
1394
1349
|
dimensions: {
|
|
1395
1350
|
length: number;
|
|
1396
|
-
height: number;
|
|
1397
1351
|
width: number;
|
|
1352
|
+
height: number;
|
|
1398
1353
|
};
|
|
1399
1354
|
}>, "many">;
|
|
1400
1355
|
additional_services: z.ZodObject<{
|
|
@@ -1447,10 +1402,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1447
1402
|
}>;
|
|
1448
1403
|
}, "strip", z.ZodTypeAny, {
|
|
1449
1404
|
id: number;
|
|
1450
|
-
name: string;
|
|
1451
1405
|
price: string;
|
|
1452
|
-
|
|
1406
|
+
name: string;
|
|
1407
|
+
company: {
|
|
1408
|
+
id: number;
|
|
1409
|
+
name: string;
|
|
1410
|
+
picture: string;
|
|
1411
|
+
};
|
|
1453
1412
|
discount: string;
|
|
1413
|
+
custom_price: string;
|
|
1454
1414
|
currency: string;
|
|
1455
1415
|
delivery_time: number;
|
|
1456
1416
|
delivery_range: {
|
|
@@ -1471,19 +1431,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1471
1431
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1472
1432
|
};
|
|
1473
1433
|
packages: {
|
|
1474
|
-
weight: string;
|
|
1475
1434
|
price: string;
|
|
1435
|
+
weight: string;
|
|
1436
|
+
insurance_value: string;
|
|
1476
1437
|
discount: string;
|
|
1477
1438
|
format: string;
|
|
1478
|
-
insurance_value: string;
|
|
1479
1439
|
products: {
|
|
1480
1440
|
id: string;
|
|
1481
1441
|
quantity: number;
|
|
1482
1442
|
}[];
|
|
1483
1443
|
dimensions: {
|
|
1484
1444
|
length: number;
|
|
1485
|
-
height: number;
|
|
1486
1445
|
width: number;
|
|
1446
|
+
height: number;
|
|
1487
1447
|
};
|
|
1488
1448
|
}[];
|
|
1489
1449
|
additional_services: {
|
|
@@ -1497,18 +1457,18 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1497
1457
|
delivery: number;
|
|
1498
1458
|
};
|
|
1499
1459
|
};
|
|
1460
|
+
error?: string | undefined;
|
|
1461
|
+
}, {
|
|
1462
|
+
id: number;
|
|
1463
|
+
price: string;
|
|
1464
|
+
name: string;
|
|
1500
1465
|
company: {
|
|
1501
1466
|
id: number;
|
|
1502
1467
|
name: string;
|
|
1503
1468
|
picture: string;
|
|
1504
1469
|
};
|
|
1505
|
-
error?: string | undefined;
|
|
1506
|
-
}, {
|
|
1507
|
-
id: number;
|
|
1508
|
-
name: string;
|
|
1509
|
-
price: string;
|
|
1510
|
-
custom_price: string;
|
|
1511
1470
|
discount: string;
|
|
1471
|
+
custom_price: string;
|
|
1512
1472
|
currency: string;
|
|
1513
1473
|
delivery_time: number;
|
|
1514
1474
|
delivery_range: {
|
|
@@ -1529,19 +1489,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1529
1489
|
updateAt?: unknown;
|
|
1530
1490
|
};
|
|
1531
1491
|
packages: {
|
|
1532
|
-
weight: string;
|
|
1533
1492
|
price: string;
|
|
1493
|
+
weight: string;
|
|
1494
|
+
insurance_value: string;
|
|
1534
1495
|
discount: string;
|
|
1535
1496
|
format: string;
|
|
1536
|
-
insurance_value: string;
|
|
1537
1497
|
products: {
|
|
1538
1498
|
id: string;
|
|
1539
1499
|
quantity: number;
|
|
1540
1500
|
}[];
|
|
1541
1501
|
dimensions: {
|
|
1542
1502
|
length: number;
|
|
1543
|
-
height: number;
|
|
1544
1503
|
width: number;
|
|
1504
|
+
height: number;
|
|
1545
1505
|
};
|
|
1546
1506
|
}[];
|
|
1547
1507
|
additional_services: {
|
|
@@ -1555,26 +1515,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1555
1515
|
delivery: number;
|
|
1556
1516
|
};
|
|
1557
1517
|
};
|
|
1558
|
-
company: {
|
|
1559
|
-
id: number;
|
|
1560
|
-
name: string;
|
|
1561
|
-
picture: string;
|
|
1562
|
-
};
|
|
1563
1518
|
error?: string | undefined;
|
|
1564
1519
|
}>, "many">>;
|
|
1565
1520
|
warning: z.ZodOptional<z.ZodString>;
|
|
1566
1521
|
watching: z.ZodOptional<z.ZodBoolean>;
|
|
1567
1522
|
}>, "strip", z.ZodTypeAny, {
|
|
1568
1523
|
resource_uri: string;
|
|
1569
|
-
numero: number;
|
|
1570
1524
|
data_criacao: string;
|
|
1571
1525
|
data_modificacao: string;
|
|
1526
|
+
numero: number;
|
|
1572
1527
|
cliente: {
|
|
1573
|
-
cpf: string;
|
|
1574
|
-
email: string;
|
|
1575
1528
|
id: number;
|
|
1576
|
-
nome: string;
|
|
1577
1529
|
resource_uri: string;
|
|
1530
|
+
nome: string;
|
|
1531
|
+
cpf: string;
|
|
1532
|
+
email: string;
|
|
1578
1533
|
sexo: string;
|
|
1579
1534
|
telefone_celular: string;
|
|
1580
1535
|
telefone_principal: string;
|
|
@@ -1584,9 +1539,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1584
1539
|
};
|
|
1585
1540
|
data_expiracao: string;
|
|
1586
1541
|
endereco_entrega: {
|
|
1587
|
-
cpf: string;
|
|
1588
1542
|
id: number;
|
|
1589
1543
|
nome: string;
|
|
1544
|
+
tipo: string;
|
|
1545
|
+
cpf: string;
|
|
1590
1546
|
bairro: string;
|
|
1591
1547
|
cep: string;
|
|
1592
1548
|
cidade: string;
|
|
@@ -1596,7 +1552,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1596
1552
|
numero: string;
|
|
1597
1553
|
pais: string;
|
|
1598
1554
|
referencia: string;
|
|
1599
|
-
tipo: string;
|
|
1600
1555
|
cnpj?: any;
|
|
1601
1556
|
razao_social?: any;
|
|
1602
1557
|
ie?: any;
|
|
@@ -1608,8 +1563,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1608
1563
|
data_modificacao: string;
|
|
1609
1564
|
forma_envio: {
|
|
1610
1565
|
id: number;
|
|
1611
|
-
nome: string;
|
|
1612
1566
|
code: string;
|
|
1567
|
+
nome: string;
|
|
1613
1568
|
tipo: string;
|
|
1614
1569
|
};
|
|
1615
1570
|
objeto: string;
|
|
@@ -1619,30 +1574,28 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1619
1574
|
}[];
|
|
1620
1575
|
itens: {
|
|
1621
1576
|
id: number;
|
|
1577
|
+
produto: string;
|
|
1578
|
+
quantidade: string;
|
|
1579
|
+
altura: number;
|
|
1580
|
+
largura: number;
|
|
1581
|
+
ncm: string;
|
|
1622
1582
|
nome: string;
|
|
1583
|
+
peso: string;
|
|
1584
|
+
profundidade: number;
|
|
1585
|
+
sku: string;
|
|
1623
1586
|
tipo: string;
|
|
1624
1587
|
pedido: string;
|
|
1625
|
-
altura: number;
|
|
1626
1588
|
disponibilidade: number;
|
|
1627
|
-
largura: number;
|
|
1628
1589
|
linha: number;
|
|
1629
|
-
ncm: string;
|
|
1630
|
-
peso: string;
|
|
1631
1590
|
preco_cheio: string;
|
|
1632
1591
|
preco_subtotal: string;
|
|
1633
1592
|
preco_venda: string;
|
|
1634
|
-
produto: string;
|
|
1635
1593
|
produto_pai: string;
|
|
1636
|
-
profundidade: number;
|
|
1637
|
-
quantidade: string;
|
|
1638
|
-
sku: string;
|
|
1639
|
-
variacao: {
|
|
1640
|
-
Kits: {
|
|
1641
|
-
nome: string;
|
|
1642
|
-
};
|
|
1643
|
-
};
|
|
1644
1594
|
preco_custo?: any;
|
|
1645
1595
|
preco_promocional?: any;
|
|
1596
|
+
variacao?: Record<string, {
|
|
1597
|
+
nome: string;
|
|
1598
|
+
}> | undefined;
|
|
1646
1599
|
}[];
|
|
1647
1600
|
pagamentos: {
|
|
1648
1601
|
id: number;
|
|
@@ -1650,8 +1603,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1650
1603
|
bandeira: string;
|
|
1651
1604
|
forma_pagamento: {
|
|
1652
1605
|
id: number;
|
|
1653
|
-
nome: string;
|
|
1654
1606
|
resource_uri: string;
|
|
1607
|
+
nome: string;
|
|
1655
1608
|
codigo: string;
|
|
1656
1609
|
configuracoes: {
|
|
1657
1610
|
ativo: boolean;
|
|
@@ -1677,8 +1630,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1677
1630
|
}[];
|
|
1678
1631
|
peso_real: string;
|
|
1679
1632
|
situacao: {
|
|
1680
|
-
nome: string;
|
|
1681
1633
|
resource_uri: string;
|
|
1634
|
+
nome: string;
|
|
1682
1635
|
aprovado: boolean;
|
|
1683
1636
|
cancelado: boolean;
|
|
1684
1637
|
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";
|
|
@@ -1696,21 +1649,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1696
1649
|
valor_subtotal: string;
|
|
1697
1650
|
valor_total: string;
|
|
1698
1651
|
id?: string | null | undefined;
|
|
1652
|
+
id_anymarket?: any;
|
|
1699
1653
|
order?: number | null | undefined;
|
|
1700
1654
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1701
1655
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1656
|
+
id_externo?: any;
|
|
1657
|
+
tags?: string[] | undefined;
|
|
1702
1658
|
cliente_obs?: any;
|
|
1703
1659
|
cupom_desconto?: any;
|
|
1704
|
-
id_anymarket?: any;
|
|
1705
|
-
id_externo?: any;
|
|
1706
1660
|
integration_data?: any;
|
|
1707
1661
|
utm_campaign?: any;
|
|
1708
|
-
tags?: string[] | undefined;
|
|
1709
1662
|
customShippingInfo?: {
|
|
1710
1663
|
length: number;
|
|
1711
1664
|
weight: number;
|
|
1712
|
-
height: number;
|
|
1713
1665
|
width: number;
|
|
1666
|
+
height: number;
|
|
1714
1667
|
id?: string | null | undefined;
|
|
1715
1668
|
order?: number | null | undefined;
|
|
1716
1669
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
@@ -1720,10 +1673,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1720
1673
|
} | undefined;
|
|
1721
1674
|
shippingCalculate?: {
|
|
1722
1675
|
id: number;
|
|
1723
|
-
name: string;
|
|
1724
1676
|
price: string;
|
|
1725
|
-
|
|
1677
|
+
name: string;
|
|
1678
|
+
company: {
|
|
1679
|
+
id: number;
|
|
1680
|
+
name: string;
|
|
1681
|
+
picture: string;
|
|
1682
|
+
};
|
|
1726
1683
|
discount: string;
|
|
1684
|
+
custom_price: string;
|
|
1727
1685
|
currency: string;
|
|
1728
1686
|
delivery_time: number;
|
|
1729
1687
|
delivery_range: {
|
|
@@ -1744,19 +1702,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1744
1702
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1745
1703
|
};
|
|
1746
1704
|
packages: {
|
|
1747
|
-
weight: string;
|
|
1748
1705
|
price: string;
|
|
1706
|
+
weight: string;
|
|
1707
|
+
insurance_value: string;
|
|
1749
1708
|
discount: string;
|
|
1750
1709
|
format: string;
|
|
1751
|
-
insurance_value: string;
|
|
1752
1710
|
products: {
|
|
1753
1711
|
id: string;
|
|
1754
1712
|
quantity: number;
|
|
1755
1713
|
}[];
|
|
1756
1714
|
dimensions: {
|
|
1757
1715
|
length: number;
|
|
1758
|
-
height: number;
|
|
1759
1716
|
width: number;
|
|
1717
|
+
height: number;
|
|
1760
1718
|
};
|
|
1761
1719
|
}[];
|
|
1762
1720
|
additional_services: {
|
|
@@ -1770,19 +1728,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1770
1728
|
delivery: number;
|
|
1771
1729
|
};
|
|
1772
1730
|
};
|
|
1773
|
-
company: {
|
|
1774
|
-
id: number;
|
|
1775
|
-
name: string;
|
|
1776
|
-
picture: string;
|
|
1777
|
-
};
|
|
1778
1731
|
error?: string | undefined;
|
|
1779
1732
|
} | undefined;
|
|
1780
1733
|
allShippingCalculates?: {
|
|
1781
1734
|
id: number;
|
|
1782
|
-
name: string;
|
|
1783
1735
|
price: string;
|
|
1784
|
-
|
|
1736
|
+
name: string;
|
|
1737
|
+
company: {
|
|
1738
|
+
id: number;
|
|
1739
|
+
name: string;
|
|
1740
|
+
picture: string;
|
|
1741
|
+
};
|
|
1785
1742
|
discount: string;
|
|
1743
|
+
custom_price: string;
|
|
1786
1744
|
currency: string;
|
|
1787
1745
|
delivery_time: number;
|
|
1788
1746
|
delivery_range: {
|
|
@@ -1803,19 +1761,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1803
1761
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1804
1762
|
};
|
|
1805
1763
|
packages: {
|
|
1806
|
-
weight: string;
|
|
1807
1764
|
price: string;
|
|
1765
|
+
weight: string;
|
|
1766
|
+
insurance_value: string;
|
|
1808
1767
|
discount: string;
|
|
1809
1768
|
format: string;
|
|
1810
|
-
insurance_value: string;
|
|
1811
1769
|
products: {
|
|
1812
1770
|
id: string;
|
|
1813
1771
|
quantity: number;
|
|
1814
1772
|
}[];
|
|
1815
1773
|
dimensions: {
|
|
1816
1774
|
length: number;
|
|
1817
|
-
height: number;
|
|
1818
1775
|
width: number;
|
|
1776
|
+
height: number;
|
|
1819
1777
|
};
|
|
1820
1778
|
}[];
|
|
1821
1779
|
additional_services: {
|
|
@@ -1829,26 +1787,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1829
1787
|
delivery: number;
|
|
1830
1788
|
};
|
|
1831
1789
|
};
|
|
1832
|
-
company: {
|
|
1833
|
-
id: number;
|
|
1834
|
-
name: string;
|
|
1835
|
-
picture: string;
|
|
1836
|
-
};
|
|
1837
1790
|
error?: string | undefined;
|
|
1838
1791
|
}[] | undefined;
|
|
1839
1792
|
warning?: string | undefined;
|
|
1840
1793
|
watching?: boolean | undefined;
|
|
1841
1794
|
}, {
|
|
1842
1795
|
resource_uri: string;
|
|
1843
|
-
numero: number;
|
|
1844
1796
|
data_criacao: string;
|
|
1845
1797
|
data_modificacao: string;
|
|
1798
|
+
numero: number;
|
|
1846
1799
|
cliente: {
|
|
1847
|
-
cpf: string;
|
|
1848
|
-
email: string;
|
|
1849
1800
|
id: number;
|
|
1850
|
-
nome: string;
|
|
1851
1801
|
resource_uri: string;
|
|
1802
|
+
nome: string;
|
|
1803
|
+
cpf: string;
|
|
1804
|
+
email: string;
|
|
1852
1805
|
sexo: string;
|
|
1853
1806
|
telefone_celular: string;
|
|
1854
1807
|
telefone_principal: string;
|
|
@@ -1858,9 +1811,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1858
1811
|
};
|
|
1859
1812
|
data_expiracao: string;
|
|
1860
1813
|
endereco_entrega: {
|
|
1861
|
-
cpf: string;
|
|
1862
1814
|
id: number;
|
|
1863
1815
|
nome: string;
|
|
1816
|
+
tipo: string;
|
|
1817
|
+
cpf: string;
|
|
1864
1818
|
bairro: string;
|
|
1865
1819
|
cep: string;
|
|
1866
1820
|
cidade: string;
|
|
@@ -1870,7 +1824,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1870
1824
|
numero: string;
|
|
1871
1825
|
pais: string;
|
|
1872
1826
|
referencia: string;
|
|
1873
|
-
tipo: string;
|
|
1874
1827
|
cnpj?: any;
|
|
1875
1828
|
razao_social?: any;
|
|
1876
1829
|
ie?: any;
|
|
@@ -1882,8 +1835,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1882
1835
|
data_modificacao: string;
|
|
1883
1836
|
forma_envio: {
|
|
1884
1837
|
id: number;
|
|
1885
|
-
nome: string;
|
|
1886
1838
|
code: string;
|
|
1839
|
+
nome: string;
|
|
1887
1840
|
tipo: string;
|
|
1888
1841
|
};
|
|
1889
1842
|
objeto: string;
|
|
@@ -1893,30 +1846,28 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1893
1846
|
}[];
|
|
1894
1847
|
itens: {
|
|
1895
1848
|
id: number;
|
|
1849
|
+
produto: string;
|
|
1850
|
+
quantidade: string;
|
|
1851
|
+
altura: number;
|
|
1852
|
+
largura: number;
|
|
1853
|
+
ncm: string;
|
|
1896
1854
|
nome: string;
|
|
1855
|
+
peso: string;
|
|
1856
|
+
profundidade: number;
|
|
1857
|
+
sku: string;
|
|
1897
1858
|
tipo: string;
|
|
1898
1859
|
pedido: string;
|
|
1899
|
-
altura: number;
|
|
1900
1860
|
disponibilidade: number;
|
|
1901
|
-
largura: number;
|
|
1902
1861
|
linha: number;
|
|
1903
|
-
ncm: string;
|
|
1904
|
-
peso: string;
|
|
1905
1862
|
preco_cheio: string;
|
|
1906
1863
|
preco_subtotal: string;
|
|
1907
1864
|
preco_venda: string;
|
|
1908
|
-
produto: string;
|
|
1909
1865
|
produto_pai: string;
|
|
1910
|
-
profundidade: number;
|
|
1911
|
-
quantidade: string;
|
|
1912
|
-
sku: string;
|
|
1913
|
-
variacao: {
|
|
1914
|
-
Kits: {
|
|
1915
|
-
nome: string;
|
|
1916
|
-
};
|
|
1917
|
-
};
|
|
1918
1866
|
preco_custo?: any;
|
|
1919
1867
|
preco_promocional?: any;
|
|
1868
|
+
variacao?: Record<string, {
|
|
1869
|
+
nome: string;
|
|
1870
|
+
}> | undefined;
|
|
1920
1871
|
}[];
|
|
1921
1872
|
pagamentos: {
|
|
1922
1873
|
id: number;
|
|
@@ -1924,8 +1875,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1924
1875
|
bandeira: string;
|
|
1925
1876
|
forma_pagamento: {
|
|
1926
1877
|
id: number;
|
|
1927
|
-
nome: string;
|
|
1928
1878
|
resource_uri: string;
|
|
1879
|
+
nome: string;
|
|
1929
1880
|
codigo: string;
|
|
1930
1881
|
configuracoes: {
|
|
1931
1882
|
ativo: boolean;
|
|
@@ -1951,8 +1902,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1951
1902
|
}[];
|
|
1952
1903
|
peso_real: string;
|
|
1953
1904
|
situacao: {
|
|
1954
|
-
nome: string;
|
|
1955
1905
|
resource_uri: string;
|
|
1906
|
+
nome: string;
|
|
1956
1907
|
aprovado: boolean;
|
|
1957
1908
|
cancelado: boolean;
|
|
1958
1909
|
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";
|
|
@@ -1970,21 +1921,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1970
1921
|
valor_subtotal: string;
|
|
1971
1922
|
valor_total: string;
|
|
1972
1923
|
id?: string | null | undefined;
|
|
1924
|
+
id_anymarket?: any;
|
|
1973
1925
|
order?: number | null | undefined;
|
|
1974
1926
|
createAt?: unknown;
|
|
1975
1927
|
updateAt?: unknown;
|
|
1928
|
+
id_externo?: any;
|
|
1929
|
+
tags?: string[] | undefined;
|
|
1976
1930
|
cliente_obs?: any;
|
|
1977
1931
|
cupom_desconto?: any;
|
|
1978
|
-
id_anymarket?: any;
|
|
1979
|
-
id_externo?: any;
|
|
1980
1932
|
integration_data?: any;
|
|
1981
1933
|
utm_campaign?: any;
|
|
1982
|
-
tags?: string[] | undefined;
|
|
1983
1934
|
customShippingInfo?: {
|
|
1984
1935
|
length: number;
|
|
1985
1936
|
weight: number;
|
|
1986
|
-
height: number;
|
|
1987
1937
|
width: number;
|
|
1938
|
+
height: number;
|
|
1988
1939
|
id?: string | null | undefined;
|
|
1989
1940
|
order?: number | null | undefined;
|
|
1990
1941
|
createAt?: unknown;
|
|
@@ -1994,10 +1945,15 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1994
1945
|
} | undefined;
|
|
1995
1946
|
shippingCalculate?: {
|
|
1996
1947
|
id: number;
|
|
1997
|
-
name: string;
|
|
1998
1948
|
price: string;
|
|
1999
|
-
|
|
1949
|
+
name: string;
|
|
1950
|
+
company: {
|
|
1951
|
+
id: number;
|
|
1952
|
+
name: string;
|
|
1953
|
+
picture: string;
|
|
1954
|
+
};
|
|
2000
1955
|
discount: string;
|
|
1956
|
+
custom_price: string;
|
|
2001
1957
|
currency: string;
|
|
2002
1958
|
delivery_time: number;
|
|
2003
1959
|
delivery_range: {
|
|
@@ -2018,19 +1974,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2018
1974
|
updateAt?: unknown;
|
|
2019
1975
|
};
|
|
2020
1976
|
packages: {
|
|
2021
|
-
weight: string;
|
|
2022
1977
|
price: string;
|
|
1978
|
+
weight: string;
|
|
1979
|
+
insurance_value: string;
|
|
2023
1980
|
discount: string;
|
|
2024
1981
|
format: string;
|
|
2025
|
-
insurance_value: string;
|
|
2026
1982
|
products: {
|
|
2027
1983
|
id: string;
|
|
2028
1984
|
quantity: number;
|
|
2029
1985
|
}[];
|
|
2030
1986
|
dimensions: {
|
|
2031
1987
|
length: number;
|
|
2032
|
-
height: number;
|
|
2033
1988
|
width: number;
|
|
1989
|
+
height: number;
|
|
2034
1990
|
};
|
|
2035
1991
|
}[];
|
|
2036
1992
|
additional_services: {
|
|
@@ -2044,19 +2000,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2044
2000
|
delivery: number;
|
|
2045
2001
|
};
|
|
2046
2002
|
};
|
|
2047
|
-
company: {
|
|
2048
|
-
id: number;
|
|
2049
|
-
name: string;
|
|
2050
|
-
picture: string;
|
|
2051
|
-
};
|
|
2052
2003
|
error?: string | undefined;
|
|
2053
2004
|
} | undefined;
|
|
2054
2005
|
allShippingCalculates?: {
|
|
2055
2006
|
id: number;
|
|
2056
|
-
name: string;
|
|
2057
2007
|
price: string;
|
|
2058
|
-
|
|
2008
|
+
name: string;
|
|
2009
|
+
company: {
|
|
2010
|
+
id: number;
|
|
2011
|
+
name: string;
|
|
2012
|
+
picture: string;
|
|
2013
|
+
};
|
|
2059
2014
|
discount: string;
|
|
2015
|
+
custom_price: string;
|
|
2060
2016
|
currency: string;
|
|
2061
2017
|
delivery_time: number;
|
|
2062
2018
|
delivery_range: {
|
|
@@ -2077,19 +2033,19 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2077
2033
|
updateAt?: unknown;
|
|
2078
2034
|
};
|
|
2079
2035
|
packages: {
|
|
2080
|
-
weight: string;
|
|
2081
2036
|
price: string;
|
|
2037
|
+
weight: string;
|
|
2038
|
+
insurance_value: string;
|
|
2082
2039
|
discount: string;
|
|
2083
2040
|
format: string;
|
|
2084
|
-
insurance_value: string;
|
|
2085
2041
|
products: {
|
|
2086
2042
|
id: string;
|
|
2087
2043
|
quantity: number;
|
|
2088
2044
|
}[];
|
|
2089
2045
|
dimensions: {
|
|
2090
2046
|
length: number;
|
|
2091
|
-
height: number;
|
|
2092
2047
|
width: number;
|
|
2048
|
+
height: number;
|
|
2093
2049
|
};
|
|
2094
2050
|
}[];
|
|
2095
2051
|
additional_services: {
|
|
@@ -2103,11 +2059,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2103
2059
|
delivery: number;
|
|
2104
2060
|
};
|
|
2105
2061
|
};
|
|
2106
|
-
company: {
|
|
2107
|
-
id: number;
|
|
2108
|
-
name: string;
|
|
2109
|
-
picture: string;
|
|
2110
|
-
};
|
|
2111
2062
|
error?: string | undefined;
|
|
2112
2063
|
}[] | undefined;
|
|
2113
2064
|
warning?: string | undefined;
|
|
@@ -2120,4 +2071,4 @@ type OrderStatus = z.infer<typeof SituacaoSchema>;
|
|
|
2120
2071
|
type AddressShipping = z.infer<typeof EnderecoEntregaSchema>;
|
|
2121
2072
|
type CustomerOrder = z.infer<typeof CustomerOrderSchema>;
|
|
2122
2073
|
|
|
2123
|
-
export { AddressShipping, ConfiguracoesSchema, CustomShippingInfo, CustomShippingInfoSchema, CustomerOrder, CustomerOrderSchema, EnderecoEntregaSchema, EnvioSchema, FormaEnvioSchema, Item, ItemSchema, Order, OrderSchema, OrderStatus, ParcelamentoSchema, SituacaoSchema,
|
|
2074
|
+
export { AddressShipping, ConfiguracoesSchema, CustomShippingInfo, CustomShippingInfoSchema, CustomerOrder, CustomerOrderSchema, EnderecoEntregaSchema, EnvioSchema, FormaEnvioSchema, Item, ItemSchema, Order, OrderSchema, OrderStatus, ParcelamentoSchema, SituacaoSchema, VariacaoSchema, formaPagamentoSchema, pagamentoSchema };
|