termo_core 0.1.4 → 0.1.6
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/ai/rotas.d.ts +0 -263
- package/dist/ai/rotas.js +0 -397
- package/dist/ai/tipos.d.ts +0 -202
- package/dist/auth/rotas.d.ts +0 -8
- package/dist/auth/rotas.js +0 -16
- package/dist/auth/tipos.d.ts +0 -8
- package/dist/bucket/rotas.d.ts +3 -3
- package/dist/bucket/rotas.js +3 -3
- package/dist/intranet/rotas.d.ts +0 -335
- package/dist/intranet/rotas.js +0 -463
- package/dist/intranet/tipos.d.ts +0 -210
- package/dist/leads/rotas.d.ts +0 -334
- package/dist/leads/rotas.js +0 -440
- package/dist/leads/tipos.d.ts +0 -653
- package/dist/portal/rotas.d.ts +47 -454
- package/dist/portal/rotas.js +37 -635
- package/dist/portal/tipos.d.ts +125 -314
- package/dist/support/rotas.d.ts +0 -306
- package/dist/support/rotas.js +0 -420
- package/dist/support/tipos.d.ts +0 -216
- package/dist/tracing/rotas.d.ts +0 -305
- package/dist/tracing/rotas.js +0 -415
- package/dist/tracing/tipos.d.ts +0 -250
- package/dist/webhook/rotas.d.ts +0 -333
- package/dist/webhook/rotas.js +0 -458
- package/dist/webhook/tipos.d.ts +0 -255
- package/package.json +1 -1
package/dist/portal/tipos.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
export interface AdicionalDoItem {
|
|
2
|
+
produto: OpcaoDoItem;
|
|
3
|
+
quantidade: number;
|
|
4
|
+
}
|
|
5
|
+
export interface AdicionalEscolhido {
|
|
6
|
+
produto_id: string;
|
|
7
|
+
quantidade: number;
|
|
8
|
+
}
|
|
1
9
|
export interface AnexoDoPedido {
|
|
2
10
|
arquivo_id?: string | null;
|
|
3
11
|
nome: string;
|
|
@@ -5,12 +13,9 @@ export interface AnexoDoPedido {
|
|
|
5
13
|
tipo: string;
|
|
6
14
|
url?: string | null;
|
|
7
15
|
}
|
|
8
|
-
export interface
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export interface ArquivoEnvio {
|
|
12
|
-
arquivo: string;
|
|
13
|
-
pasta: string;
|
|
16
|
+
export interface AnexoNaoConformidade {
|
|
17
|
+
nome: string;
|
|
18
|
+
url?: string | null;
|
|
14
19
|
}
|
|
15
20
|
export interface BoletimTecnico {
|
|
16
21
|
atualizado_em: string;
|
|
@@ -89,15 +94,6 @@ export interface BoletimTecnicoPaginador {
|
|
|
89
94
|
total_categorias: number;
|
|
90
95
|
vazias: number;
|
|
91
96
|
}
|
|
92
|
-
export interface BuscaTermotubos {
|
|
93
|
-
itens: Array<ItemCatalogoTermotubos>;
|
|
94
|
-
pagina: number;
|
|
95
|
-
tem_mais: boolean;
|
|
96
|
-
termos_invalidos: Array<TermoInvalido>;
|
|
97
|
-
total_paginas?: number | null;
|
|
98
|
-
total_registros?: number | null;
|
|
99
|
-
truncado: boolean;
|
|
100
|
-
}
|
|
101
97
|
export interface Carrinho {
|
|
102
98
|
atualizado_em: string;
|
|
103
99
|
criado_em: string;
|
|
@@ -216,9 +212,6 @@ export interface ClientePaginador {
|
|
|
216
212
|
tamanho: number;
|
|
217
213
|
total: number;
|
|
218
214
|
}
|
|
219
|
-
export interface ClienteSincronizar {
|
|
220
|
-
cursor?: number | null;
|
|
221
|
-
}
|
|
222
215
|
export interface CompraDoMes {
|
|
223
216
|
comprado: number;
|
|
224
217
|
mes: string;
|
|
@@ -248,6 +241,14 @@ export interface ContagemExpedicoes {
|
|
|
248
241
|
todas: number;
|
|
249
242
|
transito: number;
|
|
250
243
|
}
|
|
244
|
+
export interface ContagemNaoConformidades {
|
|
245
|
+
abertas: number;
|
|
246
|
+
fechadas: number;
|
|
247
|
+
ocorrencias: number;
|
|
248
|
+
rascunho: number;
|
|
249
|
+
rnc: number;
|
|
250
|
+
todas: number;
|
|
251
|
+
}
|
|
251
252
|
export interface ContagemNotasFiscais {
|
|
252
253
|
hoje: number;
|
|
253
254
|
mes: number;
|
|
@@ -365,6 +366,13 @@ export interface CotacaoPaginador {
|
|
|
365
366
|
tamanho: number;
|
|
366
367
|
total: number;
|
|
367
368
|
}
|
|
369
|
+
export interface CustoNaoConformidade {
|
|
370
|
+
categoria?: string | null;
|
|
371
|
+
criado_em?: string | null;
|
|
372
|
+
grupo?: string | null;
|
|
373
|
+
id?: number | null;
|
|
374
|
+
valor?: number | null;
|
|
375
|
+
}
|
|
368
376
|
export interface DadosInternosProdutoTermotubos {
|
|
369
377
|
alterado_no_tiny?: string | null;
|
|
370
378
|
categoria_completa?: string | null;
|
|
@@ -391,6 +399,17 @@ export interface DepositoProdutoTermotubos {
|
|
|
391
399
|
reservado?: number | null;
|
|
392
400
|
saldo?: number | null;
|
|
393
401
|
}
|
|
402
|
+
export interface DetalheNaoConformidadeTermotubosParte2 {
|
|
403
|
+
anexos: Array<AnexoNaoConformidade>;
|
|
404
|
+
atualizado_por?: string | null;
|
|
405
|
+
custos: Array<CustoNaoConformidade>;
|
|
406
|
+
etapas: Array<EtapaNaoConformidade>;
|
|
407
|
+
grupo_do_motivo?: string | null;
|
|
408
|
+
grupo_do_problema?: string | null;
|
|
409
|
+
ultima_reabertura_em?: string | null;
|
|
410
|
+
ultima_reabertura_por?: string | null;
|
|
411
|
+
}
|
|
412
|
+
export type DetalheNaoConformidadeTermotubos = NaoConformidadeTermotubos & DetalheNaoConformidadeTermotubosParte2;
|
|
394
413
|
export interface Endereco {
|
|
395
414
|
apelido?: string | null;
|
|
396
415
|
atualizado_em: string;
|
|
@@ -444,8 +463,16 @@ export interface EnderecoEntrega {
|
|
|
444
463
|
numero?: string | null;
|
|
445
464
|
}
|
|
446
465
|
export interface EscolhaDoItem {
|
|
466
|
+
adicionais?: Array<AdicionalEscolhido>;
|
|
447
467
|
produto_id?: string | null;
|
|
448
468
|
quantidade: number;
|
|
469
|
+
remover?: boolean;
|
|
470
|
+
}
|
|
471
|
+
export interface EtapaNaoConformidade {
|
|
472
|
+
chave: string;
|
|
473
|
+
mensagens: Array<MensagemNaoConformidade>;
|
|
474
|
+
responsaveis: Array<string>;
|
|
475
|
+
titulo: string;
|
|
449
476
|
}
|
|
450
477
|
export interface ExpedicaoTermotubos {
|
|
451
478
|
atualizado_em?: string | null;
|
|
@@ -524,13 +551,6 @@ export interface HistoricoPrecoTermotubos {
|
|
|
524
551
|
preco?: number | null;
|
|
525
552
|
preco_promocional?: number | null;
|
|
526
553
|
}
|
|
527
|
-
export interface ImportacaoProdutos {
|
|
528
|
-
atualizados: number;
|
|
529
|
-
conflitos: number;
|
|
530
|
-
criados: number;
|
|
531
|
-
falhas: number;
|
|
532
|
-
itens: Array<ItemSincronizado>;
|
|
533
|
-
}
|
|
534
554
|
export interface IndicadoresDeCompra {
|
|
535
555
|
amostra: boolean;
|
|
536
556
|
anterior?: number | null;
|
|
@@ -559,20 +579,8 @@ export interface IndicadoresDeVenda {
|
|
|
559
579
|
por_dia: Array<VendaDoDia>;
|
|
560
580
|
por_vendedor: Array<VendaAgrupada>;
|
|
561
581
|
}
|
|
562
|
-
export interface ItemCatalogoTermotubos {
|
|
563
|
-
ativo?: boolean | null;
|
|
564
|
-
estoque?: number | null;
|
|
565
|
-
imagem_url?: string | null;
|
|
566
|
-
ja_existe: boolean;
|
|
567
|
-
ncm?: string | null;
|
|
568
|
-
nome: string;
|
|
569
|
-
preco: number;
|
|
570
|
-
preco_a_vista?: number | null;
|
|
571
|
-
sku: string;
|
|
572
|
-
tem_imagem: boolean;
|
|
573
|
-
unidade?: string | null;
|
|
574
|
-
}
|
|
575
582
|
export interface ItemDoPedido {
|
|
583
|
+
adicionais?: Array<AdicionalDoItem>;
|
|
576
584
|
escolhido?: OpcaoDoItem | null;
|
|
577
585
|
observacao?: string | null;
|
|
578
586
|
opcoes: Array<OpcaoDoItem>;
|
|
@@ -594,13 +602,55 @@ export interface ItemPedidoVenda {
|
|
|
594
602
|
quantidade?: number | null;
|
|
595
603
|
sku?: string | null;
|
|
596
604
|
}
|
|
597
|
-
export interface
|
|
598
|
-
|
|
605
|
+
export interface MensagemNaoConformidade {
|
|
606
|
+
autor?: string | null;
|
|
607
|
+
criada_em?: string | null;
|
|
608
|
+
id?: number | null;
|
|
609
|
+
imagens: Array<string>;
|
|
610
|
+
texto: string;
|
|
611
|
+
}
|
|
612
|
+
export interface NaoConformidadePaginador {
|
|
613
|
+
contagens: ContagemNaoConformidades;
|
|
614
|
+
paginas: number;
|
|
615
|
+
resumo: ResumoNaoConformidades;
|
|
616
|
+
tamanho: number;
|
|
617
|
+
total: number;
|
|
618
|
+
}
|
|
619
|
+
export interface NaoConformidadeTermotubos {
|
|
620
|
+
aberta_em?: string | null;
|
|
621
|
+
avaliacao_prevista_em?: string | null;
|
|
622
|
+
cliente?: string | null;
|
|
623
|
+
cliente_documento?: string | null;
|
|
624
|
+
codigo_produto?: string | null;
|
|
625
|
+
criado_por?: string | null;
|
|
626
|
+
custo_total?: number | null;
|
|
627
|
+
documento?: string | null;
|
|
628
|
+
eficaz?: boolean | null;
|
|
629
|
+
emitente?: string | null;
|
|
630
|
+
emitente_departamento?: string | null;
|
|
631
|
+
fechada_em?: string | null;
|
|
632
|
+
fornecedor?: string | null;
|
|
633
|
+
gravidade?: string | null;
|
|
634
|
+
id: number;
|
|
635
|
+
lote?: string | null;
|
|
599
636
|
motivo?: string | null;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
637
|
+
nota_fiscal?: number | null;
|
|
638
|
+
objetivo?: string | null;
|
|
639
|
+
origem?: string | null;
|
|
640
|
+
prazo_acao_corretiva?: string | null;
|
|
641
|
+
primeira_reclamacao_em?: string | null;
|
|
642
|
+
problema?: string | null;
|
|
643
|
+
quantidade?: number | null;
|
|
644
|
+
reaberturas?: number | null;
|
|
645
|
+
responsavel?: string | null;
|
|
646
|
+
responsavel_departamento?: string | null;
|
|
647
|
+
responsavel_tipo?: string | null;
|
|
648
|
+
situacao?: string | null;
|
|
649
|
+
situacao_id?: number | null;
|
|
650
|
+
supervisor?: string | null;
|
|
651
|
+
tipo?: string | null;
|
|
652
|
+
transportadora?: string | null;
|
|
653
|
+
validacao?: string | null;
|
|
604
654
|
}
|
|
605
655
|
export interface NotaFiscalParte2 {
|
|
606
656
|
parcelas: Array<ParcelaNotaFiscal>;
|
|
@@ -865,39 +915,12 @@ export interface PaginaPedidoAutoComplete {
|
|
|
865
915
|
tamanho: number;
|
|
866
916
|
total: number;
|
|
867
917
|
}
|
|
868
|
-
export interface PaginaPerfilItensItem {
|
|
869
|
-
atualizado_em: string;
|
|
870
|
-
base: boolean;
|
|
871
|
-
criado_em: string;
|
|
872
|
-
id: string;
|
|
873
|
-
nome: string;
|
|
874
|
-
permissoes: Array<PerfilPermissao>;
|
|
875
|
-
permissoes_administrativas: Array<string>;
|
|
876
|
-
quantidade_pessoas: number;
|
|
877
|
-
resumo?: string | null;
|
|
878
|
-
slug: string;
|
|
879
|
-
tipo: string;
|
|
880
|
-
}
|
|
881
|
-
export interface PaginaPerfil {
|
|
882
|
-
itens: Array<PaginaPerfilItensItem>;
|
|
883
|
-
pagina: number;
|
|
884
|
-
tamanho: number;
|
|
885
|
-
total: number;
|
|
886
|
-
}
|
|
887
|
-
export interface PaginaPerfilAutoCompleteItensItem {
|
|
888
|
-
id: string;
|
|
889
|
-
nome: string;
|
|
890
|
-
}
|
|
891
|
-
export interface PaginaPerfilAutoComplete {
|
|
892
|
-
itens: Array<PaginaPerfilAutoCompleteItensItem>;
|
|
893
|
-
pagina: number;
|
|
894
|
-
tamanho: number;
|
|
895
|
-
total: number;
|
|
896
|
-
}
|
|
897
918
|
export interface PaginaProdutoItensItem {
|
|
898
919
|
ativo: boolean;
|
|
899
920
|
atualizado_em: string;
|
|
900
921
|
categoria_tiny?: string | null;
|
|
922
|
+
comprimento?: string | null;
|
|
923
|
+
comprimento_unidade?: string | null;
|
|
901
924
|
cor?: string | null;
|
|
902
925
|
criado_em: string;
|
|
903
926
|
demonstracao: boolean;
|
|
@@ -923,6 +946,8 @@ export interface PaginaProdutoItensItem {
|
|
|
923
946
|
incremento_minimo: number;
|
|
924
947
|
lancamento: boolean;
|
|
925
948
|
marca_tiny?: string | null;
|
|
949
|
+
medida?: string | null;
|
|
950
|
+
medida_unidade?: string | null;
|
|
926
951
|
ncm?: string | null;
|
|
927
952
|
nome: string;
|
|
928
953
|
nome_comercial?: string | null;
|
|
@@ -962,59 +987,6 @@ export interface PaginaProdutoAutoComplete {
|
|
|
962
987
|
tamanho: number;
|
|
963
988
|
total: number;
|
|
964
989
|
}
|
|
965
|
-
export interface PaginaProdutoConflitoSincronizacaoItensItem {
|
|
966
|
-
atualizado_em: string;
|
|
967
|
-
campo: string;
|
|
968
|
-
criado_em: string;
|
|
969
|
-
id: string;
|
|
970
|
-
produto_id: string;
|
|
971
|
-
produto_nome: string;
|
|
972
|
-
produto_sku: string;
|
|
973
|
-
resolucao?: string | null;
|
|
974
|
-
resolvido_em?: string | null;
|
|
975
|
-
valor_api: string;
|
|
976
|
-
valor_local: string;
|
|
977
|
-
}
|
|
978
|
-
export interface PaginaProdutoConflitoSincronizacao {
|
|
979
|
-
itens: Array<PaginaProdutoConflitoSincronizacaoItensItem>;
|
|
980
|
-
pagina: number;
|
|
981
|
-
tamanho: number;
|
|
982
|
-
total: number;
|
|
983
|
-
}
|
|
984
|
-
export interface PaginaProdutoConflitoSincronizacaoAutoCompleteItensItem {
|
|
985
|
-
id: string;
|
|
986
|
-
rotulo: string;
|
|
987
|
-
}
|
|
988
|
-
export interface PaginaProdutoConflitoSincronizacaoAutoComplete {
|
|
989
|
-
itens: Array<PaginaProdutoConflitoSincronizacaoAutoCompleteItensItem>;
|
|
990
|
-
pagina: number;
|
|
991
|
-
tamanho: number;
|
|
992
|
-
total: number;
|
|
993
|
-
}
|
|
994
|
-
export interface PaginaTabelaAuxiliarItensItem {
|
|
995
|
-
atualizado_em: string;
|
|
996
|
-
campo: string;
|
|
997
|
-
criado_em: string;
|
|
998
|
-
id: string;
|
|
999
|
-
label: string;
|
|
1000
|
-
tabela: string;
|
|
1001
|
-
}
|
|
1002
|
-
export interface PaginaTabelaAuxiliar {
|
|
1003
|
-
itens: Array<PaginaTabelaAuxiliarItensItem>;
|
|
1004
|
-
pagina: number;
|
|
1005
|
-
tamanho: number;
|
|
1006
|
-
total: number;
|
|
1007
|
-
}
|
|
1008
|
-
export interface PaginaTabelaAuxiliarAutoCompleteItensItem {
|
|
1009
|
-
id: string;
|
|
1010
|
-
label: string;
|
|
1011
|
-
}
|
|
1012
|
-
export interface PaginaTabelaAuxiliarAutoComplete {
|
|
1013
|
-
itens: Array<PaginaTabelaAuxiliarAutoCompleteItensItem>;
|
|
1014
|
-
pagina: number;
|
|
1015
|
-
tamanho: number;
|
|
1016
|
-
total: number;
|
|
1017
|
-
}
|
|
1018
990
|
export interface PaginaUnidadeItensItem {
|
|
1019
991
|
atualizado_em: string;
|
|
1020
992
|
aviso_limite_percentual: number;
|
|
@@ -1028,6 +1000,7 @@ export interface PaginaUnidadeItensItem {
|
|
|
1028
1000
|
email_comercial?: string | null;
|
|
1029
1001
|
filiais: Array<UnidadeReferencia>;
|
|
1030
1002
|
id: string;
|
|
1003
|
+
imagem?: string | null;
|
|
1031
1004
|
inscricao_estadual?: string | null;
|
|
1032
1005
|
inscricao_municipal?: string | null;
|
|
1033
1006
|
limite_faturamento?: number | null;
|
|
@@ -1066,29 +1039,6 @@ export interface PaginadorPedidosVendaTiny {
|
|
|
1066
1039
|
total_paginas: number;
|
|
1067
1040
|
total_registros: number;
|
|
1068
1041
|
}
|
|
1069
|
-
export interface PainelProdutoLinha {
|
|
1070
|
-
chave: string;
|
|
1071
|
-
codigo: string;
|
|
1072
|
-
configurado: boolean;
|
|
1073
|
-
cor: string;
|
|
1074
|
-
estado: string;
|
|
1075
|
-
estoque?: number | null;
|
|
1076
|
-
id: string;
|
|
1077
|
-
imagem?: string | null;
|
|
1078
|
-
na_vitrine: boolean;
|
|
1079
|
-
nome: string;
|
|
1080
|
-
origem: string;
|
|
1081
|
-
preco: number;
|
|
1082
|
-
sincronizado_em?: string | null;
|
|
1083
|
-
skus: Array<string>;
|
|
1084
|
-
tem_imagem: boolean;
|
|
1085
|
-
tipo: string;
|
|
1086
|
-
}
|
|
1087
|
-
export interface PainelProdutoPaginador {
|
|
1088
|
-
paginas: number;
|
|
1089
|
-
tamanho: number;
|
|
1090
|
-
total: number;
|
|
1091
|
-
}
|
|
1092
1042
|
export interface ParcelaNotaFiscal {
|
|
1093
1043
|
forma_pagamento?: string | null;
|
|
1094
1044
|
numero: string;
|
|
@@ -1149,6 +1099,7 @@ export interface PedidoDaEntrega {
|
|
|
1149
1099
|
export interface PedidoInteligente {
|
|
1150
1100
|
anexos: Array<AnexoDoPedido>;
|
|
1151
1101
|
atualizado_em: string;
|
|
1102
|
+
aviso?: string | null;
|
|
1152
1103
|
cotacao_id?: string | null;
|
|
1153
1104
|
criado_em: string;
|
|
1154
1105
|
erro?: string | null;
|
|
@@ -1161,7 +1112,8 @@ export interface PedidoInteligente {
|
|
|
1161
1112
|
unidade_id: string;
|
|
1162
1113
|
}
|
|
1163
1114
|
export interface PedidoInteligenteAtualizar {
|
|
1164
|
-
|
|
1115
|
+
incluir_pedido_id?: string | null;
|
|
1116
|
+
itens?: Array<EscolhaDoItem> | null;
|
|
1165
1117
|
}
|
|
1166
1118
|
export interface PedidoInteligenteEnvio {
|
|
1167
1119
|
arquivo: Array<string>;
|
|
@@ -1236,66 +1188,16 @@ export interface PedidoVendaTinyAutoComplete {
|
|
|
1236
1188
|
id: number;
|
|
1237
1189
|
rotulo: string;
|
|
1238
1190
|
}
|
|
1239
|
-
export interface
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
}
|
|
1243
|
-
export interface Perfil {
|
|
1244
|
-
atualizado_em: string;
|
|
1245
|
-
base: boolean;
|
|
1246
|
-
criado_em: string;
|
|
1247
|
-
id: string;
|
|
1248
|
-
nome: string;
|
|
1249
|
-
permissoes: Array<PerfilPermissao>;
|
|
1250
|
-
permissoes_administrativas: Array<string>;
|
|
1251
|
-
quantidade_pessoas: number;
|
|
1252
|
-
resumo?: string | null;
|
|
1253
|
-
slug: string;
|
|
1254
|
-
tipo: string;
|
|
1255
|
-
}
|
|
1256
|
-
export interface PerfilAtualizar {
|
|
1257
|
-
base?: boolean | null;
|
|
1258
|
-
nome?: string | null;
|
|
1259
|
-
permissoes?: Array<PerfilPermissaoEntrada> | null;
|
|
1260
|
-
permissoes_administrativas?: Array<string> | null;
|
|
1261
|
-
resumo?: string | null;
|
|
1262
|
-
}
|
|
1263
|
-
export interface PerfilAutoComplete {
|
|
1264
|
-
id: string;
|
|
1265
|
-
nome: string;
|
|
1266
|
-
}
|
|
1267
|
-
export interface PerfilCriar {
|
|
1268
|
-
base?: boolean | null;
|
|
1269
|
-
nome: string;
|
|
1270
|
-
permissoes?: Array<PerfilPermissaoEntrada> | null;
|
|
1271
|
-
permissoes_administrativas?: Array<string> | null;
|
|
1272
|
-
resumo?: string | null;
|
|
1273
|
-
tipo?: string | null;
|
|
1274
|
-
}
|
|
1275
|
-
export interface PerfilPermissao {
|
|
1276
|
-
criar: boolean;
|
|
1277
|
-
editar: boolean;
|
|
1278
|
-
excluir: boolean;
|
|
1279
|
-
modulo: string;
|
|
1280
|
-
mostrar_na_sidebar: boolean;
|
|
1281
|
-
mostrar_nas_configuracoes: boolean;
|
|
1282
|
-
pagina: string;
|
|
1283
|
-
ver: boolean;
|
|
1284
|
-
}
|
|
1285
|
-
export interface PerfilPermissaoEntrada {
|
|
1286
|
-
criar: boolean;
|
|
1287
|
-
editar: boolean;
|
|
1288
|
-
excluir: boolean;
|
|
1289
|
-
modulo: string;
|
|
1290
|
-
mostrar_na_sidebar?: boolean | null;
|
|
1291
|
-
mostrar_nas_configuracoes?: boolean | null;
|
|
1292
|
-
pagina?: string | null;
|
|
1293
|
-
ver: boolean;
|
|
1191
|
+
export interface ProblemaFrequente {
|
|
1192
|
+
problema: string;
|
|
1193
|
+
quantidade: number;
|
|
1294
1194
|
}
|
|
1295
1195
|
export interface Produto {
|
|
1296
1196
|
ativo: boolean;
|
|
1297
1197
|
atualizado_em: string;
|
|
1298
1198
|
categoria_tiny?: string | null;
|
|
1199
|
+
comprimento?: string | null;
|
|
1200
|
+
comprimento_unidade?: string | null;
|
|
1299
1201
|
cor?: string | null;
|
|
1300
1202
|
criado_em: string;
|
|
1301
1203
|
demonstracao: boolean;
|
|
@@ -1321,6 +1223,8 @@ export interface Produto {
|
|
|
1321
1223
|
incremento_minimo: number;
|
|
1322
1224
|
lancamento: boolean;
|
|
1323
1225
|
marca_tiny?: string | null;
|
|
1226
|
+
medida?: string | null;
|
|
1227
|
+
medida_unidade?: string | null;
|
|
1324
1228
|
ncm?: string | null;
|
|
1325
1229
|
nome: string;
|
|
1326
1230
|
nome_comercial?: string | null;
|
|
@@ -1345,6 +1249,8 @@ export interface Produto {
|
|
|
1345
1249
|
}
|
|
1346
1250
|
export interface ProdutoAtualizar {
|
|
1347
1251
|
ativo?: boolean | null;
|
|
1252
|
+
comprimento?: string | null;
|
|
1253
|
+
comprimento_unidade?: string | null;
|
|
1348
1254
|
cor?: string | null;
|
|
1349
1255
|
descricao?: string | null;
|
|
1350
1256
|
embalagem?: string | null;
|
|
@@ -1357,6 +1263,8 @@ export interface ProdutoAtualizar {
|
|
|
1357
1263
|
imagens?: Array<string> | null;
|
|
1358
1264
|
incremento_minimo?: number | null;
|
|
1359
1265
|
lancamento?: boolean | null;
|
|
1266
|
+
medida?: string | null;
|
|
1267
|
+
medida_unidade?: string | null;
|
|
1360
1268
|
nome?: string | null;
|
|
1361
1269
|
nome_comercial?: string | null;
|
|
1362
1270
|
outras_informacoes?: string | null;
|
|
@@ -1385,32 +1293,6 @@ export interface ProdutoComprado {
|
|
|
1385
1293
|
ultima_quantidade: number;
|
|
1386
1294
|
vezes: number;
|
|
1387
1295
|
}
|
|
1388
|
-
export interface ProdutoConflitoSincronizacao {
|
|
1389
|
-
atualizado_em: string;
|
|
1390
|
-
campo: string;
|
|
1391
|
-
criado_em: string;
|
|
1392
|
-
id: string;
|
|
1393
|
-
produto_id: string;
|
|
1394
|
-
produto_nome: string;
|
|
1395
|
-
produto_sku: string;
|
|
1396
|
-
resolucao?: string | null;
|
|
1397
|
-
resolvido_em?: string | null;
|
|
1398
|
-
valor_api: string;
|
|
1399
|
-
valor_local: string;
|
|
1400
|
-
}
|
|
1401
|
-
export interface ProdutoConflitoSincronizacaoAtualizar {
|
|
1402
|
-
resolucao: string;
|
|
1403
|
-
}
|
|
1404
|
-
export interface ProdutoConflitoSincronizacaoAutoComplete {
|
|
1405
|
-
id: string;
|
|
1406
|
-
rotulo: string;
|
|
1407
|
-
}
|
|
1408
|
-
export interface ProdutoConflitoSincronizacaoCriar {
|
|
1409
|
-
campo: string;
|
|
1410
|
-
produto_id: string;
|
|
1411
|
-
valor_api: string;
|
|
1412
|
-
valor_local: string;
|
|
1413
|
-
}
|
|
1414
1296
|
export interface ProdutoCriar {
|
|
1415
1297
|
ativo?: boolean | null;
|
|
1416
1298
|
cor?: string | null;
|
|
@@ -1456,9 +1338,6 @@ export interface ProdutoRelacionado {
|
|
|
1456
1338
|
unidade: string;
|
|
1457
1339
|
unidade_medida: string;
|
|
1458
1340
|
}
|
|
1459
|
-
export interface ProdutoTermotubosCriar {
|
|
1460
|
-
skus: Array<string>;
|
|
1461
|
-
}
|
|
1462
1341
|
export interface ProdutoTiny {
|
|
1463
1342
|
dados?: DadosInternosProdutoTermotubos | null;
|
|
1464
1343
|
depositos: Array<DepositoProdutoTermotubos>;
|
|
@@ -1518,90 +1397,18 @@ export interface ResumoExpedicoes {
|
|
|
1518
1397
|
notas_hoje: number;
|
|
1519
1398
|
proxima_entrega?: string | null;
|
|
1520
1399
|
}
|
|
1400
|
+
export interface ResumoNaoConformidades {
|
|
1401
|
+
abertas_com_gravidade_alta: number;
|
|
1402
|
+
custo_total: number;
|
|
1403
|
+
mais_antiga_aberta_em?: string | null;
|
|
1404
|
+
media_de_dias_para_fechar?: number | null;
|
|
1405
|
+
problemas_frequentes: Array<ProblemaFrequente>;
|
|
1406
|
+
ultima_aberta_em?: string | null;
|
|
1407
|
+
}
|
|
1521
1408
|
export interface ResumoPedidosVenda {
|
|
1522
1409
|
pedidos_hoje: number;
|
|
1523
1410
|
pedidos_no_mes: number;
|
|
1524
1411
|
}
|
|
1525
|
-
export interface ResumoSincronizacaoCatalogo {
|
|
1526
|
-
atualizados: number;
|
|
1527
|
-
conferidos: number;
|
|
1528
|
-
conflitos: number;
|
|
1529
|
-
criados: number;
|
|
1530
|
-
falhas: number;
|
|
1531
|
-
}
|
|
1532
|
-
export interface SincronizacaoClientes {
|
|
1533
|
-
cursor?: number | null;
|
|
1534
|
-
gravados: number;
|
|
1535
|
-
proximo_cursor?: number | null;
|
|
1536
|
-
total: number;
|
|
1537
|
-
}
|
|
1538
|
-
export interface SincronizacaoPedidosVendaTiny {
|
|
1539
|
-
gravados: number;
|
|
1540
|
-
modo: string;
|
|
1541
|
-
pagina: number;
|
|
1542
|
-
proxima_pagina?: number | null;
|
|
1543
|
-
total_paginas: number;
|
|
1544
|
-
total_registros: number;
|
|
1545
|
-
}
|
|
1546
|
-
export interface StatusSincronizacaoCatalogo {
|
|
1547
|
-
cancelada: boolean;
|
|
1548
|
-
erro?: string | null;
|
|
1549
|
-
etapa?: string | null;
|
|
1550
|
-
gravados: number;
|
|
1551
|
-
iniciada_em?: string | null;
|
|
1552
|
-
resumo: ResumoSincronizacaoCatalogo;
|
|
1553
|
-
rodando: boolean;
|
|
1554
|
-
terminada_em?: string | null;
|
|
1555
|
-
total?: number | null;
|
|
1556
|
-
}
|
|
1557
|
-
export interface StatusSincronizacaoNotasFiscais {
|
|
1558
|
-
cancelada: boolean;
|
|
1559
|
-
concluida: boolean;
|
|
1560
|
-
erro?: string | null;
|
|
1561
|
-
gravados: number;
|
|
1562
|
-
iniciada_em?: string | null;
|
|
1563
|
-
pagina: number;
|
|
1564
|
-
progresso: number;
|
|
1565
|
-
rodando: boolean;
|
|
1566
|
-
terminada_em?: string | null;
|
|
1567
|
-
total_paginas: number;
|
|
1568
|
-
}
|
|
1569
|
-
export interface StatusSincronizacaoRastreamento {
|
|
1570
|
-
cancelada: boolean;
|
|
1571
|
-
concluida: boolean;
|
|
1572
|
-
erro?: string | null;
|
|
1573
|
-
gravados: number;
|
|
1574
|
-
iniciada_em?: string | null;
|
|
1575
|
-
pagina: number;
|
|
1576
|
-
progresso: number;
|
|
1577
|
-
rodando: boolean;
|
|
1578
|
-
terminada_em?: string | null;
|
|
1579
|
-
total_paginas: number;
|
|
1580
|
-
}
|
|
1581
|
-
export interface TabelaAuxiliar {
|
|
1582
|
-
atualizado_em: string;
|
|
1583
|
-
campo: string;
|
|
1584
|
-
criado_em: string;
|
|
1585
|
-
id: string;
|
|
1586
|
-
label: string;
|
|
1587
|
-
tabela: string;
|
|
1588
|
-
}
|
|
1589
|
-
export interface TabelaAuxiliarAtualizar {
|
|
1590
|
-
label?: string | null;
|
|
1591
|
-
}
|
|
1592
|
-
export interface TabelaAuxiliarAutoComplete {
|
|
1593
|
-
id: string;
|
|
1594
|
-
label: string;
|
|
1595
|
-
}
|
|
1596
|
-
export interface TabelaAuxiliarCriar {
|
|
1597
|
-
campo: string;
|
|
1598
|
-
label: string;
|
|
1599
|
-
tabela: string;
|
|
1600
|
-
}
|
|
1601
|
-
export interface TermoInvalido {
|
|
1602
|
-
motivo: string;
|
|
1603
|
-
valor: string;
|
|
1604
|
-
}
|
|
1605
1412
|
export interface TopEmpresaPedido {
|
|
1606
1413
|
documento?: string | null;
|
|
1607
1414
|
nome: string;
|
|
@@ -1637,6 +1444,7 @@ export interface Unidade {
|
|
|
1637
1444
|
email_comercial?: string | null;
|
|
1638
1445
|
filiais: Array<UnidadeReferencia>;
|
|
1639
1446
|
id: string;
|
|
1447
|
+
imagem?: string | null;
|
|
1640
1448
|
inscricao_estadual?: string | null;
|
|
1641
1449
|
inscricao_municipal?: string | null;
|
|
1642
1450
|
limite_faturamento?: number | null;
|
|
@@ -1656,6 +1464,7 @@ export interface UnidadeAtualizar {
|
|
|
1656
1464
|
contato_compras?: string | null;
|
|
1657
1465
|
contato_financeiro?: string | null;
|
|
1658
1466
|
email_comercial?: string | null;
|
|
1467
|
+
imagem?: string | null;
|
|
1659
1468
|
inscricao_estadual?: string | null;
|
|
1660
1469
|
inscricao_municipal?: string | null;
|
|
1661
1470
|
limite_faturamento?: number | null;
|
|
@@ -1694,12 +1503,14 @@ export type UnidadeCriarTiny = Record<string, unknown>;
|
|
|
1694
1503
|
export interface UnidadeDoCliente {
|
|
1695
1504
|
cnpj: string;
|
|
1696
1505
|
id: string;
|
|
1506
|
+
imagem?: string | null;
|
|
1697
1507
|
razao_social: string;
|
|
1698
1508
|
status?: string | null;
|
|
1699
1509
|
}
|
|
1700
1510
|
export interface UnidadeReferencia {
|
|
1701
1511
|
cnpj: string;
|
|
1702
1512
|
id: string;
|
|
1513
|
+
imagem?: string | null;
|
|
1703
1514
|
razao_social: string;
|
|
1704
1515
|
}
|
|
1705
1516
|
export interface VendaAgrupada {
|