@nomalism-com/types 0.40.21 → 0.40.23
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.cjs
CHANGED
|
@@ -5159,12 +5159,14 @@ var LowerName89 = UpperName89[0].toLowerCase() + UpperName89.substring(1);
|
|
|
5159
5159
|
var ProductStateEnum = {
|
|
5160
5160
|
Ativa: "Ativa",
|
|
5161
5161
|
NaoVemMais: "NaoVemMais",
|
|
5162
|
-
VemTemporariamente: "VemTemporariamente"
|
|
5162
|
+
VemTemporariamente: "VemTemporariamente",
|
|
5163
|
+
DescontinuadoFabrica: "DescontinuadoFabrica"
|
|
5163
5164
|
};
|
|
5164
5165
|
var ProductStateLabels = {
|
|
5165
5166
|
Ativa: "Ativa",
|
|
5166
5167
|
NaoVemMais: "Nao Vem Mais",
|
|
5167
|
-
VemTemporariamente: "Vem Temporariamente"
|
|
5168
|
+
VemTemporariamente: "Vem Temporariamente",
|
|
5169
|
+
DescontinuadoFabrica: "DescontinuadoFabrica"
|
|
5168
5170
|
};
|
|
5169
5171
|
var productState = Object.keys(ProductStateEnum);
|
|
5170
5172
|
var ProductTypeEnum = {
|
package/dist/index.js
CHANGED
|
@@ -5159,12 +5159,14 @@ var LowerName89 = UpperName89[0].toLowerCase() + UpperName89.substring(1);
|
|
|
5159
5159
|
var ProductStateEnum = {
|
|
5160
5160
|
Ativa: "Ativa",
|
|
5161
5161
|
NaoVemMais: "NaoVemMais",
|
|
5162
|
-
VemTemporariamente: "VemTemporariamente"
|
|
5162
|
+
VemTemporariamente: "VemTemporariamente",
|
|
5163
|
+
DescontinuadoFabrica: "DescontinuadoFabrica"
|
|
5163
5164
|
};
|
|
5164
5165
|
var ProductStateLabels = {
|
|
5165
5166
|
Ativa: "Ativa",
|
|
5166
5167
|
NaoVemMais: "Nao Vem Mais",
|
|
5167
|
-
VemTemporariamente: "Vem Temporariamente"
|
|
5168
|
+
VemTemporariamente: "Vem Temporariamente",
|
|
5169
|
+
DescontinuadoFabrica: "DescontinuadoFabrica"
|
|
5168
5170
|
};
|
|
5169
5171
|
var productState = Object.keys(ProductStateEnum);
|
|
5170
5172
|
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, IProductSheetState } 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
|
-
|
|
17
|
+
state: IProductSheetState;
|
|
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": "0.40.
|
|
4
|
+
"version": "0.40.23",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|