@nomalism-com/types 0.39.57 → 0.39.59

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
@@ -1576,6 +1576,7 @@ var updateBodyKeys8 = {
1576
1576
  is_void_reason: joi10.string().optional(),
1577
1577
  is_force_adjudicated: joi10.boolean().optional(),
1578
1578
  confirmed: joi10.boolean().optional(),
1579
+ confirmed_date: joi10.date().optional(),
1579
1580
  who_handles: joi10.string().allow(null).optional(),
1580
1581
  warning: joi10.string().optional().valid(...Object.values(IWarningType)),
1581
1582
  created_by: joi10.string().uuid().allow(null).optional()
package/dist/index.js CHANGED
@@ -1576,6 +1576,7 @@ var updateBodyKeys8 = {
1576
1576
  is_void_reason: joi10.string().optional(),
1577
1577
  is_force_adjudicated: joi10.boolean().optional(),
1578
1578
  confirmed: joi10.boolean().optional(),
1579
+ confirmed_date: joi10.date().optional(),
1579
1580
  who_handles: joi10.string().allow(null).optional(),
1580
1581
  warning: joi10.string().optional().valid(...Object.values(IWarningType)),
1581
1582
  created_by: joi10.string().uuid().allow(null).optional()
@@ -183,6 +183,7 @@ export interface IUpdateRequest {
183
183
  warning?: IWarningType;
184
184
  created_by?: string;
185
185
  confirmed?: boolean;
186
+ confirmed_date?: Date | null;
186
187
  }
187
188
  export type IGetActionsDocumentType = Pick<DocumentType, 'user_type' | 'allow_create_from_header_without_lines' | 'pay' | 'credit' | 'debit' | 'invoice' | 'code' | 'return' | 'id' | 'description'>;
188
189
  export interface IGetActionsResponse {
@@ -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<string[]>;
7
- export declare const deleteBody: joi.ArraySchema<string[]>;
6
+ export declare const updateIndexesBody: joi.ArraySchema<any[]>;
7
+ export declare const deleteBody: joi.ArraySchema<any[]>;
8
8
  export declare const printLabelParams: joi.ObjectSchema<any>;
9
9
  export declare const printLabelQuery: joi.ObjectSchema<any>;
@@ -949,6 +949,7 @@ export type DocumentLineVirtuals = {
949
949
  invoice_document_header_external_id: string | null;
950
950
  invoice_id: string | null;
951
951
  credit_note_id: string | null;
952
+ df_pdf: boolean;
952
953
  client_start_id: string | null;
953
954
  provider_start_id: string | null;
954
955
  state: string;
@@ -111,12 +111,7 @@ 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<{
115
- name: unknown;
116
- id: unknown;
117
- group: unknown;
118
- multimedia_id: unknown;
119
- }[]>;
114
+ export declare const findMinifiedReponse: joi.ArraySchema<any[]>;
120
115
  export declare const joiValidateStamps: IRouteResponseWithoutStamps<WithTimestampsOriginID>;
121
116
  export declare const IUserSendEmailDocumentTemplateEnum: {
122
117
  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.57",
4
+ "version": "0.39.59",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",