@experts_hub/shared 1.0.352 → 1.0.354
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;
|
|
@@ -177,6 +178,8 @@ declare class ClientProfileQuestionDto {
|
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
declare class ClientCreateAccountDto {
|
|
181
|
+
firstName: string;
|
|
182
|
+
lastName: string;
|
|
180
183
|
email: string;
|
|
181
184
|
companyName: string;
|
|
182
185
|
onBoardedBy: string;
|
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;
|
|
@@ -177,6 +178,8 @@ declare class ClientProfileQuestionDto {
|
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
declare class ClientCreateAccountDto {
|
|
181
|
+
firstName: string;
|
|
182
|
+
lastName: string;
|
|
180
183
|
email: string;
|
|
181
184
|
companyName: string;
|
|
182
185
|
onBoardedBy: string;
|
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." })
|
|
@@ -858,6 +862,14 @@ __decorateClass([
|
|
|
858
862
|
var import_class_validator24 = require("class-validator");
|
|
859
863
|
var ClientCreateAccountDto = class {
|
|
860
864
|
};
|
|
865
|
+
__decorateClass([
|
|
866
|
+
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter first name." }),
|
|
867
|
+
(0, import_class_validator24.IsString)({ message: "Please enter valid first name." })
|
|
868
|
+
], ClientCreateAccountDto.prototype, "firstName", 2);
|
|
869
|
+
__decorateClass([
|
|
870
|
+
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter last name." }),
|
|
871
|
+
(0, import_class_validator24.IsString)({ message: "Please enter valid last name." })
|
|
872
|
+
], ClientCreateAccountDto.prototype, "lastName", 2);
|
|
861
873
|
__decorateClass([
|
|
862
874
|
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter email." }),
|
|
863
875
|
(0, import_class_validator24.IsEmail)(),
|
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." })
|
|
@@ -666,6 +670,14 @@ import {
|
|
|
666
670
|
} from "class-validator";
|
|
667
671
|
var ClientCreateAccountDto = class {
|
|
668
672
|
};
|
|
673
|
+
__decorateClass([
|
|
674
|
+
IsNotEmpty21({ message: "Please enter first name." }),
|
|
675
|
+
IsString7({ message: "Please enter valid first name." })
|
|
676
|
+
], ClientCreateAccountDto.prototype, "firstName", 2);
|
|
677
|
+
__decorateClass([
|
|
678
|
+
IsNotEmpty21({ message: "Please enter last name." }),
|
|
679
|
+
IsString7({ message: "Please enter valid last name." })
|
|
680
|
+
], ClientCreateAccountDto.prototype, "lastName", 2);
|
|
669
681
|
__decorateClass([
|
|
670
682
|
IsNotEmpty21({ message: "Please enter email." }),
|
|
671
683
|
IsEmail3(),
|