@nomalism-com/types 0.45.24 → 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
@@ -1376,6 +1376,7 @@ var DocumentTypeCodeTypeEnum = {
1376
1376
  GT: "GT",
1377
1377
  RE: "RE",
1378
1378
  LNC: "LNC",
1379
+ EST: "EST",
1379
1380
  NPC: "NPC",
1380
1381
  QECI: "QECI",
1381
1382
  OPI: "OPI",
@@ -2859,8 +2860,7 @@ __export(route_schema_exports40, {
2859
2860
  });
2860
2861
  import joi41 from "joi";
2861
2862
  var refreshTokenBodyKeys = {
2862
- token: joi41.string(),
2863
- ip: joi41.string()
2863
+ token: joi41.string()
2864
2864
  };
2865
2865
  var refreshTokenBody = joi41.object().keys(refreshTokenBodyKeys).messages(messages);
2866
2866
 
package/dist/index.js CHANGED
@@ -1376,6 +1376,7 @@ var DocumentTypeCodeTypeEnum = {
1376
1376
  GT: "GT",
1377
1377
  RE: "RE",
1378
1378
  LNC: "LNC",
1379
+ EST: "EST",
1379
1380
  NPC: "NPC",
1380
1381
  QECI: "QECI",
1381
1382
  OPI: "OPI",
@@ -2859,8 +2860,7 @@ __export(route_schema_exports40, {
2859
2860
  });
2860
2861
  import joi41 from "joi";
2861
2862
  var refreshTokenBodyKeys = {
2862
- token: joi41.string(),
2863
- ip: joi41.string()
2863
+ token: joi41.string()
2864
2864
  };
2865
2865
  var refreshTokenBody = joi41.object().keys(refreshTokenBodyKeys).messages(messages);
2866
2866
 
@@ -126,7 +126,7 @@ export interface IExportCurrentAccountRequest {
126
126
  start_date: Date | null;
127
127
  end_date: Date | null;
128
128
  }
129
- export interface IUnpaidDocumentResponse {
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<IUnpaidDocumentResponse[]>;
141
- findClientUnpaidDebit(params: IShared.IFindByOwnerIdRequest): Promise<IUnpaidDocumentResponse[]>;
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 {};
@@ -24,6 +24,7 @@ export declare const DocumentTypeCodeTypeEnum: {
24
24
  GT: 'GT';
25
25
  RE: 'RE';
26
26
  LNC: 'LNC';
27
+ EST: 'EST';
27
28
  NPC: 'NPC';
28
29
  QECI: 'QECI';
29
30
  OPI: 'OPI';
@@ -2,7 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  export declare const Route = "refresh_token";
3
3
  export interface ICreateRequest {
4
4
  token: string;
5
- ip?: string;
6
5
  }
7
6
  export interface ICreateResponse {
8
7
  access_token: string;
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.24",
4
+ "version": "0.45.26",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",