@nomalism-com/types 0.11.4 → 0.11.6

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.
@@ -90,13 +90,17 @@ export interface IPrintLabelParamsRequest {
90
90
  document_line_assoc_id: string;
91
91
  quantity: number;
92
92
  }
93
+ export interface IFinalizarEntradaDeMaterialResponse {
94
+ broker_messages: IShared.IBrokerMessage<IShared.IBrokerTopic>[];
95
+ document_number: number;
96
+ }
93
97
  interface IRepository {
94
- finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IShared.IBrokerMessage<IShared.IBrokerTopic>[]>;
98
+ finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IFinalizarEntradaDeMaterialResponse>;
95
99
  undoEntradaMaterial(data: IUndoEntradaDeMaterialRequest): Promise<void>;
96
100
  findUnfinishedPickings(selector: IShared.IFindByIdRequest): Promise<IUnfinishedPickingsResponse[]>;
97
101
  }
98
102
  export type IApi = Omit<IRepository, 'finalizarEntradaMaterial'> & {
99
- finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<void>;
103
+ finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IFinalizarEntradaDeMaterialResponse>;
100
104
  };
101
105
  export type IController = IShared.IEntityWithUserToken<IRepository>;
102
106
  export {};
@@ -81,6 +81,18 @@ export interface IProviderPaymentRequest {
81
81
  documents: IProviderPaymentDocument[];
82
82
  total: number;
83
83
  }
84
+ export interface IPaymentDocumentReceipt {
85
+ document_header_id: string;
86
+ origin: IPaymentOrigin;
87
+ value: number;
88
+ discount_value: number;
89
+ name: string;
90
+ }
91
+ export interface IOwnerClientProvider {
92
+ owner_id: string;
93
+ owner_number: number;
94
+ name: string;
95
+ }
84
96
  export interface IPaymentsNotExportedResponse {
85
97
  iban: string;
86
98
  payment_ids: string[];
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.11.4",
12
+ "version": "0.11.6",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -38,11 +38,11 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/convert-units": "^2.3.8",
41
- "@types/node": "^18.18.8",
42
- "@typescript-eslint/eslint-plugin": "^6.9.1",
43
- "@typescript-eslint/parser": "^6.9.1",
41
+ "@types/node": "^18.18.7",
42
+ "@typescript-eslint/eslint-plugin": "^6.9.0",
43
+ "@typescript-eslint/parser": "^6.9.0",
44
44
  "concurrently": "^8.2.2",
45
- "eslint": "^8.53.0",
45
+ "eslint": "^8.52.0",
46
46
  "eslint-config-airbnb-base": "^15.0.0",
47
47
  "eslint-config-prettier": "^9.0.0",
48
48
  "eslint-import-resolver-typescript": "^3.6.1",