@nomalism-com/types 0.34.31 → 0.34.33
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,12 +101,13 @@ 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';
|
|
108
107
|
}
|
|
109
108
|
export interface IFindClientOrProviderResponse {
|
|
109
|
+
client_id: string | null;
|
|
110
|
+
provider_id: string | null;
|
|
110
111
|
nif: string | null;
|
|
111
112
|
name: string | null;
|
|
112
113
|
email: string | null;
|
package/package.json
CHANGED
|
@@ -115,13 +115,14 @@ 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';
|
|
122
121
|
}
|
|
123
122
|
|
|
124
123
|
export interface IFindClientOrProviderResponse {
|
|
124
|
+
client_id: string | null;
|
|
125
|
+
provider_id: string | null;
|
|
125
126
|
nif: string | null;
|
|
126
127
|
name: string | null;
|
|
127
128
|
email: string | 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(),
|