@nomalism-com/types 0.45.25 → 0.45.26
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
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ export interface IExportCurrentAccountRequest {
|
|
|
126
126
|
start_date: Date | null;
|
|
127
127
|
end_date: Date | null;
|
|
128
128
|
}
|
|
129
|
-
export interface
|
|
129
|
+
export interface IDocumentResponse {
|
|
130
130
|
id: string;
|
|
131
131
|
name: string;
|
|
132
132
|
group: string;
|
|
@@ -137,8 +137,9 @@ export interface IRepository {
|
|
|
137
137
|
findCurrentAccountByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindCurrentAccountByOwnerIdResponse[]>;
|
|
138
138
|
findBalanceByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<number>;
|
|
139
139
|
exportCurrentAccount(params: IExportCurrentAccountRequest): Promise<IFindCurrentAccountByOwnerIdResponse[]>;
|
|
140
|
-
findClientUnpaidCredit(params: IShared.IFindByOwnerIdRequest): Promise<
|
|
141
|
-
|
|
140
|
+
findClientUnpaidCredit(params: IShared.IFindByOwnerIdRequest): Promise<IDocumentResponse[]>;
|
|
141
|
+
findClientOverpaidCredit(params: IShared.IFindByOwnerIdRequest): Promise<IDocumentResponse[]>;
|
|
142
|
+
findClientUnpaidDebit(params: IShared.IFindByOwnerIdRequest): Promise<IDocumentResponse[]>;
|
|
142
143
|
}
|
|
143
144
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
144
145
|
export {};
|
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.45.
|
|
4
|
+
"version": "0.45.26",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|