godeep-types 1.0.0

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.
Files changed (74) hide show
  1. package/README.md +84 -0
  2. package/dist/module.d.mts +8 -0
  3. package/dist/module.json +9 -0
  4. package/dist/module.mjs +16 -0
  5. package/dist/runtime/plugin.d.ts +2 -0
  6. package/dist/runtime/plugin.js +4 -0
  7. package/dist/runtime/server/tsconfig.json +3 -0
  8. package/dist/runtime/translate/avaliacoes.d.ts +4 -0
  9. package/dist/runtime/translate/avaliacoes.js +26 -0
  10. package/dist/runtime/translate/banner.d.ts +6 -0
  11. package/dist/runtime/translate/banner.js +69 -0
  12. package/dist/runtime/translate/basket.d.ts +5 -0
  13. package/dist/runtime/translate/basket.js +40 -0
  14. package/dist/runtime/translate/busca.d.ts +8 -0
  15. package/dist/runtime/translate/busca.js +18 -0
  16. package/dist/runtime/translate/campos-cadastro.d.ts +4 -0
  17. package/dist/runtime/translate/campos-cadastro.js +95 -0
  18. package/dist/runtime/translate/carrinho.d.ts +6 -0
  19. package/dist/runtime/translate/carrinho.js +141 -0
  20. package/dist/runtime/translate/categoria.d.ts +4 -0
  21. package/dist/runtime/translate/categoria.js +75 -0
  22. package/dist/runtime/translate/cliente.d.ts +4 -0
  23. package/dist/runtime/translate/cliente.js +82 -0
  24. package/dist/runtime/translate/configuracoes.d.ts +3 -0
  25. package/dist/runtime/translate/configuracoes.js +46 -0
  26. package/dist/runtime/translate/esqueceu-senha.d.ts +4 -0
  27. package/dist/runtime/translate/esqueceu-senha.js +14 -0
  28. package/dist/runtime/translate/favoritos.d.ts +4 -0
  29. package/dist/runtime/translate/favoritos.js +13 -0
  30. package/dist/runtime/translate/frete.d.ts +3 -0
  31. package/dist/runtime/translate/frete.js +31 -0
  32. package/dist/runtime/translate/home.d.ts +4 -0
  33. package/dist/runtime/translate/home.js +26 -0
  34. package/dist/runtime/translate/index.d.ts +24 -0
  35. package/dist/runtime/translate/index.js +24 -0
  36. package/dist/runtime/translate/menu.d.ts +4 -0
  37. package/dist/runtime/translate/menu.js +124 -0
  38. package/dist/runtime/translate/newsletter.d.ts +3 -0
  39. package/dist/runtime/translate/newsletter.js +5 -0
  40. package/dist/runtime/translate/pagamento.d.ts +4 -0
  41. package/dist/runtime/translate/pagamento.js +66 -0
  42. package/dist/runtime/translate/pagina.d.ts +4 -0
  43. package/dist/runtime/translate/pagina.js +12 -0
  44. package/dist/runtime/translate/parametros.d.ts +7 -0
  45. package/dist/runtime/translate/parametros.js +115 -0
  46. package/dist/runtime/translate/pedidos.d.ts +3 -0
  47. package/dist/runtime/translate/pedidos.js +82 -0
  48. package/dist/runtime/translate/produto.d.ts +12 -0
  49. package/dist/runtime/translate/produto.js +510 -0
  50. package/dist/runtime/translate/redefinir-senha.d.ts +4 -0
  51. package/dist/runtime/translate/redefinir-senha.js +10 -0
  52. package/dist/runtime/translate/redes-sociais.d.ts +3 -0
  53. package/dist/runtime/translate/redes-sociais.js +40 -0
  54. package/dist/runtime/translate/usuario.d.ts +10 -0
  55. package/dist/runtime/translate/usuario.js +102 -0
  56. package/dist/runtime/translate/vitrine-listagem.d.ts +4 -0
  57. package/dist/runtime/translate/vitrine-listagem.js +81 -0
  58. package/dist/runtime/translate/vitrine.d.ts +6 -0
  59. package/dist/runtime/translate/vitrine.js +37 -0
  60. package/dist/runtime/types/godeep.d.ts +1449 -0
  61. package/dist/runtime/types/godeep.js +0 -0
  62. package/dist/runtime/types/index.d.ts +3 -0
  63. package/dist/runtime/types/index.js +3 -0
  64. package/dist/runtime/types/shims-vue.d.ts +10 -0
  65. package/dist/runtime/types/storefront.d.ts +1005 -0
  66. package/dist/runtime/types/storefront.js +0 -0
  67. package/dist/runtime/types/utils.d.ts +67 -0
  68. package/dist/runtime/types/utils.js +20 -0
  69. package/dist/runtime/utils/gerais.d.ts +2 -0
  70. package/dist/runtime/utils/gerais.js +13 -0
  71. package/dist/runtime/utils/index.d.ts +1 -0
  72. package/dist/runtime/utils/index.js +1 -0
  73. package/dist/types.d.mts +3 -0
  74. package/package.json +75 -0
@@ -0,0 +1,1005 @@
1
+ export interface StorefrontParcelamento {
2
+ maximoParcelas?: number;
3
+ valorParcela?: number;
4
+ jurosParcela?: string | number;
5
+ valor1xNoCartao?: number;
6
+ valorDescontoBoleto?: string;
7
+ parcelas?: {
8
+ numeroParcela?: number;
9
+ valor?: string;
10
+ juros?: string;
11
+ desconto?: boolean;
12
+ img?: string;
13
+ }[];
14
+ estoqueMultiploVendaUnitaria?: boolean;
15
+ }
16
+ export interface StorefrontPreco {
17
+ avista?: number;
18
+ de?: number;
19
+ por?: number;
20
+ parcelamento?: StorefrontParcelamento;
21
+ porcentagemDesconto?: number;
22
+ msgAvista?: string;
23
+ estoqueMultiploVendaUnitaria?: boolean;
24
+ numeroParcelas?: number;
25
+ valorParcela?: number;
26
+ jurosParcela?: string;
27
+ imagem?: string;
28
+ valor1xNoCartao?: number;
29
+ valorDescontoBoleto?: string;
30
+ parcelas?: {
31
+ numeroParcela?: number;
32
+ valor?: string;
33
+ juros?: string;
34
+ desconto?: boolean;
35
+ img?: string;
36
+ }[];
37
+ }
38
+ export interface StorefrontImagem {
39
+ url?: string;
40
+ alt?: string;
41
+ }
42
+ export interface StorefrontCardItem {
43
+ id?: number;
44
+ nome?: string;
45
+ preco?: StorefrontPreco;
46
+ slug?: string;
47
+ status?: string;
48
+ categorias?: StorefrontCategoria[];
49
+ estoque?: number;
50
+ selos?: StorefrontSelo[];
51
+ descricao?: string;
52
+ avaliacao?: StorefrontAvaliacao;
53
+ imagens?: StorefrontImagem[];
54
+ imagemPrincipal?: string;
55
+ precoFormatado?: string;
56
+ precoDeFormatado?: string | null;
57
+ parcelamentoTexto?: string | null;
58
+ percentualDesconto?: number | null;
59
+ estrelasPreenchidas?: number;
60
+ temDesconto?: boolean;
61
+ }
62
+ export interface StorefrontSeller {
63
+ id?: number;
64
+ nome?: string;
65
+ valorDe?: number;
66
+ valorPor?: number;
67
+ valorCrossdocking?: number;
68
+ valorRessuprimento?: number;
69
+ estoque?: number;
70
+ estoqueCrossdocking?: number;
71
+ estoqueInfinito?: number;
72
+ prazoCrossdocking?: number;
73
+ prazoRessuprimento?: string;
74
+ maximoItensPorCompra?: string;
75
+ minimoItensPorCompra?: string;
76
+ urlFrete?: string;
77
+ }
78
+ export interface StorefrontSeo {
79
+ metaDescription?: string;
80
+ metaTitlePagina?: string;
81
+ metaKeyword?: string;
82
+ metaCanonical?: string;
83
+ metaRedirect?: string;
84
+ slug?: string;
85
+ }
86
+ export interface StorefrontAtributosItem {
87
+ id?: string;
88
+ valor?: string;
89
+ contemConteudo?: boolean;
90
+ label?: string;
91
+ }
92
+ export interface StorefrontAtributos {
93
+ [key: string]: StorefrontAtributosItem;
94
+ }
95
+ export interface StorefrontEstoque {
96
+ id?: number;
97
+ quantidade?: number;
98
+ }
99
+ export interface StorefrontComentarios {
100
+ nome?: string;
101
+ avatar?: string;
102
+ nota?: number;
103
+ comentario?: string;
104
+ }
105
+ export interface StorefrontLink {
106
+ self?: string;
107
+ href?: string;
108
+ method?: string;
109
+ }
110
+ export interface StorefrontComentario {
111
+ id?: number;
112
+ titulo?: string;
113
+ nome?: string;
114
+ nota?: number;
115
+ cidade?: string;
116
+ email?: string;
117
+ data?: string;
118
+ descricao?: string;
119
+ }
120
+ export interface StorefrontAvaliacao {
121
+ notaMaxima?: number;
122
+ media?: number;
123
+ quantidade?: number;
124
+ comentarios?: StorefrontComentario[];
125
+ }
126
+ export interface StorefrontVariacaoValorSituacao {
127
+ nome?: string;
128
+ status?: string;
129
+ mensagem?: string;
130
+ }
131
+ export interface StorefrontVariacaoValorThumbnail {
132
+ id?: number;
133
+ listagem?: string;
134
+ detalhe?: string;
135
+ real?: string;
136
+ }
137
+ export interface StorefrontVariacaoValor {
138
+ nome?: string;
139
+ imagemAtivo?: string;
140
+ imagemInativo?: string;
141
+ situacao?: StorefrontVariacaoValorSituacao;
142
+ thumbnails?: StorefrontVariacaoValorThumbnail[];
143
+ }
144
+ export interface StorefrontVariacao {
145
+ tipo?: string | number;
146
+ valores?: StorefrontVariacaoValor[];
147
+ imagem?: string;
148
+ }
149
+ export interface StorefrontPropriedade {
150
+ label?: string;
151
+ opcao?: string;
152
+ imagem?: {
153
+ real?: string;
154
+ urlResizer?: string;
155
+ urlParametro?: string;
156
+ };
157
+ imagemSemEstoque?: {
158
+ real?: string;
159
+ urlResizer?: string;
160
+ urlParametro?: string;
161
+ };
162
+ id?: number;
163
+ disponibilidade?: {
164
+ precos?: StorefrontPreco[];
165
+ cd?: string;
166
+ msgDisponibilidade?: string;
167
+ quantidade?: number;
168
+ produtoGratuito?: number;
169
+ estoqueMultiplo?: number;
170
+ prazoRessuprimento?: number;
171
+ maximoItensPorCompra?: number;
172
+ minimoItensPorCompra?: number;
173
+ estoques?: StorefrontEstoque[];
174
+ };
175
+ selected?: boolean;
176
+ descricao?: string;
177
+ preco?: StorefrontPreco;
178
+ imagens?: StorefrontImagem[];
179
+ categorias?: StorefrontCategoria[];
180
+ }
181
+ export interface StorefrontItensGrade {
182
+ propriedades?: StorefrontPropriedade[];
183
+ skus?: {
184
+ idProduto?: number;
185
+ }[];
186
+ }
187
+ export interface StorefrontModeloVariacao {
188
+ variacao?: string;
189
+ variacao2?: string;
190
+ variacaoPrincipal?: string;
191
+ modelo?: string;
192
+ variacoes?: StorefrontVariacao[];
193
+ multipleVariation?: StorefrontVariacao[];
194
+ variacoesAgrupadasPorModelo?: StorefrontVariacao[];
195
+ }
196
+ export interface StorefrontProduto {
197
+ tipo?: string;
198
+ id?: number;
199
+ nome?: string;
200
+ slug?: string;
201
+ sellers?: StorefrontSeller[];
202
+ descricao?: string;
203
+ preco?: StorefrontPreco;
204
+ imagens?: StorefrontImagem[];
205
+ categorias?: StorefrontCategoria[];
206
+ estoque?: number;
207
+ peso?: number;
208
+ largura?: string;
209
+ altura?: string;
210
+ comprimento?: string;
211
+ codigo?: string;
212
+ status?: string;
213
+ selos?: StorefrontSelo[];
214
+ videos?: string;
215
+ variacao?: StorefrontVariacao[];
216
+ itensGrade?: StorefrontItensGrade;
217
+ atributos?: StorefrontAtributos[];
218
+ modeloVariacao?: StorefrontModeloVariacao;
219
+ kit?: StorefrontProduto[];
220
+ kitAgrupado?: StorefrontProduto[];
221
+ seo?: StorefrontSeo;
222
+ avaliacao?: StorefrontAvaliacao;
223
+ msgDisponibilidade?: string;
224
+ produtoGratuito?: number;
225
+ estoqueMultiplo?: number;
226
+ prazoRessuprimento?: number;
227
+ maximoItensPorCompra?: number;
228
+ minimoItensPorCompra?: number;
229
+ estoques?: StorefrontEstoque[];
230
+ }
231
+ export interface StorefrontCategoria {
232
+ id?: number;
233
+ nome?: string;
234
+ slug?: string;
235
+ imagem?: string;
236
+ path?: string;
237
+ }
238
+ export interface StorefrontSelo {
239
+ id?: number;
240
+ nome?: string;
241
+ imagem?: string;
242
+ link?: string;
243
+ }
244
+ export interface StorefrontFabricante {
245
+ id?: number;
246
+ nome?: string;
247
+ slug?: string;
248
+ imagemPrimaria?: string;
249
+ imagemSecundaria?: string;
250
+ }
251
+ export interface StorefrontColaborador {
252
+ id?: number;
253
+ nome?: string;
254
+ descricao?: string;
255
+ imagem?: string;
256
+ tipo?: string | number;
257
+ }
258
+ export interface StorefrontDownload {
259
+ nome?: string;
260
+ url?: string;
261
+ }
262
+ export interface StorefrontVitrine {
263
+ id?: number;
264
+ nome?: string;
265
+ slug?: string;
266
+ descricao?: string;
267
+ produtos?: StorefrontCardItem[];
268
+ }
269
+ export interface StorefrontCarrinhoProdutos {
270
+ id?: number;
271
+ nome?: string;
272
+ codigo?: string;
273
+ slug?: string;
274
+ quantidade: number;
275
+ valorNominal?: number;
276
+ valorPromocional?: string;
277
+ valorAvista?: number;
278
+ valorFinal?: number;
279
+ valorFinalAvista?: number;
280
+ descricao?: string;
281
+ peso?: number | null;
282
+ estoque?: number;
283
+ variacao?: string;
284
+ imagens?: StorefrontImagem[];
285
+ preco?: StorefrontPreco;
286
+ }
287
+ export interface StorefrontCliente {
288
+ sexo?: string;
289
+ tipo?: string;
290
+ validacaoCadastro?: string;
291
+ }
292
+ export interface StorefrontUsuario {
293
+ id?: number;
294
+ nome?: string;
295
+ email?: string;
296
+ tipoCliente?: string;
297
+ token?: string;
298
+ cliente?: StorefrontCliente;
299
+ }
300
+ export interface StorefrontEndereco {
301
+ id?: number;
302
+ destinatario?: string;
303
+ cep?: string;
304
+ endereco?: string;
305
+ logradouro?: string;
306
+ numero?: string;
307
+ complemento?: string;
308
+ bairro?: string;
309
+ estado?: string;
310
+ cidade?: string;
311
+ nomeEndereco?: string;
312
+ tipo?: string;
313
+ }
314
+ export interface StorefrontCadastroPF {
315
+ email: string;
316
+ telefone: string;
317
+ senha: string;
318
+ endereco: StorefrontEndereco;
319
+ newsletters: boolean;
320
+ nome: string;
321
+ cpf: string;
322
+ sexo?: string;
323
+ }
324
+ export interface StorefrontCadastroPJ {
325
+ email: string;
326
+ telefone: string;
327
+ celular?: string;
328
+ senha: string;
329
+ endereco: Omit<StorefrontEndereco, 'nomeEndereco'>;
330
+ nomeFantasia: string;
331
+ razaoSocial: string;
332
+ cnpj: string;
333
+ responsavel: string;
334
+ inscricaoEstadual: string;
335
+ }
336
+ export interface StorefrontLogotipo {
337
+ real?: string;
338
+ urlResizer?: string;
339
+ urlParametro?: string;
340
+ }
341
+ export interface StorefrontDadosLoja {
342
+ logotipo?: StorefrontLogotipo;
343
+ logotipoRodape?: StorefrontLogotipo;
344
+ favicon?: string;
345
+ razaoSocial?: string;
346
+ nomeFantasia?: string;
347
+ nomeLoja?: string;
348
+ fraseRodape?: string;
349
+ emailSAC?: string;
350
+ telefoneSAC?: string;
351
+ horarioAtendimento?: string;
352
+ enderecoLoja?: string;
353
+ enderecoGoogleMaps?: string;
354
+ numeroWhatsapp?: string;
355
+ exibirWhatsapp?: boolean;
356
+ }
357
+ export interface StorefrontLayoutTopo {
358
+ mensagem?: string;
359
+ }
360
+ export interface StorefrontLayout {
361
+ topo?: StorefrontLayoutTopo;
362
+ [chave: string]: unknown;
363
+ }
364
+ export interface StorefrontConfiguracoes {
365
+ parametrosGerais?: Record<string, unknown>;
366
+ dadosLoja?: StorefrontDadosLoja;
367
+ layout?: StorefrontLayout;
368
+ modulos?: Record<string, unknown>;
369
+ parametros?: Record<string, unknown>;
370
+ }
371
+ export interface StorefrontRedeSocial {
372
+ nome: string;
373
+ icone?: string;
374
+ link: string;
375
+ imagem?: string;
376
+ temImagem: boolean;
377
+ }
378
+ export interface StorefrontOpcaoFrete {
379
+ nome: string;
380
+ valor: number;
381
+ prazo?: number;
382
+ prazoTexto?: string;
383
+ codigo?: string;
384
+ }
385
+ export interface StorefrontResultadoFrete {
386
+ opcoes: StorefrontOpcaoFrete[];
387
+ erro?: string;
388
+ }
389
+ export interface StorefrontProdutosRelacionadosSecao {
390
+ id: number;
391
+ nome: string;
392
+ slug: string;
393
+ descricao: string;
394
+ produtos: StorefrontCardItem[];
395
+ }
396
+ export interface StorefrontProdutosRelacionados {
397
+ compreTambem: StorefrontProdutosRelacionadosSecao;
398
+ produtosSimilares: StorefrontProdutosRelacionadosSecao;
399
+ produtosAutor: StorefrontProdutosRelacionadosSecao;
400
+ }
401
+ export interface StorefrontNewsletterResposta {
402
+ mensagens?: string[];
403
+ }
404
+ export interface StorefrontParcelaInfo {
405
+ numero?: number;
406
+ valor?: number;
407
+ total?: number;
408
+ taxa?: number;
409
+ }
410
+ export interface StorefrontMetodoPagamento {
411
+ codigo?: string;
412
+ codigos?: string[];
413
+ nome?: string;
414
+ tipo?: string;
415
+ bandeiras?: string[];
416
+ parcelas?: StorefrontParcelaInfo[];
417
+ valorAvista?: number;
418
+ }
419
+ export interface StorefrontPedidoProdutoPreco {
420
+ preco?: string;
421
+ precoDe?: string;
422
+ precoPor?: string;
423
+ precoDeJuros?: string;
424
+ precoPorJuros?: string;
425
+ precoAvista?: string;
426
+ precoAvistaJuros?: string;
427
+ desconto?: string;
428
+ preco1x?: string;
429
+ precoDescontoBoleto?: string;
430
+ }
431
+ export interface StorefrontPedidoProduto {
432
+ id?: number;
433
+ imagem?: string;
434
+ descricao?: string;
435
+ nome?: string;
436
+ codigo?: string;
437
+ variacao?: string;
438
+ quantidade?: number;
439
+ disponibilidade?: string;
440
+ preco?: StorefrontPedidoProdutoPreco;
441
+ }
442
+ export interface StorefrontPedidoEntrega {
443
+ nomeDestinatario?: string;
444
+ endereco?: string;
445
+ numero?: string;
446
+ bairro?: string;
447
+ cidade?: string;
448
+ cep?: string;
449
+ complemento?: string;
450
+ estado?: string;
451
+ }
452
+ export interface StorefrontPedidoPagamento {
453
+ nome?: string;
454
+ parametro?: string;
455
+ meioPagamento?: string;
456
+ valor?: number;
457
+ parcelas?: number;
458
+ imagem?: string;
459
+ descricao?: string;
460
+ pagamentoPixChave?: string;
461
+ linkOrderCancel?: string;
462
+ }
463
+ export interface StorefrontPedidoDados {
464
+ numero?: string;
465
+ data?: string;
466
+ idStatus?: number;
467
+ status?: string;
468
+ desconto?: number;
469
+ tipoDeFrete?: string;
470
+ frete?: number;
471
+ subtotal?: number;
472
+ total?: number;
473
+ }
474
+ export interface StorefrontPedido {
475
+ id?: number;
476
+ dados?: StorefrontPedidoDados;
477
+ entrega?: StorefrontPedidoEntrega;
478
+ pagamento?: StorefrontPedidoPagamento;
479
+ produtos?: StorefrontPedidoProduto[];
480
+ }
481
+ export interface StorefrontPedidosResponse {
482
+ pedidos: StorefrontPedido[];
483
+ paginador?: StorefrontPaginador;
484
+ }
485
+ export type TipoCadastro = 'PF' | 'PJ';
486
+ export interface StorefrontDadosCadastraisPF {
487
+ email?: string;
488
+ nome?: string;
489
+ cpf?: string;
490
+ dataNascimento?: string;
491
+ sexo?: string;
492
+ newsletters?: boolean;
493
+ rg?: string;
494
+ telefone: {
495
+ residencial?: string;
496
+ whatsapp?: string;
497
+ comercial?: string;
498
+ celular?: string;
499
+ };
500
+ }
501
+ export interface StorefrontDadosCadastraisPJ {
502
+ email?: string;
503
+ nomeFantasia?: string;
504
+ razaoSocial?: string;
505
+ cnpj?: string;
506
+ responsavel?: string;
507
+ inscricaoEstadual?: string;
508
+ newsletters?: boolean;
509
+ telefone?: {
510
+ residencial?: string;
511
+ whatsapp?: string;
512
+ comercial?: string;
513
+ celular?: string;
514
+ };
515
+ }
516
+ export type StorefrontDadosCadastrais = StorefrontDadosCadastraisPF | StorefrontDadosCadastraisPJ;
517
+ export interface StorefrontCategoryTree {
518
+ name?: string;
519
+ path?: string;
520
+ }
521
+ export interface StorefrontOrdenacao {
522
+ label?: string;
523
+ value?: string;
524
+ }
525
+ export interface StorefrontPaginador {
526
+ primeiraPagina?: number;
527
+ proximaPagina?: number | null;
528
+ paginaAtual?: number;
529
+ porPagina?: number;
530
+ total?: number;
531
+ ultimaPagina?: number;
532
+ }
533
+ export interface StorefrontCategoriaListagem {
534
+ nome?: string;
535
+ descricao?: string | null;
536
+ imagem?: string;
537
+ imagem2?: string;
538
+ apelido?: string | null;
539
+ resumo?: string | null;
540
+ slug?: string;
541
+ subtitulo?: string | null;
542
+ categoryTree?: StorefrontCategoryTree[];
543
+ exibirMenuTodasCategorias?: boolean;
544
+ exibeFiltros?: boolean;
545
+ produtosDestaque?: boolean;
546
+ seo?: StorefrontSeo;
547
+ produtos?: StorefrontCardItem[];
548
+ opcoesOrdenacao?: StorefrontOrdenacao[];
549
+ paginador?: StorefrontPaginador;
550
+ }
551
+ export interface StorefrontVitrineListagem {
552
+ nome?: string;
553
+ descricao?: string | null;
554
+ imagem?: string;
555
+ imagem2?: string;
556
+ apelido?: string | null;
557
+ resumo?: string | null;
558
+ slug?: string;
559
+ subtitulo?: string | null;
560
+ categoryTree?: StorefrontCategoryTree[];
561
+ exibirMenuTodasCategorias?: boolean;
562
+ exibeFiltros?: boolean;
563
+ produtosDestaque?: boolean;
564
+ seo?: StorefrontSeo;
565
+ produtos?: StorefrontCardItem[];
566
+ opcoesOrdenacao?: StorefrontOrdenacao[];
567
+ paginador?: StorefrontPaginador;
568
+ hrefLink?: string;
569
+ textoLink?: string;
570
+ }
571
+ export interface StorefrontFiltroOpcao {
572
+ value: string;
573
+ label: string;
574
+ checked?: boolean;
575
+ }
576
+ export interface StorefrontFiltroSecao {
577
+ id: string;
578
+ name: string;
579
+ options: StorefrontFiltroOpcao[];
580
+ min?: number;
581
+ max?: number;
582
+ avg?: number;
583
+ }
584
+ export interface StorefrontFiltroAtivo {
585
+ secaoId: string;
586
+ valor: string;
587
+ label: string;
588
+ }
589
+ export interface StorefrontSubcategoriaItem {
590
+ id?: number;
591
+ nome?: string;
592
+ slug?: string;
593
+ path?: string;
594
+ imagem?: string;
595
+ }
596
+ export interface StorefrontFiltroPreco {
597
+ de?: string;
598
+ ate?: string;
599
+ label?: string;
600
+ link?: string;
601
+ }
602
+ export interface OpcaoFrete {
603
+ nome?: string;
604
+ valor?: number;
605
+ prazo?: number;
606
+ prazoTexto?: string;
607
+ codigo?: string;
608
+ freteGratis?: boolean;
609
+ mensagem?: string;
610
+ prazoEntrega?: number;
611
+ tipoPrazo?: string;
612
+ }
613
+ export interface ResultadoFrete {
614
+ opcoes?: OpcaoFrete[];
615
+ erro?: string;
616
+ }
617
+ export interface DropdownItem {
618
+ label?: string;
619
+ href?: string;
620
+ icon?: string;
621
+ }
622
+ export interface DropdownCategoria {
623
+ titulo?: string;
624
+ itens: DropdownItem[];
625
+ }
626
+ export interface DropdownBanner {
627
+ titulo?: string;
628
+ label?: string;
629
+ imagem?: string;
630
+ href?: string;
631
+ }
632
+ export interface StorefrontBanner {
633
+ id?: number;
634
+ status?: string;
635
+ nome?: string;
636
+ link?: string;
637
+ descricao?: string;
638
+ ordem?: number;
639
+ blank?: boolean;
640
+ html?: string;
641
+ imagem?: string;
642
+ posicao?: string;
643
+ localizacao?: string;
644
+ largura?: string;
645
+ altura?: string;
646
+ extensao?: string;
647
+ tipo?: string;
648
+ newsletter?: number;
649
+ textoInicial?: string;
650
+ exibeHome?: number;
651
+ inicioExibicao?: string;
652
+ fimExibicao?: string;
653
+ exibeCategorias?: boolean;
654
+ exibeMarcas?: boolean;
655
+ exibeVitrines?: boolean;
656
+ exibeLojasEspeciais?: boolean;
657
+ dispositivo?: string;
658
+ exibeBusca?: boolean;
659
+ carrossel?: boolean;
660
+ }
661
+ export interface StorefrontMenu {
662
+ menu?: StorefrontMenuEsquema;
663
+ }
664
+ export interface StorefrontMenuEsquema {
665
+ principal?: StorefrontMenuPrincipal[];
666
+ categorias?: StorefrontMenuCategorias;
667
+ links?: StorefrontMenuLinks;
668
+ rodape?: StorefrontMenuRodape[];
669
+ }
670
+ export interface StorefrontMenuPrincipal {
671
+ id?: number;
672
+ identificador?: string;
673
+ titulo?: string;
674
+ nome?: string;
675
+ link?: string;
676
+ exibirCategorias?: boolean;
677
+ produto?: string;
678
+ target?: string;
679
+ image?: string;
680
+ imageWidth?: string;
681
+ imageHeight?: string;
682
+ icones?: {
683
+ ativo?: string;
684
+ inativo?: string;
685
+ };
686
+ iconePrincipal?: string;
687
+ iconeSecundario?: string;
688
+ submenu?: StorefrontMenuSubmenu[];
689
+ }
690
+ export interface StorefrontMenuSubmenu {
691
+ id?: number;
692
+ identificador?: string;
693
+ classIcone?: string;
694
+ titulo?: string;
695
+ nome?: string;
696
+ exibirMenuTodasCategorias?: number;
697
+ link?: string;
698
+ slug?: string;
699
+ imagem?: string;
700
+ imagem2?: string;
701
+ imageWidth?: string;
702
+ imageHeight?: string;
703
+ submenu?: StorefrontMenuSubmenu[];
704
+ }
705
+ export interface StorefrontMenuCategorias {
706
+ selecionadas?: string[];
707
+ padrao?: StorefrontMenuPadrao[];
708
+ }
709
+ export interface StorefrontMenuPadrao {
710
+ id?: number;
711
+ nome?: string;
712
+ link?: string;
713
+ slug?: string;
714
+ exibirMenuTodasCategorias?: number;
715
+ imagem?: string;
716
+ imagem2?: string;
717
+ submenu?: StorefrontMenuSubmenu[];
718
+ }
719
+ export interface StorefrontMenuLinks {
720
+ self?: string;
721
+ href?: string;
722
+ method?: string;
723
+ }
724
+ export interface StorefrontMenuRodape {
725
+ titulo?: string;
726
+ identificador?: string;
727
+ link?: string;
728
+ tipo?: string;
729
+ classIcone?: string;
730
+ urlImagem?: string;
731
+ submenu?: StorefrontMenuSubmenu[];
732
+ }
733
+ export interface StorefrontCarrinho {
734
+ id: string;
735
+ produtos: StorefrontCarrinhoProdutos[];
736
+ info?: StorefrontCarrinhoInfo;
737
+ }
738
+ export interface StorefrontCarrinhoInfo {
739
+ valorDescontoProdutos?: number;
740
+ valorTotalEmbalagens?: number;
741
+ valorTotalAVista?: string;
742
+ valorTotalAPrazo?: string;
743
+ valorFrete?: number;
744
+ valorProdutosAPrazo?: string;
745
+ valorProdutosAVista?: string;
746
+ valorNominalProdutos?: string;
747
+ quantidadeItens?: number;
748
+ numeroMaximoParcelas?: number;
749
+ valorParcela?: string;
750
+ }
751
+ export interface StorefrontPagamentosLinks {
752
+ autorizacao?: string;
753
+ destino?: string;
754
+ link?: string;
755
+ metodo?: string;
756
+ }
757
+ export interface StorefrontPagamentos {
758
+ dados?: StorefrontPagamentosDados[];
759
+ links?: StorefrontPagamentosLinks;
760
+ }
761
+ export interface StorefrontPagamentosDados {
762
+ id?: number;
763
+ nome?: string;
764
+ imagem?: string;
765
+ imagemCustomizada?: string;
766
+ imagemCompleta?: string;
767
+ condicoes?: StorefrontPagamentosCondicoes[];
768
+ }
769
+ export interface StorefrontPagamentosCondicoes {
770
+ idCondicaoPagamento?: number;
771
+ idMeioPagamento?: number;
772
+ parcelasCondicaoPagamento?: number;
773
+ porcentagem?: string;
774
+ parcelaMinima?: string;
775
+ bcashJuros?: number;
776
+ ativo?: string;
777
+ tipoVariacao?: number;
778
+ habilita2Cartoes?: number;
779
+ enviarTotalComJuros?: number;
780
+ nomeParcela?: string;
781
+ codigoExportacao?: string;
782
+ somenteTelevendes?: string;
783
+ visivelCliente?: number;
784
+ excluido?: string;
785
+ }
786
+ export interface StorefrontCmsHome {
787
+ tipo?: string;
788
+ tipoComponente?: string;
789
+ idComponente?: number;
790
+ posicaoComponente?: string;
791
+ ordem?: number;
792
+ slug?: string;
793
+ localizacao?: string;
794
+ }
795
+ export interface StorefrontPaginaResponse {
796
+ conteudo?: string;
797
+ }
798
+ export interface StorefrontEsqueceuSenhaTokenResponse {
799
+ token?: string;
800
+ emailHash?: string;
801
+ }
802
+ export interface StorefrontRedefinirSenhaResponse {
803
+ mensagem?: string;
804
+ }
805
+ export interface StorefrontFavoritoResponse {
806
+ produtos?: StorefrontProduto[];
807
+ }
808
+ export interface StorefrontFormularioAvaliacao {
809
+ idProduto?: number;
810
+ nota?: number;
811
+ nome?: string;
812
+ ip?: string;
813
+ email?: string;
814
+ titulo?: string;
815
+ comentario?: string;
816
+ cidade?: string;
817
+ dataAvaliacao?: string;
818
+ }
819
+ export interface StorefrontAvisemeResponse {
820
+ mensagem?: string;
821
+ }
822
+ export interface CadastroCompleto {
823
+ tipo?: string;
824
+ email?: string;
825
+ senha?: string;
826
+ dataNascimento?: string;
827
+ confirmarSenha?: string;
828
+ nome?: string;
829
+ cpf?: string;
830
+ rg?: string;
831
+ sexo?: string;
832
+ razaoSocial?: string;
833
+ nomeFantasia?: string;
834
+ responsavel?: string;
835
+ cnpj?: string;
836
+ inscricaoEstadual?: string;
837
+ cidade?: string;
838
+ bairro?: string;
839
+ logradouro?: string;
840
+ numero?: string;
841
+ cep?: string;
842
+ complemento?: string;
843
+ estado?: string;
844
+ telefone?: {
845
+ residencial?: string;
846
+ whatsapp?: string;
847
+ comercial?: string;
848
+ celular?: string;
849
+ };
850
+ celular?: string;
851
+ newsletters?: boolean;
852
+ endereco?: StorefrontEndereco;
853
+ }
854
+ export interface StorefrontCamposCadastroResponse {
855
+ pf?: StorefrontCamposCadastroResponsePF[];
856
+ pj?: StorefrontCamposCadastroResponsePJ[];
857
+ endereco?: StorefrontCamposCadastroResponseEndereco[];
858
+ }
859
+ export interface StorefrontCamposCadastroResponsePF {
860
+ nome?: string;
861
+ cpf?: string;
862
+ }
863
+ export interface StorefrontCamposCadastroResponsePJ {
864
+ razaoSocial?: string;
865
+ nomeFantasia?: string;
866
+ responsavel?: string;
867
+ cnpj?: string;
868
+ inscricaoEstadual?: string;
869
+ }
870
+ export interface StorefrontCamposCadastroResponseEndereco {
871
+ cidade?: string;
872
+ bairro?: string;
873
+ logradouro?: string;
874
+ numero?: string;
875
+ cep?: string;
876
+ }
877
+ export interface StorefrontProdutoDetalheProdutos {
878
+ produtos?: StorefrontProdutoDetalhe;
879
+ }
880
+ export interface StorefrontProdutoDetalhe {
881
+ dados?: StorefrontProdutoDetalheProdutos;
882
+ }
883
+ export interface storefrontArquivo {
884
+ nome?: string;
885
+ url?: string;
886
+ }
887
+ export interface storefrontMidia {
888
+ imagens?: StorefrontImagem[];
889
+ selos?: StorefrontSelo[];
890
+ videos?: string;
891
+ arquivos?: storefrontArquivo[];
892
+ }
893
+ export interface storefrontDetalheLink {
894
+ destino?: string;
895
+ href?: string;
896
+ metodo?: string;
897
+ }
898
+ export interface storefrontDetalheEbook {
899
+ nome?: string;
900
+ url?: string;
901
+ }
902
+ export interface storefrontDetalheSituacao {
903
+ nome?: string;
904
+ status?: string;
905
+ mensagem?: string;
906
+ }
907
+ export interface storefrontDetalhamento {
908
+ tipo?: string;
909
+ peso?: number;
910
+ pesoCubico?: string;
911
+ largura?: string;
912
+ altura?: string;
913
+ comprimento?: string;
914
+ codigo?: string;
915
+ status?: string;
916
+ situacao?: storefrontDetalheSituacao;
917
+ nome?: string;
918
+ descricao?: string;
919
+ linkAlternativo?: string;
920
+ dataCadastro?: string;
921
+ tipoProduto?: string;
922
+ produtoExclusivoConvenio?: number;
923
+ dataPrevenda?: string;
924
+ quantidadePedidos?: number;
925
+ garantia?: number;
926
+ }
927
+ export interface storefrontDetalheParcela {
928
+ numeroParcela?: number;
929
+ valor?: string;
930
+ juros?: string;
931
+ desconto?: boolean;
932
+ img?: string;
933
+ }
934
+ export interface storefrontDetalhePreco {
935
+ de?: number;
936
+ por?: number;
937
+ avista?: number;
938
+ numeroParcelas?: number;
939
+ valorParcela?: number;
940
+ jurosParcela?: string;
941
+ imagem?: string;
942
+ valorDescontoBoleto?: string;
943
+ porcentagemDesconto?: number;
944
+ msgAvista?: string;
945
+ parcelas?: storefrontDetalheParcela[];
946
+ valor1xNoCartao?: string | number | undefined;
947
+ }
948
+ export interface storefrontDetalheEstoqueInfoCd {
949
+ nome?: string;
950
+ regiao?: string;
951
+ }
952
+ export interface storefrontDetalheEstoque {
953
+ infoCd?: storefrontDetalheEstoqueInfoCd;
954
+ id?: number;
955
+ quantidade?: number;
956
+ de?: number;
957
+ por?: number;
958
+ avista?: number;
959
+ porcentagemDesconto?: number;
960
+ numeroParcelas?: number;
961
+ valorParcela?: number;
962
+ jurosParcela?: string;
963
+ imagem?: string;
964
+ valor1xNoCartao?: string | number | undefined;
965
+ msgAvista?: string;
966
+ valorDescontoBoleto?: string;
967
+ parcelas?: storefrontDetalheParcela[];
968
+ }
969
+ export interface storefrontDetalheDisponibilidade {
970
+ precos?: storefrontDetalhePreco[];
971
+ cd?: string;
972
+ quantidade?: number;
973
+ msg_disponibilidade?: string;
974
+ produto_gratuito?: number;
975
+ estoque_multiplo?: number;
976
+ prazo_ressuprimento?: number;
977
+ maximo_itens_por_compra?: number;
978
+ minimo_itens_por_compra?: number;
979
+ estoques?: storefrontDetalheEstoque[];
980
+ }
981
+ export interface StorefrontProdutoDetalhe {
982
+ id?: number;
983
+ sellers?: StorefrontSeller[];
984
+ slug?: string;
985
+ nome?: string;
986
+ idProdutoGradePai?: string;
987
+ classificacaoIten?: string;
988
+ itensGrade?: StorefrontItensGrade;
989
+ modeloVariacao?: StorefrontModeloVariacao;
990
+ kit?: StorefrontProdutoDetalhe[];
991
+ ebook?: storefrontDetalheEbook[];
992
+ seo?: StorefrontSeo;
993
+ detalhe?: storefrontDetalhamento;
994
+ disponibilidade?: storefrontDetalheDisponibilidade;
995
+ download?: StorefrontDownload[];
996
+ categorias?: StorefrontCategoria[];
997
+ filtros?: StorefrontFiltroOpcao[];
998
+ colaboradores?: StorefrontColaborador[];
999
+ fabricante?: StorefrontFabricante[];
1000
+ midia?: storefrontMidia[];
1001
+ avaliacao?: StorefrontAvaliacao;
1002
+ linksParceiros?: storefrontDetalheLink[];
1003
+ links?: StorefrontLink[];
1004
+ atributos?: StorefrontAtributos[];
1005
+ }