@nomalism-com/types 0.43.104 → 0.43.106
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.
|
@@ -217,6 +217,10 @@ export interface IProductByOwner {
|
|
|
217
217
|
id: string;
|
|
218
218
|
reference: string;
|
|
219
219
|
}
|
|
220
|
+
export interface IExpectDeliveryDates {
|
|
221
|
+
quantity: number;
|
|
222
|
+
date: string | null;
|
|
223
|
+
}
|
|
220
224
|
export interface IRepository {
|
|
221
225
|
basicSearch(params: IBasicSearchRequest): Promise<IShared.IPaginationResponse<IBasicSearchResponse>>;
|
|
222
226
|
findReferenceAndIdForMobile(params: IFindForMobileRequest): Promise<IFindReferenceAndIdForMobileResponse | null>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IConflict } from '../../modules/document/propostaSheets/interface';
|
|
2
2
|
import { IDocumentTypeUserType, IDocumentTypeCodeType } from '../../modules/supply/documentType/interfaces';
|
|
3
3
|
import { IBatchType } from '../../modules/supply/paymentBatch/interface';
|
|
4
|
-
import { IProductType } from '../../modules/stock/productGoogleSheets/interface';
|
|
4
|
+
import { IExpectDeliveryDates, IProductType } from '../../modules/stock/productGoogleSheets/interface';
|
|
5
5
|
import { IImageType } from '../../modules/stock/productImage/interface';
|
|
6
6
|
import { ITagType } from '../../modules/stock/tag/interface';
|
|
7
7
|
import { IQueryParameterDatatype } from '../../modules/stock/queryParameter/interfaces';
|
|
@@ -861,7 +861,7 @@ export type ProductVirtuals = {
|
|
|
861
861
|
available: number;
|
|
862
862
|
ordered_quantity: number;
|
|
863
863
|
inativa: boolean;
|
|
864
|
-
expected_delivery_dates:
|
|
864
|
+
expected_delivery_dates: IExpectDeliveryDates[];
|
|
865
865
|
};
|
|
866
866
|
/**
|
|
867
867
|
* Model DocumentLineBaseVirtuals
|
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.43.
|
|
4
|
+
"version": "0.43.106",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|