@nomalism-com/types 0.18.87 → 0.18.89
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.
|
@@ -20,7 +20,7 @@ export interface ICloneRequest {
|
|
|
20
20
|
export interface ICloneResponse {
|
|
21
21
|
spreadsheetId: string;
|
|
22
22
|
}
|
|
23
|
-
export type IGetProductGroup = 'cortinado' | 'tapete' | 'estore' | 'estofo' | 'almofada' | 'outros';
|
|
23
|
+
export type IGetProductGroup = 'cortinado' | 'tapete' | 'estore' | 'estofo' | 'almofada' | 'outros' | 'calhas&varões';
|
|
24
24
|
export type IGetProductType = 'confecção' | 'calha' | 'tecido 1' | 'tecido 2' | 'livre';
|
|
25
25
|
export type IReferenceType = 'noma' | 'sheets' | undefined;
|
|
26
26
|
export interface IGetProduct {
|
|
@@ -212,7 +212,7 @@ export interface IUpdateRequest {
|
|
|
212
212
|
is_void?: boolean;
|
|
213
213
|
who_handles?: string | null;
|
|
214
214
|
tags?: string | null;
|
|
215
|
-
warning?:
|
|
215
|
+
warning?: IWarningType;
|
|
216
216
|
created_by?: string;
|
|
217
217
|
}
|
|
218
218
|
export interface IGetActionsResponse {
|
|
@@ -406,7 +406,7 @@ export declare const IWarningEnum: {
|
|
|
406
406
|
AvisoParcial: 'Aviso Parcial';
|
|
407
407
|
SemAviso: 'Sem Aviso';
|
|
408
408
|
};
|
|
409
|
-
export type
|
|
409
|
+
export type IWarningType = (typeof IWarningEnum)[keyof typeof IWarningEnum];
|
|
410
410
|
export declare const IWarningType: string[];
|
|
411
411
|
export interface IRepository {
|
|
412
412
|
findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
|
|
@@ -4,7 +4,7 @@ import * as IGoogleSheets from "../modules/integration/googleSheets/interfaces";
|
|
|
4
4
|
import { messages } from "./messages";
|
|
5
5
|
import { IDocumentTypeUserType } from "../modules/supply/documentType/interfaces";
|
|
6
6
|
import { IScheduleType } from "../modules/supply/schedule/interface";
|
|
7
|
-
import {
|
|
7
|
+
import { IWarningType } from "../modules/supply/documentHeader/interfaces";
|
|
8
8
|
export { messages };
|
|
9
9
|
type CreatedAt = "created_at";
|
|
10
10
|
type UpdatedAt = "updated_at";
|
|
@@ -218,7 +218,7 @@ export type IBrokerTopicPayload = {
|
|
|
218
218
|
[IBrokerTopic.warning_email]: {
|
|
219
219
|
email: string;
|
|
220
220
|
name: string;
|
|
221
|
-
warning:
|
|
221
|
+
warning: IWarningType;
|
|
222
222
|
document_number: number;
|
|
223
223
|
document_lines: {
|
|
224
224
|
designation: string;
|