termo_core 0.1.4 → 0.1.5
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/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 +46 -453
- package/dist/portal/rotas.js +36 -634
- package/dist/portal/tipos.d.ts +108 -313
- 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
|
@@ -5,12 +5,9 @@ export interface AnexoDoPedido {
|
|
|
5
5
|
tipo: string;
|
|
6
6
|
url?: string | null;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export interface ArquivoEnvio {
|
|
12
|
-
arquivo: string;
|
|
13
|
-
pasta: string;
|
|
8
|
+
export interface AnexoNaoConformidade {
|
|
9
|
+
nome: string;
|
|
10
|
+
url?: string | null;
|
|
14
11
|
}
|
|
15
12
|
export interface BoletimTecnico {
|
|
16
13
|
atualizado_em: string;
|
|
@@ -89,15 +86,6 @@ export interface BoletimTecnicoPaginador {
|
|
|
89
86
|
total_categorias: number;
|
|
90
87
|
vazias: number;
|
|
91
88
|
}
|
|
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
89
|
export interface Carrinho {
|
|
102
90
|
atualizado_em: string;
|
|
103
91
|
criado_em: string;
|
|
@@ -216,9 +204,6 @@ export interface ClientePaginador {
|
|
|
216
204
|
tamanho: number;
|
|
217
205
|
total: number;
|
|
218
206
|
}
|
|
219
|
-
export interface ClienteSincronizar {
|
|
220
|
-
cursor?: number | null;
|
|
221
|
-
}
|
|
222
207
|
export interface CompraDoMes {
|
|
223
208
|
comprado: number;
|
|
224
209
|
mes: string;
|
|
@@ -248,6 +233,14 @@ export interface ContagemExpedicoes {
|
|
|
248
233
|
todas: number;
|
|
249
234
|
transito: number;
|
|
250
235
|
}
|
|
236
|
+
export interface ContagemNaoConformidades {
|
|
237
|
+
abertas: number;
|
|
238
|
+
fechadas: number;
|
|
239
|
+
ocorrencias: number;
|
|
240
|
+
rascunho: number;
|
|
241
|
+
rnc: number;
|
|
242
|
+
todas: number;
|
|
243
|
+
}
|
|
251
244
|
export interface ContagemNotasFiscais {
|
|
252
245
|
hoje: number;
|
|
253
246
|
mes: number;
|
|
@@ -365,6 +358,13 @@ export interface CotacaoPaginador {
|
|
|
365
358
|
tamanho: number;
|
|
366
359
|
total: number;
|
|
367
360
|
}
|
|
361
|
+
export interface CustoNaoConformidade {
|
|
362
|
+
categoria?: string | null;
|
|
363
|
+
criado_em?: string | null;
|
|
364
|
+
grupo?: string | null;
|
|
365
|
+
id?: number | null;
|
|
366
|
+
valor?: number | null;
|
|
367
|
+
}
|
|
368
368
|
export interface DadosInternosProdutoTermotubos {
|
|
369
369
|
alterado_no_tiny?: string | null;
|
|
370
370
|
categoria_completa?: string | null;
|
|
@@ -391,6 +391,17 @@ export interface DepositoProdutoTermotubos {
|
|
|
391
391
|
reservado?: number | null;
|
|
392
392
|
saldo?: number | null;
|
|
393
393
|
}
|
|
394
|
+
export interface DetalheNaoConformidadeTermotubosParte2 {
|
|
395
|
+
anexos: Array<AnexoNaoConformidade>;
|
|
396
|
+
atualizado_por?: string | null;
|
|
397
|
+
custos: Array<CustoNaoConformidade>;
|
|
398
|
+
etapas: Array<EtapaNaoConformidade>;
|
|
399
|
+
grupo_do_motivo?: string | null;
|
|
400
|
+
grupo_do_problema?: string | null;
|
|
401
|
+
ultima_reabertura_em?: string | null;
|
|
402
|
+
ultima_reabertura_por?: string | null;
|
|
403
|
+
}
|
|
404
|
+
export type DetalheNaoConformidadeTermotubos = NaoConformidadeTermotubos & DetalheNaoConformidadeTermotubosParte2;
|
|
394
405
|
export interface Endereco {
|
|
395
406
|
apelido?: string | null;
|
|
396
407
|
atualizado_em: string;
|
|
@@ -446,6 +457,13 @@ export interface EnderecoEntrega {
|
|
|
446
457
|
export interface EscolhaDoItem {
|
|
447
458
|
produto_id?: string | null;
|
|
448
459
|
quantidade: number;
|
|
460
|
+
remover?: boolean;
|
|
461
|
+
}
|
|
462
|
+
export interface EtapaNaoConformidade {
|
|
463
|
+
chave: string;
|
|
464
|
+
mensagens: Array<MensagemNaoConformidade>;
|
|
465
|
+
responsaveis: Array<string>;
|
|
466
|
+
titulo: string;
|
|
449
467
|
}
|
|
450
468
|
export interface ExpedicaoTermotubos {
|
|
451
469
|
atualizado_em?: string | null;
|
|
@@ -524,13 +542,6 @@ export interface HistoricoPrecoTermotubos {
|
|
|
524
542
|
preco?: number | null;
|
|
525
543
|
preco_promocional?: number | null;
|
|
526
544
|
}
|
|
527
|
-
export interface ImportacaoProdutos {
|
|
528
|
-
atualizados: number;
|
|
529
|
-
conflitos: number;
|
|
530
|
-
criados: number;
|
|
531
|
-
falhas: number;
|
|
532
|
-
itens: Array<ItemSincronizado>;
|
|
533
|
-
}
|
|
534
545
|
export interface IndicadoresDeCompra {
|
|
535
546
|
amostra: boolean;
|
|
536
547
|
anterior?: number | null;
|
|
@@ -559,19 +570,6 @@ export interface IndicadoresDeVenda {
|
|
|
559
570
|
por_dia: Array<VendaDoDia>;
|
|
560
571
|
por_vendedor: Array<VendaAgrupada>;
|
|
561
572
|
}
|
|
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
573
|
export interface ItemDoPedido {
|
|
576
574
|
escolhido?: OpcaoDoItem | null;
|
|
577
575
|
observacao?: string | null;
|
|
@@ -594,13 +592,55 @@ export interface ItemPedidoVenda {
|
|
|
594
592
|
quantidade?: number | null;
|
|
595
593
|
sku?: string | null;
|
|
596
594
|
}
|
|
597
|
-
export interface
|
|
598
|
-
|
|
595
|
+
export interface MensagemNaoConformidade {
|
|
596
|
+
autor?: string | null;
|
|
597
|
+
criada_em?: string | null;
|
|
598
|
+
id?: number | null;
|
|
599
|
+
imagens: Array<string>;
|
|
600
|
+
texto: string;
|
|
601
|
+
}
|
|
602
|
+
export interface NaoConformidadePaginador {
|
|
603
|
+
contagens: ContagemNaoConformidades;
|
|
604
|
+
paginas: number;
|
|
605
|
+
resumo: ResumoNaoConformidades;
|
|
606
|
+
tamanho: number;
|
|
607
|
+
total: number;
|
|
608
|
+
}
|
|
609
|
+
export interface NaoConformidadeTermotubos {
|
|
610
|
+
aberta_em?: string | null;
|
|
611
|
+
avaliacao_prevista_em?: string | null;
|
|
612
|
+
cliente?: string | null;
|
|
613
|
+
cliente_documento?: string | null;
|
|
614
|
+
codigo_produto?: string | null;
|
|
615
|
+
criado_por?: string | null;
|
|
616
|
+
custo_total?: number | null;
|
|
617
|
+
documento?: string | null;
|
|
618
|
+
eficaz?: boolean | null;
|
|
619
|
+
emitente?: string | null;
|
|
620
|
+
emitente_departamento?: string | null;
|
|
621
|
+
fechada_em?: string | null;
|
|
622
|
+
fornecedor?: string | null;
|
|
623
|
+
gravidade?: string | null;
|
|
624
|
+
id: number;
|
|
625
|
+
lote?: string | null;
|
|
599
626
|
motivo?: string | null;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
627
|
+
nota_fiscal?: number | null;
|
|
628
|
+
objetivo?: string | null;
|
|
629
|
+
origem?: string | null;
|
|
630
|
+
prazo_acao_corretiva?: string | null;
|
|
631
|
+
primeira_reclamacao_em?: string | null;
|
|
632
|
+
problema?: string | null;
|
|
633
|
+
quantidade?: number | null;
|
|
634
|
+
reaberturas?: number | null;
|
|
635
|
+
responsavel?: string | null;
|
|
636
|
+
responsavel_departamento?: string | null;
|
|
637
|
+
responsavel_tipo?: string | null;
|
|
638
|
+
situacao?: string | null;
|
|
639
|
+
situacao_id?: number | null;
|
|
640
|
+
supervisor?: string | null;
|
|
641
|
+
tipo?: string | null;
|
|
642
|
+
transportadora?: string | null;
|
|
643
|
+
validacao?: string | null;
|
|
604
644
|
}
|
|
605
645
|
export interface NotaFiscalParte2 {
|
|
606
646
|
parcelas: Array<ParcelaNotaFiscal>;
|
|
@@ -865,39 +905,12 @@ export interface PaginaPedidoAutoComplete {
|
|
|
865
905
|
tamanho: number;
|
|
866
906
|
total: number;
|
|
867
907
|
}
|
|
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
908
|
export interface PaginaProdutoItensItem {
|
|
898
909
|
ativo: boolean;
|
|
899
910
|
atualizado_em: string;
|
|
900
911
|
categoria_tiny?: string | null;
|
|
912
|
+
comprimento?: string | null;
|
|
913
|
+
comprimento_unidade?: string | null;
|
|
901
914
|
cor?: string | null;
|
|
902
915
|
criado_em: string;
|
|
903
916
|
demonstracao: boolean;
|
|
@@ -923,6 +936,8 @@ export interface PaginaProdutoItensItem {
|
|
|
923
936
|
incremento_minimo: number;
|
|
924
937
|
lancamento: boolean;
|
|
925
938
|
marca_tiny?: string | null;
|
|
939
|
+
medida?: string | null;
|
|
940
|
+
medida_unidade?: string | null;
|
|
926
941
|
ncm?: string | null;
|
|
927
942
|
nome: string;
|
|
928
943
|
nome_comercial?: string | null;
|
|
@@ -962,59 +977,6 @@ export interface PaginaProdutoAutoComplete {
|
|
|
962
977
|
tamanho: number;
|
|
963
978
|
total: number;
|
|
964
979
|
}
|
|
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
980
|
export interface PaginaUnidadeItensItem {
|
|
1019
981
|
atualizado_em: string;
|
|
1020
982
|
aviso_limite_percentual: number;
|
|
@@ -1066,29 +1028,6 @@ export interface PaginadorPedidosVendaTiny {
|
|
|
1066
1028
|
total_paginas: number;
|
|
1067
1029
|
total_registros: number;
|
|
1068
1030
|
}
|
|
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
1031
|
export interface ParcelaNotaFiscal {
|
|
1093
1032
|
forma_pagamento?: string | null;
|
|
1094
1033
|
numero: string;
|
|
@@ -1149,6 +1088,7 @@ export interface PedidoDaEntrega {
|
|
|
1149
1088
|
export interface PedidoInteligente {
|
|
1150
1089
|
anexos: Array<AnexoDoPedido>;
|
|
1151
1090
|
atualizado_em: string;
|
|
1091
|
+
aviso?: string | null;
|
|
1152
1092
|
cotacao_id?: string | null;
|
|
1153
1093
|
criado_em: string;
|
|
1154
1094
|
erro?: string | null;
|
|
@@ -1236,66 +1176,16 @@ export interface PedidoVendaTinyAutoComplete {
|
|
|
1236
1176
|
id: number;
|
|
1237
1177
|
rotulo: string;
|
|
1238
1178
|
}
|
|
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;
|
|
1179
|
+
export interface ProblemaFrequente {
|
|
1180
|
+
problema: string;
|
|
1181
|
+
quantidade: number;
|
|
1294
1182
|
}
|
|
1295
1183
|
export interface Produto {
|
|
1296
1184
|
ativo: boolean;
|
|
1297
1185
|
atualizado_em: string;
|
|
1298
1186
|
categoria_tiny?: string | null;
|
|
1187
|
+
comprimento?: string | null;
|
|
1188
|
+
comprimento_unidade?: string | null;
|
|
1299
1189
|
cor?: string | null;
|
|
1300
1190
|
criado_em: string;
|
|
1301
1191
|
demonstracao: boolean;
|
|
@@ -1321,6 +1211,8 @@ export interface Produto {
|
|
|
1321
1211
|
incremento_minimo: number;
|
|
1322
1212
|
lancamento: boolean;
|
|
1323
1213
|
marca_tiny?: string | null;
|
|
1214
|
+
medida?: string | null;
|
|
1215
|
+
medida_unidade?: string | null;
|
|
1324
1216
|
ncm?: string | null;
|
|
1325
1217
|
nome: string;
|
|
1326
1218
|
nome_comercial?: string | null;
|
|
@@ -1345,6 +1237,8 @@ export interface Produto {
|
|
|
1345
1237
|
}
|
|
1346
1238
|
export interface ProdutoAtualizar {
|
|
1347
1239
|
ativo?: boolean | null;
|
|
1240
|
+
comprimento?: string | null;
|
|
1241
|
+
comprimento_unidade?: string | null;
|
|
1348
1242
|
cor?: string | null;
|
|
1349
1243
|
descricao?: string | null;
|
|
1350
1244
|
embalagem?: string | null;
|
|
@@ -1357,6 +1251,8 @@ export interface ProdutoAtualizar {
|
|
|
1357
1251
|
imagens?: Array<string> | null;
|
|
1358
1252
|
incremento_minimo?: number | null;
|
|
1359
1253
|
lancamento?: boolean | null;
|
|
1254
|
+
medida?: string | null;
|
|
1255
|
+
medida_unidade?: string | null;
|
|
1360
1256
|
nome?: string | null;
|
|
1361
1257
|
nome_comercial?: string | null;
|
|
1362
1258
|
outras_informacoes?: string | null;
|
|
@@ -1385,32 +1281,6 @@ export interface ProdutoComprado {
|
|
|
1385
1281
|
ultima_quantidade: number;
|
|
1386
1282
|
vezes: number;
|
|
1387
1283
|
}
|
|
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
1284
|
export interface ProdutoCriar {
|
|
1415
1285
|
ativo?: boolean | null;
|
|
1416
1286
|
cor?: string | null;
|
|
@@ -1456,9 +1326,6 @@ export interface ProdutoRelacionado {
|
|
|
1456
1326
|
unidade: string;
|
|
1457
1327
|
unidade_medida: string;
|
|
1458
1328
|
}
|
|
1459
|
-
export interface ProdutoTermotubosCriar {
|
|
1460
|
-
skus: Array<string>;
|
|
1461
|
-
}
|
|
1462
1329
|
export interface ProdutoTiny {
|
|
1463
1330
|
dados?: DadosInternosProdutoTermotubos | null;
|
|
1464
1331
|
depositos: Array<DepositoProdutoTermotubos>;
|
|
@@ -1518,90 +1385,18 @@ export interface ResumoExpedicoes {
|
|
|
1518
1385
|
notas_hoje: number;
|
|
1519
1386
|
proxima_entrega?: string | null;
|
|
1520
1387
|
}
|
|
1388
|
+
export interface ResumoNaoConformidades {
|
|
1389
|
+
abertas_com_gravidade_alta: number;
|
|
1390
|
+
custo_total: number;
|
|
1391
|
+
mais_antiga_aberta_em?: string | null;
|
|
1392
|
+
media_de_dias_para_fechar?: number | null;
|
|
1393
|
+
problemas_frequentes: Array<ProblemaFrequente>;
|
|
1394
|
+
ultima_aberta_em?: string | null;
|
|
1395
|
+
}
|
|
1521
1396
|
export interface ResumoPedidosVenda {
|
|
1522
1397
|
pedidos_hoje: number;
|
|
1523
1398
|
pedidos_no_mes: number;
|
|
1524
1399
|
}
|
|
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
1400
|
export interface TopEmpresaPedido {
|
|
1606
1401
|
documento?: string | null;
|
|
1607
1402
|
nome: string;
|