@nomalism-com/types 0.16.44 → 0.16.46

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.
@@ -36,8 +36,8 @@ export declare const ConferirEncomendaClienteOptionsEnum: {
36
36
  export type IConferirEncomendaClienteOptions = (typeof ConferirEncomendaClienteOptionsEnum)[keyof typeof ConferirEncomendaClienteOptionsEnum];
37
37
  export declare const conferirEncomendaClienteOptions: string[];
38
38
  export interface IConferirEncomendaClienteRequest {
39
- document_line_id: string;
40
- option: IConferirEncomendaClienteOptions;
39
+ document_lines_ids: string[];
40
+ option: IConferirEncomendaClienteOptions[];
41
41
  id_provider?: number;
42
42
  }
43
43
  export interface IConferirEncomendaClienteResponse {
@@ -19,7 +19,10 @@ exports.undoProviderOrderBody = joi_1.default
19
19
  .keys(undoProviderOrderBodyKeys)
20
20
  .messages(messages_1.messages);
21
21
  var conferirEncomendaClienteBodyKeys = {
22
- document_line_id: joi_1.default.string().uuid().required(),
22
+ document_lines_ids: joi_1.default
23
+ .array()
24
+ .items(joi_1.default.string().uuid().required())
25
+ .required(),
23
26
  option: (_a = joi_1.default
24
27
  .string())
25
28
  .valid.apply(_a, interfaces_1.conferirEncomendaClienteOptions).required(),
@@ -916,13 +916,13 @@ export type DocumentLineBaseVirtuals = {
916
916
  commission_total: number;
917
917
  cancelled: boolean;
918
918
  phc_closed: boolean;
919
- closed: boolean;
919
+ provider_invoice: boolean;
920
920
  purchased_from_provider: boolean;
921
921
  pending_return_to_provider: boolean;
922
922
  available_for_client_order: boolean;
923
923
  already_client_order: boolean;
924
- to_order: boolean;
925
924
  already_material_entrance: boolean;
925
+ to_order: boolean;
926
926
  rejected_return_to_provider: boolean;
927
927
  inventory_loss: boolean;
928
928
  return_to_provider_without_credit_note: boolean;
@@ -932,18 +932,20 @@ export type DocumentLineBaseVirtuals = {
932
932
  group_header: boolean;
933
933
  waiting_for_bulk_order: boolean;
934
934
  waiting_for_order: boolean;
935
+ closed: boolean;
936
+ provider_closed: boolean;
935
937
  stock_in: boolean;
936
938
  stock_out: boolean;
937
- invoice_external_id: string | null;
938
- returned_from_invoice_external_id: string | null;
939
- invoice_document_header_external_id: string | null;
940
- returned_from_invoice_document_header_external_id: string | null;
939
+ client_start_id: string | null;
940
+ provider_start_id: string | null;
941
941
  invoice_id: string | null;
942
+ invoice_document_header_external_id: string | null;
943
+ invoice_external_id: string | null;
942
944
  returned_from_invoice_id: string | null;
945
+ returned_from_invoice_document_header_external_id: string | null;
946
+ returned_from_invoice_external_id: string | null;
943
947
  return_id: string | null;
944
948
  credit_note_id: string | null;
945
- client_start_id: string | null;
946
- provider_start_id: string | null;
947
949
  };
948
950
  export type DocumentLineVirtuals = {
949
951
  document_line_id: string;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.16.44",
12
+ "version": "0.16.46",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [