@nomalism-com/types 0.39.54 → 0.39.56
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.
|
@@ -324,7 +324,6 @@ export interface IMultipleRegularizations {
|
|
|
324
324
|
}
|
|
325
325
|
export interface IRepository {
|
|
326
326
|
findOne(selector: IShared.IFindByIdRequest): Promise<IFindOneBase | null>;
|
|
327
|
-
findStart(selector: IShared.IFindByIdRequest): Promise<IFindOneBase | null>;
|
|
328
327
|
findStartVirtual(selector: IShared.IFindByIdRequest): Promise<IStartDocumentHeaderVirtuals | null>;
|
|
329
328
|
findByType(params: IFindByTypeRequest): Promise<IFindByTypeResponse[]>;
|
|
330
329
|
findByBasicSearch(data: IBasicSearchRequest): Promise<IShared.IPaginationResponse<IBasicSearchResponse>>;
|
|
@@ -3,7 +3,7 @@ export declare const createBody: joi.ArraySchema<any[]>;
|
|
|
3
3
|
export declare const updateBody: joi.ObjectSchema<any>;
|
|
4
4
|
export declare const updateDataBody: joi.ObjectSchema<any>;
|
|
5
5
|
export declare const updateManyBody: joi.ObjectSchema<any>;
|
|
6
|
-
export declare const updateIndexesBody: joi.ArraySchema<
|
|
7
|
-
export declare const deleteBody: joi.ArraySchema<
|
|
6
|
+
export declare const updateIndexesBody: joi.ArraySchema<string[]>;
|
|
7
|
+
export declare const deleteBody: joi.ArraySchema<string[]>;
|
|
8
8
|
export declare const printLabelParams: joi.ObjectSchema<any>;
|
|
9
9
|
export declare const printLabelQuery: joi.ObjectSchema<any>;
|
|
@@ -886,6 +886,7 @@ export type DocumentLineBaseVirtuals = {
|
|
|
886
886
|
invoice_document_header_external_id: string | null;
|
|
887
887
|
invoice_external_id: string | null;
|
|
888
888
|
credit_note_id: string | null;
|
|
889
|
+
df_sent: boolean;
|
|
889
890
|
levantar_df: boolean;
|
|
890
891
|
df_enviada: boolean;
|
|
891
892
|
df_fechada: boolean;
|
|
@@ -111,7 +111,12 @@ export declare const findByOwnerIdQueryKeys: IRouteRequest<IFindByOwnerIdRequest
|
|
|
111
111
|
export declare const findByOwnerIdQuery: joi.ObjectSchema<any>;
|
|
112
112
|
export declare const idParam: joi.ObjectSchema<any>;
|
|
113
113
|
export declare const idNumberParam: joi.ObjectSchema<any>;
|
|
114
|
-
export declare const findMinifiedReponse: joi.ArraySchema<
|
|
114
|
+
export declare const findMinifiedReponse: joi.ArraySchema<{
|
|
115
|
+
name: unknown;
|
|
116
|
+
id: unknown;
|
|
117
|
+
group: unknown;
|
|
118
|
+
multimedia_id: unknown;
|
|
119
|
+
}[]>;
|
|
115
120
|
export declare const joiValidateStamps: IRouteResponseWithoutStamps<WithTimestampsOriginID>;
|
|
116
121
|
export declare const IUserSendEmailDocumentTemplateEnum: {
|
|
117
122
|
generic: 'generic';
|
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.39.
|
|
4
|
+
"version": "0.39.56",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|