@experts_hub/shared 1.0.353 → 1.0.355
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.d.mts
CHANGED
|
@@ -85,6 +85,7 @@ declare enum SendGuestOtpScopeEnum {
|
|
|
85
85
|
FREELANCER = "FREELANCER"
|
|
86
86
|
}
|
|
87
87
|
declare class SendGuestOtpDto {
|
|
88
|
+
fullName: string;
|
|
88
89
|
target: string;
|
|
89
90
|
fallbackTarget: string;
|
|
90
91
|
purpose: SendGuestOtpPurposeEnum;
|
|
@@ -116,8 +117,6 @@ declare class FreelancerCreateAccountDto {
|
|
|
116
117
|
email: string;
|
|
117
118
|
mobileCode: string;
|
|
118
119
|
mobile: string;
|
|
119
|
-
password: string;
|
|
120
|
-
confirmPassword: string;
|
|
121
120
|
onBoardedBy: string;
|
|
122
121
|
}
|
|
123
122
|
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ declare enum SendGuestOtpScopeEnum {
|
|
|
85
85
|
FREELANCER = "FREELANCER"
|
|
86
86
|
}
|
|
87
87
|
declare class SendGuestOtpDto {
|
|
88
|
+
fullName: string;
|
|
88
89
|
target: string;
|
|
89
90
|
fallbackTarget: string;
|
|
90
91
|
purpose: SendGuestOtpPurposeEnum;
|
|
@@ -116,8 +117,6 @@ declare class FreelancerCreateAccountDto {
|
|
|
116
117
|
email: string;
|
|
117
118
|
mobileCode: string;
|
|
118
119
|
mobile: string;
|
|
119
|
-
password: string;
|
|
120
|
-
confirmPassword: string;
|
|
121
120
|
onBoardedBy: string;
|
|
122
121
|
}
|
|
123
122
|
|
package/dist/index.js
CHANGED
|
@@ -416,6 +416,10 @@ var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
|
|
|
416
416
|
})(SendGuestOtpScopeEnum || {});
|
|
417
417
|
var SendGuestOtpDto = class {
|
|
418
418
|
};
|
|
419
|
+
__decorateClass([
|
|
420
|
+
(0, import_class_validator8.IsNotEmpty)({ message: "Please enter full name." }),
|
|
421
|
+
(0, import_class_validator8.IsString)({ message: "Please enter valid full name." })
|
|
422
|
+
], SendGuestOtpDto.prototype, "fullName", 2);
|
|
419
423
|
__decorateClass([
|
|
420
424
|
(0, import_class_validator8.IsNotEmpty)({ message: "Please enter target." }),
|
|
421
425
|
(0, import_class_validator8.IsString)({ message: "Please enter valid target." })
|
|
@@ -653,18 +657,6 @@ __decorateClass([
|
|
|
653
657
|
(0, import_class_validator13.IsNotEmpty)({ message: "Please enter mobile number." }),
|
|
654
658
|
IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
|
|
655
659
|
], FreelancerCreateAccountDto.prototype, "mobile", 2);
|
|
656
|
-
__decorateClass([
|
|
657
|
-
(0, import_class_validator13.IsNotEmpty)({ message: "Please enter password." }),
|
|
658
|
-
(0, import_class_validator13.MinLength)(6),
|
|
659
|
-
(0, import_class_validator13.MaxLength)(32),
|
|
660
|
-
(0, import_class_validator13.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
661
|
-
message: "Password must include letters, numbers and symbols."
|
|
662
|
-
})
|
|
663
|
-
], FreelancerCreateAccountDto.prototype, "password", 2);
|
|
664
|
-
__decorateClass([
|
|
665
|
-
(0, import_class_validator13.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
666
|
-
Match("password", { message: "Passwords do not match" })
|
|
667
|
-
], FreelancerCreateAccountDto.prototype, "confirmPassword", 2);
|
|
668
660
|
__decorateClass([
|
|
669
661
|
(0, import_class_validator13.IsOptional)()
|
|
670
662
|
], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -184,6 +184,10 @@ var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
|
|
|
184
184
|
})(SendGuestOtpScopeEnum || {});
|
|
185
185
|
var SendGuestOtpDto = class {
|
|
186
186
|
};
|
|
187
|
+
__decorateClass([
|
|
188
|
+
IsNotEmpty8({ message: "Please enter full name." }),
|
|
189
|
+
IsString({ message: "Please enter valid full name." })
|
|
190
|
+
], SendGuestOtpDto.prototype, "fullName", 2);
|
|
187
191
|
__decorateClass([
|
|
188
192
|
IsNotEmpty8({ message: "Please enter target." }),
|
|
189
193
|
IsString({ message: "Please enter valid target." })
|
|
@@ -242,8 +246,6 @@ import {
|
|
|
242
246
|
IsNotEmpty as IsNotEmpty10,
|
|
243
247
|
IsEmail as IsEmail2,
|
|
244
248
|
Matches as Matches3,
|
|
245
|
-
MinLength as MinLength3,
|
|
246
|
-
MaxLength as MaxLength3,
|
|
247
249
|
IsString as IsString3,
|
|
248
250
|
IsOptional as IsOptional2
|
|
249
251
|
} from "class-validator";
|
|
@@ -438,18 +440,6 @@ __decorateClass([
|
|
|
438
440
|
IsNotEmpty10({ message: "Please enter mobile number." }),
|
|
439
441
|
IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
|
|
440
442
|
], FreelancerCreateAccountDto.prototype, "mobile", 2);
|
|
441
|
-
__decorateClass([
|
|
442
|
-
IsNotEmpty10({ message: "Please enter password." }),
|
|
443
|
-
MinLength3(6),
|
|
444
|
-
MaxLength3(32),
|
|
445
|
-
Matches3(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
446
|
-
message: "Password must include letters, numbers and symbols."
|
|
447
|
-
})
|
|
448
|
-
], FreelancerCreateAccountDto.prototype, "password", 2);
|
|
449
|
-
__decorateClass([
|
|
450
|
-
IsNotEmpty10({ message: "Please enter confirm password." }),
|
|
451
|
-
Match("password", { message: "Passwords do not match" })
|
|
452
|
-
], FreelancerCreateAccountDto.prototype, "confirmPassword", 2);
|
|
453
443
|
__decorateClass([
|
|
454
444
|
IsOptional2()
|
|
455
445
|
], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
|