@experts_hub/shared 1.0.252 → 1.0.254
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/decorators/index.d.ts +1 -0
- package/dist/decorators/is-valid-mobile-number.decorator.d.ts +6 -0
- package/dist/index.d.mts +1 -6
- package/dist/index.d.ts +1 -6
- package/dist/index.js +585 -568
- package/dist/index.mjs +292 -272
- package/dist/modules/user/freelancer-profile/pattern/pattern.d.ts +1 -0
- package/dist/modules/user/subadmin/dto/create-subadmin.dto.d.ts +0 -3
- package/dist/modules/user/subadmin/dto/update-subadmin.dto.d.ts +0 -3
- package/package.json +2 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ValidatorConstraintInterface, ValidationArguments, ValidationOptions } from "class-validator";
|
|
2
|
+
export declare class IsValidMobileNumberConstraint implements ValidatorConstraintInterface {
|
|
3
|
+
validate(mobile: string, args: ValidationArguments): boolean;
|
|
4
|
+
defaultMessage(args: ValidationArguments): string;
|
|
5
|
+
}
|
|
6
|
+
export declare function IsValidMobileNumber(validationOptions?: ValidationOptions): (object: Object, propertyName: string) => void;
|
package/dist/index.d.mts
CHANGED
|
@@ -182,15 +182,12 @@ declare const SUBADMIN_PATTERN: {
|
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
declare class CreateSubAdminDto {
|
|
185
|
-
uniqueId: string;
|
|
186
185
|
userName: string;
|
|
187
186
|
firstName: string;
|
|
188
187
|
lastName: string;
|
|
189
188
|
email: string;
|
|
190
189
|
mobile: string;
|
|
191
190
|
password: string;
|
|
192
|
-
accountType: string;
|
|
193
|
-
accountStatus: string;
|
|
194
191
|
}
|
|
195
192
|
|
|
196
193
|
declare class UpdateSubAdminAccountStatusDto {
|
|
@@ -198,15 +195,12 @@ declare class UpdateSubAdminAccountStatusDto {
|
|
|
198
195
|
}
|
|
199
196
|
|
|
200
197
|
declare class UpdateSubAdminDto {
|
|
201
|
-
uniqueId: string;
|
|
202
198
|
userName: string;
|
|
203
199
|
firstName: string;
|
|
204
200
|
lastName: string;
|
|
205
201
|
email: string;
|
|
206
202
|
mobile: string;
|
|
207
203
|
password: string;
|
|
208
|
-
accountType: string;
|
|
209
|
-
accountStatus: string;
|
|
210
204
|
}
|
|
211
205
|
|
|
212
206
|
interface IFetchSubAdminQuery {
|
|
@@ -472,6 +466,7 @@ declare const PROFILE_PATTERN: {
|
|
|
472
466
|
fetchFreelancerProfile: string;
|
|
473
467
|
fetchFreelancerPublicProfile: string;
|
|
474
468
|
fetchFreelancerScreeningResult: string;
|
|
469
|
+
fetchFreelancerScreeningResultPublic: string;
|
|
475
470
|
changeFreelancerPassword: string;
|
|
476
471
|
uploadFreelancerProfilePic: string;
|
|
477
472
|
updateFreelancerProfile: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -182,15 +182,12 @@ declare const SUBADMIN_PATTERN: {
|
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
declare class CreateSubAdminDto {
|
|
185
|
-
uniqueId: string;
|
|
186
185
|
userName: string;
|
|
187
186
|
firstName: string;
|
|
188
187
|
lastName: string;
|
|
189
188
|
email: string;
|
|
190
189
|
mobile: string;
|
|
191
190
|
password: string;
|
|
192
|
-
accountType: string;
|
|
193
|
-
accountStatus: string;
|
|
194
191
|
}
|
|
195
192
|
|
|
196
193
|
declare class UpdateSubAdminAccountStatusDto {
|
|
@@ -198,15 +195,12 @@ declare class UpdateSubAdminAccountStatusDto {
|
|
|
198
195
|
}
|
|
199
196
|
|
|
200
197
|
declare class UpdateSubAdminDto {
|
|
201
|
-
uniqueId: string;
|
|
202
198
|
userName: string;
|
|
203
199
|
firstName: string;
|
|
204
200
|
lastName: string;
|
|
205
201
|
email: string;
|
|
206
202
|
mobile: string;
|
|
207
203
|
password: string;
|
|
208
|
-
accountType: string;
|
|
209
|
-
accountStatus: string;
|
|
210
204
|
}
|
|
211
205
|
|
|
212
206
|
interface IFetchSubAdminQuery {
|
|
@@ -472,6 +466,7 @@ declare const PROFILE_PATTERN: {
|
|
|
472
466
|
fetchFreelancerProfile: string;
|
|
473
467
|
fetchFreelancerPublicProfile: string;
|
|
474
468
|
fetchFreelancerScreeningResult: string;
|
|
469
|
+
fetchFreelancerScreeningResultPublic: string;
|
|
475
470
|
changeFreelancerPassword: string;
|
|
476
471
|
uploadFreelancerProfilePic: string;
|
|
477
472
|
updateFreelancerProfile: string;
|