@nomalism-com/types 0.11.5 → 0.11.7

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.
@@ -95,7 +95,7 @@ export interface IFinalizarEntradaDeMaterialResponse {
95
95
  document_number: number;
96
96
  }
97
97
  interface IRepository {
98
- finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IShared.IBrokerMessage<IShared.IBrokerTopic>[]>;
98
+ finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IFinalizarEntradaDeMaterialResponse>;
99
99
  undoEntradaMaterial(data: IUndoEntradaDeMaterialRequest): Promise<void>;
100
100
  findUnfinishedPickings(selector: IShared.IFindByIdRequest): Promise<IUnfinishedPickingsResponse[]>;
101
101
  }
@@ -20,7 +20,10 @@ export interface IFindOneResponse extends Entity {
20
20
  start_virtual: StartDocumentHeaderVirtuals | null;
21
21
  virtual: DocumentHeaderVirtuals | null;
22
22
  }
23
- export type IFindStartResponse = Omit<IFindOneResponse, 'virtual'>;
23
+ type IFindStartResponseOmitVirtual = Omit<IFindOneResponse, 'virtual'>;
24
+ export interface IFindStartResponse extends IFindStartResponseOmitVirtual {
25
+ client_balance?: number | null;
26
+ }
24
27
  export interface IFindByDocumentLineStateRequest {
25
28
  document_type_id: number;
26
29
  document_line_state: string;
@@ -350,3 +353,4 @@ export type IApi = Omit<IRepository, 'rollback' | 'updateDocumentLineAssocExtern
350
353
  createProductionOrder(data: ICreateProductionOrderRequest): Promise<void>;
351
354
  };
352
355
  export type IController = IShared.IEntityWithUserToken<IRepository>;
356
+ export {};
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.11.5",
12
+ "version": "0.11.7",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [