@nomalism-com/types 0.40.63 → 0.40.64

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.
@@ -63,12 +63,12 @@ export interface IFindRequest {
63
63
  }
64
64
  export interface IFindResponse {
65
65
  persona_id: string;
66
- persona_name: string;
66
+ persona_name: string | null;
67
67
  persona_nif: string | null;
68
- persona_street: string;
69
- persona_postal_code: string;
70
- persona_locality: string;
71
- persona_country_id: string;
68
+ persona_street: string | null;
69
+ persona_postal_code: string | null;
70
+ persona_locality: string | null;
71
+ persona_country_id: string | null;
72
72
  }
73
73
  export interface IDeletePersonaRequest {
74
74
  id: string;
@@ -130,7 +130,7 @@ export interface IRepository {
130
130
  update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IEntityExtended | null>;
131
131
  deleteOne(params: IDeletePersonaRequest): Promise<IEntityExtended | null>;
132
132
  findByBasic(data: IBasicSearchRequest): Promise<IShared.IPaginationResponse<IBasicSearchResponse>>;
133
- find(data: IFindRequest): Promise<IFindResponse[]>;
133
+ findForBillOfLading(data: IFindRequest): Promise<IFindResponse[]>;
134
134
  findByEmail(data: IFindByEmailRequest): Promise<IFindByEmailResponse[]>;
135
135
  findClientOrProvider(data: IFindClientOrProviderRequest): Promise<IFindClientOrProviderResponse[]>;
136
136
  findForGmail(data: IFindForGmailRequest): Promise<IFindForGmailResponse | null>;
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.40.63",
4
+ "version": "0.40.64",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",