termo_core 0.1.61 → 0.1.62

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.
@@ -92,6 +92,10 @@ export interface CaixaDoProduto {
92
92
  preco_unidade_a_vista: number;
93
93
  quantidade: number;
94
94
  }
95
+ export interface CampoDaFicha {
96
+ chave: string;
97
+ valor: string;
98
+ }
95
99
  export interface CaracteristicaDoProduto {
96
100
  nome: string;
97
101
  valor: string;
@@ -639,6 +643,10 @@ export interface ExpedicaoTermotubos {
639
643
  vendedor_tiny_id?: number | null;
640
644
  volumes?: number | null;
641
645
  }
646
+ export interface FamiliaDoPedido {
647
+ opcoes: Array<OpcaoDoItem>;
648
+ padrao: string;
649
+ }
642
650
  export interface Fatura {
643
651
  atualizado_em: string;
644
652
  criado_em: string;
@@ -674,6 +682,10 @@ export interface FaturaCriar {
674
682
  valor: number;
675
683
  vencimento: string;
676
684
  }
685
+ export interface FichaDoBoletim {
686
+ campos: Array<CampoDaFicha>;
687
+ resumo: string;
688
+ }
677
689
  export interface HistoricoEstoqueTermotubos {
678
690
  data: string;
679
691
  disponivel?: number | null;
@@ -755,6 +767,11 @@ export interface ItemPedidoVenda {
755
767
  quantidade?: number | null;
756
768
  sku?: string | null;
757
769
  }
770
+ export interface LinhaDoPedido {
771
+ codigo: string;
772
+ ficha: FichaDoBoletim;
773
+ nome?: string | null;
774
+ }
758
775
  export interface ListaDePreco {
759
776
  ajuste: number;
760
777
  ativa: boolean;
@@ -897,6 +914,7 @@ export interface OpcaoDoItem {
897
914
  faixa_de_uso?: string | null;
898
915
  imagem_url?: string | null;
899
916
  incremento_minimo?: number | null;
917
+ linha?: string | null;
900
918
  medida?: string | null;
901
919
  modelo?: string | null;
902
920
  nome: string;
@@ -905,6 +923,7 @@ export interface OpcaoDoItem {
905
923
  quantidade_minima?: number | null;
906
924
  sku: string;
907
925
  unidade: string;
926
+ unidades_por_embalagem?: number | null;
908
927
  }
909
928
  export interface PaginaDoProduto {
910
929
  boletim: BoletimDaPagina;
@@ -1345,8 +1364,10 @@ export interface PedidoInteligente {
1345
1364
  cotacao_id?: string | null;
1346
1365
  criado_em: string;
1347
1366
  erro?: string | null;
1367
+ familias?: Array<FamiliaDoPedido>;
1348
1368
  id: string;
1349
1369
  itens: Array<ItemDoPedido>;
1370
+ linhas?: Array<LinhaDoPedido>;
1350
1371
  provedor_ia?: string | null;
1351
1372
  regras_da_analise: Array<Record<string, unknown>>;
1352
1373
  status: string;
@@ -1751,10 +1772,15 @@ export interface SessaoDoWhatsappCriar {
1751
1772
  export interface SituacaoDeCompraDaUnidade {
1752
1773
  ativa: boolean;
1753
1774
  calculado_em: string;
1775
+ dias_sem_cotar?: number | null;
1754
1776
  dias_sem_nota: number;
1755
1777
  intervalo_medio_dias?: number | null;
1778
+ intervalo_medio_propostas_dias?: number | null;
1779
+ propostas: number;
1780
+ ritmo_cotacao_percentual?: number | null;
1756
1781
  ritmo_percentual?: number | null;
1757
1782
  ultima_nota: string;
1783
+ ultima_proposta?: string | null;
1758
1784
  }
1759
1785
  export interface SugestaoDeEstoque {
1760
1786
  em_estoque: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termo_core",
3
- "version": "0.1.61",
3
+ "version": "0.1.62",
4
4
  "description": "Todos os clientes da Termotubos num pacote só: um módulo por serviço e cada rota da API como uma função com fetch, com o endereço resolvido pelo ambiente atual.",
5
5
  "license": "MIT",
6
6
  "author": "TI Termotubos <ti@termotubos.com.br>",