@nomalism-com/types 1.3.10 → 1.3.11

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/index.js CHANGED
@@ -5046,12 +5046,14 @@ var LowerName89 = UpperName89[0].toLowerCase() + UpperName89.substring(1);
5046
5046
  var ProductStateEnum = {
5047
5047
  Ativa: "Ativa",
5048
5048
  NaoVemMais: "NaoVemMais",
5049
- VemTemporariamente: "VemTemporariamente"
5049
+ VemTemporariamente: "VemTemporariamente",
5050
+ DescontinuadoFabrica: "DescontinuadoFabrica"
5050
5051
  };
5051
5052
  var ProductStateLabels = {
5052
5053
  Ativa: "Ativa",
5053
5054
  NaoVemMais: "Nao Vem Mais",
5054
- VemTemporariamente: "Vem Temporariamente"
5055
+ VemTemporariamente: "Vem Temporariamente",
5056
+ DescontinuadoFabrica: "DescontinuadoFabrica"
5055
5057
  };
5056
5058
  var productState = Object.keys(ProductStateEnum);
5057
5059
  var ProductTypeEnum = {
@@ -10,11 +10,12 @@ export type IProductBaseVirtuals = ProductBaseVirtuals;
10
10
  export type Entity = ProductSheet;
11
11
  export type IProductsForSheetsResponse = Record<string, any>;
12
12
  export type IProductFromSheetsValues = Record<string, any>;
13
- export type IProductSheetState = 'Ativa' | 'NaoVemMais' | 'VemTemporariamente';
13
+ export type IProductSheetState = 'Ativa' | 'NaoVemMais' | 'VemTemporariamente' | 'DescontinuadoFabrica';
14
14
  export declare const ProductStateEnum: {
15
15
  Ativa: 'Ativa';
16
16
  NaoVemMais: 'NaoVemMais';
17
17
  VemTemporariamente: 'VemTemporariamente';
18
+ DescontinuadoFabrica: 'DescontinuadoFabrica';
18
19
  };
19
20
  export declare const ProductStateLabels: Record<keyof typeof ProductStateEnum, string>;
20
21
  export type IProductState = (typeof ProductStateEnum)[keyof typeof ProductStateEnum];
@@ -1,4 +1,4 @@
1
- import { IProductType } from '../../stock/productGoogleSheets/interface';
1
+ import { IProductType, IProductState } from '../../stock/productGoogleSheets/interface';
2
2
  export declare const Route = "order_management";
3
3
  export declare const UpperName = "OrderManagement";
4
4
  export declare const LowerName: string;
@@ -14,7 +14,7 @@ export interface IFindProposals {
14
14
  export interface IFindProviderProductsResponse {
15
15
  product_id: string;
16
16
  type: IProductType;
17
- obs: boolean;
17
+ state: IProductState;
18
18
  multimedia_id: string | null;
19
19
  ref: string;
20
20
  des: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "1.3.10",
4
+ "version": "1.3.11",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",