@nomalism-com/types 0.34.30 → 0.34.32

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
@@ -4573,7 +4573,6 @@ var findByEmailQueryKeys = {
4573
4573
  };
4574
4574
  var FindByEmailQueryValidate = joi82.object().keys(findByEmailQueryKeys).messages(messages);
4575
4575
  var findClientOrProviderQueryKeys = {
4576
- name: joi82.string().allow("", null).optional(),
4577
4576
  nif: joi82.string().allow("", null).optional(),
4578
4577
  email: emailSchema.optional(),
4579
4578
  telephone: joi82.string().allow("", null).optional(),
package/dist/index.js CHANGED
@@ -4573,7 +4573,6 @@ var findByEmailQueryKeys = {
4573
4573
  };
4574
4574
  var FindByEmailQueryValidate = joi82.object().keys(findByEmailQueryKeys).messages(messages);
4575
4575
  var findClientOrProviderQueryKeys = {
4576
- name: joi82.string().allow("", null).optional(),
4577
4576
  nif: joi82.string().allow("", null).optional(),
4578
4577
  email: emailSchema.optional(),
4579
4578
  telephone: joi82.string().allow("", null).optional(),
@@ -101,7 +101,6 @@ export interface IFindByEmailResponse {
101
101
  }
102
102
  export interface IFindClientOrProviderRequest {
103
103
  nif?: string | null;
104
- name?: string | null;
105
104
  email?: string | null;
106
105
  telephone?: string | null;
107
106
  user_type: 'client' | 'provider';
@@ -111,7 +110,6 @@ export interface IFindClientOrProviderResponse {
111
110
  name: string | null;
112
111
  email: string | null;
113
112
  telephone: string | null;
114
- user_type: 'client' | 'provider';
115
113
  }
116
114
  export interface IRepository {
117
115
  findById(selector: IShared.IFindByIdRequest): Promise<IEntityExtended | null>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.34.30",
12
+ "version": "0.34.32",
13
13
  "type": "module",
14
14
  "module": "./dist/index.js",
15
15
  "main": "./dist/index.cjs",
@@ -115,7 +115,6 @@ export interface IFindByEmailResponse {
115
115
 
116
116
  export interface IFindClientOrProviderRequest {
117
117
  nif?: string | null;
118
- name?: string | null;
119
118
  email?: string | null;
120
119
  telephone?: string | null;
121
120
  user_type: 'client' | 'provider';
@@ -126,7 +125,6 @@ export interface IFindClientOrProviderResponse {
126
125
  name: string | null;
127
126
  email: string | null;
128
127
  telephone: string | null;
129
- user_type: 'client' | 'provider';
130
128
  }
131
129
  export interface IRepository {
132
130
  findById(selector: IShared.IFindByIdRequest): Promise<IEntityExtended | null>;
@@ -88,7 +88,6 @@ const findByEmailQueryKeys: IShared.IRouteRequest<IFindByEmailRequest> = {
88
88
  export const FindByEmailQueryValidate = joi.object().keys(findByEmailQueryKeys).messages(messages);
89
89
 
90
90
  const findClientOrProviderQueryKeys: IShared.IRouteRequest<IFindClientOrProviderRequest> = {
91
- name: joi.string().allow('', null).optional(),
92
91
  nif: joi.string().allow('', null).optional(),
93
92
  email: emailSchema.optional(),
94
93
  telephone: joi.string().allow('', null).optional(),