@experts_hub/shared 1.0.253 → 1.0.255
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 +3 -6
- package/dist/index.d.ts +3 -6
- package/dist/index.js +7 -18
- package/dist/index.mjs +257 -268
- package/dist/modules/user/freelancer-profile/pattern/pattern.d.ts +1 -0
- package/dist/modules/user/subadmin/dto/create-subadmin.dto.d.ts +1 -3
- package/dist/modules/user/subadmin/dto/update-subadmin.dto.d.ts +1 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -182,15 +182,13 @@ 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;
|
|
189
|
+
mobileCode: string;
|
|
190
190
|
mobile: string;
|
|
191
191
|
password: string;
|
|
192
|
-
accountType: string;
|
|
193
|
-
accountStatus: string;
|
|
194
192
|
}
|
|
195
193
|
|
|
196
194
|
declare class UpdateSubAdminAccountStatusDto {
|
|
@@ -198,15 +196,13 @@ declare class UpdateSubAdminAccountStatusDto {
|
|
|
198
196
|
}
|
|
199
197
|
|
|
200
198
|
declare class UpdateSubAdminDto {
|
|
201
|
-
uniqueId: string;
|
|
202
199
|
userName: string;
|
|
203
200
|
firstName: string;
|
|
204
201
|
lastName: string;
|
|
205
202
|
email: string;
|
|
203
|
+
mobileCode: string;
|
|
206
204
|
mobile: string;
|
|
207
205
|
password: string;
|
|
208
|
-
accountType: string;
|
|
209
|
-
accountStatus: string;
|
|
210
206
|
}
|
|
211
207
|
|
|
212
208
|
interface IFetchSubAdminQuery {
|
|
@@ -472,6 +468,7 @@ declare const PROFILE_PATTERN: {
|
|
|
472
468
|
fetchFreelancerProfile: string;
|
|
473
469
|
fetchFreelancerPublicProfile: string;
|
|
474
470
|
fetchFreelancerScreeningResult: string;
|
|
471
|
+
fetchFreelancerScreeningResultPublic: string;
|
|
475
472
|
changeFreelancerPassword: string;
|
|
476
473
|
uploadFreelancerProfilePic: string;
|
|
477
474
|
updateFreelancerProfile: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -182,15 +182,13 @@ 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;
|
|
189
|
+
mobileCode: string;
|
|
190
190
|
mobile: string;
|
|
191
191
|
password: string;
|
|
192
|
-
accountType: string;
|
|
193
|
-
accountStatus: string;
|
|
194
192
|
}
|
|
195
193
|
|
|
196
194
|
declare class UpdateSubAdminAccountStatusDto {
|
|
@@ -198,15 +196,13 @@ declare class UpdateSubAdminAccountStatusDto {
|
|
|
198
196
|
}
|
|
199
197
|
|
|
200
198
|
declare class UpdateSubAdminDto {
|
|
201
|
-
uniqueId: string;
|
|
202
199
|
userName: string;
|
|
203
200
|
firstName: string;
|
|
204
201
|
lastName: string;
|
|
205
202
|
email: string;
|
|
203
|
+
mobileCode: string;
|
|
206
204
|
mobile: string;
|
|
207
205
|
password: string;
|
|
208
|
-
accountType: string;
|
|
209
|
-
accountStatus: string;
|
|
210
206
|
}
|
|
211
207
|
|
|
212
208
|
interface IFetchSubAdminQuery {
|
|
@@ -472,6 +468,7 @@ declare const PROFILE_PATTERN: {
|
|
|
472
468
|
fetchFreelancerProfile: string;
|
|
473
469
|
fetchFreelancerPublicProfile: string;
|
|
474
470
|
fetchFreelancerScreeningResult: string;
|
|
471
|
+
fetchFreelancerScreeningResultPublic: string;
|
|
475
472
|
changeFreelancerPassword: string;
|
|
476
473
|
uploadFreelancerProfilePic: string;
|
|
477
474
|
updateFreelancerProfile: string;
|
package/dist/index.js
CHANGED
|
@@ -726,9 +726,6 @@ var SUBADMIN_PATTERN = {
|
|
|
726
726
|
var import_class_validator23 = require("class-validator");
|
|
727
727
|
var CreateSubAdminDto = class {
|
|
728
728
|
};
|
|
729
|
-
__decorateClass([
|
|
730
|
-
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter unique id." })
|
|
731
|
-
], CreateSubAdminDto.prototype, "uniqueId", 2);
|
|
732
729
|
__decorateClass([
|
|
733
730
|
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter username." })
|
|
734
731
|
], CreateSubAdminDto.prototype, "userName", 2);
|
|
@@ -741,18 +738,15 @@ __decorateClass([
|
|
|
741
738
|
__decorateClass([
|
|
742
739
|
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter email." })
|
|
743
740
|
], CreateSubAdminDto.prototype, "email", 2);
|
|
741
|
+
__decorateClass([
|
|
742
|
+
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter mobile Code." })
|
|
743
|
+
], CreateSubAdminDto.prototype, "mobileCode", 2);
|
|
744
744
|
__decorateClass([
|
|
745
745
|
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter mobile number." })
|
|
746
746
|
], CreateSubAdminDto.prototype, "mobile", 2);
|
|
747
747
|
__decorateClass([
|
|
748
748
|
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter the password." })
|
|
749
749
|
], CreateSubAdminDto.prototype, "password", 2);
|
|
750
|
-
__decorateClass([
|
|
751
|
-
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter account type." })
|
|
752
|
-
], CreateSubAdminDto.prototype, "accountType", 2);
|
|
753
|
-
__decorateClass([
|
|
754
|
-
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter account status." })
|
|
755
|
-
], CreateSubAdminDto.prototype, "accountStatus", 2);
|
|
756
750
|
|
|
757
751
|
// src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
|
|
758
752
|
var import_class_validator24 = require("class-validator");
|
|
@@ -766,9 +760,6 @@ __decorateClass([
|
|
|
766
760
|
var import_class_validator25 = require("class-validator");
|
|
767
761
|
var UpdateSubAdminDto = class {
|
|
768
762
|
};
|
|
769
|
-
__decorateClass([
|
|
770
|
-
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter unique id." })
|
|
771
|
-
], UpdateSubAdminDto.prototype, "uniqueId", 2);
|
|
772
763
|
__decorateClass([
|
|
773
764
|
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter username." })
|
|
774
765
|
], UpdateSubAdminDto.prototype, "userName", 2);
|
|
@@ -781,18 +772,15 @@ __decorateClass([
|
|
|
781
772
|
__decorateClass([
|
|
782
773
|
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter email." })
|
|
783
774
|
], UpdateSubAdminDto.prototype, "email", 2);
|
|
775
|
+
__decorateClass([
|
|
776
|
+
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter mobile Code." })
|
|
777
|
+
], UpdateSubAdminDto.prototype, "mobileCode", 2);
|
|
784
778
|
__decorateClass([
|
|
785
779
|
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter mobile number." })
|
|
786
780
|
], UpdateSubAdminDto.prototype, "mobile", 2);
|
|
787
781
|
__decorateClass([
|
|
788
782
|
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter the password." })
|
|
789
783
|
], UpdateSubAdminDto.prototype, "password", 2);
|
|
790
|
-
__decorateClass([
|
|
791
|
-
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter account type." })
|
|
792
|
-
], UpdateSubAdminDto.prototype, "accountType", 2);
|
|
793
|
-
__decorateClass([
|
|
794
|
-
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter account status." })
|
|
795
|
-
], UpdateSubAdminDto.prototype, "accountStatus", 2);
|
|
796
784
|
|
|
797
785
|
// src/modules/user/client-profile/pattern/pattern.ts
|
|
798
786
|
var CLIENT_PROFILE_PATTERN = {
|
|
@@ -1058,6 +1046,7 @@ var PROFILE_PATTERN = {
|
|
|
1058
1046
|
fetchFreelancerProfile: "fetch.freelancer.profile",
|
|
1059
1047
|
fetchFreelancerPublicProfile: "fetch.freelancer.public.profile",
|
|
1060
1048
|
fetchFreelancerScreeningResult: "fetch.freelancer.screening.result",
|
|
1049
|
+
fetchFreelancerScreeningResultPublic: "fetch.freelancer.screening.result.public",
|
|
1061
1050
|
changeFreelancerPassword: "change.freelancer.password",
|
|
1062
1051
|
uploadFreelancerProfilePic: "upload.freelancer.profilepic",
|
|
1063
1052
|
updateFreelancerProfile: "update.freelancer.profile",
|