termo_core 0.1.3 → 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/flow/rotas.d.ts +0 -849
- package/dist/flow/rotas.js +0 -1178
- package/dist/flow/tipos.d.ts +0 -688
- 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 +97 -454
- package/dist/portal/rotas.js +102 -617
- package/dist/portal/tipos.d.ts +159 -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,9 +1,13 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
|
|
1
|
+
export interface AnexoDoPedido {
|
|
2
|
+
arquivo_id?: string | null;
|
|
3
|
+
nome: string;
|
|
4
|
+
tamanho: number;
|
|
5
|
+
tipo: string;
|
|
6
|
+
url?: string | null;
|
|
3
7
|
}
|
|
4
|
-
export interface
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
export interface AnexoNaoConformidade {
|
|
9
|
+
nome: string;
|
|
10
|
+
url?: string | null;
|
|
7
11
|
}
|
|
8
12
|
export interface BoletimTecnico {
|
|
9
13
|
atualizado_em: string;
|
|
@@ -82,18 +86,8 @@ export interface BoletimTecnicoPaginador {
|
|
|
82
86
|
total_categorias: number;
|
|
83
87
|
vazias: number;
|
|
84
88
|
}
|
|
85
|
-
export interface BuscaTermotubos {
|
|
86
|
-
itens: Array<ItemCatalogoTermotubos>;
|
|
87
|
-
pagina: number;
|
|
88
|
-
tem_mais: boolean;
|
|
89
|
-
termos_invalidos: Array<TermoInvalido>;
|
|
90
|
-
total_paginas?: number | null;
|
|
91
|
-
total_registros?: number | null;
|
|
92
|
-
truncado: boolean;
|
|
93
|
-
}
|
|
94
89
|
export interface Carrinho {
|
|
95
90
|
atualizado_em: string;
|
|
96
|
-
cliente_id?: string | null;
|
|
97
91
|
criado_em: string;
|
|
98
92
|
id: string;
|
|
99
93
|
itens: Array<CarrinhoItem>;
|
|
@@ -210,9 +204,6 @@ export interface ClientePaginador {
|
|
|
210
204
|
tamanho: number;
|
|
211
205
|
total: number;
|
|
212
206
|
}
|
|
213
|
-
export interface ClienteSincronizar {
|
|
214
|
-
cursor?: number | null;
|
|
215
|
-
}
|
|
216
207
|
export interface CompraDoMes {
|
|
217
208
|
comprado: number;
|
|
218
209
|
mes: string;
|
|
@@ -242,6 +233,14 @@ export interface ContagemExpedicoes {
|
|
|
242
233
|
todas: number;
|
|
243
234
|
transito: number;
|
|
244
235
|
}
|
|
236
|
+
export interface ContagemNaoConformidades {
|
|
237
|
+
abertas: number;
|
|
238
|
+
fechadas: number;
|
|
239
|
+
ocorrencias: number;
|
|
240
|
+
rascunho: number;
|
|
241
|
+
rnc: number;
|
|
242
|
+
todas: number;
|
|
243
|
+
}
|
|
245
244
|
export interface ContagemNotasFiscais {
|
|
246
245
|
hoje: number;
|
|
247
246
|
mes: number;
|
|
@@ -294,7 +293,6 @@ export interface ContatoCriar {
|
|
|
294
293
|
export interface Cotacao {
|
|
295
294
|
acima_do_limite: boolean;
|
|
296
295
|
atualizado_em: string;
|
|
297
|
-
autor_cliente_id: string;
|
|
298
296
|
autor_nome: string;
|
|
299
297
|
carrinho_id?: string | null;
|
|
300
298
|
criado_em: string;
|
|
@@ -305,6 +303,8 @@ export interface Cotacao {
|
|
|
305
303
|
itens: Array<CotacaoItem>;
|
|
306
304
|
numero: number;
|
|
307
305
|
observacao?: string | null;
|
|
306
|
+
origem: string;
|
|
307
|
+
pedido_inteligente_id?: string | null;
|
|
308
308
|
quantidade_itens: number;
|
|
309
309
|
status: string;
|
|
310
310
|
subtotal: number;
|
|
@@ -324,12 +324,12 @@ export interface CotacaoAutoComplete {
|
|
|
324
324
|
rotulo: string;
|
|
325
325
|
}
|
|
326
326
|
export interface CotacaoCriar {
|
|
327
|
-
autor_cliente_id: string;
|
|
328
327
|
carrinho_id?: string | null;
|
|
329
328
|
economia_tier?: number | null;
|
|
330
329
|
endereco_id?: string | null;
|
|
331
330
|
itens: Array<CotacaoItemCriar>;
|
|
332
331
|
observacao?: string | null;
|
|
332
|
+
pedido_inteligente_id?: string | null;
|
|
333
333
|
total_esperado?: number | null;
|
|
334
334
|
unidade_id: string;
|
|
335
335
|
}
|
|
@@ -358,6 +358,13 @@ export interface CotacaoPaginador {
|
|
|
358
358
|
tamanho: number;
|
|
359
359
|
total: number;
|
|
360
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
|
+
}
|
|
361
368
|
export interface DadosInternosProdutoTermotubos {
|
|
362
369
|
alterado_no_tiny?: string | null;
|
|
363
370
|
categoria_completa?: string | null;
|
|
@@ -384,6 +391,17 @@ export interface DepositoProdutoTermotubos {
|
|
|
384
391
|
reservado?: number | null;
|
|
385
392
|
saldo?: number | null;
|
|
386
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;
|
|
387
405
|
export interface Endereco {
|
|
388
406
|
apelido?: string | null;
|
|
389
407
|
atualizado_em: string;
|
|
@@ -436,6 +454,17 @@ export interface EnderecoEntrega {
|
|
|
436
454
|
logradouro: string;
|
|
437
455
|
numero?: string | null;
|
|
438
456
|
}
|
|
457
|
+
export interface EscolhaDoItem {
|
|
458
|
+
produto_id?: string | null;
|
|
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;
|
|
467
|
+
}
|
|
439
468
|
export interface ExpedicaoTermotubos {
|
|
440
469
|
atualizado_em?: string | null;
|
|
441
470
|
cep?: string | null;
|
|
@@ -513,13 +542,6 @@ export interface HistoricoPrecoTermotubos {
|
|
|
513
542
|
preco?: number | null;
|
|
514
543
|
preco_promocional?: number | null;
|
|
515
544
|
}
|
|
516
|
-
export interface ImportacaoProdutos {
|
|
517
|
-
atualizados: number;
|
|
518
|
-
conflitos: number;
|
|
519
|
-
criados: number;
|
|
520
|
-
falhas: number;
|
|
521
|
-
itens: Array<ItemSincronizado>;
|
|
522
|
-
}
|
|
523
545
|
export interface IndicadoresDeCompra {
|
|
524
546
|
amostra: boolean;
|
|
525
547
|
anterior?: number | null;
|
|
@@ -548,18 +570,13 @@ export interface IndicadoresDeVenda {
|
|
|
548
570
|
por_dia: Array<VendaDoDia>;
|
|
549
571
|
por_vendedor: Array<VendaAgrupada>;
|
|
550
572
|
}
|
|
551
|
-
export interface
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
preco: number;
|
|
559
|
-
preco_a_vista?: number | null;
|
|
560
|
-
sku: string;
|
|
561
|
-
tem_imagem: boolean;
|
|
562
|
-
unidade?: string | null;
|
|
573
|
+
export interface ItemDoPedido {
|
|
574
|
+
escolhido?: OpcaoDoItem | null;
|
|
575
|
+
observacao?: string | null;
|
|
576
|
+
opcoes: Array<OpcaoDoItem>;
|
|
577
|
+
pedido_do_cliente: string;
|
|
578
|
+
quantidade: number;
|
|
579
|
+
situacao: string;
|
|
563
580
|
}
|
|
564
581
|
export interface ItemNotaFiscal {
|
|
565
582
|
descricao?: string | null;
|
|
@@ -575,13 +592,55 @@ export interface ItemPedidoVenda {
|
|
|
575
592
|
quantidade?: number | null;
|
|
576
593
|
sku?: string | null;
|
|
577
594
|
}
|
|
578
|
-
export interface
|
|
579
|
-
|
|
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;
|
|
580
626
|
motivo?: string | null;
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
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;
|
|
585
644
|
}
|
|
586
645
|
export interface NotaFiscalParte2 {
|
|
587
646
|
parcelas: Array<ParcelaNotaFiscal>;
|
|
@@ -628,6 +687,15 @@ export interface OpcaoDeFiltro {
|
|
|
628
687
|
rotulo: string;
|
|
629
688
|
valor: string;
|
|
630
689
|
}
|
|
690
|
+
export interface OpcaoDoItem {
|
|
691
|
+
disponivel: boolean;
|
|
692
|
+
imagem_url?: string | null;
|
|
693
|
+
nome: string;
|
|
694
|
+
preco_unitario: number;
|
|
695
|
+
produto_id: string;
|
|
696
|
+
sku: string;
|
|
697
|
+
unidade: string;
|
|
698
|
+
}
|
|
631
699
|
export interface PaginaExpedicoes {
|
|
632
700
|
contagens: ContagemExpedicoes;
|
|
633
701
|
itens: Array<ExpedicaoTermotubos>;
|
|
@@ -837,39 +905,12 @@ export interface PaginaPedidoAutoComplete {
|
|
|
837
905
|
tamanho: number;
|
|
838
906
|
total: number;
|
|
839
907
|
}
|
|
840
|
-
export interface PaginaPerfilItensItem {
|
|
841
|
-
atualizado_em: string;
|
|
842
|
-
base: boolean;
|
|
843
|
-
criado_em: string;
|
|
844
|
-
id: string;
|
|
845
|
-
nome: string;
|
|
846
|
-
permissoes: Array<PerfilPermissao>;
|
|
847
|
-
permissoes_administrativas: Array<string>;
|
|
848
|
-
quantidade_pessoas: number;
|
|
849
|
-
resumo?: string | null;
|
|
850
|
-
slug: string;
|
|
851
|
-
tipo: string;
|
|
852
|
-
}
|
|
853
|
-
export interface PaginaPerfil {
|
|
854
|
-
itens: Array<PaginaPerfilItensItem>;
|
|
855
|
-
pagina: number;
|
|
856
|
-
tamanho: number;
|
|
857
|
-
total: number;
|
|
858
|
-
}
|
|
859
|
-
export interface PaginaPerfilAutoCompleteItensItem {
|
|
860
|
-
id: string;
|
|
861
|
-
nome: string;
|
|
862
|
-
}
|
|
863
|
-
export interface PaginaPerfilAutoComplete {
|
|
864
|
-
itens: Array<PaginaPerfilAutoCompleteItensItem>;
|
|
865
|
-
pagina: number;
|
|
866
|
-
tamanho: number;
|
|
867
|
-
total: number;
|
|
868
|
-
}
|
|
869
908
|
export interface PaginaProdutoItensItem {
|
|
870
909
|
ativo: boolean;
|
|
871
910
|
atualizado_em: string;
|
|
872
911
|
categoria_tiny?: string | null;
|
|
912
|
+
comprimento?: string | null;
|
|
913
|
+
comprimento_unidade?: string | null;
|
|
873
914
|
cor?: string | null;
|
|
874
915
|
criado_em: string;
|
|
875
916
|
demonstracao: boolean;
|
|
@@ -895,6 +936,8 @@ export interface PaginaProdutoItensItem {
|
|
|
895
936
|
incremento_minimo: number;
|
|
896
937
|
lancamento: boolean;
|
|
897
938
|
marca_tiny?: string | null;
|
|
939
|
+
medida?: string | null;
|
|
940
|
+
medida_unidade?: string | null;
|
|
898
941
|
ncm?: string | null;
|
|
899
942
|
nome: string;
|
|
900
943
|
nome_comercial?: string | null;
|
|
@@ -934,59 +977,6 @@ export interface PaginaProdutoAutoComplete {
|
|
|
934
977
|
tamanho: number;
|
|
935
978
|
total: number;
|
|
936
979
|
}
|
|
937
|
-
export interface PaginaProdutoConflitoSincronizacaoItensItem {
|
|
938
|
-
atualizado_em: string;
|
|
939
|
-
campo: string;
|
|
940
|
-
criado_em: string;
|
|
941
|
-
id: string;
|
|
942
|
-
produto_id: string;
|
|
943
|
-
produto_nome: string;
|
|
944
|
-
produto_sku: string;
|
|
945
|
-
resolucao?: string | null;
|
|
946
|
-
resolvido_em?: string | null;
|
|
947
|
-
valor_api: string;
|
|
948
|
-
valor_local: string;
|
|
949
|
-
}
|
|
950
|
-
export interface PaginaProdutoConflitoSincronizacao {
|
|
951
|
-
itens: Array<PaginaProdutoConflitoSincronizacaoItensItem>;
|
|
952
|
-
pagina: number;
|
|
953
|
-
tamanho: number;
|
|
954
|
-
total: number;
|
|
955
|
-
}
|
|
956
|
-
export interface PaginaProdutoConflitoSincronizacaoAutoCompleteItensItem {
|
|
957
|
-
id: string;
|
|
958
|
-
rotulo: string;
|
|
959
|
-
}
|
|
960
|
-
export interface PaginaProdutoConflitoSincronizacaoAutoComplete {
|
|
961
|
-
itens: Array<PaginaProdutoConflitoSincronizacaoAutoCompleteItensItem>;
|
|
962
|
-
pagina: number;
|
|
963
|
-
tamanho: number;
|
|
964
|
-
total: number;
|
|
965
|
-
}
|
|
966
|
-
export interface PaginaTabelaAuxiliarItensItem {
|
|
967
|
-
atualizado_em: string;
|
|
968
|
-
campo: string;
|
|
969
|
-
criado_em: string;
|
|
970
|
-
id: string;
|
|
971
|
-
label: string;
|
|
972
|
-
tabela: string;
|
|
973
|
-
}
|
|
974
|
-
export interface PaginaTabelaAuxiliar {
|
|
975
|
-
itens: Array<PaginaTabelaAuxiliarItensItem>;
|
|
976
|
-
pagina: number;
|
|
977
|
-
tamanho: number;
|
|
978
|
-
total: number;
|
|
979
|
-
}
|
|
980
|
-
export interface PaginaTabelaAuxiliarAutoCompleteItensItem {
|
|
981
|
-
id: string;
|
|
982
|
-
label: string;
|
|
983
|
-
}
|
|
984
|
-
export interface PaginaTabelaAuxiliarAutoComplete {
|
|
985
|
-
itens: Array<PaginaTabelaAuxiliarAutoCompleteItensItem>;
|
|
986
|
-
pagina: number;
|
|
987
|
-
tamanho: number;
|
|
988
|
-
total: number;
|
|
989
|
-
}
|
|
990
980
|
export interface PaginaUnidadeItensItem {
|
|
991
981
|
atualizado_em: string;
|
|
992
982
|
aviso_limite_percentual: number;
|
|
@@ -1038,29 +1028,6 @@ export interface PaginadorPedidosVendaTiny {
|
|
|
1038
1028
|
total_paginas: number;
|
|
1039
1029
|
total_registros: number;
|
|
1040
1030
|
}
|
|
1041
|
-
export interface PainelProdutoLinha {
|
|
1042
|
-
chave: string;
|
|
1043
|
-
codigo: string;
|
|
1044
|
-
configurado: boolean;
|
|
1045
|
-
cor: string;
|
|
1046
|
-
estado: string;
|
|
1047
|
-
estoque?: number | null;
|
|
1048
|
-
id: string;
|
|
1049
|
-
imagem?: string | null;
|
|
1050
|
-
na_vitrine: boolean;
|
|
1051
|
-
nome: string;
|
|
1052
|
-
origem: string;
|
|
1053
|
-
preco: number;
|
|
1054
|
-
sincronizado_em?: string | null;
|
|
1055
|
-
skus: Array<string>;
|
|
1056
|
-
tem_imagem: boolean;
|
|
1057
|
-
tipo: string;
|
|
1058
|
-
}
|
|
1059
|
-
export interface PainelProdutoPaginador {
|
|
1060
|
-
paginas: number;
|
|
1061
|
-
tamanho: number;
|
|
1062
|
-
total: number;
|
|
1063
|
-
}
|
|
1064
1031
|
export interface ParcelaNotaFiscal {
|
|
1065
1032
|
forma_pagamento?: string | null;
|
|
1066
1033
|
numero: string;
|
|
@@ -1118,6 +1085,29 @@ export interface PedidoCriar {
|
|
|
1118
1085
|
export interface PedidoDaEntrega {
|
|
1119
1086
|
id: number;
|
|
1120
1087
|
}
|
|
1088
|
+
export interface PedidoInteligente {
|
|
1089
|
+
anexos: Array<AnexoDoPedido>;
|
|
1090
|
+
atualizado_em: string;
|
|
1091
|
+
aviso?: string | null;
|
|
1092
|
+
cotacao_id?: string | null;
|
|
1093
|
+
criado_em: string;
|
|
1094
|
+
erro?: string | null;
|
|
1095
|
+
id: string;
|
|
1096
|
+
itens: Array<ItemDoPedido>;
|
|
1097
|
+
provedor_ia?: string | null;
|
|
1098
|
+
status: string;
|
|
1099
|
+
texto_enviado?: string | null;
|
|
1100
|
+
texto_interpretado?: string | null;
|
|
1101
|
+
unidade_id: string;
|
|
1102
|
+
}
|
|
1103
|
+
export interface PedidoInteligenteAtualizar {
|
|
1104
|
+
itens: Array<EscolhaDoItem>;
|
|
1105
|
+
}
|
|
1106
|
+
export interface PedidoInteligenteEnvio {
|
|
1107
|
+
arquivo: Array<string>;
|
|
1108
|
+
texto?: string | null;
|
|
1109
|
+
unidade_id: string;
|
|
1110
|
+
}
|
|
1121
1111
|
export interface PedidoItem {
|
|
1122
1112
|
produto: string;
|
|
1123
1113
|
quantidade: string;
|
|
@@ -1186,66 +1176,16 @@ export interface PedidoVendaTinyAutoComplete {
|
|
|
1186
1176
|
id: number;
|
|
1187
1177
|
rotulo: string;
|
|
1188
1178
|
}
|
|
1189
|
-
export interface
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
}
|
|
1193
|
-
export interface Perfil {
|
|
1194
|
-
atualizado_em: string;
|
|
1195
|
-
base: boolean;
|
|
1196
|
-
criado_em: string;
|
|
1197
|
-
id: string;
|
|
1198
|
-
nome: string;
|
|
1199
|
-
permissoes: Array<PerfilPermissao>;
|
|
1200
|
-
permissoes_administrativas: Array<string>;
|
|
1201
|
-
quantidade_pessoas: number;
|
|
1202
|
-
resumo?: string | null;
|
|
1203
|
-
slug: string;
|
|
1204
|
-
tipo: string;
|
|
1205
|
-
}
|
|
1206
|
-
export interface PerfilAtualizar {
|
|
1207
|
-
base?: boolean | null;
|
|
1208
|
-
nome?: string | null;
|
|
1209
|
-
permissoes?: Array<PerfilPermissaoEntrada> | null;
|
|
1210
|
-
permissoes_administrativas?: Array<string> | null;
|
|
1211
|
-
resumo?: string | null;
|
|
1212
|
-
}
|
|
1213
|
-
export interface PerfilAutoComplete {
|
|
1214
|
-
id: string;
|
|
1215
|
-
nome: string;
|
|
1216
|
-
}
|
|
1217
|
-
export interface PerfilCriar {
|
|
1218
|
-
base?: boolean | null;
|
|
1219
|
-
nome: string;
|
|
1220
|
-
permissoes?: Array<PerfilPermissaoEntrada> | null;
|
|
1221
|
-
permissoes_administrativas?: Array<string> | null;
|
|
1222
|
-
resumo?: string | null;
|
|
1223
|
-
tipo?: string | null;
|
|
1224
|
-
}
|
|
1225
|
-
export interface PerfilPermissao {
|
|
1226
|
-
criar: boolean;
|
|
1227
|
-
editar: boolean;
|
|
1228
|
-
excluir: boolean;
|
|
1229
|
-
modulo: string;
|
|
1230
|
-
mostrar_na_sidebar: boolean;
|
|
1231
|
-
mostrar_nas_configuracoes: boolean;
|
|
1232
|
-
pagina: string;
|
|
1233
|
-
ver: boolean;
|
|
1234
|
-
}
|
|
1235
|
-
export interface PerfilPermissaoEntrada {
|
|
1236
|
-
criar: boolean;
|
|
1237
|
-
editar: boolean;
|
|
1238
|
-
excluir: boolean;
|
|
1239
|
-
modulo: string;
|
|
1240
|
-
mostrar_na_sidebar?: boolean | null;
|
|
1241
|
-
mostrar_nas_configuracoes?: boolean | null;
|
|
1242
|
-
pagina?: string | null;
|
|
1243
|
-
ver: boolean;
|
|
1179
|
+
export interface ProblemaFrequente {
|
|
1180
|
+
problema: string;
|
|
1181
|
+
quantidade: number;
|
|
1244
1182
|
}
|
|
1245
1183
|
export interface Produto {
|
|
1246
1184
|
ativo: boolean;
|
|
1247
1185
|
atualizado_em: string;
|
|
1248
1186
|
categoria_tiny?: string | null;
|
|
1187
|
+
comprimento?: string | null;
|
|
1188
|
+
comprimento_unidade?: string | null;
|
|
1249
1189
|
cor?: string | null;
|
|
1250
1190
|
criado_em: string;
|
|
1251
1191
|
demonstracao: boolean;
|
|
@@ -1271,6 +1211,8 @@ export interface Produto {
|
|
|
1271
1211
|
incremento_minimo: number;
|
|
1272
1212
|
lancamento: boolean;
|
|
1273
1213
|
marca_tiny?: string | null;
|
|
1214
|
+
medida?: string | null;
|
|
1215
|
+
medida_unidade?: string | null;
|
|
1274
1216
|
ncm?: string | null;
|
|
1275
1217
|
nome: string;
|
|
1276
1218
|
nome_comercial?: string | null;
|
|
@@ -1295,6 +1237,8 @@ export interface Produto {
|
|
|
1295
1237
|
}
|
|
1296
1238
|
export interface ProdutoAtualizar {
|
|
1297
1239
|
ativo?: boolean | null;
|
|
1240
|
+
comprimento?: string | null;
|
|
1241
|
+
comprimento_unidade?: string | null;
|
|
1298
1242
|
cor?: string | null;
|
|
1299
1243
|
descricao?: string | null;
|
|
1300
1244
|
embalagem?: string | null;
|
|
@@ -1307,6 +1251,8 @@ export interface ProdutoAtualizar {
|
|
|
1307
1251
|
imagens?: Array<string> | null;
|
|
1308
1252
|
incremento_minimo?: number | null;
|
|
1309
1253
|
lancamento?: boolean | null;
|
|
1254
|
+
medida?: string | null;
|
|
1255
|
+
medida_unidade?: string | null;
|
|
1310
1256
|
nome?: string | null;
|
|
1311
1257
|
nome_comercial?: string | null;
|
|
1312
1258
|
outras_informacoes?: string | null;
|
|
@@ -1335,32 +1281,6 @@ export interface ProdutoComprado {
|
|
|
1335
1281
|
ultima_quantidade: number;
|
|
1336
1282
|
vezes: number;
|
|
1337
1283
|
}
|
|
1338
|
-
export interface ProdutoConflitoSincronizacao {
|
|
1339
|
-
atualizado_em: string;
|
|
1340
|
-
campo: string;
|
|
1341
|
-
criado_em: string;
|
|
1342
|
-
id: string;
|
|
1343
|
-
produto_id: string;
|
|
1344
|
-
produto_nome: string;
|
|
1345
|
-
produto_sku: string;
|
|
1346
|
-
resolucao?: string | null;
|
|
1347
|
-
resolvido_em?: string | null;
|
|
1348
|
-
valor_api: string;
|
|
1349
|
-
valor_local: string;
|
|
1350
|
-
}
|
|
1351
|
-
export interface ProdutoConflitoSincronizacaoAtualizar {
|
|
1352
|
-
resolucao: string;
|
|
1353
|
-
}
|
|
1354
|
-
export interface ProdutoConflitoSincronizacaoAutoComplete {
|
|
1355
|
-
id: string;
|
|
1356
|
-
rotulo: string;
|
|
1357
|
-
}
|
|
1358
|
-
export interface ProdutoConflitoSincronizacaoCriar {
|
|
1359
|
-
campo: string;
|
|
1360
|
-
produto_id: string;
|
|
1361
|
-
valor_api: string;
|
|
1362
|
-
valor_local: string;
|
|
1363
|
-
}
|
|
1364
1284
|
export interface ProdutoCriar {
|
|
1365
1285
|
ativo?: boolean | null;
|
|
1366
1286
|
cor?: string | null;
|
|
@@ -1406,9 +1326,6 @@ export interface ProdutoRelacionado {
|
|
|
1406
1326
|
unidade: string;
|
|
1407
1327
|
unidade_medida: string;
|
|
1408
1328
|
}
|
|
1409
|
-
export interface ProdutoTermotubosCriar {
|
|
1410
|
-
skus: Array<string>;
|
|
1411
|
-
}
|
|
1412
1329
|
export interface ProdutoTiny {
|
|
1413
1330
|
dados?: DadosInternosProdutoTermotubos | null;
|
|
1414
1331
|
depositos: Array<DepositoProdutoTermotubos>;
|
|
@@ -1468,90 +1385,18 @@ export interface ResumoExpedicoes {
|
|
|
1468
1385
|
notas_hoje: number;
|
|
1469
1386
|
proxima_entrega?: string | null;
|
|
1470
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
|
+
}
|
|
1471
1396
|
export interface ResumoPedidosVenda {
|
|
1472
1397
|
pedidos_hoje: number;
|
|
1473
1398
|
pedidos_no_mes: number;
|
|
1474
1399
|
}
|
|
1475
|
-
export interface ResumoSincronizacaoCatalogo {
|
|
1476
|
-
atualizados: number;
|
|
1477
|
-
conferidos: number;
|
|
1478
|
-
conflitos: number;
|
|
1479
|
-
criados: number;
|
|
1480
|
-
falhas: number;
|
|
1481
|
-
}
|
|
1482
|
-
export interface SincronizacaoClientes {
|
|
1483
|
-
cursor?: number | null;
|
|
1484
|
-
gravados: number;
|
|
1485
|
-
proximo_cursor?: number | null;
|
|
1486
|
-
total: number;
|
|
1487
|
-
}
|
|
1488
|
-
export interface SincronizacaoPedidosVendaTiny {
|
|
1489
|
-
gravados: number;
|
|
1490
|
-
modo: string;
|
|
1491
|
-
pagina: number;
|
|
1492
|
-
proxima_pagina?: number | null;
|
|
1493
|
-
total_paginas: number;
|
|
1494
|
-
total_registros: number;
|
|
1495
|
-
}
|
|
1496
|
-
export interface StatusSincronizacaoCatalogo {
|
|
1497
|
-
cancelada: boolean;
|
|
1498
|
-
erro?: string | null;
|
|
1499
|
-
etapa?: string | null;
|
|
1500
|
-
gravados: number;
|
|
1501
|
-
iniciada_em?: string | null;
|
|
1502
|
-
resumo: ResumoSincronizacaoCatalogo;
|
|
1503
|
-
rodando: boolean;
|
|
1504
|
-
terminada_em?: string | null;
|
|
1505
|
-
total?: number | null;
|
|
1506
|
-
}
|
|
1507
|
-
export interface StatusSincronizacaoNotasFiscais {
|
|
1508
|
-
cancelada: boolean;
|
|
1509
|
-
concluida: boolean;
|
|
1510
|
-
erro?: string | null;
|
|
1511
|
-
gravados: number;
|
|
1512
|
-
iniciada_em?: string | null;
|
|
1513
|
-
pagina: number;
|
|
1514
|
-
progresso: number;
|
|
1515
|
-
rodando: boolean;
|
|
1516
|
-
terminada_em?: string | null;
|
|
1517
|
-
total_paginas: number;
|
|
1518
|
-
}
|
|
1519
|
-
export interface StatusSincronizacaoRastreamento {
|
|
1520
|
-
cancelada: boolean;
|
|
1521
|
-
concluida: boolean;
|
|
1522
|
-
erro?: string | null;
|
|
1523
|
-
gravados: number;
|
|
1524
|
-
iniciada_em?: string | null;
|
|
1525
|
-
pagina: number;
|
|
1526
|
-
progresso: number;
|
|
1527
|
-
rodando: boolean;
|
|
1528
|
-
terminada_em?: string | null;
|
|
1529
|
-
total_paginas: number;
|
|
1530
|
-
}
|
|
1531
|
-
export interface TabelaAuxiliar {
|
|
1532
|
-
atualizado_em: string;
|
|
1533
|
-
campo: string;
|
|
1534
|
-
criado_em: string;
|
|
1535
|
-
id: string;
|
|
1536
|
-
label: string;
|
|
1537
|
-
tabela: string;
|
|
1538
|
-
}
|
|
1539
|
-
export interface TabelaAuxiliarAtualizar {
|
|
1540
|
-
label?: string | null;
|
|
1541
|
-
}
|
|
1542
|
-
export interface TabelaAuxiliarAutoComplete {
|
|
1543
|
-
id: string;
|
|
1544
|
-
label: string;
|
|
1545
|
-
}
|
|
1546
|
-
export interface TabelaAuxiliarCriar {
|
|
1547
|
-
campo: string;
|
|
1548
|
-
label: string;
|
|
1549
|
-
tabela: string;
|
|
1550
|
-
}
|
|
1551
|
-
export interface TermoInvalido {
|
|
1552
|
-
motivo: string;
|
|
1553
|
-
valor: string;
|
|
1554
|
-
}
|
|
1555
1400
|
export interface TopEmpresaPedido {
|
|
1556
1401
|
documento?: string | null;
|
|
1557
1402
|
nome: string;
|