@nomalism-com/types 0.45.3 → 0.45.5
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
|
@@ -5425,7 +5425,7 @@ __export(interface_exports61, {
|
|
|
5425
5425
|
IExportCurrentAccountOutputOptions: () => IExportCurrentAccountOutputOptions,
|
|
5426
5426
|
Route: () => Route115
|
|
5427
5427
|
});
|
|
5428
|
-
var Route115 = "
|
|
5428
|
+
var Route115 = "current_account";
|
|
5429
5429
|
var IExportCurrentAccountOutputEnum = {
|
|
5430
5430
|
csv: "csv",
|
|
5431
5431
|
pdf: "pdf"
|
package/dist/index.js
CHANGED
|
@@ -5425,7 +5425,7 @@ __export(interface_exports61, {
|
|
|
5425
5425
|
IExportCurrentAccountOutputOptions: () => IExportCurrentAccountOutputOptions,
|
|
5426
5426
|
Route: () => Route115
|
|
5427
5427
|
});
|
|
5428
|
-
var Route115 = "
|
|
5428
|
+
var Route115 = "current_account";
|
|
5429
5429
|
var IExportCurrentAccountOutputEnum = {
|
|
5430
5430
|
csv: "csv",
|
|
5431
5431
|
pdf: "pdf"
|
|
@@ -3,7 +3,7 @@ import { Payment, DocumentHeader } from '../../../shared/entities/stock';
|
|
|
3
3
|
import * as IObservation from '../../integration/observation/interfaces';
|
|
4
4
|
import { type ICreateFromHeaderRequest } from '../documentHeader/interfaces';
|
|
5
5
|
export type Entity = Payment;
|
|
6
|
-
export declare const Route = "
|
|
6
|
+
export declare const Route = "current_account";
|
|
7
7
|
type IEntityExtended = Entity;
|
|
8
8
|
export type IFindByIdResponse = Omit<IEntityExtended, ''>;
|
|
9
9
|
export type IFindByOwnerIdResponse = Omit<IEntityExtended, ''>;
|
|
@@ -27,5 +27,6 @@ export interface IRepository {
|
|
|
27
27
|
createOrUpdate(data: ICreateOrUpdateRequest): Promise<string>;
|
|
28
28
|
deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
29
29
|
deleteByDocumentHeader(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
30
|
+
publicAuthenticate(selector: IShared.IFindByIdRequest): Promise<string | null>;
|
|
30
31
|
}
|
|
31
32
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -132,6 +132,5 @@ export interface IRepository {
|
|
|
132
132
|
findClientOrProvider(data: IFindClientOrProviderRequest): Promise<IFindClientOrProviderResponse[]>;
|
|
133
133
|
findForGmail(data: IFindForGmailRequest): Promise<IFindForGmailResponse | null>;
|
|
134
134
|
publicUpdate(selector: IShared.IFindByIdRequest, data: IPublicUpdateRequest): Promise<void>;
|
|
135
|
-
publicAuthenticate(selector: IShared.IFindByIdRequest): Promise<string | null>;
|
|
136
135
|
}
|
|
137
136
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
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.5",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|