@nomalism-com/types 0.9.465 → 0.9.467
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
|
-
import { Plot, Location, PlotVirtuals } from '../../../shared/entities';
|
|
2
|
+
import { Plot, Location, PlotVirtuals, DocumentHeader, StartDocumentHeaderVirtuals } from '../../../shared/entities';
|
|
3
3
|
import * as IDocumentLine from '../../supply/documentLine/interfaces';
|
|
4
4
|
export type Entity = Plot;
|
|
5
5
|
export declare const Route = "plot";
|
|
@@ -9,16 +9,12 @@ export type IPlotVirtuals = PlotVirtuals;
|
|
|
9
9
|
export type IPlotVirtualExtended = PlotVirtuals & {
|
|
10
10
|
current_document_line: (Pick<IDocumentLine.Entity, 'id'> & {
|
|
11
11
|
virtual: (IDocumentLine.IDocumentLineVirtuals & {
|
|
12
|
-
provider_start: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
closed: boolean;
|
|
19
|
-
owner_id: string;
|
|
20
|
-
document_number: number;
|
|
21
|
-
} | null;
|
|
12
|
+
provider_start: (Pick<DocumentHeader, 'owner_id' | 'document_number'> & {
|
|
13
|
+
start_virtual: Pick<StartDocumentHeaderVirtuals, 'closed'> | null;
|
|
14
|
+
}) | null;
|
|
15
|
+
client_start: (Pick<DocumentHeader, 'owner_id' | 'document_number'> & {
|
|
16
|
+
start_virtual: Pick<StartDocumentHeaderVirtuals, 'closed'> | null;
|
|
17
|
+
}) | null;
|
|
22
18
|
}) | null;
|
|
23
19
|
}) | null;
|
|
24
20
|
};
|
|
@@ -60,6 +60,7 @@ export declare const productTypes: string[];
|
|
|
60
60
|
export interface IBasicSearchRequest extends IShared.IPaginationRequest {
|
|
61
61
|
search_value: string | null;
|
|
62
62
|
inactive?: boolean;
|
|
63
|
+
dnt_come_anymore?: boolean;
|
|
63
64
|
}
|
|
64
65
|
export interface IBasicSearchResponse {
|
|
65
66
|
id: string;
|
|
@@ -100,6 +100,7 @@ var basicSearchQueryKeys = {
|
|
|
100
100
|
current_page: joi_1.default.number().integer().positive().default(1).optional(),
|
|
101
101
|
inactive: joi_1.default.boolean().default(false).optional(),
|
|
102
102
|
search_value: joi_1.default.string().allow('', null).optional(),
|
|
103
|
+
dnt_come_anymore: joi_1.default.boolean().default(false).optional(),
|
|
103
104
|
};
|
|
104
105
|
exports.basicSearchQuery = joi_1.default
|
|
105
106
|
.object()
|